Macro calculator: how much protein, fat and carbs for your goal?
I’m Yema. Choose whether you want to lose weight, maintain it or build muscle, and I’ll give you your day’s macros with the same math I use in the app, step by step and with your numbers.
YemaYour companion for eating better.
Updated
Work out yours
Fill in your details and your number shows up here.
Fill in your details and your number shows up here.
To lose weight: … cal a day, at the app’s “Recommended” pace.1
To maintain your weight: … cal a day, what you burn.2
To maintain your weight: … cal a day: what you burn, about … cal, is at the … cal floor or below, so I don’t suggest eating less.1
To build muscle: … cal a day, about 10% more than you burn.3
To build muscle: … cal a day: for your height, gaining weight is good for you, so I add at least 300 calories, what the NHS suggests to gain gradually.4 If you lost weight without trying, or food has become a way to cope with feelings, talk to your doctor.4
To build muscle: … cal a day: I never suggest less than … cal, the minimum to eat a bit of everything.1
For your goal: … cal a day, what you burn.2
For your goal: … cal a day: with your day already at the … cal floor or below, I don’t suggest eating less.1
With your weight and height I don’t suggest a deficit, and neither does the app.
For your height, gaining weight is good for you, and it’s best done with your doctor or dietitian: they’ll tell you how much to add and how fast.5
With what you burn, your goal stays on the floor: I never suggest less than … cal.1
- … gProtein
- … gFat
- … gCarbs
- … gFiber
It’s the app’s “Balanced” split: fat at 30% and carbs with what’s left.6
For your height, I counted protein on a reference weight, as the app does.
How each goal comes out
Energy · … cal
Protein · … g
Fat · … g
Carbs · … g
Fiber · … g
Resting energy (Mifflin-St Jeor): 10 × … kg + 6.25 × … cm − 5 × … years − 161 = … cal
Resting energy (Mifflin-St Jeor): 10 × … kg + 6.25 × … cm − 5 × … years + 5 = … cal
For your activity (“Not much”): … × … = … cal
For your activity (“Some”): … × … = … cal
For your activity (“Quite a bit”): … × … = … cal
For your activity (“A lot”): … × … = … cal
To lose: … − … = … cal
I never suggest less than … cal.
To build muscle: … + … = … cal
To build muscle: … + … = … cal; for your height, at least … cal more to gain gradually.
To maintain your weight: … cal, what you burn.
With what you burn, I don’t suggest eating less: your goal stays at … cal, the minimum to eat a bit of everything.
To lose: no deficit, for your weight and height. I suggest what you burn: … cal.
To build muscle: no surplus for now, because for your height, how much to add is for your doctor or dietitian to decide. I suggest what you burn: … cal.
… g per kg, to maintain your weight: … × … kg (your reference weight) = … g
… g per kg, to build muscle (it grows with strength training): … × … kg (your reference weight) = … g
… g per kg, to lose while looking after your muscle: … × … kg (your reference weight) = … g
… g per kg, because you train: … × … kg (your reference weight) = … g
… g per kg: … × … kg (your reference weight) = … g
Cap: 35% of … cal ÷ 4 = … g.
…% of … cal ÷ 9 = … g
Set to … g so your carbs stay in their range.
What’s left: (… − … × 4 − … × 9) ÷ 4 = … g
14 g for every 1,000 cal: 14 × … = … g
Never under … g: it’s … g.
This calculator is for adults, like the app. For someone under age, the number comes from their pediatrician or dietitian.
During pregnancy, breastfeeding or with a health condition I don’t give you a number: talk to your doctor or dietitian, who knows your case.
Check your age: the calculator goes up to 100.
Enter a height between 120 and 230 cm.
Enter a weight between 30 and 300 kg.
Enter an energy between 800 and 6,000 cal a day.
Enter a smaller figure: a label’s, or your day’s.
Your age is unusual for this formula: check it’s typed right.
That height is unusual: check it’s typed right.
For your height, that weight is unusual: check it’s typed right.
That’s a fast pace for your weight: “Recommended” is easier to keep up.
How I work it out
I start with energy. What you burn at rest comes from the Mifflin-St Jeor formula: 10 × your weight in kilos + 6.25 × your height in centimetres − 5 × your age, plus 5 for men or minus 161 for women.2 I multiply it by your activity, from 1.2 to 1.725, below the FAO and WHO factors (1.4 to 2.4) to stay careful.7
To lose weight I take off 20% and round to 50 calories: a US clinical guideline suggests a deficit of 500 to 750 calories a day, and as a percentage it fits what your body burns.1 Your goal never goes below 1,200 calories for women or 1,500 for men, the lower end of that guideline’s plans.1 To build muscle I add 10%, the low end of the 10 to 20% a review on the subject suggests;3 if your weight is low for your height, at least 300 calories, what the UK’s NHS suggests to gain gradually.4 To maintain, you keep what you burn, and if that is under the floor, the floor.1
Protein goes per kilo of body weight: 1.2 g to maintain and 1.6 g to build muscle, the range of the US Dietary Guidelines 2025–2030.8 To lose, 1.4 g, to look after your muscle while you lose, inside what a 2025 advisory from four US medical societies suggests.9 If you train three or more times a week (“Quite a bit” or “A lot”), 1.8 g.10 With a body mass index (BMI) of 30 or more, I count on the weight a BMI of 25 gives for your height.9
Fat is 30% of the calories and carbs are what’s left, counting 4 calories per gram of protein and carbs and 9 per gram of fat.11 If the carbs fall outside the US National Academies’ range (45 to 65%), I move the fat without taking it out of its own (20 to 35%).6 In the app, if you live in Europe, carbs go up to 60%, EFSA’s ceiling.12 And protein never goes past 35% of the calories.6
Fiber comes from your energy: 14 g for every 1,000 calories,6 and never under 25 g, EFSA’s minimum for an adult.12
Examples
| Who | Goal | Calories | Protein | Fat | Carbs | Fiber |
|---|---|---|---|---|---|---|
| Female, 30 years, 165 cm, 65 kg, some | Lose weight | 1,500 cal | 91 g | 50 g | 172 g | 25 g |
| Female, 30 years, 165 cm, 65 kg, some | Maintain | 1,884 cal | 78 g | 63 g | 251 g | 26 g |
| Female, 30 years, 165 cm, 65 kg, some | Build muscle | 2,050 cal | 104 g | 68 g | 256 g | 29 g |
| Male, 35 years, 178 cm, 80 kg, quite a bit | Lose weight | 2,150 cal | 144 g | 67 g | 243 g | 30 g |
| Male, 35 years, 178 cm, 80 kg, quite a bit | Maintain | 2,702 cal | 144 g | 90 g | 329 g | 38 g |
| Male, 35 years, 178 cm, 80 kg, quite a bit | Build muscle | 2,950 cal | 144 g | 98 g | 373 g | 41 g |
Calories and grams a day with the app’s math; weight and height are the inputs.26
When I don’t give you a number
This calculator is for adults, like the app. In pregnancy or breastfeeding there’s no deficit and energy and protein change, and with a health condition, such as kidney disease, diabetes with medication, an eating disorder or bariatric surgery, your numbers come from your doctor or dietitian.
Sources
- AHA, ACC and TOS, 20132013 AHA/ACC/TOS Guideline for the Management of Overweight and Obesity in Adults
- Mifflin and St Jeor, 1990A new predictive equation for resting energy expenditure in healthy individuals
- Iraki et al., 2019Nutrition Recommendations for Bodybuilders in the Off-Season: A Narrative Review
- NHSAdvice for underweight adults
- NHS Highland, 2025Refeeding syndrome in adults (Guidelines)
- US National Academies, 2005Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids
- FAO, WHO and UNU, 2004Human energy requirements. Report of a Joint FAO/WHO/UNU Expert Consultation (Table 5.3)
- USDA and HHS, 2026Dietary Guidelines for Americans, 2025–2030
- ACLM, ASN, OMA and TOS, 2025Nutritional priorities to support GLP-1 therapy for obesity: a joint Advisory
- Academy of Nutrition and Dietetics, Dietitians of Canada and ACSM, 2016Nutrition and Athletic Performance (joint position statement)
- FAO, 2003Food energy – methods of analysis and conversion factors (chapter 3)
- EFSA, 2010Scientific Opinions on Dietary Reference Values for carbohydrates and dietary fibre, and for fats
Yema doesn’t replace your doctor or your dietitian. If you have a health condition, are expecting a baby or take medication, talk to a professional.