How to use the Recipe Cost Calculator
Start with the batch details, then enter the amounts you use and the prices on their packages. The result separates raw recipe cost, waste-adjusted batch cost, and cost per serving. It also shows each ingredient's unit cost, line cost, formula, and assumptions.
- Set Yield (servings per batch), Number of batches, Waste / spoilage (%), Markup (%, optional), and Currency symbol.
- Fill each ingredient row with its name, Amount used, Amount unit, Package size, Package unit, and Package price.
- Enter Density g/mL (optional) when the amount and package use different categories, such as cups and kilograms.
- Select Add ingredient for another row, then select Calculate to show the result.
- Use Copy result, Download result (.txt), or Download costing table (.csv) to keep the calculation.
How recipe costing becomes cost per serving
For each filled row, the calculator divides Package price by Package size to get a unit cost. It converts Amount used into the package's unit category, calculates the line cost, and adds the ingredient lines. Waste / spoilage (%) is applied to that raw recipe cost. Number of batches sets Total batch cost, and Yield (servings per batch) multiplied by Number of batches sets total servings.
Flour: 500 g used, 1 kg package at $2.20
Unit cost: $0.0022/g
Line cost: $1.1000
Markup (%, optional) is applied after cost per serving. A value above 0 adds Suggested price per serving and Suggested total batch selling price to the result.
Units that need density
Amount unit and Package unit include mass units g, kg, oz, and lb; volume units mL, L, tsp, tbsp, cup, and fl oz; and the count unit ct. Mass converts to mass, and volume converts to volume. A row that crosses between mass and volume needs a positive Density g/mL (optional) value. Count cannot convert to mass or volume, so both units in a count row must be ct.
Waste, validation, and cost display
- Waste / spoilage (%) applies once to the raw cost for the whole recipe. Enter 0 or more and less than 100. The page has no separate waste field for each ingredient.
- Yield and Number of batches must be greater than 0. Filled rows need an ingredient name. Amount used can be 0 or higher, Package size must be above 0, and Package price can be 0 or higher.
- Empty ingredient rows are skipped. An invalid value shows an error instead of a result. A mixed mass and volume row also needs a positive density.
- Unit costs and cost per serving show 4 decimal places. The Total batch cost stat and suggested prices show 2 decimal places; the formula table and downloads retain more decimal places for totals. The calculation uses the prices you enter, with no grocery-price lookup, substitution estimate, or nutrition calculation.
Try different batch and waste settings
To calculate two batches, set Number of batches to 2, then select Calculate. The result shows Total batch cost and total servings for that batch count. To include trim, spillage, or spoilage, enter its share in Waste / spoilage (%). Use Download costing table (.csv) when you want the ingredient lines and cost summary in a spreadsheet-ready file.
Recipe costing or another food calculator?
Use the Food Calculators category to find related recipe and nutrition tools. Recipe Calculator handles recipe scaling, baker's percentages, hydration, brine, coffee ratio, and pizza dough quantities. Choose Cooking Conversion Calculator for cooking volume, weight, or temperature conversions. Use Nutrition & Macro Calculator for protein, carbohydrate, fat, or fiber totals.
Frequently asked questions
How do I calculate recipe cost per serving?
The calculator divides each Package price by Package size, totals the ingredient lines, adjusts for Waste / spoilage (%), multiplies by Number of batches, and divides by Yield (servings per batch) multiplied by Number of batches.
When does a recipe cost calculator need density?
Density is needed when an ingredient crosses between mass and volume, such as an amount in cups and a package in kilograms. Matching mass or matching volume units convert directly, and count units must match count units.
Can I add waste and markup to recipe costing?
Waste / spoilage (%) adjusts the whole recipe cost, and Markup (%, optional) adds a suggested price after cost per serving. Waste must stay below 100, and markup cannot be negative.
Can I export the recipe costing table?
Yes. Download costing table (.csv) saves the ingredient rows and cost summary, while Copy result and Download result (.txt) provide the calculation as plain text.