Macro Calculator

Calculate your daily protein, carbs, and fat from your body, activity level, and goal — with the same rules as the AI Food Coach app. Protein comes from your body weight, not a percentage of calories.

Activity Level
💻
Sedentary
Desk job, little exercise
×1.2
🚶
Light
1-2 workouts/week
×1.375
🏃
Moderate
3-5 workouts/week
×1.55
🏋
Active
6-7 workouts/week
×1.725
⚡
Very Active
Athlete, physical job
×1.9
Your Goal
Lose Fat
Drop body fat while keeping muscle
Build Muscle
Lean gains with a moderate surplus
Recomposition
Lose fat & build muscle at once
Stay Healthy
Maintain weight and feel great
Weekly Target
0.25 kg/week
≈ 275 kcal a day
0.5 kg/week
≈ 550 kcal a day
0.75 kg/week
≈ 825 kcal a day
1.0 kg/week
≈ 1,100 kcal a day
Enables Katch-McArdle formula — more accurate for users with higher or lower than average body fat.

Your Results

BMR
—
kcal/day
TDEE
—
kcal/day
Daily Calorie Target
—
kcal/day

Your Daily Macro Targets

—
Protein
—
120g
—
Carbs
—
200g
Ketogenic range — 20–50 g of carbohydrate a day is the usual definition of a ketogenic diet: the amount that brings most people into ketosis, though not everyone (Feinman 2015).
—
Fat
—
Fills remaining calories after protein and carbs

This Calculator Gives You a Number. The App Makes It Work.

Your days aren’t all the same. The app adds the calories your Apple Watch or phone records, recalculates your target every day — with Dynamic Deficit on, from the weight and days left to your goal — and counts TEF from what you logged. Snap a photo of your food and it’s tracked.

Download on the App Store Get it on Google Play

What Are Macros?

Macronutrients — protein, carbohydrates, and fat — are the three nutrients your body needs in large amounts. Each serves a different function: protein builds and repairs muscle, carbs provide energy, and fat supports hormones and cell function.

Calories decide whether your weight goes up or down; macros show what those calories are made of. Protein matters most when you train: in a meta-analysis of 49 studies, more protein raised the muscle gained from resistance training, up to about 1.6 g per kg of body weight a day (Morton 2018).

How This Calculator Works

This calculator uses the same rules as the AI Food Coach app. BMR comes from Mifflin-St Jeor (or Katch-McArdle when you enter your body fat), multiplied by your activity level for TDEE; your goal adds a deficit or a surplus. Protein comes from your body weight and activity level, carbs from your activity level (45–55% of the calories), and fat fills the rest — at least 30 g. TEF (the Thermic Effect of Food) is added on top, as in the app.

BMR (Mifflin-St Jeor):
Male: BMR = (10 × Wkg) + (6.25 × Hcm) − (5 × age) + 5
Female: BMR = (10 × Wkg) + (6.25 × Hcm) − (5 × age) − 161

BMR (Katch-McArdle):
LBM = Wkg × (1 − bodyfat/100)    BMR = 370 + (21.6 × LBM)

Calories and Protein by Goal

These are the app’s rules for each goal. Carbs are 45–55% of the calories by activity level — within the 45–65% the Institute of Medicine sets for carbohydrates — and fat fills the rest.

GoalCalories/dayProtein (g per kg body weight)Notes
Lose FatTDEE − 275–11001.2–2.0Deficit from your weekly target; protein by activity level (Jäger 2017)
Build MuscleTDEE + 275–5501.6–2.20.2 g/kg more protein (Morton 2018); the app allows at most 0.5 kg a week
RecompositionTDEE1.6–2.2Maintenance calories, 0.2 g/kg more protein
Stay HealthyTDEE1.2–2.0Maintenance calories; with Dynamic Targets on, a small correction when your weight drifts from the weight you hold

Why Protein Is Based on Body Weight, Not Percentages

Studies give protein needs per kilogram of body weight, not as a share of calories (Jäger 2017, Morton 2018). A 60 kg sedentary person and a 100 kg athlete eating the same calories need very different amounts of protein.

The calculator uses the app’s rule: 1.2–2.0 g per kg of body weight by activity level, in line with the 1.4–2.0 g/kg the International Society of Sports Nutrition recommends for exercising people (Jäger 2017). For Build Muscle and Recomposition it adds 0.2 g/kg, from 1.6 to 2.2 g/kg — muscle gains from resistance training plateaued at about 1.6 g/kg, with a confidence interval up to 2.2 (Morton 2018). With your body fat entered, protein follows your lean mass: a person of average build (22% body fat for men, 25% for women) gets exactly the study amount.

TEF — The Hidden Calorie Bonus

Your body burns calories just to digest food. This is called the Thermic Effect of Food (TEF) — about 10% of the energy on a mixed diet (Westerterp 2004). The calculator, like the app, counts 25% of the calories from protein, 7.5% from carbs, and 2.5% from fat (Hall 2010), within the ranges measured for each (protein 20–30%, carbs 5–10%, fat 0–3%). So more protein means more energy spent on digestion at the same intake.

Beyond a Static Calculator

This calculator gives you a starting point. In the app, the targets follow your days — what you record, what you eat, and how your weight moves:

  • The calories your Apple Watch or phone records go into your target every day
  • With Dynamic Deficit on, the daily deficit follows the weight and days left to your goal
  • TEF counted from the food you logged
  • Each day’s macros fit that day’s calorie target: at least 30 g of fat, then protein, then carbs

The calculator uses formulas; the app adds what you record.

Macro Calculator — FAQ

What are macros and why should I track them?
Macros (macronutrients) are protein, carbohydrates, and fat — the three nutrients your body needs in large amounts. Calories decide whether your weight goes up or down; tracking macros shows what the calories are made of — above all whether you get enough protein, which drives the muscle you gain from training (Morton 2018).
How many grams of protein do I need per day?
It depends on your body weight and activity level, not on your calorie intake. This calculator uses the app’s rule: 1.2 g per kg of body weight when sedentary, 1.6 g/kg with 3–5 workouts a week, up to 2.0 g/kg for athletes — in line with the 1.4–2.0 g/kg the International Society of Sports Nutrition recommends for exercising people (Jäger 2017). Build Muscle and Recomposition add 0.2 g/kg, up to 2.2 g/kg (Morton 2018). If you enter your body fat, protein follows your lean mass instead.
What is the best macro ratio for weight loss?
There is no single best ratio. The app, like this calculator, sets protein from your weight and activity level, carbs by your setting — by default 45–55% of the calories by activity level — and fat fills the rest. For weight loss, the size of the deficit sets the pace.
What macro split should I use for keto?
A ketogenic diet is usually defined as 20–50 g of carbohydrate a day, under 10% of a 2,000 kcal diet — the amount that brings most people into ketosis, though not everyone (Feinman 2015). The Keto preset sets carbs to 20 g, the app’s default. Protein stays at your body-weight amount — a diet with 30% of its energy from protein still induced ketosis (Johnstone 2008) — and fat fills the remaining calories.
Do macros matter more than calories?
Calories decide whether you lose or gain weight. Protein decides much of what you gain from training: more protein raised the muscle gained from resistance training, up to about 1.6 g per kg of body weight a day (Morton 2018). Track both — stay within your calorie target and reach your protein.
What is TEF and why is it included?
TEF (Thermic Effect of Food) is the energy your body uses to digest food — about 10% of the energy on a mixed diet (Westerterp 2004). This calculator, like the app, counts 25% of the calories from protein, 7.5% from carbs, and 2.5% from fat (Hall 2010). On a 2,000 kcal day with 150 g of protein, 200 g of carbs, and 67 g of fat, that comes to about 225 kcal.
How do I adjust my macros over time?
The app recalculates your targets every day from your latest weight and what Apple Health or Health Connect records; with Dynamic Deficit on, the daily deficit follows the weight and days left to your goal date. With this calculator, recalculate when your weight changes — your BMR changes with it.
What is body recomposition and how do macros work for it?
Body recomposition means losing fat and gaining muscle at the same time, at about the same weight. The app plans it at maintenance calories with 0.2 g/kg more protein — 1.6–2.2 g per kg of body weight (Morton 2018) — and with Dynamic Targets on, it corrects the target when your weight drifts from the weight you hold. Select “Recomposition” as your goal in the calculator above.

This Calculator Gives You a Number. The App Makes It Work.

Your days aren’t all the same. The app adds the calories your Apple Watch or phone records, recalculates your target every day — with Dynamic Deficit on, from the weight and days left to your goal — and counts TEF from what you logged. Snap a photo of your food and it’s tracked.

Download on the App Store Get it on Google Play