Home / Macro calculator

Macro calculator

Work out how many calories you need, and how to split them between protein, carbs and fat. Change anything and the numbers follow. Nothing is sent anywhere, the whole thing runs in your browser.

Pip the hedgehog, pleased with your macros
Sex
Height
Goal
On this page ⌄

How this calculator works

Three steps, in this order, because each one depends on the last.

Need the calories first? The calorie calculator shows your BMR, your maintenance and the target this page then splits.

1. Your maintenance calories

First it estimates the energy your body burns at complete rest, using the Mifflin St Jeor equation, which is the most accurate of the common formulas for people who are not extremely lean or extremely heavy. Then it multiplies that by an activity factor between 1.2 and 1.9 to cover everything you do on top of lying still. The result is your maintenance: eat that and, roughly speaking, your weight holds.

2. The adjustment for your goal

Losing fat sets your target about 20% below maintenance, which for most people lands between 300 and 600 calories a day. That is aggressive enough to show on the scale within a few weeks and gentle enough that you can still train, sleep and think. Building sets it about 10% above, because a bigger surplus mostly buys you fat. Maintaining leaves it alone.

3. The split

Protein comes first and is set from your body weight, not from a percentage, because your muscle does not know how many calories you are eating. Fat takes a share of the total, never dropping so low that it causes problems. Carbs get whatever is left, which is why the carb number moves most when you change anything else. If you want to read the reasoning in full, the macro tracking guide covers it.

What to actually do with these numbers

A target you never check is a wish. The gap between people who hit their macros and people who do not is almost never knowledge, it is whether logging costs two minutes or ten. So:

  • Chase protein, approximate the rest. Protein holds onto muscle in a deficit and is the most filling of the three. Carbs and fat can wander by 20 g without changing your week.
  • Judge it on the weekly average. Daily weight swings a kilo or more on water alone, which is a whole separate thing worth understanding. Three or four weeks of averages tell you whether the target is right.
  • Recalculate as you change. Maintenance falls as you get lighter. Come back every four to six kilos.
  • Log the days you would rather not. Those are the days carrying the information.

Turning these grams into actual meals is easier in batches: meal prep for weight loss shows how.

Sources

How this was made

Written by Abdullah Javaid, founder of Calfit, drafted with AI assistance and edited by hand. Maintenance is the Mifflin St Jeor equation multiplied by an activity factor between 1.2 and 1.9, and the target is 20% under for fat loss or 10% over for building. Protein is set from body weight, fat takes 25% of calories on a cut, and carbs take the rest, at 4, 4 and 9 kcal per gram.

Quick questions

How do I calculate my macros?
Calories first, then protein, then split whatever is left. Work out your maintenance calories, adjust them for your goal, set protein from your body weight, then divide the remaining calories between carbs and fat. The split of those last two moves results far less than people expect, so set it to however you actually like to eat.
What macros should I eat to lose weight?
Start about 20% below maintenance, keep protein high at roughly 2 g per kilo of body weight to hold onto muscle, put fat near 25% of calories so hormones and satiety hold up, and let carbs take the rest. The deficit does the fat loss. The protein decides how much of the loss is fat rather than muscle.
Is this macro calculator accurate?
It uses the Mifflin St Jeor equation, which is the most accurate of the common formulas, but every equation is an estimate of a population average rather than a measurement of you. Expect to be within about 10% either way. Treat the number as a starting point, track your weight for two or three weeks, and adjust from what actually happens.
Do I have to hit my macros exactly?
No, and trying to is how people burn out in a fortnight. Land near your calories, get close on protein, and stop worrying about carbs and fat to the gram. Consistently approximate beats occasionally perfect, every time.
How often should I recalculate my macros?
Every four to six kilos of weight change, or whenever your training or job changes substantially. Maintenance falls as you get lighter, so a target that produced a deficit in January can be maintenance by April without you changing a thing.
The Calfit diary screen with the day protein, carb and fat rings filling in against the targets

Take Calfit with you.

Your next healthy habit starts here.

QR code that opens Calfit in your phone's app store
Scan with your phone camera
Download on theApp StoreGet it onGoogle Play
Free to start. iPhone & Android.