Enter your ingredients, batch size, and labor — and find out exactly what your food product costs to make, plus three ways to price it for profit.
Making food products to sell? Stocksmith tracks your ingredient costs and calculates your true COGS automatically — for every recipe, every batch.
Try free for 14 daysAdd up the cost of every ingredient in your recipe, divide by how many units the batch makes, then add labor and overhead. The formula is: Total Cost Per Unit = (Ingredient Cost ÷ Batch Size) + Labor Per Unit + Overhead. Your selling price should be at least 2–3× your total cost to build in a healthy profit margin.
Total Cost Per Unit
$0.46
Ingredient + labor + overhead — your break-even per unit
3× Cost
$1.39
Food cost: 33.3%
30% Margin
$0.66
Food cost: 70.0%
Custom Markup
$0.93
Food cost: 50.0%
3× cost = 33% food cost % • 30% profit margin = 70% food cost %
This calculator works out exactly what it costs to produce one unit of your food product — and gives you three different selling prices to help you decide how to price it. Here's what each field means.
Enter every ingredient that goes into one batch of your recipe. For each ingredient you need the quantity you use and the cost per unit of that quantity — for example, if you use 250g of flour and flour costs $0.004 per gram, enter 250 in the quantity field and 0.004 in the cost field. You can calculate cost per gram by dividing the price you paid by the total weight (e.g. a 1kg bag of flour for $4.00 = $0.004 per gram).
Don't forget packaging materials — jars, bags, labels, and boxes are real costs. Add them as ingredients with a cost per unit (e.g. "Jar lid" at quantity 1 and $0.25 cost).
Enter how many finished sellable units your recipe produces. For a jam recipe, that might be 6 jars. For cookies, it might be 24. For a batch of granola bars, maybe 12. Getting this number right is crucial — if your batch makes 10 units and you enter 12, every cost figure will be understated.
This is where most food businesses shortchange themselves. Enter the total time you spend on one batch — prep, cooking, portioning, labeling, cleanup — in minutes. Then set your hourly rate to what your time is genuinely worth. If you wouldn't work a market stall for free, don't make your products for free. $15–$25/hr is a common starting point, but your rate should reflect your experience, skill, and what your business needs to be sustainable.
Overhead covers costs that aren't captured per-ingredient: electricity, gas, rent or kitchen hire, insurance, market fees, website hosting, transportation. To estimate this as a percentage, tally your monthly non-ingredient business costs and divide by your monthly ingredient spend. A starting point of 15–20% is typical for home food businesses. Higher for those with commercial kitchen costs.
The calculator shows you three prices based on your total cost per unit:
Tired of recalculating by hand every time ingredient prices change? Stocksmith tracks your ingredient purchases and updates your recipe costs automatically. Your cost per unit stays accurate in real time — no spreadsheet required.
Try free for 14 days →Food cost percentage is the share of your selling price that goes to product costs (ingredients, labor, packaging, and overhead). It's calculated as:
Food Cost % = (Total Cost Per Unit ÷ Selling Price) × 100
For example: if your product costs $1.20 to make and you sell it for $3.60, your food cost percentage is 33.3%. That means 33 cents of every dollar you receive goes to production — and the remaining 67 cents covers your other business costs and profit.
Most food product businesses should target a food cost percentage between 25–35% of selling price to cover all materials, labour, and overhead.
Unlike restaurant operators who typically target 28–35% food cost percentages on ingredients alone, small food product businesses selling retail tend to think about the full cost stack including labor and overhead. Using this full-cost view:
| Business Type | Target Food Cost % | Equivalent To |
|---|---|---|
| Home food business (jam, sauce, baked goods) | 30–40% | 2.5–3.3× cost markup |
| Cottage bakery / home baker | 30–40% | 2.5–3.3× cost markup |
| Specialty food product (premium, artisan) | 25–35% | 2.9–4× cost markup |
| Wholesale to retailers | 40–50% | 2–2.5× cost markup |
| Farmers market / direct to consumer | 30–45% | 2.2–3.3× cost markup |
Note: these figures use full production cost (ingredients + labor + overhead) as the numerator, not ingredients only.
Let's walk through the default values in the calculator. You're making 12 shortbread cookies:
If $5.04 per cookie feels high for your market, the data is telling you something. Either your labor rate needs adjustment, your batch size needs to go up, or your market positioning needs to move upmarket. The numbers are honest — they just ask you to respond to them.
Want to understand how food costs connect to your year-end tax filing? Our guide to the COGS formula for manufacturers explains how to report your production costs on Schedule C.
Every gram and teaspoon matters when you're making food products to sell. Recipes made by eye — "a handful of this, a splash of that" — can't be accurately costed. Before you price anything, write down and weigh every ingredient in the recipe exactly as you make it. Your pricing is only as accurate as your measurements.
This is the single biggest reason food businesses end up working themselves into the ground. If you spend 90 minutes making a batch of 10 items and sell them for $5 each, you might technically be covering your ingredient costs — while paying yourself $0 for your time. Labor must be in every costing calculation. Always.
Butter, eggs, and flour prices fluctuate. A cost calculation done six months ago may no longer reflect what you're actually spending. Rebuild your cost calculations whenever you notice a significant change in your main ingredient prices. If you're using Stocksmith, this update happens automatically.
New labels, a new jar style, a specialty spice you bought for one recipe — these costs need to be spread across the batches they affect. If you bought 200 custom jars at $0.60 each, that's $0.60 per unit added to your cost. Don't absorb one-off costs into your personal spending; track them as business costs and include them in your pricing.
This calculator is ideal for working out the cost of a single recipe. Once you're making multiple products, buying ingredients in bulk, and trying to stay on top of changing supplier costs — manual calculations become a genuine time drain.
That's where Stocksmith food and beverage inventory software takes over. It tracks every ingredient purchase, calculates your recipe costs in real time based on what you actually paid, and shows you your exact cost per unit and COGS for every product you make. When egg prices go up, your recipe costs update automatically. When you run a batch, Stocksmith deducts the ingredients from your stock.
It also connects to Etsy, Shopify, and other sales channels — so your inventory updates every time an order comes in, without manual tracking.
See how Stocksmith works for food businesses →This calculator is for food producers who need accurate ingredient and recipe costs to set profitable prices and understand their true COGS.
This tool is built for anyone who makes food products to sell and needs to price them based on actual costs — not guesswork or competitor copying. Specifically, it's useful for:
If you want to track costs automatically across multiple recipes and see your real-time profit per batch, that's where Stocksmith comes in. For a quick per-product cost check, this calculator gives you everything you need.
Food cost percentage is the proportion of your selling price that goes to the cost of making the product. It is calculated as: (total cost per unit ÷ selling price) × 100. For example, if a jar of jam costs $1.50 to make (ingredients, labor, packaging, overhead) and you sell it for $4.50, your food cost percentage is 33.3%. For food product businesses selling retail, a food cost percentage of 30–40% is a healthy target when total production cost is used in the calculation.
To calculate cost per unit: first add up the total ingredient cost for one batch (quantity of each ingredient × cost per unit of that ingredient). Divide that total by the batch size to get ingredient cost per unit. Then add your labor cost per unit (total labor time in hours × hourly rate ÷ batch size) and your overhead cost per unit (subtotal × overhead percentage). The sum is your total cost per unit — the minimum you need to recover before adding any profit margin.
The 3x rule means pricing your food product at three times its total cost to produce. For example, if a product costs $2.00 to make (including labor and overhead), you price it at $6.00. This gives you a 33.3% food cost percentage and a 66.7% gross margin — enough to cover business expenses and build profit. The 3x rule is a useful starting point, but the right multiplier for your business depends on your sales channel, product positioning, and competitive landscape.
Yes. Stocksmith tracks every ingredient purchase you make and uses real purchase prices to calculate your recipe costs automatically. When you enter a manufacturing run, it deducts the ingredients from your stock and records the cost. Your cost per unit updates whenever ingredient prices change, and you can see your real COGS (cost of goods sold) across every product at any time — without manual recalculation. Stocksmith is designed specifically for small food businesses producing physical products to sell.
To calculate recipe cost: list every ingredient, weigh or measure the exact quantity used, and find the cost per unit (price paid ÷ total quantity in the package). Multiply each ingredient's quantity by its cost per unit, then total all ingredients to get the batch ingredient cost. Add labor cost (time × hourly rate), packaging, and a percentage for overhead. Divide by the number of units the batch produces. This gives you your cost per unit — use this calculator to do it in seconds. For ongoing tracking, understanding COGS is the next essential step.