Calorie Counter
Calculate total calories from macronutrients. Enter protein, carbs, fat, and alcohol grams to see calorie breakdown and macro percentages.
About this calculator
Total calories in food come from adding up each macronutrient's own energy density, a method known as the Atwater system: this calculator applies the standard 4 calories per gram for Protein, 4 for Carbohydrates, 9 for Fat, and 7 for Alcohol — the same general factors the FDA's own Food Labeling Guide cites for the calorie figure on a Nutrition Facts label (21 CFR 101.9(d)(10) for the 9/4/4 protein-carb-fat factors, with alcohol calculated at 21 CFR 101.9(c)(1)(i)(A)'s specific Atwater rate of 7.07 cal/g, rounded to 7 here). Fat is the most calorie-dense macro by a wide margin, so raising Fat always raises Total Calories more per gram than an equal change in Protein or Carbohydrates would. Fiber is handled differently -- it's meant to be entered as the portion of your Carbohydrates figure that's dietary fiber (informational, already counted in the carbs total), and because fiber is only partially digested and fermented rather than fully absorbed, this calculator nets it out at roughly 2 calories per gram instead of the 4 that carbs get credited at, subtracting the difference from Total Calories.
That means raising Fiber (while leaving Carbohydrates unchanged) actually lowers Total Calories, reflecting that not all of a food's carbohydrate content is equally available as usable energy. Protein Calories, Carb Calories, and Fat Calories are each computed independently from their own gram input and don't interact with each other -- Fat is completely inert against Protein Calories, for example, since the two macros are tallied on separate lines before being summed. The macro percentage breakdown (Protein %, Carb %, Fat %, Alcohol %) expresses each macro's calorie contribution as a share of the gross calorie total before the fiber adjustment is applied, so the four percentages always sum to 100% -- Fiber's 2-cal/g netting only affects the Total Calories figure itself, not the percentage breakdown.
Inputs
Results
Total Calories
1,535
Figures current as of 2013. Source: U.S. Food and Drug Administration, Guidance for Industry: A Food Labeling Guide (Jan. 2013): "fat, carbohydrate, and protein furnish 9, 4, and 4 calories per gram, respectively" (21 CFR 101.9(d)(10)); alcohol calculated via the specific Atwater factor of 7.07 cal/g per 21 CFR 101.9(c)(1)(i)(A)
How to Use This Calculator
- Enter grams of protein, carbohydrates, fat, fiber, and alcohol for your meal or recipe.
- The calculator applies the Atwater factors (4/4/9 kcal/g) to compute total calories.
- View the calorie breakdown by macronutrient and the percentage each contributes.
- Use the results to track daily intake or evaluate the macronutrient balance of a recipe.
How the result changes with Carbohydrates
| Carbohydrates | Total Calories |
|---|---|
| 100 | 1,135 |
| 150 | 1,335 |
| 300 | 1,935 |
| 500 | 2,735 |
What each input means
- Fiber
- Informational — already counted in carbs.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersProtein = 50, Carbohydrates = 200, Fat = 65, Fiber = 25 = 5 input(s) provided
- Calculate Total CaloriesTotal Calories1535 = 1535
- Calculate Protein Calories200 = 200
- Calculate Carb Calories800 = 800
Figures and sources
- Atwater general factors for calculating calories on the Nutrition Facts label (4/4/9 kcal per gram) (2013) — U.S. Food and Drug Administration, Guidance for Industry: A Food Labeling Guide (Jan. 2013): "fat, carbohydrate, and protein furnish 9, 4, and 4 calories per gram, respectively" (21 CFR 101.9(d)(10)); alcohol calculated via the specific Atwater factor of 7.07 cal/g per 21 CFR 101.9(c)(1)(i)(A)
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does a gram of fat add more calories than a gram of protein or carbs?
Fat is calorically denser at 9 calories per gram, compared to 4 calories per gram for both Protein and Carbohydrates, so raising Fat always raises Total Calories more per gram than an equal increase in either of the other two. That 9-vs-4 ratio is why reducing dietary fat is often a faster lever for cutting calories than cutting an equivalent weight of carbs or protein.
Why does adding more fiber lower the total calorie count?
Fiber is entered as the portion of your Carbohydrates figure that's dietary fiber, and because it's only partially fermented rather than fully digested, this calculator credits it at roughly 2 calories per gram instead of the 4 that carbs normally get -- raising Fiber (independent of Carbohydrates) consistently lowers Total Calories across its full declared range by netting out that difference.
Does changing the fat amount affect my protein calorie total?
No -- Fat is completely inert against Protein Calories in this calculator. Each macro's calorie contribution is calculated on its own line from its own gram input and then summed at the end, so adjusting one macro's grams never changes another macro's individual calorie figure.
What formula turns grams of protein into calories?
Protein Calories rises in direct, one-for-one proportion with the Protein input across its full 0-1000g range, using the Atwater factor of 4 calories per gram. That's the same conversion factor used on FDA nutrition-facts labels for both protein and carbohydrates.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Calorie & TDEE Calculator
Calculate your Total Daily Energy Expenditure (TDEE) and daily calorie needs based on your age, weight, height, and activity level.
Health & FitnessMacro Calculator
Calculate your daily protein, carb, and fat targets based on your body, activity level, and fitness goal.
Cooking & NutritionNutrition Tracker Calculator
Track calories, caffeine, sugar, meal prep savings, and ABV all in one place.
Food ScienceNutritional Label Calculator
Calculate calories, macronutrient breakdown, and % Daily Values for FDA nutrition labels using Atwater factors.
Health & FitnessBody Composition Calculator
BMI, body fat, TDEE, macros, and ideal weight in one tool
More in Cooking, Food & Beverage.