Macros to Calories Calculator

Macros to Calories Calculator

Growing AI Skill PRO

Enter Calculation

Formula

Total kcal=4Protein (g)+4Carb (g)+9Fat (g)+7Alcohol (g)\text{Total kcal} = 4\,\text{Protein (g)} + 4\,\text{Carb (g)} + 9\,\text{Fat (g)} + 7\,\text{Alcohol (g)}

Example

Total kcal=4·150+4·200+9·60+7·0=1,940\text{Total kcal} = 4 \cdot 150 + 4 \cdot 200 + 9 \cdot 60 + 7 \cdot 0 = 1{,}940
Usage stats

Advertisement

Results

Total Energy
1,940
kcal
Macronutrient Calories (kcal) % of total
Protein 600 30.9%
Carbohydrate 800 41.2%
Fat 540 27.8%
Alcohol 0 0%

Report an error on this page

What this calculator does

The Macros to Calories Calculator converts the grams of each macronutrient in a food or daily diet into energy measured in kilocalories (kcal). Enter how many grams of protein, carbohydrate, fat and (optionally) alcohol you consumed, and it returns the total calories plus the percentage each macro contributes. It is a universal tool based on the standard Atwater energy factors used on nutrition labels worldwide.

How to use it

Read the grams of each macronutrient from a nutrition label or food tracker and type them into the matching fields. Alcohol is optional — leave it at 0 if it does not apply. Press calculate to see total kcal and the macro split, which is handy for checking whether your intake matches a target ratio such as 40/30/30.

The formula explained

Energy is summed using fixed calories-per-gram constants: protein and carbohydrate each provide 4 kcal/g, fat provides 9 kcal/g, and ethanol (alcohol) provides 7 kcal/g. So the equation is $$\text{kcal} = 4\times\text{protein} + 4\times\text{carbs} + 9\times\text{fat} + 7\times\text{alcohol}$$ Each macro's percentage is its own calories divided by the total, times 100.

Advertisement
Bar chart of calories per gram for protein, carbs, fat and alcohol
Each macronutrient supplies a fixed number of calories per gram: protein 4, carbs 4, fat 9, alcohol 7.

Worked example

A meal contains 30 g protein, 40 g carbohydrate and 10 g fat. Protein = \(4\times30 = 120\) kcal, carbs = \(4\times40 = 160\) kcal, fat = \(9\times10 = 90\) kcal. Total = $$120 + 160 + 90 = \textbf{370 kcal}$$ Fat contributes \(90/370 \approx 24.3\%\) of the energy even though it is only 12.5% of the grams — because fat is more than twice as energy-dense.

Flowchart converting grams of each macro into total calories
Multiply each macro's grams by its factor and add them for total kcal.

Typical Macronutrient Distribution Ranges

The most widely cited benchmark is the Acceptable Macronutrient Distribution Range (AMDR), set by the US Institute of Medicine (now the National Academies of Sciences, Engineering, and Medicine) in its Dietary Reference Intakes report on energy, carbohydrate, fiber, fat, protein and amino acids (2005). The Dietary Guidelines for Americans use the same ranges. For adults in the United States, the AMDRs are expressed as a percentage of total daily calories:

Macronutrient AMDR (% of total kcal)
Protein 10-35%
Carbohydrate 45-65%
Fat 20-35%

To check your own split, convert grams to calories with \(\text{kcal} = 4P + 4C + 9F + 7A\), then divide each macro's calories by the total. Alcohol has no AMDR because it is not an essential nutrient, but its calories still count toward the total and reduce the percentage left for the other macros.

These ranges are population-level guidelines designed to meet nutrient needs while lowering chronic disease risk. They are not individual advice. Children have different ranges, and many people eat outside these ranges for medical, athletic or cultural reasons. This is general information, not professional advice; a registered dietitian or physician can tailor targets to you.

Advertisement

Calories per Gram of Macronutrients and Related Compounds

The 4/4/9/7 values are the general Atwater energy factors, which are rounded averages of the energy the body can use from each component. They are the basis of nutrition labeling in the US and many other countries. Exact food-specific factors and labeling rules vary by country.

Component kcal per gram kJ per gram
Protein 4 16.7
Carbohydrate (available) 4 16.7
Fat 9 37.7
Alcohol (ethanol) 7 29.3
Fiber about 2 (the US FDA allows 0-2) about 8.4
Organic acids (e.g. citric, lactic) about 3 about 12.6
Polyols / sugar alcohols about 2-3 depending on type (erythritol about 0-0.2) varies

The kJ values come from 1 kcal = 4.184 kJ, rounded to one decimal. This calculator uses only the four main factors (protein, carbohydrate, fat, alcohol). If a label lists fiber or sugar alcohols separately, enter only the digestible carbohydrate as carbs, or adjust it by hand.

FAQ

Why is fat 9 calories per gram? Fat molecules store more chemical energy per unit mass than carbohydrate or protein, so each gram releases roughly 9 kcal when metabolized.

Should I count fiber? This tool uses total carbohydrate at 4 kcal/g. Some labels subtract or discount fiber; if you want net carbs, enter only the digestible carbohydrate grams.

Why include alcohol? Ethanol provides about 7 kcal/g and can be a significant energy source, so it is included to make totals accurate for drinks and mixed meals.

Sources & References

  • 21 CFR 101.9 Nutrition labeling of food — U.S. Food and Drug Administration, Code of Federal Regulations (eCFR). Energy factors: 4 kcal per gram of protein and of carbohydrate, 9 kcal per gram of fat. · Verified 2026-11-07
  • Calories in alcohol — NHS (nhs.uk). Alcohol provides 7 kcal per gram. · Verified 2026-11-07

Checked against these sources on . Not reviewed by a clinician. For general information only, not medical advice or a diagnosis. Talk to a doctor about any health concern.

Last updated:

Most popular in Health and Fitness

View all Health and Fitness calculators