Results depend on how closely the food you pick matches what is on your plate, and on how well you measure the portion. Treat the total as an estimate.
How to Use the Food Calorie Calculator
- Search for a food by its common name, such as “cooked white rice” or “whole milk”.
- Pick the closest match. Check whether the entry is raw or cooked, and whether it includes skin, bones, or added fat.
- Choose a unit: grams, ounces, cups, or a serving size such as one medium banana.
- Enter the amount you ate.
- Add more foods to build a meal, or switch to recipe mode to divide the total by the number of servings.
Food values in this calculator come from USDA FoodData Central, the US Department of Agriculture’s public food composition database. Calories can be shown in kcal or kJ.
How to Calculate Calories in Food
To calculate calories in food, take the calories listed for a set amount of the food and scale them to your portion:
Calories eaten = calories per 100 g x grams eaten / 100
For example, USDA lists whole milk at 61 kcal per 100 g. A cup of milk weighs about 244 g, so one cup is about 61 x 244 / 100 = 149 kcal.
Reading a Nutrition Facts Label
For packaged food, the label is usually the best source. The FDA explains that:
- Calories on the Nutrition Facts label are shown for one serving.
- The serving size reflects the amount people typically eat or drink, not a recommendation of how much you should eat.
- If a package holds more than one serving, eating the whole package means eating the servings multiplied together. Two servings means twice the calories shown.
Labels round their numbers, so a label may differ by a few calories from a database entry for the same food.
How Food Calories Are Counted
Calories in food come from carbohydrate, protein, fat, and alcohol. Harvard Health Publishing notes that fat provides 9 calories per gram, while carbohydrate and protein provide 4 calories per gram. The table below shows the energy conversion factors used for food labels in the UK (retained EU Regulation 1169/2011), extended with per-ounce values.
| Food component | kJ per gram | kcal per gram | kJ per ounce | kcal per ounce |
|---|---|---|---|---|
| Fat | 37 | 9 | 1,049 | 255 |
| Alcohol (ethanol) | 29 | 7 | 822 | 198 |
| Salatrims (reduced-calorie fat) | 25 | 6 | 709 | 170 |
| Protein | 17 | 4 | 482 | 113 |
| Carbohydrate (excluding polyols) | 17 | 4 | 482 | 113 |
| Organic acids | 13 | 3 | 369 | 85 |
| Polyols (sugar alcohols) | 10 | 2.4 | 284 | 68 |
| Fibre (fiber) | 8 | 2 | 227 | 57 |
| Erythritol | 0 | 0 | 0 | 0 |
For example, a food with 10 g of fat, 20 g of carbohydrate, and 5 g of protein has about 90 + 80 + 20 = 190 kcal.
Calories in Common Foods
The table below shows USDA values per 100 g, a typical portion, and the calories in that portion. Portion calories are calculated from the per 100 g value, so they can differ by a few calories from a rounded label.
| Food (USDA entry) | kcal per 100 g | kJ per 100 g | Typical portion | Portion weight | kcal in portion |
|---|---|---|---|---|---|
| Apple, raw, with skin | 52 | 218 | 1 large | 242 g | 126 |
| Banana, raw | 89 | 372 | 1 labeled serving | 126 g | 112 |
| Broccoli, raw | 34 | 142 | 1 cup, chopped | 91 g | 31 |
| Potato, baked, flesh and skin | 93 | 389 | 1 labeled serving | 148 g | 138 |
| White rice, long-grain, enriched, cooked | 130 | 544 | 1 cup | 158 g | 205 |
| White rice, long-grain, unenriched, raw | 370 | 1,548 | 100 g dry | 100 g | 370 |
| Oats, regular, cooked with water | 71 | 297 | 3/4 cup | 175 g | 124 |
| Chicken, roasted, meat only | 190 | 795 | 1 cup, chopped | 140 g | 266 |
| Salmon, Atlantic, farmed, cooked | 206 | 862 | 3 oz | 85 g | 175 |
| Whole milk, 3.25% fat | 61 | 255 | 1 cup | 244 g | 149 |
| Almonds | 579 | 2,423 | 1 oz | 28.35 g | 164 |
Values are from USDA FoodData Central. Brands, varieties, and cooking methods change the numbers. Use the product label for packaged foods.
Raw vs Cooked Food
Cooking changes a food’s weight through water loss or absorption, so the calories per gram change too. White rice shows this clearly: raw rice has about 370 kcal per 100 g, while cooked rice has about 130 kcal per 100 g, because cooked rice has absorbed water.
If you weigh 158 g of cooked rice but choose the raw rice entry, the calculator would show 370 x 158 / 100 = 585 kcal instead of the right figure of about 205 kcal. Always match the entry to the state of the food when you weighed it.
Recipe Calorie Calculator
A recipe calorie calculator adds the calories from every ingredient, then divides by the number of servings. To use it:
- Enter each ingredient and the amount used, including oils, butter, sauces, and toppings.
- Match each ingredient to its state when weighed (raw or cooked).
- Enter the number of servings the finished recipe makes.
- Read the total and the calories per serving.
Recipe Example
This example makes 4 servings of chicken, rice, and broccoli.
| Ingredient | Amount | Calories |
|---|---|---|
| White rice, raw | 150 g | 555 |
| Chicken, roasted, meat only | 300 g | 570 |
| Broccoli, raw | 300 g | 102 |
| Olive oil | 2 tablespoons | 238 |
| Total | 1,465 | |
| Per serving (4 servings) | About 366 |
Olive oil is about 119 kcal per tablespoon. Oils and sauces are easy to leave out and add up quickly, so list every one.
If the servings are unequal, weigh the finished dish and divide the total by its weight. For example, 1,465 kcal in a dish that weighs 1,200 g is about 1.22 kcal per gram, so a 250 g portion is about 305 kcal.
Meal Calorie Calculator
A meal calorie calculator adds up each item on a plate. Add every food and drink separately, including milk in coffee, cooking oil, sauces, spreads, cheese, and dressings.
Meal Example
| Item | Portion | Calories |
|---|---|---|
| White rice, cooked | 1 cup (158 g) | 205 |
| Chicken, roasted, meat only | 100 g | 190 |
| Broccoli, raw | 1 cup, chopped (91 g) | 31 |
| Whole milk | 1 cup (244 g) | 149 |
| Meal total | 575 |
Why Food Calorie Estimates Differ
Calorie totals can differ between tools, apps, and labels because of:
- Portion size: A rough guess of a portion is the largest source of error. A food scale helps.
- Raw vs cooked entries: The wrong entry can change the total several times over, as the rice example shows.
- Brand and recipe differences: Two products with the same name can have different calories.
- Added ingredients: Oils, butter, and sauces are often missed.
- Database differences: Different databases may use different foods and rounding.
- Natural variation: The same food varies by variety and growing conditions.
Frequently Asked Questions
How do I calculate calories in a homemade meal?
List the ingredients, find the calories for each one, multiply by the amount used, and add the results. Divide by the number of equal portions to get calories per serving.
Should I weigh food before or after cooking?
Weigh it in the same state as the database entry. If you pick a cooked rice entry, weigh cooked rice. If you pick a raw rice entry, weigh the dry rice.
Are food database values exact?
No. They are reference values, and real foods vary. The FDA also notes that label values are rounded.
Does the serving size on a label tell me how much to eat?
No. The FDA states that the serving size reflects the amount people typically eat or drink, not a recommendation.
Where do the food values come from?
From USDA FoodData Central, a public database of food composition run by the US Department of Agriculture.
How accurate is a recipe calorie calculator?
It is as accurate as the amounts and food matches you enter. Weighing ingredients, including oils, gives a closer estimate than using cups or guesses.
Sources
- USDA FoodData Central. Entries used (SR Legacy FDC IDs): whole milk 172217, farmed Atlantic salmon cooked 175168, regular oats cooked with water 173905, almonds 170567, baked potato 170093.
- FDA: How to Understand and Use the Nutrition Facts Label
- FDA: Calories on the Nutrition Facts Label
- Regulation (EU) No 1169/2011, Annex XIV, energy conversion factors (legislation.gov.uk)
- Harvard Health Publishing: Calorie counting made easy
Disclaimer
This calculator and page are for general education. Calorie values are estimates and are not medical or dietary advice. If you have a medical condition, a food allergy, or a history of disordered eating, speak to a qualified healthcare professional or registered dietitian.