{
  "docs": "https://wimsta.com/tools/#calculation-api",
  "calculators": [
    {
      "name": "bmi",
      "url": "https://wimsta.com/api/calc/bmi",
      "summary": "Body Mass Index as a range: classic (Quetelet) and Trefethen \"new BMI\", with the WHO band.",
      "params": {
        "weight_kg": "required, 20–350",
        "height_cm": "required, 100–250"
      },
      "example": "https://wimsta.com/api/calc/bmi?weight_kg=80&height_cm=180"
    },
    {
      "name": "body-fat",
      "url": "https://wimsta.com/api/calc/body-fat",
      "summary": "Body-fat % as a range across every validated formula your measurements allow (Deurenberg, CUN-BAE, US Navy, RFM, Covert Bailey), with the Gallagher category.",
      "params": {
        "sex": "required, female | male",
        "height_cm": "required, 100–250",
        "weight_kg": "optional, 20–350 (Deurenberg, CUN-BAE)",
        "age": "optional, 18–100 (Deurenberg, CUN-BAE, Covert Bailey; age-aware category)",
        "waist_cm": "optional, 45–160 — natural waist (RFM; US Navy women; Covert Bailey men)",
        "abdomen_cm": "optional, 50–170 — at the navel (US Navy men; if absent, waist_cm is used, as on the site)",
        "neck_cm": "optional, 20–60 (US Navy)",
        "hip_cm": "optional, 60–180 (US Navy women; Covert Bailey)",
        "wrist_cm": "optional, 10–25 (Covert Bailey)",
        "forearm_cm": "optional, 15–45 (Covert Bailey men)",
        "thigh_cm": "optional, 30–90 (Covert Bailey women)",
        "calf_cm": "optional, 20–60 (Covert Bailey women)"
      },
      "example": "https://wimsta.com/api/calc/body-fat?sex=female&age=35&height_cm=165&weight_kg=62&waist_cm=72&hip_cm=98&neck_cm=32"
    },
    {
      "name": "bmr",
      "url": "https://wimsta.com/api/calc/bmr",
      "summary": "Basal metabolic rate (kcal/day) as a range: Mifflin–St Jeor, Harris–Benedict 1984 and 1919, WHO/FAO, plus Katch–McArdle when body_fat_pct is given.",
      "params": {
        "sex": "required, female | male",
        "weight_kg": "required, 20–350",
        "height_cm": "required, 100–250",
        "age": "required, 18–100",
        "body_fat_pct": "optional, 3–65 (adds Katch–McArdle)"
      },
      "example": "https://wimsta.com/api/calc/bmr?sex=male&weight_kg=80&height_cm=180&age=40"
    },
    {
      "name": "tdee",
      "url": "https://wimsta.com/api/calc/tdee",
      "summary": "Total daily energy expenditure (kcal/day) = the BMR range × an activity multiplier — a range, never one number.",
      "params": {
        "sex": "required, female | male",
        "weight_kg": "required, 20–350",
        "height_cm": "required, 100–250",
        "age": "required, 18–100",
        "activity": "required, sedentary | light | moderate | extra | extreme",
        "body_fat_pct": "optional, 3–65 (adds Katch–McArdle)"
      },
      "example": "https://wimsta.com/api/calc/tdee?sex=female&weight_kg=65&height_cm=168&age=35&activity=moderate"
    },
    {
      "name": "max-heart-rate",
      "url": "https://wimsta.com/api/calc/max-heart-rate",
      "summary": "Maximum heart rate (bpm) as a range across nine published formulas, plus five training zones (% of HRmax) from the population anchor (Gulati for women, Tanaka otherwise).",
      "params": {
        "age": "required, 18–100",
        "sex": "optional, female | male (default female; Gulati is women-only)"
      },
      "example": "https://wimsta.com/api/calc/max-heart-rate?age=40&sex=female"
    },
    {
      "name": "waist-to-height",
      "url": "https://wimsta.com/api/calc/waist-to-height",
      "summary": "Waist-to-height ratio (a measurement, not an estimate) with the Ashwell zone and the healthy waist range for your height.",
      "params": {
        "waist_cm": "required, 45–160",
        "height_cm": "required, 100–250"
      },
      "example": "https://wimsta.com/api/calc/waist-to-height?waist_cm=80&height_cm=170"
    }
  ],
  "disclaimer": "Estimates, not diagnoses. These calculators provide estimates based on published formulas, for general information. They are not medical devices, do not diagnose or treat any condition, and do not replace advice from a qualified healthcare professional.",
  "attribution_notice": "Data from WIMSTA (wimsta.com), licensed CC BY 4.0. Cite as: \"WIMSTA (wimsta.com)\"."
}