Macro calculator
Convert a daily calorie budget and your chosen protein, carbohydrate and fat percentages to grams, or estimate calories from grams.
- Protein
- Carbohydrates
- Fat
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.