How to Calculate Calories in Food and Homemade Recipes

Last updated published about 5 min read

Multiply calories per 100 grams by the grams you eat, then divide by 100. A 200 g portion of cooked pasta using a reference value of 128 kcal per 100 g gives 256 kcal. For homemade dishes, total the ingredients, account for discarded ingredients or cooking fat where possible, and divide by equal portions or the measured cooked weight.

Find the method from food notes to calculations in the step-by-step calorie tracking guide.

In this article (6 sections)
  1. How do you calculate calories in a single item?
  2. How do you calculate calories in a dish you've made yourself?
  3. Why shouldn't you use the raw weight of the finished meal?
  4. What about calories in restaurant food?
  5. Can you have the calories calculated automatically?
  6. Frequently Asked Questions

How do you calculate calories in a single item?

The calculation is the same every time:

Calories = (kcal per 100 g × weight in grams) ÷ 100

For a US Nutrition Facts label, use calories per serving x amount eaten / serving amount, keeping both amounts in the same unit. An illustrative 200 kcal per 40 g label gives 300 kcal for 60 g. A 4 oz weight is about 113 g; fluid ounces are volume. The FDA label guide explains servings.

Three historical examples from FRIDA 6.1, retained from the original Danish article. These are not current USDA values, and your product or preparation may differ:

ItemKcal per 100 gYour weightCalculationResult
Rice, cooked171220 g(171 × 220) ÷ 100376 kcal
Chicken, breast, raw148150 g(148 × 150) ÷ 100222 kcal
Olive oil90012 g example(900 × 12) ÷ 100108 kcal

The oil example shows why small amounts of energy-dense ingredients matter. Its 12 g weight is an example, not a universal tablespoon conversion.

How do you calculate calories in a dish you've made yourself?

Four steps give you a reusable recipe calculation. Recheck it if the ingredients, cooking method or portion sizes change.

  1. Write down all ingredients with weight, as they are when they go into the pot. Remember fats, sauces, and spice mixes with sugar.
  2. Add up the calories for the entire dish.
  3. Weigh the finished dish — the pot with contents minus the empty pot.
  4. Divide by the number of equal portions, or multiply the recipe's total calories by your portion weight divided by the finished recipe weight. A weight-based division assumes the ingredients are distributed fairly evenly.

Example of a meat sauce for four people:

IngredientAmountKcal per 100 gKcal
Beef, ground 8–12%, raw500 g173865
Tomato, peeled, canned400 g2184
Onion, raw150 g4365
Olive oil15 g900135
Cream 9%100 g111111
Total1,260

Historical source: FRIDA 6.1, DTU Food Institute. Rounded example values; not USDA data.

Divided into four portions, it's 315 calories per portion of sauce. With 200 grams of cooked pasta added (256 calories), the plate totals 571 calories — before grated cheese.

Note the peeled tomatoes: 400 grams contribute only 84 calories. The 15 grams of oil contribute 135. The smallest ingredient by weight is the second largest in calories.

Why shouldn't you use the raw weight of the finished meal?

Because the food's weight and composition can change during cooking.

Rice and pasta absorb water; meat often loses water. Water changes the weight without adding energy. Added oil, drained fat, discarded cooking liquid and leftovers can also change the energy remaining in the dish.

ItemRawCookedKcal per 100 g rawKcal per 100 g cooked
Pasta100 gapprox. 290 g372128
Rice100 gapprox. 200 g348171
Minced beef 8–12%100 gapprox. 75 g173approx. 231

Historical FRIDA-based examples from the original article. The cooked weights are illustrative calculations, not measured cooking yields. Different raw and cooked database records are not necessarily the same food measured before and after cooking; actual water uptake and fat losses vary.

The practical rule: match the database entry to the state you weigh. Use a dry-pasta value for dry weight, or a matching cooked-pasta value for cooked weight. Mixing the two can produce a large error.

What about calories in restaurant food?

Restaurant meals can be harder to calculate. Use the information available:

  • Check the restaurant's menu or nutrition information, if provided, and whether it includes sides.
  • Estimate the ingredients and portion separately when no nutrition information is available. Ask about sauces or cooking fats if useful.
  • Include the sides and drinks you consumed. Their contribution depends on the actual food and serving size.

Keep the result labeled as an estimate. A photo or generic dish entry cannot reveal every ingredient or its weight, and errors can go in either direction.

Can you have the calories calculated automatically?

Calorie.one can propose a calculation from text or a submitted meal photo. Specify known quantities and whether they are raw or cooked, then review the proposed ingredients and portions. A description such as "meat sauce with 200 g cooked pasta" still leaves the sauce and cheese quantities unknown. Save a checked recipe for reuse when it still matches the dish.

Calorie.one uses USDA FoodData Central and Open Food Facts for current lookups and labels fallback estimates. Check the ingredients, sources and portions before saving. A free plan is available; AI access follows the account's quota.

Frequently Asked Questions

How do I calculate calories without a scale?

Use package serving information or an approximate portion you know. A 35 g bread slice or 200 g cooked-pasta portion can illustrate the calculation, but neither is a universal serving size. See counting calories without weighing food.

Should I count calories in vegetables?

Include vegetables if you want a complete recipe total. Use the correct food and preparation state, and count added oil or dressing separately. Their energy contribution varies by type and portion.

Do calories in oil that remain in the pan count?

Only the oil you eat contributes to the consumed portion. In practice, oil left in a pan can be mixed with water and other ingredients, so its amount may be difficult to measure. Record a reasonable estimate and avoid treating it as an exact value.

More about everyday calorie tracking