Health & Fitness

How the Calorie Deficit Calculator Works

How daily calorie targets are calculated for weight loss, muscle gain, and body recomposition using TDEE, energy balance, and macro splits.

Verified against NHS Obesity Treatment β€” Safe Weight Loss on 16 Feb 2026 Updated 16 February 2026 4 min read
Open calculator

Translation unavailable β€” this article is shown in English. View English version

Summary

A calorie deficit calculator estimates how many calories you should eat each day to reach a goal weight within a given timeframe. It works by computing your Total Daily Energy Expenditure (TDEE), then subtracting (for weight loss) or adding (for muscle gain) the daily energy change needed to achieve your target.

The calculator supports four goal modes: NHS guidelines, fat loss, muscle gain, and body recomposition β€” each with different macro splits and protein targets backed by sports science research.

How it works

Step 1 β€” Estimate BMR

Basal Metabolic Rate (BMR) is the number of calories your body burns at complete rest. This calculator uses the Mifflin-St Jeor equation (1990), which the American Dietetic Association identified as the most accurate BMR formula for healthy adults.

BMR (male) = 10W + 6.25H βˆ’ 5A + 5

Where

W= Body weight in kilograms
H= Height in centimetres
A= Age in years

For females, the constant changes: BMR (female) = 10W + 6.25H βˆ’ 5A βˆ’ 161

Step 2 β€” Calculate TDEE

TDEE accounts for your activity level by multiplying BMR by a standard activity factor:

Activity levelMultiplier
Sedentary (desk job, little exercise)1.2
Lightly active (1–3 days/week)1.375
Moderately active (3–5 days/week)1.55
Very active (6–7 days/week)1.725
Extra active (physical job + training)1.9
TDEE = BMR Γ— activity multiplier

Where

BMR= Basal Metabolic Rate from Step 1
activity multiplier= Factor based on exercise frequency (1.2–1.9)

Step 3 β€” Compute daily energy change

The widely-used clinical estimate is that 1 kg of body fat stores approximately 7,700 kcal of energy (Wishnofsky, 1958). This is used to convert a weight change goal into a calorie target:

daily change (kcal) = |weight change (kg)| Γ— 7,700 Γ· (weeks Γ— 7)

Where

weight change= Difference between current and goal weight
7,700= Approximate energy content of 1 kg body fat (kcal)
weeks= Timeframe for the goal

Step 4 β€” Set daily calorie target

  • Weight loss: daily calories = TDEE βˆ’ daily deficit
  • Weight gain: daily calories = TDEE + daily surplus
  • Recomposition: daily calories = TDEE (eat at maintenance)

Goal modes

The calculator offers four modes, each with a different protein target and macro split:

ModeProtein (g/kg)Fat (% of calories)CarbsSource
NHS guidelines1.230%RemainderUK RNI upper range
Fat loss2.025%RemainderISSN 2017 (midrange of 1.6–2.4)
Muscle gain2.025%RemainderISSN 2017 (midrange of 1.6–2.2)
Recomposition2.225%RemainderLongland et al. 2016

Why high protein during a deficit? The ISSN 2017 Position Stand recommends 1.6–2.4 g/kg/day during energy restriction to preserve lean mass. Longland et al. (2016) showed that 2.4 g/kg during a 40% deficit produced gains in lean mass alongside fat loss when combined with resistance training.

Worked example

Male, 85 kg, 175 cm, age 30, moderately active β€” goal: 75 kg in 16 weeks (fat loss mode)

1

Calculate BMR (Mifflin-St Jeor, male)

10 Γ— 85 + 6.25 Γ— 175 βˆ’ 5 Γ— 30 + 5 = 850 + 1,093.75 βˆ’ 150 + 5

= 1,798.75 kcal/day

2

Calculate TDEE (moderately active Γ— 1.55)

1,798.75 Γ— 1.55

= 2,788 kcal/day

3

Compute daily deficit

10 kg Γ— 7,700 kcal/kg Γ· (16 Γ— 7 days) = 77,000 Γ· 112

= 688 kcal/day deficit

4

Set daily calorie target

2,788 βˆ’ 688

= 2,100 kcal/day

5

Calculate macros (fat-loss mode: 2 g/kg protein, 25% fat)

Protein = 75 kg Γ— 2 = 150 g (600 kcal). Fat = 2,100 Γ— 0.25 = 525 kcal (58 g). Carbs = 2,100 βˆ’ 600 βˆ’ 525 = 975 kcal (244 g).

= 150 g protein, 58 g fat, 244 g carbs

Result

Daily target: 2,100 kcal/day with a 688 kcal deficit. Rate: 0.625 kg/week β€” within NHS safe range.

Safety warnings

The calculator displays warnings when the plan may be unsustainable or unhealthy:

  • Large deficit (over 1,000 kcal/day): Hard to sustain and risks muscle loss. Consider a longer timeframe.
  • Fast weight loss (over 1 kg/week): The NHS recommends 0.5–1 kg/week. Faster rates increase muscle loss.
  • Very low calories (under 1,200 kcal/day): Not recommended without medical supervision. Risk of nutrient deficiency.

Inputs explained

  • Current weight / Goal weight β€” the start and end points. The calculator works for both loss and gain.
  • Height, Age, Sex β€” used to compute BMR via the Mifflin-St Jeor equation.
  • Activity level β€” selects the TDEE multiplier. Be honest; overestimating activity is the most common error.
  • Timeframe (weeks) β€” how quickly you want to reach your goal. Longer timeframes produce smaller, more sustainable deficits.
  • Goal mode β€” determines the protein target and macro split.

Outputs explained

  • Daily calorie target β€” how many calories to eat per day to reach your goal.
  • TDEE β€” your estimated maintenance calories (what you’d eat to maintain current weight).
  • Deficit/Surplus β€” the daily energy gap between TDEE and target.
  • Weekly weight change β€” projected rate in kg per week.
  • Macros β€” protein, carbs, and fat in grams, based on the selected goal mode.
  • Weight projection chart β€” a linear projection of weight over the timeframe.

Assumptions & limitations

  • Linear weight loss is a simplification. Real weight loss is non-linear β€” early weeks include water/glycogen loss, and metabolic adaptation reduces TDEE over time. The calculator assumes a constant TDEE throughout.
  • 7,700 kcal/kg is an average. The actual energy content per kg lost varies: early weight loss may be ~4,800 kcal/kg (due to water), while steady-state fat loss is closer to 7,700 kcal/kg.
  • TDEE is an estimate. Mifflin-St Jeor predicts BMR within 10% for most people, but individual variation exists. Use TDEE as a starting point and adjust based on real-world results after 2–3 weeks.
  • The surplus calculation uses the same 7,700 kcal/kg. For muscle gain, the actual energy cost per kg of lean tissue is lower (~1,500–2,500 kcal/kg), so the calculator produces a conservative (slightly high) surplus estimate.
  • Macro protein targets are based on goal weight for deficit/gain modes and current weight for recomposition. This follows the convention that protein needs scale with the lean mass you’re trying to preserve or build.

Verification

Test caseWeightGoalWeeksTDEEExpected targetMode
Male fat loss85 kg, 175 cm, 30y, moderate75 kg162,7882,101 kcal/dayfat-loss
Female NHS loss70 kg, 165 cm, 35y, light63 kg201,9181,533 kcal/daynhs
Male muscle gain75 kg, 180 cm, 28y, very active80 kg203,0023,277 kcal/daymuscle-gain

All values verified against manual Mifflin-St Jeor + activity multiplier calculation.

Sources

calorie-deficit weight-loss tdee macros fat-loss muscle-gain recomposition