Unit price: compare sizes and find the best value
Reviewed 23 November 2026 · 5 min read · Written and maintained by Toolnexo
A bigger pack is not always cheaper per gram, and the shelf label can make two products look closer or further apart than they are. Unit price puts different sizes on the same footing: what you pay for 100 grams, a kilogram or a litre. This guide shows the sum, a few traps, and the cases where the lowest unit price is still not the best buy. The figures below come from the unit price calculator on this site, which runs in your browser, so your shopping list is not uploaded.
The calculation
Divide the price by the total amount in one unit, then scale to the amount you want to compare. Take 3.99 for 500 g and 7.49 for 1 kg. The first is 3.99 ÷ 500 = 0.00798 per gram, or 0.798 per 100 g. The second is 7.49 ÷ 1,000 g = 0.00749 per gram, or 0.749 per 100 g.
The 1 kg pack is cheaper per 100 g, and the 500 g pack costs 0.798 ÷ 0.749 − 1 = 6.5 percent more. That percentage is often easier to judge than two small decimals.
Count every pack in a multi-pack
A multi-pack is the size on the label times the number of packs: six cans of 330 ml is 1,980 ml. Compare three drinks priced per litre: a pack of six 330 ml cans at 2.50 is 1.26 per litre, a 2 litre bottle at 3.20 is 1.60 per litre, and a 1 litre bottle at 1.80 is 1.80 per litre.
Here the multi-pack is the cheapest, the 2 litre bottle costs 26.7 percent more per litre and the 1 litre bottle costs 42.6 percent more. Multi-packs of small items are sometimes cheaper than the large size, so check the unit price instead of assuming that bigger means cheaper.
Compare like with like
Weight and volume cannot be converted into each other without knowing the density, so a bag of rice in grams cannot be compared with a bottle of oil in millilitres. If you mix kinds, the calculator uses the first valid row to decide the kind and flags rows of another kind as not comparable.
Check the units too. The calculator uses US sizes for fluid ounces, pints, quarts and gallons. A US pint, quart or gallon is smaller than the UK imperial one, while a US fluid ounce is slightly larger than a UK one. One US fluid ounce is 29.5735 ml, one ounce of weight is 28.3495 g and a pound is 453.592 g.
Smaller packs, same price
When a pack gets smaller but the shelf price stays the same, the unit price rises even though nothing on the label looks different. If 3.99 for 500 g becomes 3.99 for 450 g, the price per 100 g goes from 0.798 to 0.887, an increase of 11.1 percent. Keeping the earlier unit price from your last shop is the easiest way to notice this.
When the lowest unit price is not the best buy
- Food that goes off before you finish it costs more per portion than a small pack you would use in full.
- Large packs need storage space and money upfront, which not everyone has.
- Quality, ingredients and the number of servings can differ. Per 100 g compares weight, not how much you actually get to use.
- Coupons, loyalty prices and bundles change the real price at the till. Enter the price you will actually pay.
Using the calculator
- Enter the price and size for each product, pick the unit, and use the Packs field when the price covers several packs.
- Choose how to show the result, for example per 100 g, per kilogram or per litre.
- Up to 8 products can be compared at once, and empty rows are ignored.
- The best value is marked and every other row shows how much more it costs.
Put it into practice
Unit Price Calculator
Compare the price per gram, kilogram, litre or item of products in different sizes and see which one is the best value.
Runs in your browserDiscount Calculator
Find the final price and exact savings for a percentage discount.
Runs in your browserPercentage Calculator
Calculate percentages four ways: a percentage of a number, one number as a percentage of another, the change between two values, and a nu…
Runs in your browserSales Tax Calculator
Add sales tax to a price or take it out of a tax-inclusive price, with quantity, combined state and local rates, and the tax shown separa…
Runs in your browserHow this guide is maintained
This page is reviewed when the related tools change. It describes what the published tools actually do: the tools run in your browser tab, so your files stay on your device. If you find something inaccurate, email [email protected] and it will be corrected.
Other guides
- How to merge PDFs without uploading them6 min · 17 November 2026
- OCR a scanned PDF: accuracy, limits and privacy7 min · 17 November 2026
- Compress a PDF without destroying readability6 min · 17 November 2026