Unit price comparison calculator
When the same product is sold in several pack sizes, the headline price tells you little about value — a 500 g pack at £2.50 and a 1 kg pack at £4.20 can only be compared once both are reduced to a common price per unit. This calculator does that for you: enter the price and quantity of each option, pick the unit, and it shows the true cost per 100 g, per litre or per item, highlighting the cheapest in green.
How it works
Each item is normalised to a base unit before comparison: weight to grams,
volume to millilitres, and count to one item. The conversion factors are
exact (1 kg = 1000 g, 1 oz = 28.3495 g, 1 lb = 453.592 g, 1 L = 1000 ml,
1 US fl oz = 29.5735 ml, 1 US gallon = 3785.41 ml). The total base quantity is
quantity × factor, and the unit price is price ÷ base quantity. For
readability the result is scaled to a familiar display unit — per 100 g for
weight, per litre for volume, per item for count. Because a gram and a millilitre
are not interchangeable, only items measured the same way are ranked against each
other.
Example
Compare three options:
| Option | Price | Pack size | Price per 100 g |
|---|---|---|---|
| A | £2.50 | 500 g | £0.50 |
| B | £4.20 | 1 kg | £0.42 |
| C | £1.80 | 350 g | £0.51 |
Option B works out at 4.20 ÷ 1000 g = £0.0042/g, i.e. £0.42 per 100 g — the
best value, even though it has the highest sticker price. The smallest pack,
C, is actually the dearest per 100 g.
It is privacy-first: all the arithmetic runs in your browser and your prices never leave your device.