Nutrition

How to Calculate Macros: Protein, Carbs, Fat

To calculate macros, find your daily calories, then split them by percentage and divide by 4 (protein and carbs) or 9 (fat) to get grams. An 80 kg, 180 cm, 30-year-old man cutting fat at moderate activity needs about 2,207 calories, or 166 g protein, 221 g carbs and 74 g fat.

By CalculatorHub Editorial TeamPublished December 2, 2026Updated December 2, 20266 min read
Run the numbers yourself. Try our free Macro Calculator and see the result with your own figures.

Step 1: your calories

Estimate your basal metabolic rate with the Mifflin-St Jeor equation: 10 × kg + 6.25 × cm − 5 × age, then +5 for men or −161 for women. For our example the BMR is 1,780. Multiply by an activity factor (1.2 for desk work to 1.9 for a very physical job and training). At moderate activity (1.55) maintenance is 2,759 calories.

Step 2: adjust for your goal

  • Lose fat: eat about 20% below maintenance, so 2,207 calories here.
  • Maintain: eat at maintenance.
  • Gain muscle: eat about 10% above maintenance.

Step 3: split into macros

Choose percentages, for example 30% protein, 40% carbs and 30% fat. Protein and carbs have 4 calories per gram, and fat has 9.

Protein g = calories × 30% ÷ 4 = 166 g Carbs g = calories × 40% ÷ 4 = 221 g Fat g = calories × 30% ÷ 9 = 74 g

How to calculate macros in food

For a recipe, add up the protein, carbs and fat grams on each ingredient label and divide by servings. The calories should match: 4 × protein + 4 × carbs + 9 × fat. Use the macro calculator for your daily targets and the protein calculator to check protein per kilogram.

Adjusting over time

Weigh yourself a few times a week and look at the 2 to 3 week trend. If weight is not moving the way you want, change calories by about 100 to 200 a day.

Two worked examples

Fat loss, woman: 65 kg, 165 cm, 35 years, light activity, high-protein split. Maintenance is 1,850 calories, 20% below is 1,480, giving 148 g protein, 111 g carbs and 49 g fat.

Muscle gain, man: 75 kg, 178 cm, 28 years, moderate activity, balanced split. Maintenance is 2,678 calories, 10% above is 2,945, giving 221 g protein, 295 g carbs and 98 g fat.

Turning grams into food

  • Protein: 100 g of cooked chicken breast has about 31 g, an egg about 6 g, a cup of cooked lentils about 18 g.
  • Carbohydrate: a cup of cooked rice has about 45 g, a medium banana about 27 g.
  • Fat: a tablespoon of oil has about 14 g, a handful of almonds about 14 g.

Troubleshooting

If this happens for 2 to 3 weeksTry
Weight is not changing on a fat-loss planCut 100 to 200 calories, or add 2,000 steps a day
Hunger is constantRaise protein and fibre, and spread meals
Training energy is lowRaise carbohydrate around workouts
Weight is falling too fastAdd 100 to 200 calories

Get your own plan from the macro calculator.

Frequently asked questions

How do I calculate macros for weight loss?

Calculate maintenance calories, subtract about 20%, then split the rest into protein, carbs and fat. Keep protein high, at least 1.6 g per kg.

How many calories are in a gram of protein, carbs and fat?

Protein and carbohydrate have 4 calories per gram, fat has 9, and alcohol has 7.

Do I need to hit my macros exactly?

No. Being within about 5 to 10 grams most days is fine. Calories and protein are the two numbers that matter most.

Do I need to count macros forever?

No. Many people count for a few weeks to learn portions, then eat by habit and check in occasionally.

Is it OK to eat below my calculated calories?

A deficit helps fat loss, but eating very little can cost muscle, energy and health. Stay above about 1,200 (women) or 1,500 (men) calories unless supervised by a professional.

Try the calculators

Keep reading