Unit Price Calculator

Enter the price, quantity, and unit for two products to see which is the better deal per ounce, pound, gram, liter, or item.

Please enter a price and quantity greater than 0 for both products.

FigureValue

Divide each product's price by its quantity, converted to a shared unit — whichever number comes out lower is the better deal, and the percentage gap tells you by how much.

The Formula

Unit price = total price ÷ quantity, but that only means something if both products are measured the same way. A 16 oz bag priced at $5.00 and a 1 lb bag priced at $4.00 look hard to compare at a glance, so this calculator first converts both quantities into a shared unit before dividing. For weight, it uses exact conversions (1 lb = 16 oz = 453.59237 g, 1 kg = 1000 g); for volume, exact conversions too (1 fl oz = 29.5735295625 ml, 1 L = 1000 ml). When both products use the same measurement system (both imperial weight, or both metric weight, for example), the result is shown in the more natural unit for that system — ounces for imperial weight, grams for metric weight, and the same logic for volume. If the two products are measured in genuinely incompatible ways — one by weight, the other by volume, for instance — there's no valid conversion between them, so the calculator says so instead of guessing.

Example: 16 oz for $5.00 vs. 1 lb for $4.00

Product A: $5.00 for 16 oz → $5.00 ÷ 16 = $0.3125 per ounce. Product B: $4.00 for 1 lb, which converts to 16 oz → $4.00 ÷ 16 = $0.25 per ounce. Product B is cheaper per ounce, and the gap is (0.3125 − 0.25) ÷ 0.3125 = 0.20, or 20% less than Product A per ounce — even though Product B's sticker price is the lower of the two anyway, this is the case where unit price and sticker price agree. The calculator becomes genuinely useful when they don't: a bigger, pricier package is very often the better per-unit deal, but not always, and a quick glance at the shelf tag can't always be trusted to use the same base unit for both.

Frequently Asked Questions

Why doesn't the unit list include cups, tablespoons, or other cooking measures? This calculator sticks to the units printed on most retail packaging — weight in oz/lb/g/kg and volume in fl oz/ml/L — to keep the comparison unambiguous. Convert a recipe measure to fluid ounces or milliliters first if you need to compare it against a packaged product.

What if one product is priced per item, like a 12-pack of the same snack? Set both products' unit to "Item(s) / each" and enter the pack count as the quantity — the calculator will compare price per individual item, which is usually the fairest way to compare multi-packs of different sizes.

Can I compare a liquid to a solid, like sauce in a jar versus a spice in a shaker? Not directly — weight and volume measure different physical properties, and there's no universal conversion between them without knowing the product's density. The calculator will flag this instead of producing a misleading number.

Limitations

This tool compares raw price per unit only. It doesn't account for product quality, concentration (a concentrated cleaner used at half the dose isn't twice the value it looks like on paper), coupons or loyalty pricing, or whether you'll actually use the larger size before it expires or spoils. A lower unit price is only a better deal if you needed that much of the product in the first place.

Related calculators

Log Board Foot Calculator

Enter a log's small-end diameter and length to compare its estimated lumber yield under the Doyle, Scribner, and International 1/4-inch scaling rules.

Pipe Slope Calculator

Get the total fall and grade percentage for a drain pipe run, checked against IPC/UPC code minimums.

Pond Liner Size Calculator

Enter your pond's dimensions to get the exact liner size you need to buy.

Chicken Coop Size Calculator

Enter your flock size and breed mix to get the indoor coop space and outdoor run space your chickens need.