Recipe Nutrition Calculator

Add ingredients from the USDA food database to get calories, protein, carbs, fat, fiber and sodium for a whole recipe and per serving.

  • Formula explained
  • No signup required
  • Instant calculation
  • Nothing you enter is stored
Free interactive calculator

Recipe Nutrition Calculator

Add your ingredients from the USDA food database to see calories and nutrients for the whole recipe and per serving.

Example values are filled in. Replace them with your own; results update as you type.

Ingredients
    Search, then set the amount in grams, ounces or a USDA household measure such as 1 cup

    Search for an ingredient, or load the example recipe.

    How this calculation works
    • Each nutrient = ingredient grams × (USDA value per 100 g ÷ 100), summed over all ingredients
    • Per serving = recipe total ÷ number of servings
    • Household measures (cups, tablespoons) use the gram weights published by USDA for that food
    • Where USDA has no value for a nutrient, the total is marked incomplete rather than counted as zero

    Sources: USDA FoodData Central, SR Legacy (April 2018), public domain; FoodData Central data licensing (CC0 1.0)

    Last reviewed November 2026

    Estimates from USDA reference foods. Brands, recipes, cooking methods and portion sizes vary, and cooking can change weight and some nutrients. Use package labels where you have them.

    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

    1. Search for an ingredient, such as "rolled oats", and pick the closest USDA match.
    2. Set the amount: grams, ounces or one of USDA's measures for that food, such as 1 cup.
    3. Add the rest of your ingredients the same way.
    4. Set the number of servings.
    5. 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:

    IngredientAmountGramsCalories
    Oats, regular and quick, dry1 cup81307
    Milk, reduced fat, 2%1 cup244122
    Banana, raw1 small10190
    Peanut butter, smooth, unsalted2 tbsp32191
    Honey1 tbsp2164
    Total479774

    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

    1. USDA FoodData Central. SR Legacy (April 2018) nutrient values and portion weights.
    2. FoodData Central API Guide. Data are public domain, published under CC0 1.0.