Macro to Calories Calculator
Estimate calories from protein, carbohydrate and fat grams with a calorie-share chart and a nutrient breakdown.
Your inputs
Your calorie composition
1,740 estimated kcal
General 4/4/9 energy factors
Full result table
| Nutrient | Grams | kcal/g factor | Estimated kcal | Calorie share (%) |
|---|---|---|---|---|
| Protein | 100 | 4 | 400 | 22.988506 |
| Carbohydrate | 200 | 4 | 800 | 45.977011 |
| Fat | 60 | 9 | 540 | 31.034483 |
General 4/4/9 factors are estimates. Fiber, sugar alcohols, alcohol and label rounding can change food-label energy.
Let’s work it out.
Ask about this tool, enter your values, or understand your result.
Ask in your own language.
How to use Macro to Calories Calculator
- Enter protein (g), carbohydrate (g), fat (g).
- Calculate, then explore calorie shares, calories by nutrient, grams and factors.
- Read the worked example and calculation limits before applying the result.
Worked example
100 g protein, 200 g carbs and 60 g fat contribute 1740 kcal.
Formula, accuracy & limitations
Estimated kcal = protein × 4 + carbohydrate × 4 + fat × 9.
General 4/4/9 factors are estimates. Fiber, sugar alcohols, alcohol and label rounding can change food-label energy.
Calculations use your inputs. Main numeric values show up to six decimal places, percentages up to two, and chart labels up to four. Time results use hours, minutes and seconds. Very small nonzero values use scientific notation.
Read the measurement reference ↗Enter grams of the three declared macronutrients
Use protein, carbohydrate and fat grams for the same portion or day. Mixing one serving of protein with a whole package of fat produces an inconsistent total. Zero is accepted for a nutrient, and an all-zero entry produces zero calories with an explicit empty-chart message.
Understand the 4, 4 and 9 calculation
Protein and carbohydrate are assigned 4 kilocalories per gram; fat is assigned 9. The total is the sum of those contributions. The donut divides estimated calories, not nutrient grams. Equal gram weights therefore do not necessarily make equal calorie shares, and each chart labels the quantity it uses.
Why a package label may show a different number
These general factors are a simplified estimate. Fiber, sugar alcohols, alcohol, food-specific factors and label rounding can affect declared energy. This calculator has no separate input for those components, so its result should not be described as an exact reconstruction of every nutrition label.
Frequently asked questions
Why does fat have a larger calorie share than its gram share?
The model assigns fat 9 kcal per gram and protein and carbohydrate 4 kcal per gram. The donut measures the resulting calories, so equal grams of fat and protein contribute different shares.
Does carbohydrate include a separate fiber adjustment?
This page applies 4 kcal per entered carbohydrate gram and has no separate fiber or sugar-alcohol field. If those components matter for the food, this simplified total may differ from its label.
What happens when all three inputs are zero?
The total is zero kcal. A share chart cannot meaningfully divide a zero total, so the interface shows an empty-chart message and the share table uses N/A.
Can the result replace the calorie value on a package?
The result is a general-factor estimate. Food-specific energy factors, non-digestible carbohydrate, sugar alcohols, alcohol and label rounding can produce a different declared calorie value.


