How to Calculate Unit Price (and Save Money at the Store)
Two packages of the same product sit side by side. One is bigger, one is
cheaper. Which one is actually the better deal? The only way to know for
sure is to calculate the unit price — the cost per ounce, gram, or liter.
It takes ten seconds and it pays for itself.
Try it now
Open the Unit Price Calculator
→
Enter prices and sizes for up to six products. See which one is cheapest per unit — instantly.
What unit price means
Unit price is the cost of one standard unit of something. Instead of
comparing "$4.99" to "$6.49," you compare "15 cents per ounce" to "13
cents per ounce." Once both numbers are in the same unit, the comparison
is apples-to-apples.
The formula is simple:
Unit price = Total price ÷ Total quantity
That's it. The trick is making sure the two quantities are in the same
unit before you divide. A 12-ounce box and a 500-gram bag are not directly
comparable until you convert one of them.
A worked example
You're comparing two boxes of cereal. The smaller box is 12 ounces and
costs $4.20. The larger box is 18 ounces and costs $6.00.
| Box |
Price |
Size |
Unit price |
| Small |
$4.20 |
12 oz |
$0.350 / oz |
| Large |
$6.00 |
18 oz |
$0.333 / oz |
The large box wins — 33.3 cents per ounce vs. 35 cents per ounce. It
costs more at the register, but you get more cereal per dollar. Over a
year of buying cereal, that difference adds up.
Why larger packages aren't always cheaper
Bulk buying usually saves money, but "usually" is doing a lot of work in
that sentence. Retailers know shoppers assume bigger is cheaper. That
assumption is sometimes wrong:
- Promotional pricing. A smaller size may be on sale this week, making it temporarily cheaper per unit than the larger size.
- Different product lines. A store-brand smaller package can beat a premium-brand larger package on unit price.
- Shelf-space economics. Retailers sometimes price larger packages higher per unit because they assume convenience shoppers won't do the math.
- Shrinkflation. Package sizes quietly shrink over time while prices stay the same. A "family size" from last year may not be the same size this year.
The only reliable answer is to check. Unit price comparison catches all
of these.
Comparing across different units
The tricky part is when two packages use different units. Common cases:
- Ounces vs. grams. 1 ounce = 28.35 grams.
- Pounds vs. kilograms. 1 pound = 0.4536 kg.
- Fluid ounces vs. milliliters. 1 fl oz = 29.57 mL.
- Cups vs. liters. 1 cup = 0.2366 L.
- Count vs. weight. A "12-pack" and a "16 oz bag" are not comparable unless you know the weight per item.
For most in-store decisions, the shelf tag already normalizes to a common
unit (usually price per ounce or price per 100 grams). But those tags
aren't always consistent across the whole store, and some stores don't
provide them at all. When in doubt, calculate it yourself.
When unit price is the wrong metric
Unit price is the right tool most of the time, but not always. A few
situations where the lowest unit price isn't the best choice:
- Perishables you won't finish. If a giant tub of yogurt goes bad before you eat it, you paid more per serving than you think. The cheapest option per ounce is only cheapest if you actually consume it.
- Storage constraints. A 50-pound bag of rice is cheaper per pound, but if you live in a studio apartment, that's not a real savings.
- Quality differences. Cheaper per ounce doesn't mean better. A $30 bottle of olive oil might be worth more than a $10 one, depending on what you're using it for.
- Variety. Buying the same flavor in bulk gets old. You're allowed to pay slightly more per unit for variety.
- Cash flow. Sometimes the smaller package is the right choice because $30 today is not the same as $30 spread over three months.
Unit price answers the question "which is cheapest per unit?" It doesn't
answer "which should I buy?" That's your call.
Where unit price helps most
Unit price is especially useful in a few common shopping scenarios:
- Paper goods. Paper towels, toilet paper, napkins — sizes vary wildly and "double rolls" mean nothing specific.
- Cleaning supplies. Laundry detergent, dish soap, and cleaning sprays come in containers whose sizes are hard to compare directly.
- Pantry staples. Rice, pasta, flour, sugar, and cooking oil are almost always sold in multiple sizes with different pricing.
- Coffee and tea. Package sizes vary and "extra-strength" claims don't map to a single number.
- Pet food. Large bags are almost always cheaper per pound, but the savings vary a lot by brand.
- Frozen foods. Family-size vs. single-serve, and "per piece" pricing varies enormously.
In each of these categories, the difference between the cheapest and the
most expensive option is often 20–40%. That's real money.
Using the unit price calculator
If you want to skip the arithmetic — or you're comparing several options
at once — the Unit Price Calculator
does the math for you. It handles up to six products and highlights the
best value automatically.
The tool takes the price, the quantity, and the unit. It calculates the
unit price for each row, badges the cheapest one, and shows you how much
cheaper it is than the most expensive option. It's the fastest way to
settle a "which one?" decision in the aisle.
Frequently asked questions
How do you calculate unit price?
Divide the total price by the quantity. For example, if a 32-ounce
bottle costs $4.80, the unit price is $4.80 ÷ 32 = $0.15 per ounce.
To compare two products, calculate the unit price of each and pick
the lower one.
Is a larger package always cheaper per unit?
No. Bulk buying usually saves money, but not always. Retailers
frequently price smaller packages at a lower unit cost as a
promotion, or price larger packages higher because they assume
shoppers won't check. The only way to know is to calculate the unit
price for each size and compare.
What is a unit price example?
Suppose a 12-ounce box of cereal costs $4.20 and an 18-ounce box costs
$6.00. The unit price for the first is $4.20 ÷ 12 = $0.35 per ounce.
The second is $6.00 ÷ 18 = $0.333 per ounce. The larger box is cheaper
per ounce, even though it costs more in total.
Why does the store sometimes list unit price already?
In many countries, unit price labeling is required by law on grocery
shelves. The small print on shelf tags usually shows the price per
ounce, per 100 grams, or per liter. This makes comparison easy — but
the store's chosen unit is not always the same across similar
products, so it's worth double-checking with a calculator if the
numbers seem close.
Does unit price work for comparing different brands or only different sizes?
Both. Unit price is useful for comparing different sizes of the same
product, different brands of the same product, and even unrelated
products sold in the same unit (like price per gram of protein in
different foods). It's the universal way to normalize price when
package sizes differ.