Per-Unit Cost Calculator

Split a batch into priced units: enter the batch cost and net weight and the unit size to get cost per unit, how many units the batch yields, and any leftover. Calculates in your browser.

Use the net product weight, not including jars or packaging.

Cost per unit

-

Units from batch-
Product per unit-
Cost per gram-
Leftover product-

Show the math

Dividing the batch cost by its net weight gives a cost per gram, which you scale to the weight of one unit and add packaging:

cost/g = batch cost ÷ batch weight  ·  per unit = unit weight × cost/g + container

Whole units are how many full fills the batch yields, with any short remainder left over:

units = ⌊batch weight ÷ unit weight⌋

This is your material cost per unit, the basis for pricing, not the final price. Add your labour, overhead and a margin on top, and check any net-weight claim on your label against what you actually fill.

What this does

A per-unit cost calculator splits a batch into priced units: enter the batch cost and net weight and the unit size to get cost per unit, units yielded, and any leftover.

How to use it

  1. Enter the batch cost and net weight.
  2. Enter the unit weight.
  3. Add any container cost.
  4. Read the cost per unit and yield.

How it works

Units made is the net weight divided by unit weight, rounded down, with any short remainder shown as leftover. This is material cost only — add labour and margin.

cost per unit = batch cost ÷ net weight × unit weight

Understanding your result

This splits material cost across the units a batch actually yields, with any short remainder shown as leftover rather than a phantom extra unit. It is material cost only, so it is the starting point for a price, not the price itself, add your labour, overhead, packaging, and margin on top before you sell, or you are giving away your time.

Example

A $30 batch of 600 g into 50 g units is $2.50 per unit, 12 units.

Sources & methodology

Last updated .

Frequently asked questions

How is cost per unit found?

We divide the batch cost by its net weight for a cost per gram, scale that to one unit’s weight, and add any container or label cost.

How many units will a batch make?

It is the batch net weight divided by the unit weight, rounded down to whole units, with any short remainder shown as leftover.

Is this my selling price?

No, it is your material cost per unit. Add labour, overhead and a margin on top to set a price, and check your label’s net-weight claim against what you fill.

Is anything saved?

No. All calculations run locally in your browser.