Skip to content
ToolsLeb ToolsLeb

Macro Calculator

Calculate your daily protein, carb, and fat targets in grams.

Standard Health

Calculator Inputs

%
%
%

Your Result

Enter your details and press Calculate to see your result.

Formula

Protein G = ((Daily Calorie Target × Protein (%)) ÷ 100) ÷ 4
Daily Calorie Target Use the Calorie Calculator if you don't already know this.
Protein (%)
Carbs G = ((Daily Calorie Target × Carbohydrates (%)) ÷ 100) ÷ 4
Daily Calorie Target Use the Calorie Calculator if you don't already know this.
Carbohydrates (%)
Fat G = ((Daily Calorie Target × Fat (%)) ÷ 100) ÷ 9
Daily Calorie Target Use the Calorie Calculator if you don't already know this.
Fat (%)

How it works

  1. Enter your daily calorie target.
  2. Enter your desired protein, carbohydrate, and fat percentages (should add up to 100%).
  3. View your daily macro targets in grams.

Share on Social Media:

This macro calculator turns a daily calorie target into grams of protein, carbohydrate and fat. Enter your calories and the percentage you want from each macronutrient, and it divides by the energy each one provides: 4 kcal per gram of protein, 4 kcal per gram of carbohydrate and 9 kcal per gram of fat.

The formula

  • Protein (g) = calories × protein % ÷ 100 ÷ 4
  • Carbohydrates (g) = calories × carbs % ÷ 100 ÷ 4
  • Fat (g) = calories × fat % ÷ 100 ÷ 9

Your three percentages should add up to 100%. The calculator warns you if they don't.

Worked example

2,000 kcal a day with a 30/40/30 split (protein/carbs/fat):

  • Protein: 2,000 × 0.30 = 600 kcal ÷ 4 = 150 g
  • Carbs: 2,000 × 0.40 = 800 kcal ÷ 4 = 200 g
  • Fat: 2,000 × 0.30 = 600 kcal ÷ 9 = 67 g

Common macro splits

ApproachProteinCarbsFat
Balanced (default)30%40%30%
Higher carb / endurance20%55%25%
Lower carb30%25%45%
Ketogenic20%5%75%

For context, the US National Academies' acceptable ranges for adults are 10–35% of calories from protein, 45–65% from carbohydrate and 20–35% from fat. Higher-protein splits are popular for weight loss and strength training; low-carb and keto diets fall outside the standard ranges and suit some people but not others.

Checking protein in grams per kg

Percentages can hide very high or low protein intakes. Divide your protein grams by your body weight: the general minimum for adults is 0.8 g per kg, while sports nutrition guidelines often suggest about 1.4–2.0 g per kg for people who train regularly. In the example, a 75 kg person eating 150 g is at 2.0 g/kg.

Where to start

Don't know your calorie target? Get it from the Calorie Calculator. To base protein on lean mass instead of total weight, use the Lean Body Mass Calculator.

This calculator gives a general estimate for adults and is not medical advice. Talk to a doctor or registered dietitian before making health decisions based on it.

Frequently Asked Questions

A recommended daily breakdown of protein, carbohydrate, and fat grams based on your total calorie target and the percentage split you choose.

Protein and carbs provide about 4 calories per gram, and fat provides about 9 calories per gram, so each macro's percentage of your total calories converts to grams using those values.

Yes — adjust the protein, carb, and fat percentages to match your specific diet approach, such as higher protein or lower carb.

Enter your own daily calorie target as the starting point — pair this with a calorie or TDEE calculator first if you need to determine that number.

Protein and carbs each provide 4 calories per gram, and fat provides 9 calories per gram — your chosen percentage split is applied to your total calorie target, then divided by these values to get target grams.

A frequently used starting point is roughly 30% protein, 40% carbohydrate, and 30% fat, though optimal splits vary by goal (muscle gain, fat loss, endurance training) and individual preference.

Yes — use the Calorie Calculator first to get your daily calorie target, then enter that number here along with your desired macro percentages to get gram targets.