Unit Price Comparison Calculator

Quick answer: A $12.99 product in a 24-oz package costs $12.99 ÷ 24 = $0.541 per ounce; an $8.49 product in a 12-oz package costs $8.49 ÷ 12 = $0.708 per ounce. The first is cheaper by (0.708 − 0.541) ÷ 0.708 × 100 ≈ 23.5% per ounce. The rule is simple: unit price = price ÷ quantity, and the lower number wins — compare only in the same unit.

Grocery-store math made instant. This unit price comparison calculator takes two products — any prices, any package sizes — and shows the unit price of each, names the cheaper pick, and tells you how much you save per unit.

Enter your numbers

Product A

$

Product B

$

Your results

Cheaper product—
Savings per unit—

Exact for the prices you enter. Does not account for coupons, loyalty discounts, or spoilage of larger quantities. Both products must use the same unit.

How to use this calculator

Type the unit both packages use — oz, lb, grams, liters, whatever is on the label. Then enter each product's price and its quantity in that unit. Results update instantly: each product's unit price, the winner, and the per-unit savings percentage.

If the labels use different units (ounces vs pounds), convert one first — for example, multiply pounds by 16 to get ounces — then enter both in ounces.

How this is calculated

  • Unit price = price ÷ quantity.
  • Cheaper product = the one with the lower unit price (tie if equal).
  • Savings per unit = (higher unit price − lower unit price) ÷ higher unit price × 100.

No assumptions are involved: unit price is a direct division, so for the numbers you enter the result is exact rather than an estimate.

Worked example

Inputs: Product A $12.99 for 24 oz; Product B $8.49 for 12 oz.

Unit price A = 12.99 ÷ 24 = $0.541/oz; unit price B = 8.49 ÷ 12 = $0.708/oz. A is cheaper, saving (0.708 − 0.541) ÷ 0.708 × 100 ≈ 23.5% per ounce.

Reference data

This tool is pure math and uses no external data tables. No price or size figures are assumed — you enter both products' prices and quantities, and every result is derived directly from them.

Method & sources

The method is the standard unit-price definition (total price divided by quantity) plus a relative savings percentage — the same comparison printed on grocery shelf tags. All results are computed live in your browser.

  • No external data is used. Results are exact for the entered prices.

Frequently asked questions

How do I calculate unit price?

Divide the total price by the quantity: unit price = price / quantity. For example, $12.99 for 24 ounces gives $12.99 / 24 = $0.541 per ounce. Use the same unit for both products you compare.

Is the bigger package always the better deal?

No. Larger packages often have lower unit prices, but stores sometimes price sizes unevenly. Compare the unit price — price divided by quantity — and pick the lower number rather than assuming the bigger box wins.

Can I compare products sold in different units?

Only after converting to the same unit. You cannot fairly compare dollars-per-ounce with dollars-per-pound. Enter both quantities in the same unit (e.g., ounces) and the calculator does the rest.

How is the savings percentage calculated?

Savings % = (higher unit price − lower unit price) / higher unit price × 100. It tells you how much less you pay per unit by choosing the cheaper product.

Is this result exact or an estimate?

It is exact for the prices you enter: unit price is a pure division with no assumptions. It does not account for coupons, loyalty discounts, or whether you will use the larger quantity before it expires.

Related calculators