Wondering what that homemade dinner really costs? This free calculator turns your grocery receipts into a clear number: the total cost of a recipe, the cost per serving, and, if you sell food, your food cost percentage and a suggested price. Enter your own prices, and nothing you type leaves your browser.
How to use the calculator
- Name your recipe and set the servings. The cost per serving is the total divided by this number.
- List each ingredient. For every ingredient, enter the package size you bought (for example 500 g of pasta) and the package price (what you paid).
- Enter the amount the recipe uses (for example 300 g). The calculator works out the share of the package you used and what that share cost.
- Add a waste allowance if you like. Peeling, trimming and the odd spill all cost money. A few percent is a realistic cushion.
- Read your results. You get the total, the cost per serving and a breakdown that shows which ingredients take most of the budget.
The simple math behind it
For each ingredient, the cost is:
Ingredient cost = package price × (amount used ÷ package size)
For example, if a 500 g bag of pasta costs 2.00 and the recipe uses 300 g, the pasta costs 2.00 × (300 ÷ 500) = 1.20. Add up all the ingredients, add your waste allowance, and divide by the servings. The “Load an example” button fills in a small sample recipe so you can see this in action. The sample prices are only illustrations, so replace them with what you pay.
Mixing different kinds of units
Package labels and recipes often use different units: a bag of flour in kilograms and a recipe in cups, or eggs by the dozen and a recipe that needs grams. When the package and the recipe use different kinds of units (weight, volume or pieces), the calculator shows one extra field under that ingredient so you can enter a conversion. These approximate weights for one US cup are a useful starting point, and they vary a little by brand and how the ingredient is packed:
- All-purpose flour: about 120 g
- Granulated sugar: about 200 g
- Packed brown sugar: about 210 g
- Butter: about 227 g (two sticks)
- Rolled oats: about 90 g
- Uncooked white rice: about 185 g
- Honey: about 340 g
- Water or milk: about 235 to 240 g
For baking in particular, weighing ingredients is more accurate than measuring cups. Our guide to measuring cups versus grams explains why, and how different flours behave.
Understanding food cost percentage
If you sell what you cook, whether at a market stall, a bake sale or a small restaurant, the key number is your food cost percentage:
Food cost % = cost per serving ÷ selling price × 100
If a serving costs 1.50 to make and you sell it for 6.00, your food cost is 25%. Many food businesses aim for a food cost somewhere around the high-20s to mid-30s percent, because the rest of the price has to cover labor, rent, packaging, fees and profit. The right target depends on your business, so treat that as a rough guide, not a rule. Enter your own price in the calculator to see your percentage, or enter a target and it will suggest a price.
Keep in mind that the calculator covers ingredient cost only. It does not include gas or electricity, packaging, equipment, labor or delivery.
Ways to lower the cost per serving
- Find the biggest line item first. The breakdown chart shows where the money goes. Often one or two ingredients, such as meat, cheese or nuts, account for most of the cost.
- Compare unit prices, not package prices. Price per 100 g or per liter reveals which size or brand is actually cheaper.
- Buy staples in larger packs if you will use them before they spoil, such as rice, oats, dried beans and flour. Our guide to cooking dried beans shows how far a bag of beans goes.
- Cook what is in season, since produce is usually cheaper and tastes better.
- Waste less. Plan meals, use leftovers, and freeze extras. See our weeknight planning routine and what freezes well.
- Swap one expensive ingredient for a cheaper one that does a similar job, and test the result.
Frequently asked questions
Does the calculator know ingredient prices?
No. Prices change by store, season and country, so you enter what you actually pay. That keeps the result accurate for your kitchen.
Can I save my recipes?
Yes. Use “Save recipe” to keep a recipe in this browser, and “Load” to bring it back later. Saved recipes live in your browser’s local storage, so they will not appear on another device, and clearing your browser data deletes them. Use “Download CSV” if you want a permanent copy.
Is my information sent anywhere?
No. The calculation happens entirely in your browser. We do not receive or store the recipes or prices you enter.
Which currencies can I use?
The currency menu includes common symbols. It changes how amounts are displayed and does not convert between currencies.
Why is a “conversion” field showing under an ingredient?
The package and the recipe use different kinds of units, for example kilograms and cups. The calculator needs to know how much one cup (or one piece) weighs to compare them. Enter it once and the cost is calculated.
Costs are estimates based on the prices and amounts you enter. Actual costs vary with prices, waste and portion sizes.
