Body Fat Calculator API
Body fat percentage by the US Navy circumference method, with the ACE category and (given a weight) fat and lean mass.
POST /api/v1/tools/body-fat-calculatorMCP body_fat_calculatorCalculatorsEstimate body fat percentage from height, neck, waist and hip measurements with the US Navy tape method, plus your ACE category, fat mass and lean mass.
Input
Send these as a JSON object. Unknown fields are rejected.
- sex
- male or female; the formula differs (women also need hip). (string, one of male, female, required)
- units
- metric: centimetres and kilograms. imperial: inches and pounds. (string, one of metric, imperial, default "metric")
- height
- Height (100 to 250 cm, or 39 to 98 in). (number, 0 to …, required)
- neck
- Neck circumference, just below the larynx. (number, 0 to …, required)
- waist
- Waist circumference: at the navel for men, at the narrowest point for women. (number, 0 to …, required)
- hip
- Hip circumference at the widest point. Required for female, ignored for male. (number, 0 to …)
- weight
- Optional body weight (kg or lb) to also get fat mass and lean mass. (number, 0 to …)
curl https://pithlab.com/api/v1/tools/body-fat-calculator \n -H "Authorization: Bearer $PITHLAB_KEY" \n -H "Content-Type: application/json" \n -d '{"sex":"male","units":"metric","height":180,"neck":38,"waist":85,"weight":80}'Example response
{
"ok": true,
"result": {
"bodyFatPercent": 16.2,
"category": "Fitness",
"categoryRange": "14–17%",
"fatMass": 12.9,
"leanMass": 67.1,
"text": "Body fat 16.2%: Fitness (ACE 14–17%); fat mass 12.9 kg, lean mass 67.1 kg"
}
}