Calorie & macro calculator

Your BMR, maintenance calories and a daily target for your goal, with protein, carbs, fat, fibre and water. It runs the same function the HOPE app uses to build your plan.

Units
Sex
16–90. The equation isn’t designed for children.
Goal
Capped at 1% of your body weight per week.
Used as the reference for protein and fat.

How the calculation works

The calculator runs in four steps, in this order.

  1. Basal metabolic rate (BMR) with the Mifflin-St Jeor equation: 10 × weight (kg) + 6.25 × height (cm) − 5 × age, then +5 for men or −161 for women. It is the most widely used equation for healthy adults because comparisons have found it closer to measured values than older formulas such as Harris-Benedict.
  2. Maintenance calories (TDEE) = BMR × an activity factor.
  3. Goal adjustment: for weight loss or gain, the calculator adds or subtracts the daily equivalent of your weekly pace, using roughly 7,700 kcal per kilogram.
  4. Macros: protein first, then fat, then carbohydrates fill the rest, so no macro gets squeezed out.
Activity levelFactorTypical week
Sedentary1.2Desk job, little planned exercise
Light1.375Exercise 1–3 days a week
Moderate1.55Exercise 3–5 days a week
High1.725Hard exercise 6–7 days a week
Athlete1.9Twice-a-day training or a physical job

The safety rules built in

These rules are the same in the HOPE app, and you can’t switch them off.

  • Calorie floor: the target never goes below 1,200 kcal for women or 1,500 kcal for men. If your chosen pace would push it lower, the pace is reduced and the result tells you so.
  • Pace cap: planned loss is limited to 1% of your body weight per week.
  • Protein: 2.0 g per kg of reference weight (1.8 g/kg when building muscle), using your goal weight when you’re losing weight, and never more than 35% of calories.
  • Fat: at least 25% of calories or 0.6 g per kg, whichever is higher, and no more than 35%.
  • Fibre: 14 g per 1,000 kcal, the common recommendation in dietary guidelines.
  • Water: 35 ml per kg of body weight as a starting point.

A worked example

A 30-year-old man, 180 cm and 82 kg, exercising 3–5 days a week, wants to reach 76 kg at 0.5 kg a week:

StepCalculationResult
BMR10 × 82 + 6.25 × 180 − 5 × 30 + 51,800 kcal
Maintenance1,800 × 1.552,790 kcal
Deficit0.5 kg × 7,700 ÷ 7−550 kcal
Target2,790 − 5502,240 kcal
Protein76 kg (goal) × 2.0152 g

That is the example pre-filled above. Change any field and the result updates instantly.

Using the number well

Treat the result as a starting point, not a verdict. Weigh yourself under similar conditions a few times a week and look at the two- to three-week trend, not single days. If you’re losing faster or slower than planned, adjust by 100–200 kcal and give it another two weeks. If you have a medical condition, are pregnant or breastfeeding, or have a history of disordered eating, talk to a qualified professional before setting a deficit.

Related: how big a calorie deficit should be, BMR vs TDEE and the protein calculator.

Frequently asked questions

Which formula does this calorie calculator use?

The Mifflin-St Jeor equation for basal metabolic rate, multiplied by an activity factor from 1.2 (sedentary) to 1.9 (athlete) to estimate maintenance calories (TDEE).

How many calories should I eat to lose weight?

This calculator subtracts the deficit for your chosen pace (about 7,700 kcal per kg of fat, spread over the week) from your maintenance calories, but never goes below 1,200 kcal for women or 1,500 kcal for men, and caps the pace at 1% of body weight per week.

How accurate is a TDEE calculator?

It is an estimate. Prediction equations are typically within about 10% for most healthy adults but can miss by more for some people. Track your weight for two to three weeks and adjust by about 100–200 kcal if the trend doesn’t match your goal.

Why is my protein based on my goal weight?

When you’re losing weight, protein is set from your goal weight so that body fat isn’t counted as if it were muscle. This keeps the target realistic for people with more weight to lose.

Is my data stored anywhere?

No. The calculation runs in your browser; nothing you enter is sent to a server.

This guide is general information, not medical advice. If you have a health condition, are pregnant or take medication, talk to a qualified professional first.