Craftybase Stocksmith

Why?

Free Resources

Free Food Cost Calculator

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 days

How to Calculate Food Cost (Quick Answer)

Add 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.

(qty × cost/unit)
Name
Qty
Unit
$/unit
$
$
$

Not sure of your exact costs? Stocksmith calculates this automatically from your purchases in real time.

Labor (optional) ?

$
%
%

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 %

Ingredients/batch
$2.50
Ingredients/unit
$0.21
Labor/unit
$0.13
Overhead/unit
$0.05
Share this calculator

How to Use This Food Cost Calculator

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.

Ingredients

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).

Batch Size

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.

Labor

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

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 Three Pricing Options

The calculator shows you three prices based on your total cost per unit:

  • 3× cost — the traditional food industry rule of thumb. Multiply your total cost by 3 to arrive at your retail price. This gives you a 33% food cost percentage — a healthy target for food product businesses.
  • 30% profit margin — prices your product so that 30% of every sale is gross profit. Note: because this is applied to total cost including labor and overhead, your food cost percentage here will be higher (70%). This is fine — it reflects a different way of thinking about profitability.
  • Custom markup — enter your own markup percentage in the "Custom markup %" field. 100% = 2× cost. 200% = 3× cost.

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 →

Understanding Food Cost Percentage

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.

What Food Cost Percentage Should I Aim For?

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.

The Food Cost Formula — A Worked Example

Let's walk through the default values in the calculator. You're making 12 shortbread cookies:

  • Flour: 250g at $0.004/g = $1.00
  • Sugar: 100g at $0.005/g = $0.50
  • Butter: 100g at $0.010/g = $1.00
  • Total ingredient cost per batch: $2.50
  • Batch size: 12 cookies → ingredient cost per cookie: $2.50 ÷ 12 = $0.21
  • Labor: 45 minutes at $20/hr = $15.00 per batch ÷ 12 = $1.25/cookie
  • Subtotal per cookie: $0.21 + $1.25 = $1.46
  • Overhead at 15%: $1.46 × 0.15 = $0.22/cookie
  • Total cost per cookie: $1.46 + $0.22 = $1.68
  • At 3× cost: $1.68 × 3 = $5.04 per cookie

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.

Common Food Costing Mistakes

Costing from memory instead of measuring

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.

Leaving labor out entirely

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.

Using outdated ingredient prices

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.

Forgetting one-off costs

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.

When You Outgrow This Calculator

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 →

Who Should Use This Food Cost Calculator?

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:

  • Cottage food businesses making jams, sauces, baked goods, or preserves from home and selling at farmers markets, online, or direct to customers.
  • Home bakers selling cookies, cakes, breads, or specialty items and trying to figure out what to charge without undervaluing their time.
  • Small food manufacturers producing batches of packaged food products and needing accurate COGS for pricing, margin management, and tax reporting.
  • Food entrepreneurs at the product development stage who want to model profitability before committing to a recipe or pricing strategy.
  • Market stall owners selling homemade food products who want a quick sanity check that their prices are actually covering all their costs.
  • Meal prep businesses calculating per-serving costs to price subscription boxes or individual meals at a sustainable rate.

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 FAQs

What is food cost percentage?

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.

How do I calculate the cost per unit for a food product?

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.

What is the 3x rule for food pricing?

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.

Does Stocksmith calculate food cost automatically?

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.

How do I calculate recipe cost for a food business?

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.

Stop guessing your cost per unit

We've run product businesses too — spreadsheet explosions and all. Two to four emails a month on batch costing, keeping stock honest across channels, and running the numbers instead of guessing them.

    We take care of your data. Read our Privacy Policy.

    Small-batch operations

    Know what a batch actually costs

    Most product businesses work out their real cost per unit long after they've set the price. It doesn't have to go that way.

    Two to four emails a month on batch costing, reorder points, and keeping multi-channel stock honest — written for people who make things in batches.

    No spam, and one-click unsubscribe on every email. Read our Privacy Policy.