Calorie Calculator Formulas: BMR and TDEE
Review Mifflin-St Jeor, revised Harris-Benedict, Katch-McArdle, TDEE, calorie-target, unit-conversion, and weekly-energy formulas.
How do the Calorie Calculator formulas work?
This formula page defines the variables used by the Calorie Calculator, shows how those values are combined, and explains the order of operations behind the result. Use the worked steps to verify an estimate, compare scenarios, and understand which assumptions or rounding rules can affect the displayed answer.
Formula Overview
The calculator first estimates basal metabolic rate with one of three equations. It then multiplies the selected BMR by the activity factor to estimate TDEE and maintenance calories. The entered deficit and surplus create comparison targets.
Variable Definitions
| Symbol | Meaning | Unit or code |
|---|---|---|
| W | Body weight | Kilograms |
| H | Height | Centimeters |
| A | Age | Completed years |
| F | Body-fat percentage | Percent in the form; decimal in lean-mass calculation |
| LBM | Estimated lean body mass | Kilograms |
| AF | Activity factor | Multiplier |
| D | User-entered daily deficit | Calories/day |
| S | User-entered daily surplus | Calories/day |
Unit Conversions
The production engine converts U.S. customary measurements before applying the BMR equations.
The pound-to-kilogram and inch-to-centimeter factors are exact conversion relationships used by the engine.
Mifflin-St Jeor Equations
The calculator uses the simplified sex-specific equations published with the 1990 study.
Male Equation
Female Equation
The research paper derived the equation from measured resting energy expenditure in 498 healthy adults aged 19-78 years. A prediction for one person can still differ from indirect calorimetry.
Revised Harris-Benedict Equations
Male Equation
Female Equation
These coefficients come from the Roza and Shizgal reevaluation of the Harris-Benedict data. Different coefficients explain why this result does not exactly match Mifflin-St Jeor.
Katch-McArdle Equation
Katch-McArdle does not use age or height directly. It depends on estimated lean body mass, so body-fat error flows directly into the BMR estimate.
TDEE and Maintenance Calories
In this calculator, estimated TDEE and maintenance calories are the same number. The activity factor is visible and editable in Calculation settings.
Calorie Deficit and Surplus Targets
The calculator rejects a deficit that is equal to or greater than estimated maintenance. The targets are arithmetic comparisons and do not predict a guaranteed rate of weight change.
Weekly Energy and BMI
BMI is displayed as a screening metric. It does not change the calorie estimate unless height and weight also affect the selected BMR equation.
Worked Mifflin-St Jeor Calculation
For age 30, male, height 177.8 cm, weight 79.3787 kg, and activity factor 1.55:
| Selected BMR | 1760.04 Calories/day |
|---|---|
| Maintenance calories | 2728.06 Calories/day |
| Deficit scenario | 2228.06 Calories/day |
| Surplus scenario | 3028.06 Calories/day |
| Weekly maintenance | 19096.40 Calories/week |
Precision, Validation, and Limitations
- The engine keeps full JavaScript numeric precision through intermediate calculations.
- Results are rounded for display and reports.
- Age is limited to adults 18-100.
- Height, weight, activity factor, body fat, deficit, and surplus must fall within configured validation ranges.
- The published equations use binary sex terms exactly as defined by their coefficients.
- The calculator does not model dynamic metabolic adaptation or guarantee body-weight change.
- Indirect calorimetry is a direct measurement approach for resting energy; these equations are estimates.
See the worked calorie examples for three reproducible scenarios.