Free calculator

The cost per unit calculator, the number your margin math needs.

Type total cost and total units. Cost per unit updates live. No email, no gate, nothing leaves this page.

The calculator

Two numbers, and the answer moves as you type.

The boxes start filled with an illustrative example, not a benchmark. Replace it with your own numbers.

Your numbers.

Everything it took to get this batch of units, whatever you want to divide across them. A single purchase order, a shipment, a production run.

The number of units that cost was spent on.

Leave at zero to skip. Set this to see what a typical order made of this many units costs at this per-unit rate.

Your result.

Cost per unit

$15.00
$4,500.00 across 300 units

Every unit costs $15.00 once total cost is spread evenly across all 300 units.

Cost per 10 units
$150.00
Cost per 100 units
$1,500.00
Cost per 1,000 units
$15,000.00
Cost per order
n/a
cost per unit   = total cost / total units
cost per order  = cost per unit * units per order

This spreads one blended cost evenly across every unit. It says nothing about what should count as “total cost”, freight, duty and packaging can all belong in that number. The COGS calculator breaks that down.

See it on your own data Real numbers from your Shopify store, not a guess.

Other tools

More free calculators.

What this does not tell you

This is one blended cost, spread evenly across every unit you typed in. A real batch is rarely that even. Different shipments carry different freight rates, different suppliers charge different prices, and if any of that cost was paid in another currency, the exchange rate on the day you paid it changes the true dollar cost of that specific batch. Two batches of the identical product can carry a meaningfully different real cost per unit, and a single blended average hides that difference completely.

Treat the number above as a starting estimate for one batch, not a permanent per-unit cost that applies to every unit you will ever buy.

Questions

Common questions about cost per unit.

What should count as "total cost" in this calculator?

That is a real decision, not a fixed rule. At minimum it should include what you paid your supplier. Most businesses also add inbound freight, duty and packaging, since those costs are just as real and just as tied to the batch. If you want a fuller breakdown of what belongs in landed cost, the COGS calculator splits those pieces out individually instead of asking for one blended total.

Why does cost per unit change between batches?

Because the total cost and the total units rarely repeat exactly. A new shipment can carry a different freight rate, a supplier can raise or lower unit price, and if any cost is paid in a foreign currency, the exchange rate on the payment date changes the dollar cost too. Recalculating per batch, rather than relying on one number forever, is the honest way to use this tool.

Is cost per unit the same as price per unit?

No, and mixing them up is a common mistake. Cost per unit is what it costs you to have one unit ready to sell. Price per unit is what you charge a customer for it. The gap between the two, minus everything else it takes to make and ship a sale, is your profit.

How do I use this for a bulk purchase order?

Type the total dollar amount of the purchase order as total cost, and the quantity ordered as total units. If the order includes a separate freight or duty invoice, add that dollar amount into total cost too, so the per-unit figure reflects the full landed cost of that specific order rather than just the supplier's line-item price.

Does this include the cost of shipping the unit out to a customer?

No. This calculator only spreads whatever you type into "total cost" across your units, it does not add anything of its own. Outbound shipping to a customer is a per-order fulfilment cost, not a per-unit product cost, and belongs in a contribution-margin calculation instead.

Next

See this by SKU, automatically, from your own store data.

Upstream reads real per-order cost, real per-SKU landed cost, and real per-order shipping straight from your store, and nets ad spend and returns against it too. It is the connected version of the calculator above.