Unit Price Calculator
Price per unit across different package sizes, so the bigger box is not assumed cheaper.
Updated
Enter the size of one package and how many are in the pack. A tray of 12 cans at 330 mL is size 330, pack 12. Leave a row blank to compare fewer than four.
Option A
Option B
Option C
Option D
Cheapest per unit
Option D
$1.39 per L
- 1. Option D
- $1.39 / L
- 2. Option B
- $1.45 / L (+3.7%)
- 3. Option A
- $2.27 / L (+62.9%)
- 4. Option C
- $2.58 / L (+85.2%)
Option C costs $1.19 more per L than Option D, which is 85.2% more for the same amount of product.
Estimates for general information, not financial advice.
In short
How do you compare prices across different package sizes?
Divide the price by the total amount in the package, so every option becomes one number. On the four defaults here that gives $1.39, $1.45, $2.27 and $2.58 per litre, so the worst option costs 85.2 percent more than the best. The 1.5 litre bottle beats the 2 litre one: the largest package is not the cheapest.
A multipack has to be multiplied out first: 12 cans at 330 mL is 3,960 mL, not 330 mL, and that is the step shelf labels most often hide.
How to use the unit price calculator
Enter a price, the size of a single item, the unit that size is measured in, and how many items are in the pack. Repeat for up to four options. Rows you leave blank are simply ignored, so comparing two packages takes no more setup than comparing four.
The tool converts everything to one base measure, ranks the options from cheapest to dearest per unit, and reports how much more the worst option costs both per unit and as a percentage. Units can differ between rows: grams against pounds, or millilitres against litres, all normalise onto the same scale.
$1.39 / L
Best of the four defaults
the 1.5 L bottle at $2.09
$2.58 / L
Worst of the four defaults
the 500 mL bottle at $1.29
85.2%
Premium on the worst
for exactly the same product
The one input people get wrong is size. It is the size of a single item, not the total in the pack, because the pack count multiplies it out. A tray of 12 cans at 330 mL is entered as size 330 with a pack of 12, which the tool resolves to 3,960 mL. Typing 3,960 with a pack of 12 would multiply it twice.
The ranking is reported in one shared unit, chosen from the sizes you entered. Anything a kilogram or a litre and up is reported per kilogram or per litre. Smaller packages report per 100 grams or per 100 millilitres instead, so the difference between two spice jars does not disappear into a rounded cent.
- 1.5 L bottle at $2.09
- $1.39 per litre
- 2 L bottle at $2.89
- $1.45 per litre, 3.7% more
- 12 cans of 330 mL at $8.99
- $2.27 per litre, 62.9% more
- 500 mL bottle at $1.29
- $2.58 per litre, 85.2% more
- Cheapest per litre
- the 1.5 L bottle, not the 2 L one
The multipack is the second worst of the four here, which is the opposite of how a tray of cans is usually presented.
Working out a sale price first?
The discount calculator takes a price and a percentage off, adds tax after if you want it, and gives you the figure to bring back here as the price.
Open the discount calculator →The reason this is hard in the aisle rather than at home is the shelf tag. Unit-price labels exist, but the unit chosen varies between retailers and even between shelves in one store, so the same product can be tagged per 100 grams here and per kilogram there. Two tags in different units cannot be compared by reading them.
Do
- Enter the size of one item and let the pack count multiply it, rather than doing the arithmetic yourself.
- Include any size-specific discount in the price, since a sale on one package changes the ranking.
- Compare the same product, because a cheaper unit price on a different formulation is not a saving.
- Check the premium on the worst option, which is the number that tells you whether the choice matters.
- Re-run the comparison when the sizes change, because manufacturers resize packages more often than they reprice them.
Don't
- Assume the largest package wins; in the four defaults here the 2 litre bottle loses to the 1.5 litre one.
- Mix a weight against a volume in one comparison, since joining them needs a density the tool does not have.
- Trust two shelf tags in different units, because per 100 grams and per kilogram do not compare by eye.
- Buy the cheaper unit price on something perishable you will not finish before it spoils.
- Ignore the pack count on a multipack, which is the single most common way a comparison goes wrong.
The exact definitions this tool normalises with. Weight reduces to grams and volume to millilitres, and every factor below is exact by legal definition rather than rounded, so a pound and sixteen ounces always rank identically.
| Unit | Kind | Defined as | Base units used here |
|---|---|---|---|
| gram | weight | the base unit for weight here | 1 g |
| kilogram | weight | 1,000 grams | 1,000 g |
| pound | weight | exactly 0.45359237 kilograms | 453.59237 g |
| ounce | weight | one sixteenth of a pound | 28.349523125 g |
| millilitre | volume | the base unit for volume here | 1 mL |
| litre | volume | 1,000 millilitres | 1,000 mL |
| US gallon | volume | exactly 231 cubic inches | 3,785.411784 mL |
| US quart | volume | one quarter of a US gallon | 946.352946 mL |
| US fluid ounce | volume | one 128th of a US gallon | 29.5735295625 mL |
| count | count | one item, for anything sold by the piece | 1 item |
Is the bigger package actually cheaper?
Often, but not reliably, and the exceptions are not rare enough to ignore. The defaults on this page are one case: the 1.5 litre bottle at $2.09 works out to $1.39 a litre while the 2 litre at $2.89 works out to $1.45. Here is a second case, three box sizes of the same dry good.
Read it: Price per 100 g rises with every step up in size here: the 18 oz box costs 14.4 percent more per gram than the 12 oz, and the 24 oz costs 28.8 percent more.
Computed from price divided by total grams, with 1 oz taken as exactly 28.349523125 g.
Why shelf tags are hard to compare
Unit pricing on shelf labels is a real thing and a useful one, but the choice of unit is not uniform. One retailer may tag a sauce per 100 millilitres and another per litre; a store can tag pasta per pound on one shelf and per ounce on the next. The numbers are all correct, and none of them line up.
- Per litre
- $1.45
- Per 100 mL
- $0.14
- Per US gallon
- $5.47
- Per US fluid ounce
- $0.04
Every row is the same bottle at the same price. Only the reporting unit changed.
That is the whole difficulty of doing this in the aisle. A tag per 100 millilitres and a tag per gallon are not comparable by eye, the arithmetic to join them is not the kind anyone does standing up, and the two options are usually shelved a metre apart. Reducing everything to one unit is the only step that fixes it.
The formula, worked line by line
Unit price is one division, and the only difficulty is making sure the divisor is the whole package rather than one piece of it. Multiply the size of a single item by how many are in the pack, convert that to a base unit, and divide the price by it. Every option then carries one comparable number.
The reporting unit is picked from the sizes entered rather than fixed in advance. Once any package reaches a kilogram or a litre the ranking reports per kilogram or per litre; below that it reports per 100 grams or per 100 millilitres, so a small jar does not round to the same cent as its rival.
total = size of one item × items in the pack
base = total × base units per entered unit (g for weight, mL for volume)
unit price = price ÷ base
reported = unit price × 1,000 (per kg or per L)
reported = unit price × 100 (per 100 g or per 100 mL, small packages)
premium % = (this unit price − best unit price) ÷ best unit price × 100- Size of one can
- 330 mL
- Cans in the pack
- 12
- Total volume
- 330 × 12 = 3,960 mL
- Price
- $8.99
- Unit price
- $8.99 ÷ 3.96 L = $2.27 per litre
Against the best of the four defaults at $1.39 a litre, that is 62.9 percent more for the same drink.
When unit price is the wrong question
Unit price answers one question only: which option costs least per unit of product. It says nothing about whether you will use it all, whether it fits your storage, whether the larger size will still be good by the time you reach the bottom of it, or whether two products at the same unit price are really the same thing.
Questions people ask
Related guides
How Are Loan Payments Calculated? Amortization, Explained
One level payment, front-loaded interest — the formula worked by hand, the two levers you control, and why the smaller payment is often the costlier loan.
July 23, 2026 · 13 min read
How Does Inflation Work? The Math That Shrinks Money
One growth factor, two answers — what today's money will buy later, and how many future dollars it takes to keep up.
July 23, 2026 · 13 min read
How Is Sales Tax Calculated? Rates, Rules, and the Reverse Math
The combined-rate reality, the one-multiplication forward formula, and the division that pulls the tax back out of any total.
July 23, 2026 · 13 min read