What this calculator does
The Macro Percentage of Calories Calculator turns grams of fat, protein and carbohydrate into calories and shows what share of your daily energy each macronutrient provides. Knowing your macro split as a percentage helps you check whether a meal plan matches a target ratio (for example a 40/30/30 carb/protein/fat diet) rather than guessing from grams alone.
How to use it
Enter the grams of fat, protein and carbohydrate for a meal or a whole day. The calculator multiplies each by its energy density, adds them to get total calories, then expresses each macro as a percentage of that total. The three percentages always add up to 100%.
The formula explained
Macronutrients carry different amounts of energy: fat supplies 9 kcal per gram, while protein and carbohydrate each supply 4 kcal per gram. The percentage of calories from any macro is:
$$\%\text{Cal} = \left( \frac{\text{grams} \times \text{kcal/g}}{\text{total kcal}} \right) \times 100$$
where total kcal is the sum of fat, protein and carb calories.
Worked example
Suppose you eat 70 g fat, 150 g protein and 200 g carbs. Fat = \(70 \times 9 = 630\) kcal, protein = \(150 \times 4 = 600\) kcal, carbs = \(200 \times 4 = 800\) kcal. Total = 2,030 kcal. Fat percentage = \(630 \div 2{,}030 \times 100 \approx 31.0\%\), protein \(\approx 29.6\%\), carbs \(\approx 39.4\%\).
Acceptable Macronutrient Distribution Ranges (AMDR)
The Acceptable Macronutrient Distribution Ranges (AMDR) come from the US Institute of Medicine (National Academies) Dietary Reference Intakes report published in 2005. The US Dietary Guidelines for Americans use the same ranges. They describe the share of total daily calories associated with adequate nutrition and a lower risk of chronic disease. They apply to the United States general population, and other countries publish their own, sometimes slightly different, reference values.
| Macronutrient | Adults (19+ y) | Children and adolescents (4–18 y) |
|---|---|---|
| Carbohydrate | 45–65% of calories | 45–65% of calories |
| Fat | 20–35% of calories | 25–35% of calories |
| Protein | 10–35% of calories | 10–30% of calories |
These are general population ranges, not individual advice. Needs vary with age, health status, activity level and medical conditions. Use the percentages from the calculator as a way to describe your current intake, and consult a registered dietitian or physician for personal targets.
Energy Values Used (Atwater Factors)
The calculator uses the Atwater general factors, which estimate the metabolizable energy of each macronutrient per gram. 1 kcal = 4.184 kJ.
| Component | kcal per gram | kJ per gram |
|---|---|---|
| Fat | 9 | 37 |
| Protein | 4 | 17 |
| Carbohydrate | 4 | 17 |
| Alcohol (reference only) | 7 | 29 |
| Fiber (fermentable, reference only) | about 2 (often quoted as 0–2) | about 8 |
The kJ values are the rounded figures used on food labels. Converting directly gives 9 × 4.184 ≈ 37.7 kJ/g for fat and 4 × 4.184 ≈ 16.7 kJ/g for protein and carbohydrate.
This tool uses only the three main macros: fat × 9, protein × 4 and carbohydrate × 4. Alcohol and fiber are not included, so if your diet contains notable alcohol or fiber, the percentages cover only the three macros and will not match the full energy intake. Food labels may also differ slightly because they use rounding or food-specific factors.
FAQ
Why does fat count as 9 calories per gram? Fat is more energy-dense than protein or carbohydrate, packing more than double the calories per gram, which is why even small amounts shift your percentages a lot.
Should I count alcohol or fiber? This tool covers the three main macros only. Alcohol (7 kcal/g) and fiber adjustments are not included.
Do the percentages always total 100%? Yes — each macro's calories are divided by the same total, so the three figures sum to 100% (aside from tiny rounding).