Skip to content

Macro Calculator

Get daily grams of protein, carbohydrate and fat based on your calorie needs, goal and preferred diet style.

Health & FitnessUpdated Free · No sign-up

How to use the Macro Calculator

  1. Enter Age.
  2. Choose Sex.
  3. Enter Height and choose its unit.
  4. Enter Weight and choose its unit.
  5. Choose Activity level.
  6. Fill in the remaining fields, or keep their sensible defaults.
  7. Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
  8. Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.

How macros are calculated

The calculator estimates your total daily energy expenditure (TDEE) from your age, sex, height, weight and activity using the Mifflin-St Jeor equation. It then adds or subtracts calories for your goal and splits the result between the three macronutrients according to the diet style you choose.

grams = calories × share ÷ energy per gram (protein 4, carbs 4, fat 9 kcal/g)

Diet splits

Split Protein Carbs Fat
Balanced 25% 50% 25%
Low fat 25% 60% 15%
Low carb 35% 25% 40%
High protein 40% 35% 25%

All four fall within or close to commonly recommended ranges. The low-carb option is moderate, not a ketogenic diet, which usually limits carbs to under about 50 g a day.

Worked example

A 30-year-old man, 180 cm, 80 kg, who exercises most days has a BMR of 1,780 kcal and a TDEE of 1,780 × 1.55 = 2,759 kcal. On the balanced split at maintenance:

  • Protein: 2,759 × 0.25 ÷ 4 = 172 g
  • Carbs: 2,759 × 0.50 ÷ 4 = 345 g
  • Fat: 2,759 × 0.25 ÷ 9 = 77 g

If he chooses to lose 0.5 kg a week, his target drops by 500 kcal to 2,259 kcal, and the high-protein split gives 226 g protein, 198 g carbs and 63 g fat.

Choosing a split

  • Losing weight: higher protein helps protect muscle and keeps you fuller.
  • Endurance training: more carbohydrate fuels long sessions.
  • Personal preference: the split you can stick to matters more than small differences between them.

A useful check is protein per kilogram of body weight, shown under the result. Around 1.6 g/kg or more supports strength training; below 0.8 g/kg is less than the general adult recommendation.

These targets are estimates, not medical or dietary advice. People with diabetes, kidney disease or other conditions should plan intake with a professional.

Frequently asked questions

What is the best macro ratio for weight loss?

Any split that keeps you in a calorie deficit works, but higher protein (around 30 to 40% of calories) helps preserve muscle and control hunger.

How many grams of protein, carbs and fat should I eat?

It depends on your calorie needs. Multiply your daily calories by each macro’s percentage, then divide by 4 for protein and carbs or by 9 for fat.

Do I need to hit my macros exactly?

No. Being within about 5 to 10 g of each target on most days is plenty. Total calories and protein matter most.

Why does fat have fewer grams than carbs at the same percentage?

Fat provides 9 kcal per gram versus 4 for carbs and protein, so the same number of calories comes from fewer grams.