Skip to content

Calories and macros

Macro percentage calculator for calories and grams

By Uptick3 min read

To convert a macro percentage to grams, multiply the calorie total by that percentage, then divide by the calories per gram. Use about 4 kcal per gram for protein and carbohydrate, and 9 kcal for fat. The calculator also works backwards from the grams in a meal.

You can use these sums for a recipe, a meal or a whole day. Keep the calorie total and the split on the same basis. The example numbers demonstrate the arithmetic. Choose your own figures or use those already agreed with a dietitian.

Work out your macro split

Protein 125 g · Carbohydrate 225 g · Fat 66.7 g (2,000 kcal in total).

The starting numbers are examples. Percentages describe shares of energy.

Separate portions of rice, lentils and oil on a red tabletop, seen from above

Convert percentages into grams

Suppose the total is 2,000 kcal and the example split is 25% protein, 45% carbohydrate and 30% fat. Start with the share of energy for each macro. Protein gets 500 kcal, carbohydrate gets 900 kcal and fat gets 600 kcal. The calorie shares add back to the original total.

Convert percentages into grams
MacroCalculationApproximate grams
Protein2,000 × 0.25 ÷ 4125 g
Carbohydrate2,000 × 0.45 ÷ 4225 g
Fat2,000 × 0.30 ÷ 966.7 g

Find the percentage split of a meal

Suppose a meal has 25 g protein, 50 g carbohydrate and 10 g fat. Multiply by 4, 4 and 9 to get 100, 200 and 90 kcal. Together they account for about 390 kcal. Divide each value by 390 and multiply by 100.

The result is about 25.6% protein, 51.3% carbohydrate and 23.1% fat. Dividing 10 g of fat by the combined 85 g of macros instead would give a percentage by weight. That answers a different question from the energy split displayed on a macro chart.

Why the calculated total can differ from the label

The 4/4/9 factors are a practical estimate. Fibre, sugar alcohols and alcohol can contribute different amounts of energy, and nutrition panels round figures. A label can therefore show a calorie total that differs from your three-macro calculation.

For a packaged meal, use the printed calorie figure to log energy and the printed grams to log macros. The reverse calculator divides by energy from the three entered macros. If a drink also contains alcohol, a percentage of those three macros will not describe its full energy content.

Check a packaged food before logging it

Keep the grams that go with your own total

A percentage on its own leaves a piece of information out. For example, 25% of 400 kcal gives 25 g of protein, while 25% of 600 kcal gives 37.5 g. When you save or share a calculation, keep both the energy total and the resulting gram amounts.

Sources and further reading

No cookies. Your diary stays private.

Your diary stays on your device. We use cookie-free website analytics from a third party to measure visits and improve the site.

Website analytics stay off until you choose Allow all.

How website analytics work