Skip to content

Food Calorie Calculator

Calculate total calories from macronutrient composition per serving. Free food calorie calculator for food, calorie, and more.

Use this result well

Inputs that matter
Protein, Carbohydrates, Fat, Alcohol
Output to expect
Food Calorie Calculator
  • Check the units and required inputs before comparing results.
  • Keep the assumptions with a copied result so you can reproduce the calculation later.
Was this tool helpful?

Reference & details

How it works

Atwater General Factors

Protein and carbohydrates each provide 4 kcal per gram. Fat provides 9 kcal per gram. Alcohol provides 7 kcal per gram. These factors are used by the FDA and EU for nutrition label calculation.

Calories = (Protein g × 4) + (Carbs g × 4) + (Fat g × 9) + (Alcohol g × 7)

Per-Serving Calculation

Enter macronutrient grams for one serving size. Total calories represent metabolizable energy available to the body, excluding indigestible fiber which contributes ~2 kcal/g but is often subtracted as insoluble fiber.

Net Carbs = Total Carbs − Fiber (optional for low-carb labeling)

Energy Density Comparison

Fat-dominated foods exceed 400 kcal/100 g while lean protein and vegetables are under 150 kcal/100 g. Understanding macro composition explains why nuts (high fat) are calorie-dense despite small serving sizes.

Energy Density = Total Calories / Serving Weight (g) × 100

Updated: July 2026

Example Scenarios

Standard 60 g sports nutrition bar with moderate macros.

Protein: 20 gCarbs: 25 gFat: 8 g

252 kcal (80 + 100 + 72)

Two slices whole grain bread with half avocado and toppings.

Protein: 8 gCarbs: 35 gFat: 18 g

334 kcal (32 + 140 + 162)

150 g skinless chicken breast, plain grilled without sauce.

Protein: 35 gCarbs: 0 gFat: 4 g

176 kcal (140 + 0 + 36)

Common Mistakes to Avoid

Using 4 kcal/g for fat

Fat is 9 kcal/g — more than double protein and carbs. Underestimating fat grams is the most common error in homemade calorie calculations, especially for cooking oils and dressings.

Double-counting fiber calories

Nutrition labels list total carbohydrate including fiber. For strict calorie counting, soluble fiber contributes ~2 kcal/g. Most Atwater calculations use total carbs × 4, which slightly overestimates high-fiber foods by 4–8 kcal per serving.

Ignoring cooking fat and sauces

A tablespoon of olive oil adds 120 kcal (14 g fat) — often more than the protein source itself. Always include cooking oils, butter, dressings, and marinades in macro totals.

FAQ

Labels may use specific Atwater factors for different food groups (e.g., 3.5 kcal/g for some proteins in nuts) or round to the nearest 5 kcal. Small discrepancies of 5–15 kcal per serving are normal between calculated and labeled values.

Sum the macros of all ingredients, calculate total calories, then divide by number of servings. Weigh the finished dish and divide by portion weight for the most accurate per-serving estimate.

Insoluble fiber contributes minimal calories. Soluble fiber and resistant starch provide ~2 kcal/g. Standard Atwater calculation using total carbs × 4 slightly overestimates high-fiber foods — the difference is usually negligible for whole-food diets.

Sugar alcohols vary: erythritol is ~0 kcal/g, xylitol is ~2.4 kcal/g, maltitol is ~2.1 kcal/g. Standard Atwater carbs × 4 overestimates sugar alcohol calories — check specific polyol factors for sugar-free products.

Atwater factors are accurate within 5–10% for mixed diets. Individual absorption varies with gut microbiome and food processing. Use calculated values as consistent estimates rather than exact measures, and adjust based on body weight trends over 2–3 weeks.

About Food Calorie Calculator

Food energy comes exclusively from protein, carbohydrates, fat, and alcohol — each with a defined caloric density. This calculator converts macronutrient grams per serving into total kilocalories using Atwater general factors used in nutrition labeling worldwide.