Unit price calculator
This unit price calculator compares products of different sizes by their price per unit, such as price per ounce. It converts sizes in different units, like pounds and kilograms, so you can compare fairly. Shoppers use it to find the better deal in a store or online.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
The short answer
Unit price is the price divided by the amount in the package, after every size is converted to the same unit, such as ounces. The lowest unit price is the cheapest per unit, even if its package costs more, but it only saves money if you will use all of it.
FormulaUnit price = price / quantity, with all sizes converted to one unit (for example 1 lb = 16 oz and 1 kg = 35.274 oz)
Worked exampleA 24 oz store brand at $3.49 costs $0.1454 per oz, which is 23% less per oz than a 1.5 kg warehouse bag at $9.99 ($0.1888 per oz), and a 2 lb name brand at $4.99 costs $0.1559 per oz.
Example
Store brand, 3.49, 24, oz Name brand, 4.99, 2, lb Warehouse bag, 9.99, 1.5, kg
- Unit price
- $0.1454 per oz
- Savings
- 23% less per oz than Warehouse bag
- Items compared
- 3
| Rank | Item | Price | Size | Per oz |
|---|---|---|---|---|
| 1 | Store brand | $3.49 | 24 oz | $0.1454 |
| 2 | Name brand | $4.99 | 2 lb | $0.1559 |
| 3 | Warehouse bag | $9.99 | 1.5 kg | $0.1888 |
Unit prices show up to four decimal places. Ounces, fluid ounces and gallons are US units.
How to use the unit price calculator
- Add one row per product with Item, Price, Quantity and Unit, such as Store brand, 3.49, 24, oz. Use Add item for more.
- Choose Compare per, or leave it on Automatic.
- Read the cheapest item per unit and the ranked table, cheapest first.
- Results update as you type. Press Run any time, then use Copy result or Download.
How it works
Unit price equals price divided by quantity after the size is converted to the comparison unit.
Weight units are oz, lb, g and kg. Volume units are fl oz, ml, l, gal, qt and pt in US measure. Count units include count, ct, each and pcs.
All items must be measured the same way, all by weight, all by volume or all by count.
Up to 10 items are allowed and unit prices show up to four decimal places. Prices can start with $, and a $ price may use thousands separators such as $1,000.00. Any other comma between digits is rejected so a number is never split by mistake.
Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.
Questions and answers
How do I calculate unit price?
Divide the price by the number of units. A $3.49 package of 24 ounces costs about $0.1454 per ounce.
Can I compare pounds with ounces or kilograms?
Yes. Enter each item in its own unit and the tool converts them to one comparison unit.
Can I compare a liquid with a solid?
No. Fluid ounces measure volume and ounces measure weight, so they cannot be compared without knowing the density.
Last updated November 1, 2026. Maintained by SnowRock. How our tools work
All 220 SnowRock tools