CPG Directory

Cost & Margin Calculator

From recipe to shelf price. Work out what one unit costs, what your first run costs, the price you need for your margin, and what the shopper pays after your distributor and the store take their share.

Free. Nothing is filled in for you, and nothing you type leaves your browser. It is saved on this device so you can come back.

1. Ingredients

Do you know what ingredients cost per finished unit, or do you want to build it from your recipe?

For each ingredient: what you pay for a package, how much is in it, and how much goes into one batch. We convert weight to weight and volume to volume.

–
–
–
Batch ingredient cost: $0.00

2. Packaging and making it

Per finished unit. Leave blank what doesn't apply.

3. Your run

One-time and run costs are spread across the units in this run.

4. Selling it

Shows what the shopper ends up paying, and what you keep.

How the math works

  • Ingredient cost = price paid ÷ package size × amount used per batch. Per unit = batch cost ÷ units per batch. Waste: divided by (1 − loss %).
  • Cost per unit before one-time costs = ingredients + packaging + co-packing fee or your own labor, plus your cushion.
  • Total run cost = units × that cost + setup, testing, freight, storage and anything else. Cost per unit, this run = total ÷ units. Selling at that price only breaks even.
  • Wholesale price for your margin = cost per unit ÷ ((1 − margin) × (1 − promo − broker − spoilage)). A 40% margin with no deductions divides by 0.6.
  • Distributor and shopper price = your price ÷ (1 − distributor margin), then ÷ (1 − retailer margin). Margin means a share of the selling price, not a markup on cost.
  • Units to cover one-time costs = one-time and run costs ÷ (what you keep per unit − cost per unit before one-time costs).
  • Not included unless you add them: slotting fees, marketing, insurance, your own time, and sales tax.

Next: more free tools · find a co-packer in the Directory · look up a term in the Glossary

This is general information, not legal, tax or accounting advice.