Home / Fitness & Health / Macro Calculator

Diet & Nutrition

Macro Calculator

Turn your daily calories into protein, carbohydrate, and fat targets in grams, tuned to your goal and preferred diet split.

Daily calorie target

2,100 kcal

158 g
Protein
210 g
Carbs
70 g
Fat

Your macro split by calories

Protein and carbs supply 4 kcal per gram; fat supplies 9. Updates as you change inputs.

How it works

The calculator estimates your maintenance calories (TDEE) from the Mifflin-St Jeor BMR and your activity level, then applies your goal adjustment. Those calories are divided among the three macronutrients according to your chosen split and converted to grams.

Protein g = calories × P% ÷ 4
Carbs g   = calories × C% ÷ 4
Fat g     = calories × F% ÷ 9

Worked example and common splits

On 2,400 kcal a day with a 30/40/30 split (protein/carbs/fat): protein 2,400 × 0.30 ÷ 4 = 180 g, carbs 2,400 × 0.40 ÷ 4 = 240 g, fat 2,400 × 0.30 ÷ 9 = 80 g.

Split (P/C/F)Best forGrams on 2,000 kcal
30/40/30General fitness, fat loss150 / 200 / 67 g
25/50/25Endurance training125 / 250 / 56 g
40/30/30Aggressive fat loss, high protein200 / 150 / 67 g
20/25/55Lower-carb100 / 125 / 122 g

Set protein first from body weight, then fat at 20 to 35% of calories, and let carbs fill the rest. Total calories matter more for weight change than the exact split.

Protein targets by goal

GoalProtein per kg of body weightFor a 75 kg (165 lb) person
Minimum for sedentary adults (RDA)0.8 g60 g
Active adults1.2–1.6 g90–120 g
Building muscle1.6–2.2 g120–165 g
Losing fat while keeping muscle1.8–2.4 g135–180 g

Foods by main macronutrient

ProteinCarbohydrateFat
Chicken breast, 3 oz: 26 gOats, 1 cup cooked: 27 gOlive oil, 1 tbsp: 14 g
Greek yogurt, 1 cup: 20–23 gRice, 1 cup cooked: 45 gAlmonds, 1 oz: 14 g
Eggs, 2 large: 12 gBanana, medium: 27 gAvocado, ½: 11 g
Lentils, 1 cup cooked: 18 gSweet potato, medium: 24 gPeanut butter, 2 tbsp: 16 g

How to hit your macros

  1. Plan protein first: spread it across 3 to 5 meals of roughly 25 to 40 g each.
  2. Add a carbohydrate source to meals around training.
  3. Use fats to fill the remaining calories; measure oils, nuts and nut butters.
  4. Track for two or three weeks to learn portion sizes, then track loosely.
  5. Adjust calories every two to four weeks based on your scale weight trend, not single weigh-ins.

Macros and alcohol

Alcohol provides 7 kcal per gram but is not a macronutrient you need. Most trackers count it against your carb or fat allowance; a 5 oz glass of wine is about 120 kcal.

Frequently asked questions

Do I need to hit my macros exactly?

No. Being within about 5–10 g of each target daily is plenty precise for results. Consistency over weeks matters more than any single day.

Which split is best?

The best split is one you can stick to. Higher protein helps most people; beyond that, carb and fat ratios are largely personal preference.

What macro ratio is best for weight loss?

Any split works if calories are in deficit, but higher protein (about 30% or 1.6 to 2.2 g per kg) helps keep muscle and control hunger.

How many calories are in a gram of each macro?

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

How much protein do I need to build muscle?

About 1.6 to 2.2 g per kg of body weight a day, or roughly 0.7 to 1 g per pound, combined with resistance training.

Should macros change on rest days?

Many people keep protein the same and lower carbohydrates slightly on rest days, but keeping macros the same every day also works.

Related calculators