Free recipe nutrition calculator
Paste the ingredients of any recipe, set the number of servings, and see calories and macros per serving, plus fiber, sugar, sodium, vitamins and minerals. Each ingredient is matched to USDA FoodData Central and weighed with USDA's own portion sizes, and every line shows exactly how it was counted, so you can check it and fix it.
Recipe nutrition calculator
Free, no sign-upHow it works
- 1Paste the ingredients. One per line, as the recipe writes them: "2 cups flour", "1 (15 oz) can black beans, drained", "3 large eggs". Or paste a recipe website link and tap Get ingredients.
- 2Set the servings. Enter how many servings the recipe makes. Everything is divided by it.
- 3Check each ingredient. Each line shows the USDA food it matched and its weight in grams. Change the food or type your own weight for anything that looks off.
How the calculator works out a recipe's macros
Every line is read for its amount, unit and ingredient. Weights are used as written. Cups, tablespoons and teaspoons become grams using USDA's weight for that food, so a cup of flour counts as 125 g and a cup of spinach as 30 g. Counts use USDA's size for the item: a large egg is 50 g, a medium onion 110 g, a garlic clove 3 g. The grams are multiplied by USDA's nutrients per 100 g, added up and divided by the servings.
- Calories, protein, carbohydrates and fat per serving and for the whole recipe
- Fiber, sugars, saturated fat, cholesterol and sodium
- Vitamins and minerals with % Daily Value, 27 nutrients in all
- A per-ingredient list with each one's calories and macros, so you can see what drives the total
- Salt and pepper to taste, headings and garnishes are left out on purpose
Accurate, and honest about what it couldn't count
The calculator knows about 250 of the most common recipe ingredients, from produce and meat to flours, oils, cheeses, canned beans and spices. If a line isn't one of them, or has no amount, it's flagged and left out of the total instead of guessed at. Pick the closest food or type the grams and the totals update right away.
It doesn't use AI, so it's instant and free. Values are for ingredients as listed (usually raw); cooking changes the water weight of a dish but not its calories. For a per-portion weight, weigh the finished dish and divide by the servings.
How to calculate nutrition for a recipe by hand
It helps to know what any recipe calorie calculator is doing, so you can sanity-check the result. Done by hand, it takes five steps:
- Write each ingredient as a weight. Convert cups, spoons and pieces to grams: a cup of all-purpose flour is about 125 g, and a large egg is about 50 g without the shell.
- Look up each food's nutrients per 100 g in a database such as USDA FoodData Central.
- Multiply by the weight you're using. 250 g of flour is 2.5 times the per-100 g values.
- Add every ingredient together to get the whole recipe.
- Divide by the number of servings to get the nutrition per serving.
Save recipes and log what you eat
A free MagicMeals account keeps your recipes with their nutrition facts, scales servings, and logs portions to a food diary with calories and macros. Save recipes from any website, Instagram, YouTube or TikTok, or type in family recipes. The nutrition facts guide shows how the panel works on saved recipes.
Questions
How do I calculate the nutrition of a recipe?
Paste the ingredient list into the calculator above, one ingredient per line, and enter the number of servings. It matches each ingredient to USDA FoodData Central, converts it to grams and adds up calories, protein, carbs, fat and 23 more nutrients per serving.
How do I calculate macros for a homemade recipe?
Add up each ingredient's protein, carbs and fat by weight, then divide by the number of servings. The calculator does this for you: it shows each ingredient's grams and macros and the totals per serving. Weigh ingredients when you can, since grams are more exact than cups.
Is this recipe calorie calculator free?
Yes, with no account and no limit. It runs in your browser on USDA data. A free MagicMeals account lets you save recipes with their nutrition and log portions in a food diary.
Where does the nutrition data come from?
USDA FoodData Central, the U.S. Department of Agriculture's public nutrient database (the SR Legacy release). Each ingredient shows the USDA food it was matched to, and the weight of each cup, spoon or item comes from USDA's portion data for that food.
Why wasn't an ingredient counted?
Either it isn't one of the common ingredients the calculator knows, it has no amount (like "cheese for topping"), or USDA has no weight for that measure of it. Tap Pick a food or type its weight in grams and it's added to the total.
Does it count calories per serving or for the whole recipe?
Both. The top shows calories and macros per serving, and the full nutrition table has a whole-recipe column too.
Step-by-step guides
Related
Start your cookbook free
Free for 25 recipes, the shopping list and your food diary. Unlimited recipes and AI imports, meal planning, deeper nutrition tracking, exports and family cookbook sharing are $9 a month, with a 7-day free trial.
Create your cookbook