Home › Guides › Cartons and cases to units
Cartons, cases and dozens to units in Shopify: quantity and cost per item
Your supplier bills "3 CS" at $86.40 a case; Shopify needs 72 units at $3.60 each. Get the conversion wrong and your stock count, your cost per item, and every margin report built on them are off.
The two numbers you need
Shopify counts stock in single sellable units: one variant, one unit. Suppliers bill in packs. For each line, work out:
- Units = packs on the bill × units per pack
- Cost per item = line total ÷ units
Use the line total rather than the pack price, so any line discount on the invoice is included in your cost.
Worked examples
| Bill says | Units per pack | Units to add | Line total | Cost per item |
|---|---|---|---|---|
| 3 CS cold brew cans | 24 | 72 | $259.20 | $3.60 |
| 2 DZ beeswax candles | 12 | 24 | $102.00 | $4.25 |
| 5 PR wool socks | 1 pair = 1 unit | 5 | $47.50 | $9.50 |
| 1 CTN of 6 boxes × 10 pens | 60 (if you sell single pens) | 60 | $36.00 | $0.60 |
The made-up items above show the common cases. Note the last one: what counts as a "unit" depends on what you sell. If you sell boxes of 10 pens, the carton is 6 units at $6.00, not 60.
Abbreviations you'll see on bills
- CS case, CTN carton, BX box, PK pack: size varies by supplier and product.
- DZ / DOZ dozen (12), GR gross (144).
- PR pair: usually one sellable unit.
- EA / PC / PCS each: already single units.
Case sizes aren't standard: one supplier's case of sparkling water is 12, another's is 24. Write the size down per supplier and product, not per product name.
Rounding
When the line total doesn't divide evenly ($10.00 for 3 units is $3.333…), the cost per item is rounded to the cent. The difference is a fraction of a cent per unit; keep the invoice as your record of what you actually paid.
Tax and shipping
Leave out sales tax or VAT you can reclaim: cost per item should be what the product really costs you. Freight charged as a separate line can be spread across the units if you want landed cost; most small stores keep it separate and use the product cost alone.
Doing it automatically
SnapBillToStock reads the pack on each bill line and shows the conversion on the line before anything reaches Shopify, for example "2 CTN × 12 = 24 units". Dozens and pairs convert on their own. For cartons and cases you enter the size once per supplier and product, and it's remembered for the next bill. The push waits until every carton line has its size, so a case never goes into Shopify as one unit.
Related: how to add a supplier invoice to Shopify inventory.
Questions
How do I add a case of products to Shopify inventory?
Multiply the cases on the bill by the units in each case and add that many units to the variant at the receiving location. Shopify counts single sellable units, not cases.
How do I work out cost per item from a case price?
Divide the line total by the number of units. A $259.20 line for 3 cases of 24 is 72 units at $3.60 each.
Can Shopify sell both single units and cases of the same product?
Shopify has no built-in pack conversion. Stores that sell both usually make them separate variants or products and track their stock separately.
What if the supplier's case size changes?
Update the units per case for that supplier and product before you add the next delivery. In SnapBillToStock you edit the size on the line and the new size is remembered.
Stop typing bills into Shopify
SnapBillToStock reads supplier bills (photo, PDF, CSV or Excel), matches every line to your products, and updates products, costs and stock after you review. Your first 5 uploads are free.