Unit Price Calculator

Compare prices of products in different sizes to find the best value. Calculate price per unit for smarter shopping decisions.

How the Unit Price Calculator works

Compare the price per unit of several products, such as two sizes of the same item, and see them listed from cheapest to most expensive per unit. Each product's unit price is its price divided by its quantity.

  1. For the first product, enter a Product Name (optional), the Price, the Unit (such as oz, lb, ml or count) and the Quantity in that unit. Quantity starts at 1, and decimals such as 0.5 work.
  2. Click Add Product to add another row and fill it in the same way.
  3. Read the Price Comparison, which is sorted by Price per Unit with the lowest first (on a phone it's a list with each product's price per unit beside its name). Rows missing a price or quantity show a dash and sit at the bottom, and a negative price or quantity shows a message under its row.
  4. Use the trash button on a row to remove it. The last remaining row can't be removed.

How unit price is calculated

Price per unit = price ÷ quantity, displayed to the nearest cent.

The table is sorted on the unrounded value, so when two unit prices round to the same cent, the one listed first is still slightly cheaper. A row with a blank price, or a blank or zero quantity, has no unit price and is listed last.

Worked example

Compare a 16 oz box at $4.99 with a 28 oz box at $7.49. The unit prices are $4.99 ÷ 16 = $0.31 per oz and $7.49 ÷ 28 = $0.27 per oz, so the 28 oz box is listed first, about 4 cents an ounce cheaper.

Use the same unit for every product

The Unit field is only a label. The calculator doesn't convert between units, so 1 lb and 16 oz are not treated as the same amount. Before comparing, put every product in one unit: 1 lb = 16 oz, 1 L = 1,000 ml, 1 kg = 1,000 g.

Frequently asked questions

How do you calculate unit price?

Divide the price by the quantity: $7.49 for 28 ounces is $7.49 ÷ 28, or about $0.27 per ounce. The calculator does this for every product you add and lists the lowest unit price first.

Can I compare products sold in different units?

Only after converting them yourself. The Unit box is a text label and isn't used in the math, so enter every product's quantity in the same unit (for example, enter a 2 lb bag as 32 oz) for a fair comparison.

Why do two products show the same price per unit?

Unit prices are rounded to the nearest cent for display, so $0.121 and $0.124 both show as $0.12. The table is still sorted by the exact value, so the first one listed is cheaper. For inexpensive items, a larger unit (per pound instead of per ounce) makes the difference visible.

Is the bigger package always the better deal?

No. Larger sizes are often cheaper per unit, but not always, especially when a smaller size is on sale. Enter both and the table shows which costs less per unit.

Does it account for coupons or sales tax?

Only if you include them in the Price you enter. If a $2 coupon applies to one item, subtract it from that item's price before comparing.

Similar Finance tools

3 related