Skip to content
CalculatorAtlas

Nutrition per Serving Calculator

Tested

Nutrients per serving from recipe totals.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

kcal
g
g
g

Results

Enter your values and press Calculate. Results appear here.

  • • Result

Quick answer

Nutrition per serving = recipe total ÷ number of servings. A recipe with 2,400 kcal, 90 g protein, 300 g carbohydrate and 100 g fat makes 6 servings of 400 kcal, 15 g protein, 50 g carbohydrate and 16.7 g fat.

Enter the recipe totals and the number of servings. The calculator returns calories and macronutrients per serving.

Related tools: Cost per Serving Calculator: Cost of one serving. Recipe Scaling Calculator: Scale ingredient amounts to a different number of servings. Cooking Ingredient Converter: Convert between volume and weight for common baking and cooking ingredients, using USDA gram weights per cup.

How to use the Nutrition per Serving Calculator

  1. Enter total calories (kcal) (0 or more).
  2. Enter total protein (g) (0 or more).
  3. Enter total carbohydrate (g) (0 or more).
  4. Enter total fat (g) (0 or more).
  5. Enter servings (above 0).
  6. Press Calculate to see the result, and use Reset to start again.
Inputs of the Nutrition per Serving Calculator
InputWhat to enterAllowed values
Total caloriesA number, in kcal≥ 0
Total proteinA number, in g≥ 0
Total carbohydrateA number, in g≥ 0
Total fatA number, in g≥ 0
ServingsA number> 0

Formula and method

Formula

per serving = recipe total ÷ servings

IEEE-754 double precision; shown to the decimals indicated.

Add up nutrition labels for all ingredients first.

Worked examples

These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.

Example 1

Inputs: Total calories = 2400; Total protein = 90; Total carbohydrate = 300; Total fat = 100; Servings = 6.

Results of example 1
ResultValue
Calories per serving400 kcal
Protein15 g
Carbohydrate50 g
Fat16.7 g

Example 2

Inputs: Total calories = 800; Total protein = 30; Total carbohydrate = 100; Total fat = 25; Servings = 4.

Results of example 2
ResultValue
Calories per serving200 kcal
Protein7.5 g
Carbohydrate25 g
Fat6.3 g

The first line is the headline result (calories per serving). Below it the nutrition per Serving Calculator lists protein, carbohydrate and fat, which describe the same case from other angles. IEEE-754 double precision; shown to the decimals indicated.

Getting recipe totals

Add up each ingredient's calories and macros from its package label or a nutrient database. The check: 15 × 4 + 50 × 4 + 16.7 × 9 = 60 + 200 + 150 = 410 kcal, close to 400 because of rounding.

Serving definition

The result depends on how you divide the recipe. Weigh the finished dish and divide by weight for accuracy. Cooking changes weights, so use the raw totals with the cooked serving count.

How the result changes with total calories

Holding every other input at the first worked example, this table changes only total calories. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.

How the result changes with total calories
Total caloriesCalories per servingProteinCarbohydrate
1200200 kcal15 g50 g
2400400 kcal15 g50 g
4800800 kcal15 g50 g
96001,600 kcal15 g50 g

What happens with invalid input

These messages are produced by the calculator itself, so you know what to fix.

  • Servings: entering "0" shows "Servings must be greater than 0." beside that field and no result.
  • Total calories: entering "-1" shows "Total calories must be at least 0." beside that field and no result.

Choosing between the Nutrition per Serving Calculator and similar calculators

Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.

Choosing between the Nutrition per Serving Calculator and similar calculators
CalculatorYou enterIt returns
[Cost per Serving Calculator](/cooking/cost-per-serving-calculator/)total cost and servingsCost per serving
[Recipe Scaling Calculator](/cooking/recipe-scaling-calculator/)original servings, desired servings and ingredient amountsScale factor
[Cooking Ingredient Converter](/cooking/cooking-ingredient-converter/)ingredient, convert and amountWeight
[Gallons per Minute Calculator](/engineering/gallons-per-minute/)useFlow
[Distance per Tank Calculator](/automotive/distance-per-tank-calculator/)tank size and fuel economyRange

Background: cooking measurements

For baking, weight is more reliable than volume. A cup holds a fixed volume but its weight depends on the ingredient's density, and a cup of flour can vary by 20 to 30 grams depending on how it is scooped, so published gram-per-cup values for the same ingredient differ from site to site. Spoon and level flour if you must measure by volume.

Check which cup a recipe uses: the US cup is 236.588 mL, while a metric cup is 250 mL.

Assumptions and limitations

  • Servings must be positive

Cooking times are guides. Use a food thermometer to confirm safe internal temperatures.

If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for servings and total calories to confirm this.

Frequently asked questions

How do I get calories from macros?

Protein and carbohydrate are about 4 kcal per gram and fat 9 kcal per gram.

Does cooking change the calories?

Not much, but water loss changes the weight per serving.

Can I use it for meal prep?

Yes, divide the batch by the number of containers.

What does the Nutrition per Serving Calculator calculate?

Nutrients per serving from recipe totals. It returns Calories per serving, Protein, Carbohydrate and Fat.

What formula does the Nutrition per Serving Calculator use?

per serving = recipe total ÷ servings. Add up nutrition labels for all ingredients first.

What do I need to enter in the nutrition per Serving Calculator?

You enter Total calories (kcal), Total protein (g), Total carbohydrate (g), Total fat (g) and Servings.

How is the result rounded or limited?

IEEE-754 double precision; shown to the decimals indicated. Servings must be positive.

What is an example of a nutrition per Serving result?

With total calories 2400, total protein 90, total carbohydrate 300, total fat 100 and servings 6, the calories per serving is 400 kcal.

Can I rely on this calculator for a decision?

Cooking times are guides. Use a food thermometer to confirm safe internal temperatures. For this calculator in particular: Servings must be positive.

Sources

  • OpenStax, Prealgebra 2e (Rice University): fractions, decimals, percents, ratios and rounding
  • NIST Special Publication 811, Guide for the Use of the International System of Units (SI), Appendix B conversion factors (international inch 25.4 mm, avoirdupois pound 0.45359237 kg)

Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.