hesaplayıcı
Menu

Ideal Weight Calculator: API and MCP

Ideal Weight Calculator over REST and MCP: input fields, limits, outputs, one example request and its real answer. Free, no sign-up.

GET /api/v1/tools/health.ideal-weight/mcp/health

Id
health.ideal-weight
Version
1.0.0
Access
Free
Tool page
Ideal Weight Calculator
Schema
GET /api/v1/tools/health.ideal-weight

Input

FieldTypeConstraintsDefaultDescription
sex (required)stringfemale | maleSex
unitsstringmetric | pounds | stonesmetricUnits
heightnumber≥ 152.4, ≤ 230Height (cm) · The formulas are defined from 152.4 cm (5 ft) up.
heightFtinteger≥ 3, ≤ 8Height, feet (ft)
heightInnumber≥ 0, ≤ 11.990Height, inches (in)

Output

FieldTypeDescription
devinenumberIdeal weight (Devine) (kg)
robinsonnumberIdeal weight (Robinson) (kg)
millernumberIdeal weight (Miller) (kg)
hamwinumberIdeal weight (Hamwi) (kg)
bmiMinnumberHealthy weight range: from (kg)
bmiMaxnumberHealthy weight range: to (kg)

Example request

curl -X POST https://hesaplayici.com/api/v1/tools/health.ideal-weight/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"sex":"female","units":"metric","height":165,"heightIn":0},"locale":"en"}'
Example answer
{
  "output": {
    "devine": 56.9,
    "robinson": 57.4,
    "miller": 59.8,
    "hamwi": 56.4,
    "bmiMin": 50.4,
    "bmiMax": 67.8
  },
  "steps": [
    {
      "id": "inches",
      "formula": "inches over 5 ft = height / 2.54 − 60",
      "substitution": "inches over 5 ft = 165 / 2.54 − 60",
      "value": 4.960629921259837,
      "unit": "in"
    },
    {
      "id": "devine",
      "formula": "Devine = 45.5 + 2.3 × inches over 5 ft",
      "substitution": "Devine = 45.5 + 2.3 × 4.96",
      "value": 56.9,
      "unit": "kg"
    },
    {
      "id": "robinson",
      "formula": "Robinson = 49 + 1.7 × inches over 5 ft",
      "substitution": "Robinson = 49 + 1.7 × 4.96",
      "value": 57.4,
      "unit": "kg"
    },
    {
      "id": "miller",
      "formula": "Miller = 53.1 + 1.36 × inches over 5 ft",
      "substitution": "Miller = 53.1 + 1.36 × 4.96",
      "value": 59.8,
      "unit": "kg"
    },
    {
      "id": "hamwi",
      "formula": "Hamwi = 45.5 + 2.2 × inches over 5 ft",
      "substitution": "Hamwi = 45.5 + 2.2 × 4.96",
      "value": 56.4,
      "unit": "kg"
    },
    {
      "id": "bmiMin",
      "formula": "weight at BMI 18.5 = 18.5 × height²",
      "substitution": "weight at BMI 18.5 = 18.5 × 1.65²",
      "value": 50.4,
      "unit": "kg"
    },
    {
      "id": "bmiMax",
      "formula": "weight at BMI 24.9 = 24.9 × height²",
      "substitution": "weight at BMI 24.9 = 24.9 × 1.65²",
      "value": 67.8,
      "unit": "kg"
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/health/ideal-weight-calculator",
    "title": "Ideal Weight Calculator"
  }
}