Unit price is the cost of a product per single, standardised unit of weight or volume, such as price per ounce, gram, pound, or kilogram. Instead of looking only at the sticker price on the shelf, unit price lets you compare different package sizes on a fair, apples‑to‑apples basis. For example, a small jar of peanut butter might be cheaper at the register, but the big jar could have a lower cost per ounce.
Supermarkets, warehouse clubs, and online grocery sites often show items in different sizes, brands, and packaging. Without converting those prices to a common unit, it is hard to know which one is actually the better deal. A clear unit price makes the comparison simple: lower unit price usually means better value, assuming the products are similar in quality and you will actually use what you buy.
Mathematically, the unit price is just the total price divided by the quantity:
If you pay $4.00 for 16 ounces of pasta, the unit price is $4.00 ÷ 16 = $0.25 per ounce. Our calculator automates that process and handles different measurement units for you.
The calculator is designed for quick comparisons while you plan a shopping trip, walk supermarket aisles, or compare options on an online grocery site. You can enter up to three items at once, each with its own price, quantity, and unit of measure. Behind the scenes, the tool converts every quantity to a common unit so that the unit prices are directly comparable.
The core steps are:
To keep every item on the same footing, the conversion uses standard relationships between units. For weight, the typical conversions are:
In symbolic form, if an item has price P and quantity Q in some unit that is converted to Qbase in a shared base unit, then the unit price is:
This ensures you are always comparing like with like, even when one label is in grams and another is in ounces.
You can repeat the process for as many products as you like. This is helpful when you are comparing bulk sizes from a warehouse club against regular‑size items from a standard supermarket, or comparing multiple online grocery listings where the unit price is not obvious.
Suppose you are choosing between two boxes of cereal:
For Item 1, the unit price is:
$3.50 ÷ 12 oz ≈ $0.29 per ounce.
For Item 2, the unit price is:
$4.80 ÷ 18 oz ≈ $0.27 per ounce.
Even though the second box has a higher sticker price, the cost per ounce is lower, so Item 2 is the better deal if you will use all the cereal. The calculator carries out these same computations automatically and can convert units if one package is labelled in grams and the other in ounces.
As another example, imagine comparing a 500 g bag of rice to a 1 lb (16 oz) bag:
First, convert 500 g to ounces. Using 1 oz ≈ 28.3495 g, 500 g ≈ 500 ÷ 28.3495 ≈ 17.64 oz. Now compute unit prices:
Item 1: $2.40 ÷ 17.64 oz ≈ $0.14 per ounce.
Item 2: $2.20 ÷ 16 oz = $0.1375 per ounce.
The two options are very close in value. The calculator does these conversions and divisions instantly, so you can focus on whether you prefer one brand’s taste, packaging, or cooking time instead of doing the math in your head.
Once you run the calculation, you will see a unit price for each item, such as “$0.25 per oz” or “$0.80 per 100 g,” depending on how the interface presents the results. Use these numbers to compare value at a glance.
Keep these points in mind when you interpret the output:
In practice, many shoppers use a target unit price for staples. For example, you might aim to buy pasta only when it is under a certain price per ounce. This calculator helps you check quickly whether an advertised deal meets your personal target.
Unit pricing is especially powerful in grocery shopping because small price differences add up over time. If you save just a few cents per ounce on everyday items like rice, beans, cereal, milk, or cleaning supplies, you can trim several dollars from each weekly shop. Over a year, that can add up to hundreds of dollars without changing what you eat.
Manufacturers and stores sometimes change package sizes while leaving prices the same, a practice often called shrinkflation. A box of cereal might shrink from 19 oz to 16.5 oz with no obvious change in packaging design. Without checking the unit price, the change is easy to miss. By focusing on the cost per ounce or gram, you can spot these subtle shifts and decide whether a product is still worth buying.
Unit price is also useful when comparing regular supermarkets to warehouse clubs, or in‑store prices to online grocery delivery services. Bulk sizes from a warehouse club may look like bargains, but they are not always cheaper per unit once you compare them carefully. The calculator lets you put all those options on the same scale.
The table below shows simplified examples of how unit price can change across different package sizes for the same type of product. These are illustrative numbers only, but they highlight why doing the math can be helpful.
| Item | Sticker Price | Package Size | Unit Price | Better Value? |
|---|---|---|---|---|
| Pasta A (small box) | $1.50 | 8 oz | $0.19 per oz | – |
| Pasta B (large box) | $2.80 | 16 oz | $0.18 per oz | Cheaper per unit |
| Laundry detergent (standard) | $9.99 | 90 oz | $0.11 per oz | – |
| Laundry detergent (bulk) | $15.49 | 150 oz | $0.10 per oz | Bulk is better |
| Olive oil (premium brand) | $12.00 | 25.4 oz (750 ml) | ≈ $0.47 per oz | Higher unit price |
| Olive oil (store brand) | $9.50 | 25.4 oz (750 ml) | ≈ $0.37 per oz | Cheaper per unit |
Use the calculator to build your own comparisons like this, reflecting the actual products and prices in your local stores or online carts.
This unit price calculator focuses on the mathematical comparison of price and quantity. To use it appropriately, be aware of the following assumptions and limitations:
Use the results as a guide to value, not as the only factor in your decision. Your storage space, household size, dietary needs, and brand preferences are all important too.
To get the most benefit from unit price comparisons, consider incorporating the calculator into your regular shopping routine:
Often, but not always. Bulk packages frequently have a lower unit price, but promotions on smaller sizes can reverse the pattern. Use the calculator to compare exact prices, and remember to factor in how much you can store and use before the product expires.
Price per pound is simply price per ounce multiplied by 16, because there are 16 ounces in a pound. Stores sometimes list either price per ounce or price per pound on shelf labels. As long as you convert everything to the same unit before comparing, you will get a fair result. The calculator handles these conversions automatically.
Yes. Any product sold by weight, such as pet food, garden supplies, or bulk household products, can be compared with this tool as long as the package lists a weight in grams, kilograms, ounces, or pounds.