Unit Price Calculator

Enter the price and size of two or more packs, in any mix of units, and see which is cheapest per kilogram, litre or piece, and by how much.

How it works

Each pack’s price is divided by its size after the size is turned into one unit: kilograms for weight, litres for volume, or pieces. A 500 g bag for 3.50 costs 7.00 per kg; a 1 kg bag for 6 costs 6.00 per kg.

The cheapest pack per unit is marked, and each other pack shows how much dearer it is in percent. The 500 g bag above is 16.67% dearer per kilogram.

Weight and volume cannot be compared without knowing how dense the product is, so the calculator refuses that mix rather than guess. Everything runs on this page.

How to use it

  1. 1 Enter the price, size and unit of the first pack.
  2. 2 Do the same for the second, and use "Add a pack" for more.
  3. 3 Read which pack is best value and how the others compare.
  4. 4 Check the table for the price per 100 g or 100 ml, as shelf labels often show it.

Good to know

  • Use the same kind of unit for every pack: all weights, all volumes or all counts.
  • For multipacks, enter the total size: 6 cans of 330 ml is 1,980 ml.
  • A bigger pack is not always cheaper per unit. Supermarket promotions on smaller packs often beat the big one.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Comparing packs that come in different sizes

A shop sells coffee in two sizes. A 500 g bag costs 3.50 and a 1 kg bag costs 6.00. The bigger bag costs more, but it holds twice as much. To compare them, put both on the same scale. The small bag is 3.50 for half a kilogram, so 7.00 per kilogram. The large bag is 6.00 per kilogram. The large bag is cheaper per unit, and the small bag is 16.67% dearer, because 7.00 is 1.1667 times 6.00.

Many shops print a unit price on the shelf label, but not always in the same unit. One label may say per 100 g and the one next to it per kg. Imported goods may come in ounces. This calculator turns every size into kilograms, litres or pieces first, so a 16 oz jar and a 450 g jar line up. The table also shows the price per 100 g or 100 ml, to match the labels you see in the shop.

Volume works the same way. A 330 ml can for 1.20 is 3.64 per litre. A 1.5 litre bottle for 2.00 is 1.33 per litre. A 12 fl oz can for 1.00 is about 2.82 per litre. Fluid ounces here are US fluid ounces; UK labels use a slightly smaller ounce, so convert those to millilitres first.

Some products sell by count: eggs, batteries, nappies. Use pieces as the unit. A box of 6 for 3.00 is 0.50 each, and a box of 12 for 5.00 is about 0.42 each.

The cheapest unit price is only a saving if you use what you buy. A family-size tub of yoghurt that goes off half-eaten costs more per spoonful than the small pot. Storage space and how soon you need the money matter too.

There are limits. The calculator does not compare a weight with a volume, because that needs the product’s density. It treats every pack as identical in quality, and it does not include delivery costs or loyalty discounts. It compares up to eight packs at a time.

Frequently asked questions

How do I work out the unit price?

Divide the price by the size. A 750 g box for 4.50 is 4.50 / 0.75 = 6.00 per kg. Turn every size into the same unit first.

Can I compare grams with ounces?

Yes. Ounces and pounds are turned into kilograms, using 1 oz = 28.35 g and 1 lb = 453.59 g, so all packs are compared on one scale.

Why can I not compare a kilogram with a litre?

A litre of honey weighs about 1.4 kg and a litre of oil about 0.9 kg. Without the density of the product, there is no fair conversion, so the calculator asks you to use one kind of unit.

Which fluid ounce does it use?

The US fluid ounce, about 29.57 ml. The UK fluid ounce is about 28.41 ml, so for UK labels convert to millilitres first.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.