Tutorial

How to calculate recipe cost per serving (with a worked example)

You used two tablespoons of a $9 bottle of oil and all of a $1.20 can of beans. How to calculate recipe cost per serving, without the mistakes that skew the total.

By Crumb Editors5 min read

Here's a puzzle. Your pasta uses 30 ml from a bottle of olive oil, and it uses a can of beans, drained, with the liquid poured down the sink. Which ingredient gets charged its full price?

The beans. The oil you didn't use is still in the cupboard, ready for next week's dinner. The bean liquid is gone, and you paid for it anyway. Get that one idea straight and you can calculate recipe cost for anything, whether you're printing "$1.18 a serving" on a budget recipe or just wondering what Sunday's lasagna really costs.

This is the same approach Budget Bytes uses for every recipe on its site, and the method commercial kitchens use: count what the dish used, not every package you bought.

The formula for each ingredient

For each ingredient, you need three numbers from the package and your recipe:

Ingredient cost = price × amount used ÷ amount in the package

Before you divide, make sure both amounts use the same unit. Grams with grams, millilitres with millilitres. If your recipe says "2 tablespoons" and the bottle says 750 ml, convert first: a tablespoon is about 15 ml. Budget Bytes has a handy shortcut for this: the nutrition label often says how many tablespoon servings are in the bottle, so you can just divide the price by that number.

A worked example: pasta and beans for four

Here's a simple pasta and bean dish that serves four, with round example prices in US dollars.

IngredientPackage pricePackage sizeAmount usedCalculationCost
Dry pasta$2.40500 g300 g2.40 × 300 ÷ 500$1.44
Canned beans$1.20240 g drained240 g drained1.20 × 240 ÷ 240$1.20
Canned tomatoes$1.60400 g400 g1.60 × 400 ÷ 400$1.60
Olive oil$9.00750 ml30 ml9.00 × 30 ÷ 750$0.36
Salt$0.90750 g10 g0.90 × 10 ÷ 750$0.012
Dried oregano$1.8020 g1 g1.80 × 1 ÷ 20$0.09

Add them up:

$1.44 + $1.20 + $1.60 + $0.36 + $0.012 + $0.09 = $4.702 for the batch

Then divide by the servings:

$4.702 ÷ 4 = $1.1755, so $1.18 per serving

Notice the salt costs just over a cent. Keep fractions of a cent until the very end, then round. Rounding each line first can nudge the total by a few cents, and on a recipe with twenty ingredients that adds up.

Why the beans cost the whole can

This is the line most people get wrong. The can says 400 g on the label, and the recipe uses 240 g of drained beans. So it's tempting to do this:

$1.20 × 240 ÷ 400 = $0.72

That's 48 cents too low. It treats the drained liquid as if it were still sitting in the pantry, waiting for another recipe. It isn't. You bought the whole can and the dish used everything in it worth keeping.

The fix is to divide by the usable amount in the package, which here is the 240 g of beans left after draining. The culinary textbook Basic Kitchen and Food Service Management makes the same point about brines, peel and trim: any waste has been paid for, so it belongs in the cost.

The same thinking applies to anything you peel, trim or drain. If you buy a 1 kg bag of potatoes and peeling leaves 850 g, divide the bag's price by 850 g instead of 1,000.

Compare that with using half the drained beans. Then the other 120 g really is left over for another meal, and this recipe's share is $1.20 × 120 ÷ 240 = $0.60.

Optional extras get their own line

Say the recipe suggests a little grated cheese on top: 20 g from a $3.60, 200 g block. That's $3.60 × 20 ÷ 200 = $0.36.

Show it both ways so readers can choose:

  • Without cheese: $4.70 per batch, $1.18 per serving
  • With cheese: $4.702 + $0.36 = $5.062, so $5.06 per batch, $1.27 per serving

If the cheese isn't optional, it goes in the main total. A required ingredient that disappears from the cost is how "budget" recipes lose readers' trust.

Your recipe cost isn't your grocery bill

Starting from an empty kitchen, you'd have to buy one of everything in that table: $2.40 + $1.20 + $1.60 + $9.00 + $0.90 + $1.80 = $16.90, or $20.50 with the cheese. That's a real number, and a very different one from $4.70. The difference is all the pasta, oil, salt and oregano you'll still have afterwards.

Both answers are useful. Recipe cost tells you what this dish costs to make. The shopping total tells you what you'll spend at the store today. If you publish budget recipes, it can help to say which one you're showing.

Use a recipe cost calculator to do the adding

The free recipe cost calculator does this arithmetic for you. Paste your ingredient list, then add each package's price and size and the number of servings. It converts between grams, kilograms, ounces and pounds (and between millilitres and litres), keeps the unrounded totals, and gives you cost per batch and per serving. It remembers your prices for next time, and you can download the results as a spreadsheet file to keep with your recipe notes.

Two tips for using it well:

  • Drained or trimmed ingredients: enter the usable amount as the package size (240 g for those beans), as above.
  • Cup measurements: for flour, sugar, butter and 90 other common ingredients, the calculator converts cups to the package's grams for you. For anything else, convert first with our cups to grams converter.

If you publish the cost

Prices change by store, city and month, so put a short note next to the number. Fill in the brackets with your own details:

Estimated ingredient cost: $4.70 per batch, $1.18 per serving (serves 4). Prices from [your store], [month and year]. Optional cheese adds about $0.09 per serving.

Keep your worksheet with the receipts and package sizes. When prices change, you only need to update the one line that moved. If you make a bigger batch later, scale the recipe and cost the new amounts, since a bigger batch often still uses less than one bottle of oil. And when the recipe's ready to share, add the cost to your printable recipe card.

Ready to try it on your own recipe? Grab a receipt and open the recipe cost calculator.

recipe costingrecipe calculationsbudget recipes
← Back to the blog