recipe cost calculator — know your real margin
Most food makers price by gut feel and quietly lose money on labor and packaging. Enter what you actually pay for each ingredient, what a batch uses, and your batch costs — and see your true cost per unit and gross margin instantly. Free, no signup.
For a 30% gross margin, price at $0.00 · for 50%, price at $0.00.
The math this uses
Each ingredient line computes (amount used ÷ amount purchased) × price paid. Ingredient costs sum into the batch, labor and overhead are added per batch, and the total divides across the units your batch makes:
unit cost = (ingredients + labor + overhead) ÷ units per batch + packaging per unit
Gross margin is then (price − unit cost) ÷ price. The two suggested prices under the results hit 30% and 50% margins — the common floors for wholesale and direct-to-consumer food respectively.
Three costing mistakes that sink food startups
- Forgetting your own labor. If a batch takes you three hours, cost those hours even while you're the only employee — otherwise the price collapses the day you hire.
- Costing at today's supplier price. Ingredients move. Re-run your costs quarterly, and when a price jumps, check which products it hurts most.
- Ignoring the retailer's cut. Wholesale means the store takes 30–50% on top of your price. Work backwards from the shelf price you believe the product can command.
nutrillius · free to build
Costing is built into the label maker
Inside Nutrillius, costing sits next to your recipe: it converts units by ingredient density (buy in pounds, use in cups), updates as you tweak the formula, and lives alongside your FDA nutrition label and spec sheet.
open the label maker — free →no account needed · PNG · PDF · SVG from $39
frequently asked questions
How do I calculate the cost of a recipe?
For each ingredient, divide the amount your recipe uses by the amount you purchased, then multiply by the price you paid — e.g. a $12 bag of 25 lb flour used at 2 lb per batch costs (2 ÷ 25) × $12 = $0.96. Sum every ingredient, add labor and overhead for the batch, divide by the number of units the batch makes, and add per-unit packaging. That's your true cost per unit.
What gross margin should a food product have?
Direct-to-consumer food brands typically target 50%+ gross margin; wholesale into retail usually needs your cost to be ~50% below wholesale price, because the retailer takes 30–50% margin on top. If your margin is under 30% at your planned price, either the recipe cost or the price needs to move before you scale.
What counts as overhead for a food batch?
Anything you pay to produce that isn't an ingredient or packaging: commercial kitchen rental by the hour, utilities, insurance allocated to the production day, cleaning supplies, delivery fuel. A simple method is to add up a month of these costs and divide by the batches you run per month.
Is this calculator free? Does it save my numbers?
Free, no account needed. This public version doesn't save — numbers live only in your browser tab. The version inside the Nutrillius label maker knows ingredient densities (so you can buy in pounds and use in cups), and costing will save with your product alongside its nutrition label.