Calculate 40/40/20 diet macro grams from calories or total calories from carbs, protein, and fat grams, with macro split percentages.

40 40 20 Diet Calculator

Enter Calories (kcal) to calculate 40/40/20 macro grams, or enter Carbs + Protein + Fat (grams) to calculate Calories and your macro split.

Important: This calculator is for educational use only and is not medical advice. Calorie and macronutrient needs vary by age, health conditions (including kidney disease), activity level, pregnancy, and goals—consider personalized guidance from a registered dietitian/clinician, especially before using a very low-calorie intake. Nutrition label “Calories” are kilocalories (kcal). For general macro range guidance, check the Dietary Guidelines for Americans (AMDR) and NIH/MedlinePlus.

40 40 20 Diet Formula

The 40/40/20 diet split means 40% of calories come from carbohydrates, 40% from protein, and 20% from fat. Carbohydrates and protein each provide 4 calories per gram. Fat provides 9 calories per gram.

Carbs_g = (TDC * 0.40) / 4
Protein_g = (TDC * 0.40) / 4
Fat_g = (TDC * 0.20) / 9
  • TDC = total daily calorie intake in calories, also written as kcal
  • Carbs_g = grams of carbohydrates per day
  • Protein_g = grams of protein per day
  • Fat_g = grams of fat per day
  • 0.40 = 40% of total calories
  • 0.20 = 20% of total calories

If you enter total daily calories, the calculator uses the formulas above to estimate your daily carbohydrate, protein, and fat targets for a 40/40/20 split.

If you enter grams of carbohydrates, protein, and fat instead, the calculator estimates total calories with this formula:

TDC = (Carbs_g * 4) + (Protein_g * 4) + (Fat_g * 9)
  • Carbs_g * 4 = calories from carbohydrates
  • Protein_g * 4 = calories from protein
  • Fat_g * 9 = calories from fat

The macro split summary compares the calories from each macro with the total calories:

Macro_% = (Macro_Calories / TDC) * 100

This lets you see whether your entered grams are close to 40% carbohydrates, 40% protein, and 20% fat.

40/40/20 Macro Targets by Daily Calories

Use this table as a quick reference for common daily calorie targets.

Daily calories Carbs, 40% Protein, 40% Fat, 20%
1,200 kcal 120 g 120 g 26.7 g
1,500 kcal 150 g 150 g 33.3 g
1,800 kcal 180 g 180 g 40.0 g
2,000 kcal 200 g 200 g 44.4 g
2,500 kcal 250 g 250 g 55.6 g
3,000 kcal 300 g 300 g 66.7 g

Calories per Gram for Each Macro

Macronutrient Calories per gram Role in 40/40/20 split
Carbohydrates 4 kcal/g 40% of total calories
Protein 4 kcal/g 40% of total calories
Fat 9 kcal/g 20% of total calories

Example 40/40/20 Diet Calculations

Example 1: Calculate macros from 2,000 calories

Suppose your total daily calorie target is 2,000 kcal.

  • Carbs = (2,000 × 0.40) ÷ 4 = 200 g
  • Protein = (2,000 × 0.40) ÷ 4 = 200 g
  • Fat = (2,000 × 0.20) ÷ 9 = 44.44 g

For a 2,000 calorie 40/40/20 diet, your targets are about 200 g carbs, 200 g protein, and 44.44 g fat.

Example 2: Calculate calories from macro grams

Suppose you enter 180 g carbs, 180 g protein, and 40 g fat.

  • Calories from carbs = 180 × 4 = 720 kcal
  • Calories from protein = 180 × 4 = 720 kcal
  • Calories from fat = 40 × 9 = 360 kcal
  • Total calories = 720 + 720 + 360 = 1,800 kcal

This is exactly a 40/40/20 split because 720 kcal is 40% of 1,800 kcal and 360 kcal is 20% of 1,800 kcal.

FAQ

What does 40/40/20 mean?

40/40/20 means 40% of your calories come from carbohydrates, 40% come from protein, and 20% come from fat. It is based on calories, not grams. This matters because fat has more calories per gram than carbohydrates or protein.

Why are fat grams lower than carb and protein grams?

Fat provides 9 calories per gram, while carbs and protein provide 4 calories per gram. Since fat is more calorie-dense, a smaller number of fat grams can still make up 20% of your total calories.

Can the macro percentages be slightly different from 40/40/20?

Yes. Food labels, rounding, serving sizes, and meal choices can make your actual split slightly different. The calculator shows the macro split by calories so you can see how close your entries are to the 40/40/20 target.