Macronutrient Calculator

Customized daily calorie & Protein / Carbs / Fat splits

Computed TDEE Baseline:2,649 kcal/day
Target Daily Energy Target
2,649kcal / day
+0% vs TDEE•Target Weight: Maintain Weight
Protein30%
199g

795 kcal (2.7 g/kg)

Carbs40%
265g

1060 kcal (Energy fuel)

Fat30%
88g

795 kcal (Hormone balance)

Percentage

Balanced Diet
30% P
40% C
30% F
199g Protein
Muscle recovery
265g Carbs
Glycogen fuel
88g Fat
Essential lipids

Compare All Dietary Splits

Diet PlanProteinCarbsFatAction
Balanced DietActive199g (30%)265g (40%)88g (30%)
High Protein / Bodybuilding265g (40%)232g (35%)74g (25%)
Low Carb232g (35%)166g (25%)118g (40%)
Ketogenic166g (25%)33g (5%)206g (70%)
Endurance / Athletic Performance166g (25%)364g (55%)59g (20%)

How the macro calculator works

What is a good carb, protein and fat ratio?

A balanced starting ratio is 30% protein, 40% carbohydrate and 30% fat. For fat loss with weight training, many people use about 40% protein, 35% carbohydrate and 25% fat. The right ratio depends on your goal, training and preferences; calories decide weight change.

From calories to grams

The calculator starts from your TDEE (your BMR multiplied by your activity factor), adjusts it for your goal, then splits the calories between protein, carbohydrate and fat.

  • Lose weight: TDEE − 20%.
  • Maintain: TDEE.
  • Gain weight or build muscle: TDEE + 15%.
  • Targets never go below 1,200 kcal a day.
Protein and carbohydrate: 4 kcal per gram
Fat: 9 kcal per gram
Grams = (target calories × ratio %) ÷ kcal per gram

Carb protein fat ratio table

Each diet style divides your calories differently:

Diet styleProteinCarbsFat
Balanced Diet30%40%30%
High Protein / Bodybuilding40%35%25%
Low Carb35%25%40%
Ketogenic25%5%70%
Endurance / Athletic Performance25%55%20%

Which macro ratio fits which goal?

These are common starting points, not rules. Adjust after two to three weeks based on hunger, energy, training and your weight trend.

GoalCaloriesSuggested split (P / C / F)Why
Lose fat, keep muscleTDEE − 20%40 / 35 / 25High protein helps keep muscle and fullness in a deficit.
Build muscleTDEE + 15%30 / 40 / 30 or 40 / 35 / 25Enough carbohydrate fuels hard training; protein stays high.
MaintainTDEE30 / 40 / 30A flexible split you can sustain.
Endurance trainingTDEE25 / 55 / 20Higher carbohydrate supports long sessions.
Prefer fewer carbsPer goal35 / 25 / 40Personal preference; total calories still decide weight change.

Worked example: fat loss at 2,500 kcal TDEE

TDEE of 2,500 kcal with a fat-loss goal: 2,500 × 0.8 = 2,000 kcal. With the high-protein split (40/35/25): protein 800 kcal ÷ 4 = 200 g, carbohydrate 700 kcal ÷ 4 = 175 g, fat 500 kcal ÷ 9 ≈ 56 g.

The same 2,000 kcal on a balanced split (30/40/30) is 150 g protein, 200 g carbohydrate and 67 g fat. On a performance split (25/55/20) it is 125 g protein, 275 g carbohydrate and 44 g fat.

Worked example: muscle gain at 2,800 kcal TDEE

TDEE of 2,800 kcal with a muscle-gain goal: 2,800 × 1.15 = 3,220 kcal. Balanced split (30/40/30): protein 966 kcal ÷ 4 = 242 g, carbohydrate 1,288 kcal ÷ 4 = 322 g, fat 966 kcal ÷ 9 = 107 g.

Check protein against body weight. For an 85 kg lifter, 242 g is 2.8 g/kg, above the 1.6 to 2.2 g/kg usually recommended, so you could lower protein and raise carbohydrate with no loss of benefit.

How do I choose a split?

  • Check protein first. The ISSN position stand on protein and exercise supports about 1.4 to 2.0 g per kg of body weight a day for people who exercise, with higher intakes sometimes used when dieting.
  • No strong preference: balanced.
  • Endurance training: the performance split keeps carbohydrate high for long sessions.
  • Low carb and keto suit people who prefer fewer carbohydrates; total calories still decide weight change.

Hitting your calorie target matters most, then protein. Carbohydrate and fat can move day to day as long as the total stays close.

Frequently asked questions

How are macros calculated?

Start from your TDEE, adjust it for your goal (for example −20% to lose weight or +15% to build muscle), split the calories by percentage between protein, carbohydrate and fat, then divide by 4 kcal per gram for protein and carbohydrate and 9 kcal per gram for fat.

What is the best carb, protein and fat ratio for weight loss?

There is no single best ratio. A higher-protein split such as 40% protein, 35% carbohydrate and 25% fat helps you keep muscle and stay full in a calorie deficit. The deficit itself is what drives fat loss.

What macro ratio should I use to build muscle?

A balanced 30/40/30 split in a small surplus works for most lifters. Check that protein lands near 1.6 to 2.2 g per kg of body weight, and keep enough carbohydrate to fuel hard training.

How much protein do I need?

Many lifters aim for roughly 1.6 to 2.2 g per kg of body weight per day. Higher intakes are most useful in a calorie deficit.

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

Protein and carbohydrate have about 4 kcal per gram and fat has about 9 kcal per gram. Alcohol has about 7 kcal per gram but is not counted as a macro in this calculator.

Do I need to hit my macros exactly?

No. Staying within about 5 to 10 g of each target on most days is enough. Calories and protein matter most.

Are percentages or grams better for macros?

Grams are easier to track day to day, while percentages are a handy way to set them. Convert percentages to grams once, then follow the grams, and recalculate when your calories change.