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.
Cost per unit
-
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
- Enter the batch cost and net weight.
- Enter the unit weight.
- Add any container cost.
- 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.
Related tools
Handmade Pricing Calculator
Price handmade goods properly: roll up materials, your paid time, overhead and packaging into a true cost, then apply wholesale and retail markups and see your profit. Calculates in your browser.
Yarn Yardage Calculator
Estimate how much yarn a knitting or crochet project needs from its finished size and yarn weight, total yards, metres, and how many skeins to buy. Runs in your browser.
Knitting Gauge Calculator
Turn your swatch gauge into the exact stitches to cast on and rows to knit for any finished size, and see your stitches and rows per inch. Calculates in your browser.
Fabric & Quilting Calculator
Work out backing and binding yardage for a quilt from its finished size and your fabric width, including how many panels and binding strips to cut. Runs in your browser.