This recipe nutrition calculator adds up the calories and nutrients in a recipe from its ingredients, then divides by the number of servings. It uses USDA FoodData Central, the US government's food composition database. You can search about 7,800 foods and enter amounts in grams, ounces or household measures like cups and tablespoons. Everything runs in your browser.
How to Use This Calculator
- Search for an ingredient, such as "rolled oats", and pick the closest USDA match.
- Set the amount: grams, ounces or one of USDA's measures for that food, such as 1 cup.
- Add the rest of your ingredients the same way.
- Set the number of servings.
- Read calories, protein, fat, carbohydrate, fiber, sugars, saturated fat and sodium, per serving and for the whole recipe.
How the Calculator Works
USDA lists each nutrient per 100 g of a food. For each ingredient:
Nutrient = grams × (USDA value per 100 g ÷ 100)
The calculator adds up all the ingredients and divides by your servings. Cups and tablespoons use the gram weights USDA publishes for that specific food, so a cup of oats and a cup of milk weigh different amounts. If USDA has no value for a nutrient in one of your ingredients, that total gets an asterisk instead of quietly counting it as zero.
A Worked Example
Overnight oats for 2 servings:
| Ingredient | Amount | Grams | Calories |
|---|---|---|---|
| Oats, regular and quick, dry | 1 cup | 81 | 307 |
| Milk, reduced fat, 2% | 1 cup | 244 | 122 |
| Banana, raw | 1 small | 101 | 90 |
| Peanut butter, smooth, unsalted | 2 tbsp | 32 | 191 |
| Honey | 1 tbsp | 21 | 64 |
| Total | 479 | 774 |
Per serving: 774 ÷ 2 = 387 calories, with about 13.5 g protein, 57.0 g carbohydrate, 13.4 g fat and 6.2 g fiber. Click "Load the example recipe" in the calculator to see it.
Getting Accurate Results
- Match raw or cooked. USDA lists raw and cooked foods separately. Weigh rice dry and pick "raw", or weigh it cooked and pick "cooked".
- Weigh when you can. Grams are more accurate than cups, especially for flour, oats and chopped foods.
- Use labels for branded foods. The database holds generic reference foods, so a specific brand may differ.
To split your results into a daily macro target, use the Macro Calculator. If you'd rather log meals in an app, our MyFitnessPal alternatives guide compares food trackers by database quality.
Limitations
- Reference values, not your exact ingredients. Brands, varieties and growing conditions vary.
- Cooking changes things. Water loss, fat absorbed from frying and nutrient losses during cooking aren't modeled unless you choose a cooked USDA entry.
- The database dates from 2018. SR Legacy is USDA's final release of its classic reference dataset.
FAQs
How Do I Calculate the Nutrition of a Recipe?
Find each ingredient's nutrients per 100 g, multiply by the grams you used and add everything up. Then divide by the number of servings. This calculator does that with USDA data.
How Many Calories per Serving Is My Recipe?
Add your ingredients, enter the number of servings and read the calories per serving. The overnight oats example comes to about 387 calories per serving.
Where Does the Nutrition Data Come From?
From USDA FoodData Central's SR Legacy dataset, which is public domain. The food list loads from our own site, and your searches and recipes are never sent anywhere.
Is My Information Stored?
No. The calculator runs entirely in your browser. It needs no account, doesn't save your entries and doesn't send them anywhere. Closing or refreshing the page clears everything you entered.
Sources
- USDA FoodData Central. SR Legacy (April 2018) nutrient values and portion weights.
- FoodData Central API Guide. Data are public domain, published under CC0 1.0.
