Macro calculator

Convert a daily calorie budget and your chosen protein, carbohydrate and fat percentages to grams, or estimate calories from grams.

Convert
Calorie budget and energy percentages

Enter each share of total calories, including 0% where needed. The three shares must add up to 100% for a full split.

The calculator needs JavaScript. If it does not start, reload the page or see how the conversion works below.

How the conversion works

Protein and carbohydrates each supply an estimated 4 kcal per gram. Fat supplies an estimated 9 kcal per gram. Food labels may use different energy factors and rounding.

See an example in both directions

Suppose a fictional daily budget is 2,400 kcal. Shares of 25% protein, 45% carbohydrates and 30% fat allocate 600, 1,080 and 720 kcal respectively. Divide by 4, 4 and 9 to get 150 g protein, 270 g carbohydrates and 80 g fat per day.

Going the other way, multiply 150 g, 270 g and 80 g by 4, 4 and 9 to get 2,400 kcal/day in total. Divide each macro’s calories by that total to recover the shares. Displayed values are rounded to two decimal places, so rounded shares can differ slightly from 100% when added.

The calculator converts amounts you choose. See the U.S. nutrition-labeling rule for energy factors and rounding.