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
- Enter total calories (kcal) (0 or more).
- Enter total protein (g) (0 or more).
- Enter total carbohydrate (g) (0 or more).
- Enter total fat (g) (0 or more).
- Enter servings (above 0).
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Total calories | A number, in kcal | ≥ 0 |
| Total protein | A number, in g | ≥ 0 |
| Total carbohydrate | A number, in g | ≥ 0 |
| Total fat | A number, in g | ≥ 0 |
| Servings | A 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.
| Result | Value |
|---|---|
| Calories per serving | 400 kcal |
| Protein | 15 g |
| Carbohydrate | 50 g |
| Fat | 16.7 g |
Example 2
Inputs: Total calories = 800; Total protein = 30; Total carbohydrate = 100; Total fat = 25; Servings = 4.
| Result | Value |
|---|---|
| Calories per serving | 200 kcal |
| Protein | 7.5 g |
| Carbohydrate | 25 g |
| Fat | 6.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.
| Total calories | Calories per serving | Protein | Carbohydrate |
|---|---|---|---|
| 1200 | 200 kcal | 15 g | 50 g |
| 2400 | 400 kcal | 15 g | 50 g |
| 4800 | 800 kcal | 15 g | 50 g |
| 9600 | 1,600 kcal | 15 g | 50 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.
| Calculator | You enter | It returns |
|---|---|---|
| [Cost per Serving Calculator](/cooking/cost-per-serving-calculator/) | total cost and servings | Cost per serving |
| [Recipe Scaling Calculator](/cooking/recipe-scaling-calculator/) | original servings, desired servings and ingredient amounts | Scale factor |
| [Cooking Ingredient Converter](/cooking/cooking-ingredient-converter/) | ingredient, convert and amount | Weight |
| [Gallons per Minute Calculator](/engineering/gallons-per-minute/) | use | Flow |
| [Distance per Tank Calculator](/automotive/distance-per-tank-calculator/) | tank size and fuel economy | Range |
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.
Related calculators
- 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.
- Gallons per Minute Calculator — Flow in gallons per minute from pipe size and velocity, or volume and time.
- Distance per Tank Calculator — Range on a full tank from tank size and fuel economy.
- Brine Concentration Calculator — Salt concentration of a brine by weight.
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.