Skip to content

Calculators

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

What’s your goal?
Sex (for the formula)
How much do you move?
Does any of these apply to you?

Fill in your details and your number shows up here.

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

WhoGoalCaloriesProteinFatCarbsFiber
Female, 30 years, 165 cm, 65 kg, someLose weight1,500 cal91 g50 g172 g25 g
Female, 30 years, 165 cm, 65 kg, someMaintain1,884 cal78 g63 g251 g26 g
Female, 30 years, 165 cm, 65 kg, someBuild muscle2,050 cal104 g68 g256 g29 g
Male, 35 years, 178 cm, 80 kg, quite a bitLose weight2,150 cal144 g67 g243 g30 g
Male, 35 years, 178 cm, 80 kg, quite a bitMaintain2,702 cal144 g90 g329 g38 g
Male, 35 years, 178 cm, 80 kg, quite a bitBuild muscle2,950 cal144 g98 g373 g41 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

  1. AHA, ACC and TOS, 20132013 AHA/ACC/TOS Guideline for the Management of Overweight and Obesity in Adults
  2. Mifflin and St Jeor, 1990A new predictive equation for resting energy expenditure in healthy individuals
  3. Iraki et al., 2019Nutrition Recommendations for Bodybuilders in the Off-Season: A Narrative Review
  4. NHSAdvice for underweight adults
  5. NHS Highland, 2025Refeeding syndrome in adults (Guidelines)
  6. US National Academies, 2005Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids
  7. FAO, WHO and UNU, 2004Human energy requirements. Report of a Joint FAO/WHO/UNU Expert Consultation (Table 5.3)
  8. USDA and HHS, 2026Dietary Guidelines for Americans, 2025–2030
  9. ACLM, ASN, OMA and TOS, 2025Nutritional priorities to support GLP-1 therapy for obesity: a joint Advisory
  10. Academy of Nutrition and Dietetics, Dietitians of Canada and ACSM, 2016Nutrition and Athletic Performance (joint position statement)
  11. FAO, 2003Food energy – methods of analysis and conversion factors (chapter 3)
  12. 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.

Follow Yema on social media

Every week I share carousels and posts in Spanish on eating better, with their sources. Find me at @tryyema.

The guide that goes with this calculator

All guides

Other calculators

All calculators