A unit price is the price of one unit of a product, such as one ounce or one item. Shelf labels often show it in small print, but not always in the same unit from product to product, and online listings may leave it out. This calculator does the conversion for you. Type the price and size of up to four products, pick the units, and it works out the price per ounce (or per 100 g in metric mode), shows which product costs least and tells you how much cheaper it is.
How it works
Each size is first converted to a common base: grams for weight, millilitres for volume and single items for count. The price is divided by that base amount, then scaled to the unit shown. Weight and volume are never compared with each other, because a fluid ounce of oil does not weigh the same as a fluid ounce of honey. If you mix them, you get one comparison for weight and one for volume.
The formula is: unit price = price ÷ (size × packs), with the size converted to the unit shown. The conversions use the factors published by the National Institute of Standards and Technology: 1 ounce is about 28.35 grams, 1 pound is 453.59237 grams and 1 US fluid ounce is about 29.57 millilitres.
Worked example
Say a 12 oz pack costs $3.00 and a 24 oz pack costs $5.00. The first costs $3.00 ÷ 12 = $0.25 per ounce. The second costs $5.00 ÷ 24 = about $0.208 per ounce. The 24 oz pack is cheaper per ounce by about $0.042, which is 16.7% cheaper than the small pack. Put the other way round, the small pack costs 20% more per ounce. The default values in the calculator above show exactly this case.
What the result does not tell you
A lower unit price is a fact about cost, not a recommendation. It does not tell you whether the food will be used before it spoils, whether two products are the same quality or whether a sale price will last. The calculator is a way to check arithmetic quickly in a shop or while planning a grocery list. It is not financial advice.
If you also plan meals and shopping lists, our guides to the best grocery list apps and Instacart alternatives cover tools that show prices, and the explainer on grass-fed versus grain-fed beef shows why two products with the same name can differ in cost.
Read more
FAQ
Is the cheapest unit price always the best buy?
No. Unit price only compares cost per amount. A large pack that spoils before you use it can cost more than a small one you finish. Check how much you will really use and whether the product is the same quality.
Why can I not compare ounces with fluid ounces?
An ounce measures weight and a fluid ounce measures volume. How much a fluid ounce weighs depends on what is in it, so the calculator keeps weight, volume and count in separate groups instead of guessing.
What does the packs box do?
Use it when one price covers several packages of the same size, such as a 6-pack of 12 oz cans. Enter 12 oz as the size and 6 as the number of packs.
Does it send my prices anywhere?
No. The numbers stay in your browser. Nothing is saved, sent or tracked by the calculator.
Sources
- NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically (ounce, pound and fluid ounce conversion factors)