Utility calculator
Unit Price Calculator
Compare two or more prices after converting the quantities into one unit. Ounces can be compared with pounds. Ounces cannot be compared with gallons, because that would need a density this page does not assume.
Unit price
Compare the prices
Result
Product A
$0.25 / oz
16 oz = 16 oz. 14.29% rounded above the lowest.
Product B
Lowest
$0.21875 / oz
2 lb = 32 oz.
How it works
Unit price is the price divided by the quantity. To compare products, both quantities are converted into the unit you choose and the price is divided by that converted quantity. The lower price per unit is marked.
Mass uses the international avoirdupois pound of 1 July 1959: 1 pound = 0.45359237 kg exactly, and 1 pound = 16 ounces. Volume uses the US gallon of exactly 231 cubic inches, which NIST publishes as 3.785411784 L. Cups, pints, quarts, and fluid ounces on this page are US measures. Length and area use the international inch of 0.0254 m.
The calculator converts only inside one family: mass, volume, area, length, or a count of items. It does not turn weight into volume, because that needs the product’s density. “Each” compares a price per item, such as a 12-count pack with a 20-count pack.
Formulas
The comparison divides each price by its quantity in the same unit. The factors are exact definitions, not measured samples.
- Unit price = price ÷ quantity in the comparison unit
- 1 pound = 16 ounces = 0.45359237 kg
- 1 US gallon = 128 US fluid ounces = 3.785411784 L
- 1 foot = 0.3048 m, so 1 square foot = 0.09290304 m²
Worked examples
16 oz for $4.00 is $0.25 / oz. 2 lb for $7.00 is $0.21875 / oz. The 2 lb price is lower.
2 lb = 32 oz, so the second price per ounce is 7 ÷ 32. One pound is exactly 16 ounces.
1 lb for $4.00 and 16 oz for $4.00 have the same unit price.
Both quantities are 16 ounces, and both prices are $4.00.
FAQ
How is unit price calculated?
Divide the price by the quantity. Sixteen ounces for $4.00 is $4.00 ÷ 16 = $0.25 per ounce.
Can I compare ounces and pounds?
Yes. Both are mass. One pound is exactly 16 ounces, so 1 pound at $3.50 is $3.50 ÷ 16 per ounce.
Why can’t I compare ounces with gallons?
Ounces of weight and gallons of volume measure different things. Converting one to the other needs a density for that specific product, and this page does not assume one.
Which gallon and which ounce are used?
The gallon, cup, pint, quart, and fluid ounce are US liquid measures. The gallon is the NIST value 3.785411784 L. The ounce and pound are the 1959 international avoirdupois units, with 16 ounces in a pound.