Calories from Carbs, Protein & Fat Calculator

Calories from Carbs, Protein & Fat Calculator

Popular AI Skill PRO

Enter Calculation

Formula

Total Calories=4×Carbs (g)+4×Protein (g)+9×Fat (g)+7×Alcohol (g)\text{Total Calories} = 4 \times \text{Carbs (g)} + 4 \times \text{Protein (g)} + 9 \times \text{Fat (g)} + 7 \times \text{Alcohol (g)}

Example

Total Calories=4×50+4×30+9×20+7×0=500\text{Total Calories} = 4 \times 50 + 4 \times 30 + 9 \times 20 + 7 \times 0 = 500
Usage stats

Advertisement

Results

Total Calories
500
kcal
Macronutrient Calories (kcal) % of Total
Carbohydrates 200 40%
Protein 120 24%
Fat 180 36%
Alcohol 0 0%

Report an error on this page

What This Calculator Does

This tool converts the grams of each macronutrient in a food or meal into calories (kilocalories). It uses the standard Atwater energy factors: carbohydrates and protein each supply about 4 kcal per gram, fat supplies 9 kcal per gram, and alcohol supplies 7 kcal per gram. Enter the grams from any nutrition label and instantly see the total energy plus how those calories are split across macros.

How to Use It

Read the grams of carbohydrate, protein and fat from the nutrition facts panel and type each into its field. If the item contains alcohol (for example wine, beer or spirits), add the grams of pure alcohol too — otherwise leave it at 0. Press calculate to see the total calories and a percentage breakdown of where those calories come from.

The Formula Explained

The calculation is a simple weighted sum:

$$\text{calories} = 4 \times \text{carbs} + 4 \times \text{protein} + 9 \times \text{fat} + 7 \times \text{alcohol}$$

Each gram of a macronutrient releases a known amount of energy when metabolised, so multiplying grams by the per-gram factor and adding them up gives total energy. The percentage for each macro is its calories divided by the total, times 100.

Advertisement
Bar chart comparing calories per gram for protein, carbohydrate, fat and alcohol
The Atwater factors: 4, 4, 9 and 7 kcal per gram for protein, carbs, fat and alcohol.

Worked Example

Suppose a meal has 50 g carbohydrate, 30 g protein, 20 g fat and no alcohol.

$$\text{Carbs} = 4 \times 50 = 200 \text{ kcal}$$$$\text{Protein} = 4 \times 30 = 120 \text{ kcal}$$$$\text{Fat} = 9 \times 20 = 180 \text{ kcal}$$$$\text{Total} = 200 + 120 + 180 = \mathbf{500 \text{ kcal}}$$

The split is 40% carbs, 24% protein and 36% fat.

Acceptable Macronutrient Distribution Ranges (AMDR)

Once you know how many calories come from each macronutrient, you can compare each share with the Acceptable Macronutrient Distribution Ranges. The U.S. Institute of Medicine (IOM), now the National Academies of Sciences, Engineering, and Medicine, set these ranges in its Dietary Reference Intakes. They are also used in the United States and Canada. Each range is a share of total daily energy intake for adults aged 19 and older.

Macronutrient AMDR for adults (% of energy) Energy factor Source
Carbohydrate 45–65% 4 kcal/g IOM / National Academies, Dietary Reference Intakes
Protein 10–35% 4 kcal/g IOM / National Academies, Dietary Reference Intakes
Fat 20–35% 9 kcal/g IOM / National Academies, Dietary Reference Intakes
Alcohol No recommended share 7 kcal/g Not a required nutrient; no AMDR is set

The ranges are different for children. Ages 1–3: carbohydrate 45–65%, protein 5–20%, fat 30–40%. Ages 4–18: carbohydrate 45–65%, protein 10–30%, fat 25–35%.

Limits on added sugars and saturated fat: The World Health Organization (WHO) recommends keeping free sugars below 10% of total energy intake. It also recommends keeping saturated fat below 10%. The Dietary Guidelines for Americans (2020–2025 edition, a U.S. publication) set the same limits: added sugars under 10% of calories per day and saturated fat under 10% of calories per day. On a 2,000 kcal day, 10% is 200 kcal. That equals \(200 \div 4 = 50\) g of sugar or \(200 \div 9 \approx 22\) g of saturated fat.

Alcohol: There is no recommended share of energy from alcohol. It provides calories but no essential nutrients, and health authorities do not tell people to drink. Count alcohol calories in your total, but do not treat them as a macronutrient target.

These are population reference ranges for healthy people. They are not personal targets. Your own needs depend on age, health conditions, activity level and goals. This is general information, not professional medical or dietary advice. For individual guidance, ask a doctor or a registered dietitian.

More Worked Examples

Example 1: A glass of wine (with alcohol)

A 150 ml glass of dry table wine contains about 14 g of alcohol and about 4 g of carbohydrate. It has almost no protein or fat. Multiply each amount by its energy factor:

  • Alcohol: \(7 \times 14 = 98\) kcal
  • Carbohydrate: \(4 \times 4 = 16\) kcal
  • Protein: \(4 \times 0 = 0\) kcal
  • Fat: \(9 \times 0 = 0\) kcal
$$\text{Total} = 7 \times 14 + 4 \times 4 = 98 + 16 = 114 \text{ kcal}$$

Total energy: 114 kcal.

Percentage split:

$$\text{Alcohol share} = \frac{98}{114} \times 100 \approx 86.0\%$$$$\text{Carbohydrate share} = \frac{16}{114} \times 100 \approx 14.0\%$$

Most of the calories in wine come from the alcohol, not from sugar. The real values depend on the wine's alcohol content and how sweet it is.

Example 2: A handful of almonds (high-fat snack)

A 30 g serving of almonds contains about 6 g of carbohydrate, 6 g of protein and 15 g of fat. The values are rounded and vary by product.

  • Carbohydrate: \(4 \times 6 = 24\) kcal
  • Protein: \(4 \times 6 = 24\) kcal
  • Fat: \(9 \times 15 = 135\) kcal
  • Alcohol: \(7 \times 0 = 0\) kcal
$$\text{Total} = 4 \times 6 + 4 \times 6 + 9 \times 15 = 24 + 24 + 135 = 183 \text{ kcal}$$

Total energy: 183 kcal.

Percentage split:

$$\text{Fat share} = \frac{135}{183} \times 100 \approx 73.8\%$$$$\text{Carbohydrate share} = \frac{24}{183} \times 100 \approx 13.1\%$$$$\text{Protein share} = \frac{24}{183} \times 100 \approx 13.1\%$$

About 74% of the calories in almonds come from fat. Fat provides more than twice as many calories per gram as carbohydrate or protein. Nutrition labels often list fiber within total carbohydrate. If you count fiber at about 2 kcal/g instead of 4, the label calories can be slightly lower than this 4-4-9 estimate.

Advertisement

Energy Factors for Other Food Components

The 4-4-9-7 factors cover the main energy sources in food. Some other components provide less energy per gram, and food-labeling rules give them their own values. The table shows the general factors and their kilojoule equivalents (1 kcal ≈ 4.184 kJ).

Food component kcal per gram kJ per gram (EU label value) Source / notes
Protein 4 17 General Atwater factor
Carbohydrate (digestible) 4 17 General Atwater factor
Fat 9 37 General Atwater factor
Alcohol (ethanol) 7 29 General factor
Dietary fiber ≈ 2 8 EU Regulation 1169/2011. The U.S. FDA uses 2 kcal/g for soluble non-digestible carbohydrate and 0 kcal/g for insoluble fiber
Polyols (sugar alcohols) ≈ 2.4 10 EU Regulation 1169/2011. The value varies by polyol. Erythritol is counted as 0 kcal/g in the EU
Organic acids ≈ 3 13 EU Regulation 1169/2011 (for example, citric and acetic acid)
Salatrims 6 25 EU Regulation 1169/2011 (reduced-energy fats)

A worked conversion: 10 g of a polyol counted at the EU value gives \(2.4 \times 10 = 24\) kcal. The same 10 g counted as ordinary carbohydrate would give \(4 \times 10 = 40\) kcal.

Note: The 4, 4, 9 and 7 values are the general Atwater-system factors. They are rounded averages used on nutrition labels and in calculators like this one. The more detailed specific Atwater factors give separate values for individual foods, because digestibility differs by food. For example, protein in some foods is valued at about 3.5–4.3 kcal/g instead of exactly 4. Totals from the general factors are good estimates but can differ slightly from lab-measured or label values. Labeling rules also differ by country, so check the regulations where you live.

FAQ

Why does fat have more calories per gram? Fat molecules are more energy-dense, releasing roughly 9 kcal per gram versus 4 for carbs and protein.

Should I count fiber? Fiber is a carbohydrate but is largely indigestible; labels often already account for it, so this tool uses the listed total carbohydrate value.

Why might my total differ slightly from the label? Manufacturers may use modified Atwater factors or round values, so small differences of a few calories are normal.

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