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.
Your Results
Your Daily Macro Targets
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.
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.
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.
| Goal | Calories/day | Protein (g per kg body weight) | Notes |
|---|---|---|---|
| Lose Fat | TDEE − 275–1100 | 1.2–2.0 | Deficit from your weekly target; protein by activity level (Jäger 2017) |
| Build Muscle | TDEE + 275–550 | 1.6–2.2 | 0.2 g/kg more protein (Morton 2018); the app allows at most 0.5 kg a week |
| Recomposition | TDEE | 1.6–2.2 | Maintenance calories, 0.2 g/kg more protein |
| Stay Healthy | TDEE | 1.2–2.0 | Maintenance 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?
How many grams of protein do I need per day?
What is the best macro ratio for weight loss?
What macro split should I use for keto?
Do macros matter more than calories?
What is TEF and why is it included?
How do I adjust my macros over time?
What is body recomposition and how do macros work for it?
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.