Cost Per Serving Calculator
Work out what a recipe costs to make and what each serving costs. Enter how much of each ingredient you used, the size of the pack you bought, and what you paid. The calculator does the pack-to-portion math, converts the units, and shows what is left in every pack.
At a glance
| What it does | Works out what a recipe actually costs to make, ingredient by ingredient. |
|---|---|
| Inputs | Recipe servings plus each ingredient's quantity used, pack size, and pack price; mass and volume units convert automatically. |
| Outputs | Total recipe cost, cost per serving, per-ingredient cost breakdown, and leftover analysis for partially used packs. |
| Cost & privacy | Free, ad-free, no signup. Runs entirely in your browser — nothing is uploaded. |
Example loaded: spaghetti with meat sauce for four. Edit any row, or start fresh with your own recipe.
Next Steps for Your Cook
How to calculate cost per serving
Knowing what a dish costs to make is the difference between guessing at a menu price and setting one with confidence. The math is simple in principle — divide the cost of every ingredient you used by the number of servings — but it gets fiddly fast, because you rarely use a whole package of anything. You buy a five-pound bag of flour and use 300 grams of it; you buy a dozen eggs and use three.
Ingredient cost = pack price × (amount used ÷ pack size)
Cost per serving = total ingredient cost ÷ number of servings
This calculator handles that proportion for you. For each ingredient you enter how much you used, the size and price of the package you bought it in, and it works out the true cost of just the portion that went into the dish. Add a waste allowance to account for trim, spoilage, and spills, and you get a total recipe cost and a per-serving figure you can actually build a price around. Everything stays in your browser — no accounts, no data leaving your device.
A worked example: spaghetti with meat sauce for four
Say you make spaghetti with meat sauce for four. You used one pound of ground beef out of a three-pound pack, most of a box of pasta, a whole jar of sauce, one onion from a bag of three, and a couple of ounces of parmesan. Entered into the calculator, it looks like this (example prices, so use your own receipts):
| Ingredient | Used | Pack | Pack price | Cost |
|---|---|---|---|---|
| Ground beef | 1 lb | 3 lb | $14.97 | $4.99 |
| Spaghetti | 12 oz | 16 oz | $1.92 | $1.44 |
| Pasta sauce | 24 oz | 24 oz | $3.48 | $3.48 |
| Onion | 1 unit | 3 units | $2.49 | $0.83 |
| Parmesan | 2 oz | 8 oz | $6.00 | $1.50 |
| Total recipe cost | $12.24 | |||
| Cost per serving (4 servings) | $3.06 | |||
That is $12.24 for the pot and $3.06 a serving. The breakdown also shows what is still in each pack: two pounds of beef, two onions, and six ounces of parmesan you have already paid for, which is where the next meal's math starts.
Slide the waste allowance to 10% to cover trim and whatever stays behind in the jar, and the same meal comes to $13.46, or $3.37 a serving.
Cost per serving vs. price per serving
If you cook at home, the two are the same number: what a plate costs you. If you sell food, cost per serving is the floor and the price sits above it. A common rule of thumb is to price so that ingredients come to roughly 28% to 35% of the menu price, which means dividing the cost per serving by your target food cost percentage. At 30%, the $3.06 plate above prices at $10.20.
This calculator covers ingredients and waste only. Labor, packaging, and overhead sit on top, so treat the result as the line you cannot price below, not the price itself. To see what a given price leaves you, use the Profit Margin Calculator. For the whole method worked by hand, read how to calculate the cost per serving of a recipe.
Frequently Asked Questions
How do you calculate cost per serving?
Add up the cost of the exact portion of each ingredient you used, then divide the total by the number of servings the recipe makes. The tricky part is converting from the package you bought to the amount you used, which this calculator does automatically.
What is a waste allowance and why does it matter?
A waste allowance is a percentage buffer added to your ingredient costs to account for trim, peelings, spoilage, and spills. Most kitchens use somewhere between 5% and 15%, depending on how much prep loss a recipe involves.
Can I mix weights and volumes?
Yes, for common ingredients. If you measured by volume but the pack is sold by weight, or the other way round, the calculator converts using a built-in density for ingredients it recognizes by name, such as flour, sugar, butter, honey, milk, and oil, and notes the conversion in the cost breakdown. For an ingredient it does not recognize it flags a mismatch, so enter the amount used and the pack size in the same kind of unit instead.
Does this calculator save my data?
All calculations run locally in your browser. Nothing you enter is uploaded or stored on a server.
What is the formula for cost per serving?
Cost per serving equals total ingredient cost divided by the number of servings. The total is the sum, for every ingredient, of the pack price multiplied by the amount used divided by the pack size, plus any waste allowance.
What is the difference between cost per serving and price per serving?
Cost per serving is what the ingredients in one portion cost you. Price per serving is what you charge for it. At home they are the same number. If you sell food, a common approach is to divide the cost per serving by a target food cost percentage, often around 30%, to get a starting menu price.
Does the calculator include labor, packaging, or overhead?
No. It covers ingredient cost plus an optional waste allowance. Labor, packaging, utilities, and other overhead are not included, so add them separately when you set a selling price.
Can I use it as a recipe cost calculator for a bakery or small food business?
Yes. It works for any recipe: enter each ingredient's amount used, pack size, and pack price, set the number of servings or pieces the batch makes, and it returns the batch cost and the cost of each one. It is free, and nothing you enter leaves your browser.




