How to calculate unit price per kg, litre or piece

A unit price tells you what you pay for one kilogram, one litre or one piece. It’s the fairest way to compare products sold in different pack sizes.

  • 4 min read
  • Updated November 2026

The formula

To find a unit price, divide the price of the pack by the total quantity in it. Quantity means the full amount in the pack, in kilograms, litres or pieces.

Unit price

Pack price ÷ quantity in the pack

Worked examples

Per litre, from a case

12 × 1 L case at CHF 17.40

CHF 17.40 ÷ 12 L

= CHF 1.45 / L

Per kg, from grams

500 g bag at CHF 4.20

CHF 4.20 ÷ 0.5 kg

= CHF 8.40 / kg

Per litre, from millilitres

6 × 330 ml at CHF 7.20

CHF 7.20 ÷ 1.98 L

= CHF 3.64 / L

Per piece

50 croissants at CHF 32.50

CHF 32.50 ÷ 50 pieces

= CHF 0.65 each

Converting units

Before you divide, convert small units into kilograms or litres so every price uses the same unit.

Unit conversions
FromToHowExample
grams (g)kg÷ 1,000750 g = 0.75 kg
millilitres (ml)L÷ 1,000330 ml = 0.33 L
centilitres (cl)L÷ 10070 cl = 0.7 L
decilitres (dl)L÷ 105 dl = 0.5 L

Common mistakes

  • Comparing pack prices. A cheaper pack often just holds less.
  • Mixing case and item prices. One list may price a case of 12, another a single bottle. Check which one each price is for.
  • VAT on one list but not another. Compare prices that either all include VAT or all exclude it.
  • Net weight versus drained weight. For tinned and jarred food, the drained weight is what you actually use.
  • Pieces of different sizes. Large and medium eggs both count as “one piece”. If sizes differ, compare per kg instead.

The quick way

UnitWise reads the pack size and unit from your supplier lists and works out the price per kg, litre or piece for every product, so you don’t have to.

Compare your supplier lists

See where your supplier lists could save you money.

Compare the lists you already have. It’s free, and your files stay on your device.