Cooking & Baking

Recipe Macronutrient & Calorie Breakdown Calculator

Estimate calories and protein, carbohydrate and fat per serving from whole-recipe macronutrient totals.

How the calculation works

Multiply recipe grams of protein and carbohydrate by 4 kcal/g and fat by 9 kcal/g, then sum. Divide energy and each nutrient amount by equal servings. Each energy share is that nutrient’s calculated energy divided by total calculated energy.

Worked example

Example inputs — Protein in whole recipe (g): 100; Carbohydrate in whole recipe (g): 200; Fat in whole recipe (g): 50; Number of equal servings: 4. Expected results — Estimated whole-recipe energy: 1650 kcal; Estimated energy per serving: 412.5 kcal; Protein per serving: 25 g; Carbohydrate per serving: 50 g; Fat per serving: 12.5 g; Protein share of estimated energy: 24.24242424 %; Carbohydrate share of estimated energy: 48.48484848 %; Fat share of estimated energy: 27.27272727 %.

Assumptions and limits

Enter the combined grams for the whole recipe and the number of equal portions. This uses general Atwater factors of 4 kcal/g for protein and carbohydrate and 9 kcal/g for fat. Food labels and databases may use specific factors, different treatment of dietary fibre and rounding; alcohol, sugar alcohols and other energy sources are not included, so results can differ from a label. Does not calculate nutrient content from ingredients or provide a personalized dietary target. Energy percentages are undefined when all entered macronutrients are zero.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.