// Nutrition

Macronutrient Calculator

Translate a calorie total into protein, carbohydrate and fat grams.

Your inputs

Daily energy allocated: 2,400 kcal

// YOUR RESULT

Daily energy allocated

2,400 kcal

MacronutrientGrams per dayEnergy share
Protein180 g30%
Carbohydrate240 g40%
Fat80 g30%

How to use the Macronutrient Calculator

  1. Enter your daily calorie total.
  2. Enter protein, carbohydrate and fat percentages that add up to 100.
  3. Select Calculate to see grams per day.

Understanding your result

Each row converts a share of your calories into grams. Protein and carbohydrate count as 4 kcal per gram and fat as 9, which is why equal percentages give fewer grams of fat.

How it works

Enter a total energy budget and three percentages that sum to 100. Protein and carbohydrate use four kcal per gram, while fat uses nine.

Grams = (daily kcal × macro share ÷ 100) ÷ kcal per gram

Worked example

At 2,000 kcal, assigning 25% to protein yields 500 kcal from protein, or 125 g.

Start with protein in grams

Percentages hide the actual amount. At 1,600 kcal, 30% protein is 120 g, while at 3,200 kcal it is 240 g. If you have a gram target from the protein calculator, multiply it by four, divide by your calorie total and use that percentage here.

Reference ranges

US dietary reference intakes for adults give acceptable ranges of 10–35% of energy from protein, 45–65% from carbohydrate and 20–35% from fat. Athletes and people with medical conditions may work outside them with professional guidance.

Common uses

  • Setting targets in a food-tracking app.
  • Comparing higher-carbohydrate and higher-fat splits at the same calories.
  • Choosing a protein percentage from the protein intake calculator.

Limitations

Food labels use rounding and some foods include fibre or alcohol. Real totals can differ from simple factor estimates.

Health and energy calculations are estimates for general education. Consult a qualified clinician for personal medical advice.

Frequently asked questions

Why must the shares add to 100%?

Together the three shares allocate the whole entered budget. Leaving a gap or overlap would change the implied daily total.

Is there a best macro split for building muscle?

No single ratio suits everyone. Total energy, sufficient protein and consistent training matter more than hitting an exact percentage.

How exact do I need to be?

Food labels are rounded and portions vary, so small differences of a few grams are within normal measurement error.

Reference

USDA · food and nutrition information