Toolstia / Unit price calculator
Compare unit prices
A bigger pack feels cheaper, but the label price alone does not tell you. One cereal box is 500 g and another is 1.2 kg. One juice is in litres and another in fluid ounces. This calculator turns each product's price and size into a price for the same amount, so the cheapest one is clear.
Enter the price, size and unit for two to eight products and read the table. The tool converts every product to a common amount: per 100 g for weights, per litre for liquids, per piece for counts, per metre for lengths and per square metre for areas. The cheapest is marked best value, and every other product shows how much more it costs than that one, as a percentage.
The sums run in your browser and nothing is sent anywhere. Use the same currency for every product, since the tool does not convert money.
Enter the price and size of two or more products to compare them.
How it works
- Enter the price and size of each product and pick its unit.
- Add more products if you need to, up to eight.
- Read the table. The cheapest is marked as best value.
Common amounts
Weights are compared per 100 g, liquids per litre, items per piece, lengths per metre and areas per square metre.
Mixed units
Kilograms, grams, ounces and pounds can be mixed, as can millilitres, litres, fluid ounces and gallons. You cannot compare a weight with a volume, and the tool says so.
How much more
Each product that is not the cheapest shows how much more it costs than the best one, as a percentage.
Beyond price
Cheapest per unit is not always best. Check expiry dates, how much you will actually use and quality.
A worked example with mixed weights
Product A costs 4.50 for 500 g. Product B costs 8.00 for 1.2 kg. Product C costs 2.10 for 12 oz. The tool converts each size to grams (an ounce is 28.349523125 g, so 12 oz is about 340.19 g) and prices 100 g of each. A comes to 0.90, B to 0.6667 and C to 0.6173.
C is the best value. B costs 8.0 percent more than C and A costs 45.8 percent more. The cheapest per 100 g was the smallest pack, which is the point of the tool: size alone is a poor guide.
Liquids and counts
For liquids the table shows the price per litre. A 1 litre bottle at 3.99 costs 3.99 per litre. A 64 fl oz bottle at 6.50 is 1.8927 litres (the tool uses the US fluid ounce, 29.5735295625 ml), which works out to 3.4342 per litre. The bottle sold in ounces is cheaper per litre, and the 1 litre bottle is 16.2 percent dearer.
For counts, a pack of 6 at 5.00 is 0.8333 per piece, and a dozen at 9.00 is 0.75 per piece, so the 6-pack is 11.1 percent more. Choose pieces for packs and dozen for dozens, and enter the number in each pack as the size.
Which units can be mixed
Weights can mix grams, kilograms, ounces and pounds. Volumes can mix millilitres, litres, US fluid ounces and US gallons. Pieces and dozens can be mixed with each other, as can metres, centimetres and feet, and square metres with square feet. A weight cannot be compared with a volume, and if you try, the tool shows an error saying the units measure different things.
The gallon and fluid ounce are the US ones. The UK imperial gallon and fluid ounce are different sizes, so convert first if your label is in imperial units.
How rows are treated
A row is used only if it has a price of zero or more and a size above zero. Rows left blank or with unreadable numbers are skipped without an error, so you can leave extra rows empty. If only one row is valid, it is shown on its own as best value, which is not a comparison. Names are optional; unnamed rows are called Product 1, Product 2 and so on.
Per-unit prices are shown with at least two and up to four decimal places. If two products have exactly the same unit price, both are marked as best value.
What the cheapest price does not tell you
Unit price assumes you will use all of what you buy. A large pack of fresh food that goes off before you finish it is not a saving. Check best-before dates, storage space and whether the product is the same quality, as concentrated and ready-to-use versions of the same product are not directly comparable. Multi-buy offers such as three for two also change the real price. Enter the offer total as the price and the combined size as the size.
For a final decision, also consider delivery fees, deposit charges and loyalty discounts, which the tool does not include.
When to use something else
If you want to compare the cost of a service or a plan over time, such as a phone contract, a different calculation is needed. To convert between units without any pricing, a unit converter is more direct. To work out the percentage difference between any two numbers, a percentage change calculator is a better fit.
Questions
Which currency?
Any. Use the same currency for every product.
Can I compare a 6-pack with a 12-pack?
Yes. Choose pieces and enter 6 and 12.
Is anything uploaded?
No. Your numbers stays in your browser and is never sent anywhere.
Why is the table in per 100 g and not per kilogram?
It is a common shop-shelf convention for small packs and keeps the numbers readable. Per litre is used for liquids. The ranking is the same either way.
How do I compare an offer like buy two, get one free?
Enter the amount you actually pay as the price and the total quantity you receive as the size. For three tubs of 200 g at the price of two, enter the price for two and 600 g.
Can I compare products priced in different currencies?
Not directly. Convert the prices to one currency first, using the exchange rate you will actually get, then enter them.
Why is one row missing from the table?
A row is skipped if its price or size is blank, negative or not a number, or if the size is zero. Fill in both boxes and it will appear.