Mifflin-St Jeor — the formula most dietitians actually use, not the older, less accurate Harris-Benedict. Maintenance calories, a weight-loss or weight-gain target, and a full macro split.
Harris-Benedict is the older, more commonly-copied formula, but it was derived from a 1919 study and consistently overestimates calorie needs by 5-15% for most people today. Mifflin-St Jeor (1990) is more accurate for the modern population and is what registered dietitians actually use in practice.
Male: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age + 5
Female: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age − 161
BMR (Basal Metabolic Rate) is what your body burns lying still all day — organ function, breathing, keeping you warm. TDEE (Total Daily Energy Expenditure) multiplies that by an activity factor to account for movement, exercise and daily life. TDEE is your actual maintenance calorie number.
A 30-year-old male, 80kg, 180cm, moderately active: BMR is 1,780 kcal, TDEE is 2,759 kcal. Targeting a 500 kcal/day deficit for weight loss gives a target of 2,259 kcal/day — roughly 0.45 kg/week of loss, a sustainable rate that avoids the muscle loss and metabolic slowdown that comes with more aggressive deficits.
Inputs: weight (kg), height (cm), age (years), sex, activity level (one of five multipliers), goal (−500 kcal to lose, 0 to maintain, +500 to gain), protein % of calories and fat % of calories. Carbohydrate takes whatever percentage is left.
Basal metabolic rate uses the Mifflin-St Jeor equation, which needs weight, height, age and sex:
BMR = (10 × weight kg) + (6.25 × height cm) − (5 × age) + 5 for men, or − 161 for women
TDEE = BMR × activity multiplier, where the multipliers are 1.2 sedentary, 1.375 lightly active, 1.55 moderately active, 1.725 very active and 1.9 extra active.
Target calories = TDEE + goal adjustment (the adjustment is negative when you choose to lose weight).
Protein grams = (target calories × protein %) ÷ 4 — protein is treated as 4 kcal per gram.
Fat grams = (target calories × fat %) ÷ 9 — fat is 9 kcal per gram.
Carb grams = (target calories × remaining %) ÷ 4.
Weekly weight change (kg) = goal adjustment × 7 ÷ 7,700, the last figure being the energy assumed in a kilogram of body weight.
A 30-year-old man, 80 kg, 180 cm, moderately active, choosing to lose weight with a 30% protein / 30% fat split.
The page displays 1,780 kcal, 2,759 kcal, 2,259 kcal, −0.45 kg/wk and 169g / 75g / 226g. For contrast, the same person as a 65 kg, 165 cm, 42-year-old woman, lightly active, maintaining: BMR = 650 + 1,031.25 − 210 − 161 = 1,310.25, TDEE = 1,310.25 × 1.375 = 1,801.59, which displays as 1,310 kcal and 1,802 kcal with macros of 135g / 60g / 180g.
That same 1,780 kcal BMR gives 2,447 kcal at lightly active (1.375) and 2,759 at moderately active (1.55) — a 312 kcal gap from nothing more than how you describe your week. Your entire weight-loss deficit is 500 kcal. If you overestimate your activity by one step, you erase most of the deficit before you have eaten anything differently, and it will look like the maths is broken when it is the input that is wrong.
The weekly figure assumes a kilogram of body weight is worth 7,700 kcal, so a 500 kcal daily deficit predicts 0.45 kg a week. Real loss is faster in the first fortnight because glycogen and the water bound to it go early, then slower as body mass falls and TDEE falls with it. At 2,259 kcal the target is fixed, but the person eating it is getting lighter, so the same intake becomes a smaller deficit every month.
It also assumes you know the starting point. The BMI calculator turns the same height and weight into a healthy weight range, which is the check that tells you whether a deficit is the right tool before you set one.
Mifflin-St Jeor predicts resting energy for people who are not pregnant, not breastfeeding, not severely ill and not carrying unusual amounts of lean mass. It systematically misjudges very muscular people (underestimates their needs) and some older adults (overestimates), and it says nothing about medical conditions or medication that change appetite or metabolic rate.
Protein is set as a share of calories, not as grams per kilogram of bodyweight, so the same 30% produces a different grams-per-kilogram figure depending on how large the target is. In the example above, 169 g works out at 2.1 g per kilogram of an 80 kg bodyweight; run the same 30% through a smaller body and a smaller calorie target and the grams per kilogram fall with it. Strength training is usually prescribed in grams per kilogram, which is the number this page cannot take as an input.
Related: the BMI calculator puts the same height and weight into a healthy range, which is the check most people want before setting a target at all.