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:

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:

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:

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:

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.
← Back to Your Online Helper