Recipe Cost and Yield Calculator

Scale edible ingredient needs, allocate supplier-pack costs and estimate whole packs to buy.

On-device No sign-up Free to use

Calculate recipe costs controls

Showing an example. Edit to see your own.

?

?

?

One row per line; columns separated by |: name | packQty | packUnit | packCost | edibleQty | useUnit | yieldPercent. Up to 100 rows. Use plain decimals, without thousands separators.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

The sample uses half of a $2 flour pack, costing $1. Its 400 g edible carrots at 80% yield need 500 g raw, half of a $3 pack, costing $1.50. Allocated batch cost is $2.50; buying one whole pack of each costs $5.

2.50 allocated batch cost for 10 servings

https://usefreetools.net/recipe-cost-yield-calculator · 20 November 2026

Was this helpful?

How to use Recipe Cost and Yield Calculator

  1. Enter Servings in the entered recipe and Servings to produce as whole numbers. Their ratio scales every ingredient’s edible requirement.
  2. Replace Ingredients with the supplier Pack amount/unit/price, the edible amount needed by the original recipe, its Recipe unit and Edible yield %. Use the exact supported unit labels.
  3. Use 100% yield when all purchased material is usable. At 80% yield, a 400 g edible requirement needs 400 ÷ 0.8 = 500 g raw before any serving scaling.
  4. Select Calculate result. Allocated cost charges only the consumed fraction of each pack; Whole packs rounds each ingredient row’s pack requirement upward for the separate Pack purchase cost. Duplicate rows are not combined for shopping.
  5. Download calculation.csv for ingredient requirements, pack counts, costs, batch totals and the rounded average per serving. This cost worksheet does not supply nutrition values or a reusable recipe project.

Example: Recipe Cost and Yield Calculator

The sample uses half of a $2 flour pack, costing $1. Its 400 g edible carrots at 80% yield need 500 g raw, half of a $3 pack, costing $1.50. Allocated batch cost is $2.50; buying one whole pack of each costs $5.

You add
baseServings: 10; targetServings: 10; ingredients: Flour | 1000 | g | 2 | 500 | g | 100 Carrots | 1000 | g | 3 | 400 | g | 80
You get
2.50 allocated batch cost for 10 servings

Supported inputs and limits

  • Use 1 to 100 ingredients and at most 100,000 characters.
  • Original and target servings are whole numbers from 1 to 100,000.
  • Ingredient names allow 80 characters.
  • Pack and edible quantities must be positive and at most 1,000,000,000; pack cost is nonnegative and at most 1,000,000,000.
  • Yield is greater than 0% and no more than 100%.
More details

Rows use seven nonempty pipe-separated cells.

Enter plain decimals with up to 12 decimal places and no grouping commas or currency symbols.

Supported labels are g, kg, oz, lb, mL, L, US fl oz, US cup and each.

Supplier and recipe units must both be mass, both volume or both each; no density is inferred.

US cup is the 8 US-fluid-ounce convention.

Scaled edible quantity is divided by yield to get raw requirement.

Allocated row costs round half up to cents before batch totals.

Whole packs are bought separately per ingredient row; there is no pantry-stock deduction or combined shopping optimization.

The rounded average serving cost need not multiply back to the batch total.

Tax, labour, nutrition and food-safety guidance are excluded.

Processing is local without automatic saving.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Questions about Recipe Cost and Yield Calculator

What does edible quantity mean?

It is the usable ingredient amount needed by the recipe. The raw requirement is larger when trimming or waste reduces edible yield.

Can grams be converted to milliliters?

No. The calculator converts within mass or within volume, but does not invent ingredient density. Each and weighed/measured units also remain separate.

Why is shopping cost higher than allocated recipe cost?

Allocated cost counts the fraction of each supplier pack consumed. Shopping cost rounds up to complete packs for each ingredient row.

Page updated · Project managed by Tony Hines · Report a problem with Recipe Cost and Yield Calculator