Get your BMR and TDEE with Mifflin-St Jeor, a goal-based calorie target, and exact protein, fat and carb grams per day for your chosen split.
Macro Calculator
Turn your stats into a daily calorie target and exact protein, fat and carb grams — BMR, TDEE and goal shown, nothing hidden.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Macro Result
Calculated locally in your browser
—
Name
—
Sex
—
Age
—
Weight
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
A macro calculator first finds maintenance calories with the Mifflin-St Jeor equation multiplied by an activity factor, then applies a goal adjustment and splits the calories into grams: protein and carbohydrate at four kilocalories per gram and fat at nine. For example, an eighty-kilogram man maintaining at 2,740 kilocalories gets about 205 grams of protein at a thirty percent share.
- BMR uses the Mifflin-St Jeor equation (1990)
- Protein and carbs = 4 kcal/g, fat = 9 kcal/g (Atwater)
- Lose = TDEE x 0.8, gain = TDEE x 1.1 in this tool
Activity multipliers used with Mifflin-St Jeor BMR
Reference values for this calculator.
| Level | Factor | Typical week |
|---|---|---|
| Sedentary | 1.2 | Desk job, little exercise |
| Light | 1.375 | Exercise 1-3 days/week |
| Moderate | 1.55 | Exercise 3-5 days/week |
| Very active | 1.725 | Hard exercise 6-7 days/week |
| Athlete | 1.9 | Physical job plus training |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Ideas enhancement: beyond a fixed macro split, the goal selector (20% deficit / maintenance / 10% surplus) and free protein/fat percentages let you run IIFYM-style what-ifs — e.g. raise protein in a deficit and watch carb grams absorb the change — while BMR and TDEE stay visible so the split is never a black box.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Man maintaining on a 30/25/45 split
Male, 30, 80 kg, 178 cm, activity 1.55, maintain, protein 30%, fat 25%
| Calculation | Steps |
|---|---|
| BMR = 10 x 80 + 6.25 x 178 - 5 x 30 + 5 = 1,768 kcal/day. TDEE = 1,768 x 1.55 = 2,740 kcal/day. Goal adjustment (maintain) x 1 gives a target of 2,740 kcal/day. Protein = 30% of target / 4 kcal/g = 205 g; fat = 25% / 9 kcal/g = 76 g; carbs = 45% / 4 kcal/g = 308 g. | 2,740 kcal/day — Protein 205 g, fat 76 g, carbs 308 g at a 30/25/45 split. |
Result
Example 2
Woman in a 20% deficit
Female, 40, 65 kg, 165 cm, activity 1.375, lose, protein 35%, fat 30%
| Calculation | Steps |
|---|---|
| BMR = 10 x 65 + 6.25 x 165 - 5 x 40 - 161 = 1,320 kcal/day. TDEE = 1,320 x 1.375 = 1,815 kcal/day. Goal adjustment (lose) x 0.8 gives a target of 1,452 kcal/day. Protein = 35% of target / 4 kcal/g = 127 g; fat = 30% / 9 kcal/g = 48 g; carbs = 35% / 4 kcal/g = 127 g. | 1,452 kcal/day — Protein 127 g, fat 48 g, carbs 127 g at a 35/30/35 split. |
Result
Example 3
Young athlete gaining
Male, 22, 90 kg, 185 cm, activity 1.9, gain, protein 25%, fat 20%
| Calculation | Steps |
|---|---|
| BMR = 10 x 90 + 6.25 x 185 - 5 x 22 + 5 = 1,951 kcal/day. TDEE = 1,951 x 1.9 = 3,707 kcal/day. Goal adjustment (gain) x 1.1 gives a target of 4,078 kcal/day. Protein = 25% of target / 4 kcal/g = 255 g; fat = 20% / 9 kcal/g = 91 g; carbs = 55% / 4 kcal/g = 561 g. | 4,078 kcal/day — Protein 255 g, fat 91 g, carbs 561 g at a 25/20/55 split. |
Result
How to use this calculator
Step 1
Enter sex, age, weight in kilograms and height in centimetres.
Step 2
Pick the activity multiplier that matches a normal week, not your best day.
Step 3
Choose lose, maintain or gain to set the calorie target from TDEE.
Step 4
Set protein and fat as percentages of calories; carbohydrate fills the rest.
Step 5
Read grams per day in the result details and split them across your meals.
Frequently asked questions
What activity factor should I pick?
1.2 is a desk job with little exercise, 1.375 is light exercise 1-3 days a week, 1.55 is moderate exercise 3-5 days, 1.725 is hard daily training and 1.9 is physical work plus training. When unsure, pick the lower one — most people overestimate.
Why does protein use 4 kcal/g and fat 9 kcal/g?
Those are the standard Atwater energy values: protein and carbohydrate provide about 4 kcal per gram, fat about 9 kcal per gram and alcohol 7 kcal per gram. Dividing each macro calorie share by its value converts calories into grams.
Is a 20% deficit safe for fat loss?
A 20% deficit (about 400-600 kcal/day for most adults) is a commonly used moderate rate targeting roughly 0.5% of body weight per week. Larger deficits, very low intakes and losses in pregnancy or eating-disorder history need medical supervision, which this calculator does not replace.
How much protein do I need in a deficit?
Sports-nutrition guidance commonly suggests 1.6-2.2 g per kg of body weight to protect muscle while dieting — for an 80 kg person that is 128-176 g, roughly a 25-35% share at typical targets. Use the percentage input to hit the gram range you want.
Why is my TDEE different from my watch?
Watches estimate expenditure from heart rate and movement with wide error bars, while this tool uses the Mifflin-St Jeor equation, the most validated predictive formula. Treat both as starting estimates and adjust from 2-3 weeks of real weight trend.
About this calculator
A macro calculator converts your body stats into two things: a daily calorie target matched to your goal, and that target divided into grams of protein, fat and carbohydrate. It starts from the Mifflin-St Jeor equation for basal metabolic rate, scales it by activity to estimate total daily energy expenditure (TDEE), adjusts for losing, maintaining or gaining, then splits calories by percentage into grams using the Atwater values of 4, 9 and 4 kcal per gram.
Calories decide the direction of weight change, but macros decide what the change is made of. Adequate protein protects muscle in a deficit and supports growth in a surplus; fat covers hormonal and essential-fatty-acid needs; carbohydrate fuels training and fills the remaining energy. Two diets with identical calories but very different protein intakes produce measurably different body-composition outcomes, which is why gram targets matter alongside the calorie number.
The Mifflin-St Jeor equation, published in 1990 and validated against measured metabolic rates, remains the most accurate widely used predictor of resting expenditure for non-clinical adults. Multiplying by an activity factor converts resting burn into a full-day estimate. Both steps are estimates — individual error of 10% or more is normal — so the professional approach is to treat the output as a two-to-three-week experiment and adjust by about 100-200 kcal based on the weight trend.
Percentage splits are a starting language, not a law. A 30/25/45 protein/fat/carb split suits many active adults, endurance athletes often need a higher carb share, and lower-carb approaches push fat up instead. What should not move is the protein floor: roughly 1.6 g per kg of body weight daily for active people, rising toward 2.2 g/kg in an aggressive deficit. This calculator lets you set protein and fat percentages freely and watch carbohydrate absorb the difference, so you can satisfy the protein floor first.
Use it when starting a diet or muscle-gain phase, when a calorie target alone is not guiding food choices, when protein intake needs checking against body weight, or when you follow an IIFYM (if it fits your macros) approach and need consistent daily gram targets to plan meals around.
How to calculate it yourself
Step 1
Calculate BMR with Mifflin-St Jeor: 10 x weight (kg) + 6.25 x height (cm) - 5 x age, then +5 for males or -161 for females.
Step 2
Multiply BMR by your activity factor (1.2 to 1.9) to get TDEE, your maintenance calories.
Step 3
Adjust for goal: multiply by 0.8 to lose, 1.0 to maintain, 1.1 to gain.
Step 4
Multiply the target by each macro percentage, then divide protein and carb calories by 4 and fat calories by 9 to get grams.
Real-life examples
Office worker starting a diet
Sara, 40, weighs 65 kg and sits most of the day with light weekend exercise. She wants a moderate deficit with high protein to stay full, so she uses the lose goal at a 35% protein share.
BMR = 10 x 65 + 6.25 x 165 - 5 x 40 - 161 = 1,320 kcal/day. TDEE = 1,320 x 1.375 = 1,815 kcal/day. Goal adjustment (lose) x 0.8 gives a target of 1,452 kcal/day. Protein = 35% of target / 4 kcal/g = 127 g; fat = 30% / 9 kcal/g = 48 g; carbs = 35% / 4 kcal/g = 127 g.
1,452 kcal/day — Protein 127 g, fat 48 g, carbs 127 g at a 35/30/35 split.
Rower building in the off-season
A 22-year-old rower, 90 kg and training twice a day, needs a surplus that does not bury him in fat grams. He chooses gain with protein at 25% and fat at 20%, leaving most of the surplus as carbohydrate for training fuel.
BMR = 10 x 90 + 6.25 x 185 - 5 x 22 + 5 = 1,951 kcal/day. TDEE = 1,951 x 1.9 = 3,707 kcal/day. Goal adjustment (gain) x 1.1 gives a target of 4,078 kcal/day. Protein = 25% of target / 4 kcal/g = 255 g; fat = 20% / 9 kcal/g = 91 g; carbs = 55% / 4 kcal/g = 561 g.
4,078 kcal/day — Protein 255 g, fat 91 g, carbs 561 g at a 25/20/55 split.
Ideas & use cases
- Protein-floor check: set your target, then raise the protein percentage until the gram result reaches 1.6-2.2 g per kg of your body weight, and note how many carb grams remain for training days.
- Training-day versus rest-day split: run the calculator twice, once at your training activity factor and once at 1.2, and eat the difference mostly as carbohydrate around workouts.
- Label reality check: take a typical day from your food log, total its protein, fat and carbs, and compare against the targets to find which macro is silently over or under.
Limitations & sources
- Predictive equations estimate expenditure within roughly ±10% for groups and wider for individuals; it does not diagnose eating disorders, set medical nutrition therapy, or account for adaptive thermogenesis over long diets.
Sources: Mifflin MD et al. (1990) A new predictive equation for resting energy expenditure, American Journal of Clinical Nutrition 51:241-247 · Atwater energy factors as summarised by FAO Food and Nutrition Paper 77 (2003)
