Works on this device
Unit Price Calculator
Work out what one unit of a product costs, and compare products that come in different pack sizes. You can mix grams, kilograms, ounces and pounds in one comparison, or millilitres, litres and fluid ounces.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use this calculator
- Choose Compare the unit price of several products in the first menu.
- Put each product on its own row: its price, the number of packs for that price, the amount in one pack, and the unit.
- For a multipack, type the number of packs and the amount in one pack. Six cans of 330 mL are 6 packs of 330.
- Choose Compare. The result names the cheapest product and shows the price for the same amount of each one.
- The other choices in the menu work out the unit price of one product, change a price for one unit into a price for another unit, and work out the cost of an amount.
The formulas
- Unit price = price ÷ (packs × amount in one pack).
- To compare, every amount is first changed to the same unit. The changes are exact: 1 lb = 453.59237 g, 1 oz = 28.349523125 g, 1 US fl oz = 29.5735295625 mL, 1 US gallon = 3785.411784 mL, 1 imperial pint = 568.26125 mL, 1 ft = 0.3048 m.
- More than the cheapest = (unit price − lowest unit price) ÷ lowest unit price × 100.
- Price for another unit = price for one unit × the number of those units in the other unit. A price for 1 kg is 1000 times the price for 1 g.
- Cost of an amount = amount, changed to the unit of the price, × price for one unit.
Worked example
A small jar of 340 g costs 2.49. A large jar of 1 kg costs 5.99. A twin pack of 2 jars of 12 oz costs 4.50.
Small jar: 2.49 ÷ 340 g × 100 = 0.732353 for 100 g. Large jar: 5.99 ÷ 1000 g × 100 = 0.599 for 100 g. Twin pack: 2 × 12 oz = 24 oz = 680.388555 g, so 4.50 ÷ 680.388555 × 100 = 0.661387 for 100 g.
The large jar is the cheapest. The small jar costs 22.26% more for the same amount, and the twin pack costs 10.42% more.
Another example: 350 g of cheese at 12.90 for one kilogram costs 0.35 × 12.90 = 4.515, which is rounded to 4.52.
Weight and volume are not the same
A product sold by weight cannot be compared with a product sold by volume. One litre of oil does not weigh the same as one litre of honey. To change between weight and volume you need the density of the product, and the tool does not have it. So it asks you to use units of one kind and does not guess.
US and imperial measures are different too. A US pint is 473.176473 mL and an imperial pint is 568.26125 mL. Choose the unit that is printed on the pack.
Limits you should know
- Unit prices are shown with 6 significant digits. The comparison uses the exact values, before rounding.
- The cost of an amount is rounded to the nearest cent. Half a cent is rounded up.
- The lowest unit price is only the best buy if you will use the whole pack and the products are of the same quality.
- The tool has no prices of shops, carriers or energy companies. You type every price.
- To compare offers with delivery, coupons and the amount you really need, use the Purchase Comparison Calculator.
- Your numbers stay in this browser. They are not sent anywhere.