How we calculate BMI, calories and other health numbers

Every health calculator uses a formula published by a government agency or in a peer-reviewed journal, with the exact coefficients from the source. None of them replaces advice from a health professional.

Sources last checked:

BMI and healthy weight

BMI = weight in kg ÷ (height in m)²
Imperial inputs are converted exactly: 1 lb = 0.45359237 kg and 1 in = 2.54 cm.
Adult BMI categories (CDC and WHO)
CategoryBMI
UnderweightBelow 18.5
Healthy weight18.5 to below 25
Overweight25 to below 30
Obesity, class 130 to below 35
Obesity, class 235 to below 40
Obesity, class 340 or more

The BMI calculator picks the category from the value rounded to one decimal, the number you see, so 24.96 shows as 25.0 and counts as overweight. The healthy weight range for your height is BMI 18.5 to 24.9. For anyone under 20 it doesn't give an adult category and points to the CDC's child and teen calculator instead, because children are compared with others of the same age and sex.

Calories, TDEE and macros

Resting energy = 10 × kg + 6.25 × cm − 5 × age + 5 (men) or − 161 (women)
The Mifflin-St Jeor equation (1990). The Harris-Benedict equation as revised by Roza and Shizgal (1984) and the Katch-McArdle equation (370 + 21.6 × lean mass in kg) are also offered.
Activity levels (National Academies, Dietary Reference Intakes for Energy, 2023)
LevelMultiplier
Inactive1.4
Low active1.6
Active1.75
Very active2.05

The TDEE calculator multiplies resting energy by the activity level. The calorie calculator sets the starting deficit or surplus with the 3,500 kcal per pound rule, so losing 1 lb a week means eating 500 kcal a day less. It also explains the NIH finding (Hall and others, 2011) that over a year a steady change in calories moves weight only about half as much as that rule predicts. For weight loss, it suggests professional advice below 1,200 kcal a day for women and 1,500 for men, and says 800 kcal or less needs medical supervision.

The macro calculator counts 4 kcal per gram of protein and carbohydrate and 9 per gram of fat, and flags any split outside the adult ranges in the Dietary Reference Intakes: protein 10 to 35% of calories, carbohydrate 45 to 65% and fat 20 to 35%.

Body fat and ideal weight

Men: 86.010 × log10(waist − neck) − 70.041 × log10(height) + 36.76
Women: 163.205 × log10(waist + hip − neck) − 97.684 × log10(height) − 78.387
The US Navy circumference method (Hodgdon and Beckett, 1984), with measurements in inches. The result is body fat as a percentage of weight.

The body fat calculator also offers the Deurenberg estimate from BMI, age and sex: 1.2 × BMI + 0.23 × age − 10.8 (men only) − 5.4.

Ideal weight formulas: weight at 5 feet, plus an amount for each inch above
FormulaMenWomen
Devine (1974)50 kg + 2.3 kg45.5 kg + 2.3 kg
Robinson (1983)52 kg + 1.9 kg49 kg + 1.7 kg
Miller (1983)56.2 kg + 1.41 kg53.1 kg + 1.36 kg
Hamwi (1964)106 lb + 6 lb100 lb + 5 lb

Sleep, due date and ovulation

  • Sleep: the sleep calculator counts back or forward in 90-minute sleep cycles (real cycles run about 80 to 100 minutes, according to the NHLBI) and allows 15 minutes to fall asleep. Recommended hours by age come from the CDC.
  • Due date: the due date calculator adds 280 days to the first day of your last period, moved later or earlier by how much your cycle differs from 28 days. From a conception date it adds 266 days, and from an IVF transfer it adds 263 days (day-3 embryo) or 261 days (day-5 embryo), as ACOG describes. From a dating ultrasound, it takes the age of the pregnancy the scan measured and counts the rest of the 280 days.
  • Ovulation: the ovulation calculator puts ovulation 14 days before the next period (you can change that from 7 to 19 days) and the fertile window on the 5 days before it plus ovulation day.

Date math works on whole calendar days, so a daylight saving change can never move a date.

What it leaves out

  • Diagnosis or treatment. These are estimates for healthy adults, not medical advice.
  • Body composition in BMI: it can't tell muscle from fat, and the adult categories don't apply during pregnancy or to children.
  • Individual metabolism: energy equations predict averages, and real needs can be noticeably higher or lower.
  • Irregular cycles, which make ovulation estimates and period-based due dates unreliable. Your own scan results always come first.

How we test it

  • The US Navy body fat formula reproduces the Navy's own percent body fat tables (Guide 4, 2016) for five sets of measurements.
  • Mifflin-St Jeor gives 1,648.75 kcal for a 30-year-old man of 70 kg and 175 cm, and 1,320.25 kcal for a 30-year-old woman of 60 kg and 165 cm.
  • BMI categories are checked at every cut-off, on the rounded value.
  • Ideal weight for a man of 5 ft 10 in: Devine 73 kg, Robinson 71 kg, Miller 70.3 kg and Hamwi 166 lb.
  • Calories: 1 lb a week is 500 kcal a day, and the NIH rule turns a 500 kcal daily deficit into about 50 lb in the end, 25 lb of it in the first year.
  • Due dates across month ends, leap days and daylight saving changes, compared with Naegele's rule; conception and IVF dates that land on the same due date; and fertile windows across February in a leap year.

When the numbers change

These formulas change rarely. We re-check the CDC, NIH, National Academies and ACOG guidance at least once a year and update a calculator when a source changes its advice.

Tools on this method

Sources