Unit Price Calculator

The big box is not always the better deal. This free unit price calculator compares up to 3 products side by side — cereal, coffee, laundry detergent, anything with a price tag — and shows the true cost per ounce, pound, gram, liter, or each item. It crowns the cheapest option with a BEST DEAL badge and tells you exactly how much you save per package versus the worst deal on the shelf.

Compare Unit Prices

How to Use the Unit Price Calculator

Three short steps, standing right in the aisle:

  1. Enter each product's name, price, and quantity. The name is just a label — "store brand" versus "name brand" keeps the results readable. Type the shelf price as it is marked and the quantity exactly as printed on the package (18 oz, 24 count, 2 L, and so on).
  2. Pick the matching unit from the dropdown for each item: ounces, pounds, grams, kilograms, milliliters, liters, fluid ounces, or count/each. The third item is optional — compare two products, or all three, and leave the rest blank.
  3. Press Compare Prices. Every item gets its unit price shown to four decimal places, the cheapest earns a green BEST DEAL badge, and — when you enter two or more items — the calculator shows how much you save per package versus the most expensive option. You can also flip it around: enter the same product in the regular size and the bulk size to check whether the warehouse club is really a deal.

For the fairest comparison, measure every item in the same unit before you start: pounds versus ounces will distort the numbers, since a "per pound" figure is sixteen times larger than a "per ounce" one. If you run into mixed labels, convert first — 16 oz = 1 lb, 1,000 g = 1 kg, 1,000 ml = 1 L, 128 fl oz = 1 gallon — and enter the converted quantities.

Unit Price Formula

The math behind every unit-price tag is a single division. Take what you pay and divide it by how much you get:

Unit price = Total price ÷ Quantity

That is it — one division per product, and the lowest result wins. The calculator extends the same idea to savings: subtract the winner's unit price from the highest unit price, then multiply by the winner's package quantity. That gives you the dollars you keep in your pocket by choosing the best deal instead of the worst one on the shelf.

The division looks trivial, but humans are terrible at doing it mentally under fluorescent lighting with a shopping cart rolling past. A 42-oz bag at $9.49 versus an 18-oz box at $4.99 is a $9.49 ÷ 42 = $0.2260/oz race against $4.99 ÷ 18 = $0.2772/oz — the bulk bag is about 18% cheaper per ounce, but almost nobody computes that on the spot. Unit-price labels on shelves try to help, yet they round to whole cents, which hides differences that matter on large packages.

Worked Example

Two cereal boxes, side by side on the shelf. The 18-oz box costs $4.99 and the 24-oz box costs $5.99. Which is the better deal?

StepCalculationResult
1. Unit price of the 18-oz box$4.99 ÷ 18 oz$0.2772 per oz
2. Unit price of the 24-oz box$5.99 ÷ 24 oz$0.2496 per oz
3. Winner$0.2496 < $0.277224-oz box
4. Savings per box($0.2772 − $0.2496) × 24$0.66 per box

The 24-oz box wins at $0.2496 per ounce versus $0.2772 — and it saves you $0.66 per box compared with the smaller one. Buy cereal twice a month and that single switch keeps about $15.84 a year in your pocket, for literally reaching for the bigger box.

Notice the trap the example avoids: the 18-oz box has the lower sticker price ($4.99 vs. $5.99), so it feels cheaper. Unit price strips away that illusion. Marketers price small packages to look friendly; the math tells the truth.

Where Unit Price Comparison Pays Off Most

Unit-price math earns its keep on the products you buy over and over. Pantry staples (flour, rice, oats, sugar), coffee and tea, cooking oil, laundry detergent, dish soap, paper towels, toilet paper, pet food, and baby formula are the classic winners — price differences between sizes are large, and the savings compound every shopping trip. The same logic applies to count-priced items: trash bags, batteries, diapers, and vitamins, where "per each" is the only fair basis.

Watch for two retail tricks while you are at it. The first is shrinkflation: the package looks the same but the contents quietly drop from 16 oz to 14.5 oz while the price holds. Only unit price catches that. The second is the middle-size trap: the medium bag is priced so its unit cost sits above both the small and the large, nudging bargain hunters toward the large. Compare all three sizes and the trap disappears.

Limitations

Unit price is a powerful number, but it is not the whole decision. It does not account for quality — the cheapest per-ounce coffee may taste like it. It ignores spoilage and expiration: a gallon of milk at a great per-ounce price is a bad deal if half of it goes down the drain. It says nothing about storage space or the cash tied up in a jumbo pack. Coupons, rebates, and loyalty pricing change the effective price, so enter the price you actually pay, not the shelf sticker. And remember the golden rule of bulk buying: bulk is not always cheaper. Clearance on the small size, a coupon on the medium size, or an oddball price at a club store can flip the ranking — which is exactly when you reach for the calculator.

Guides for This Tool

The same compare-before-you-commit habit runs retirement saving: contribution ceilings decide how much can go in at all, and the 401(k) contribution limits for 2026 lay out the IRS numbers, catch-up allowances and employer-match rules in one place.

Frequently Asked Questions

How do you calculate unit price?
Divide the total price by the quantity: unit price = total price ÷ quantity. For example, a $4.99 box of cereal that weighs 18 ounces costs $4.99 ÷ 18 = $0.2772 per ounce. The product with the lowest unit price is the cheapest deal, as long as the units match.
Is the bigger package always the cheaper deal?
No — bigger is cheaper most of the time, but not always. Manufacturers sometimes price the larger size higher per unit, which is exactly why comparing unit prices matters. This calculator shows you the per-unit cost of each size side by side so you never have to guess.
How do I compare products measured in different units?
Convert them to the same unit first. Within the US customary system, 1 pound = 16 ounces and 1 gallon = 128 fluid ounces; in metric, 1 kilogram = 1,000 grams and 1 liter = 1,000 milliliters. This calculator compares most accurately when every item uses the same unit — for example, all ounces or all grams.
Should I include coupons or sales tax in the price?
Enter the price you actually pay at the register after coupons, discounts, and any membership pricing — that is what your wallet feels. Sales tax is usually left out of unit-price math because the tax rate applies equally to every option you are comparing, so it does not change which one is cheaper.
What does "per 100 g" mean on store labels?
Many stores print unit prices scaled to a round base — per 100 grams, per kilogram, per liter, or per 100 count — so sizes can be compared at a glance. It is the same idea as this calculator: the raw numbers differ, but the ranking is identical. A lower "per 100 g" price always means a cheaper product.
Why does my store's unit price differ slightly from this calculator?
Shelf labels round to two decimals (cents), while this calculator shows four decimals. Rounding can flip a very close race: $0.2772 and $0.2749 per ounce both print as "28¢/oz" on a tag but differ by real money on a large package. Four-decimal precision is why the calculator wins close calls.

Related Tools