Unit Price Calculator
Compare which pack size is genuinely cheaper.
Reviewed by the Calculation Machine team · Updated 24 October 2026 · How we check our maths
Your values
ⓘ Live results
- Product A unit price
- $0.01398 per unit
- Product B unit price
- $0.01277 per unit
- Better value
- Product B
- Saving
- 8.68%
- Cost of 1,000 units at best price
- $12.77
Quick answer
Unit price = price ÷ quantity, using the same unit for both products. The lower unit price is the better value. A $6.99 pack of 500 g costs $0.01398 per gram ($1.40 per 100 g), while an $11.49 pack of 900 g costs $0.01277 per gram ($1.28 per 100 g), so the larger pack is 8.68% cheaper per gram.
What the Unit Price calculator does
This calculator compares two products by what each unit actually costs. Enter each price and pack size, and it shows the price per unit for both, which one is cheaper, the percentage saving, and the cost of 1,000 units at the better price. The size boxes are labeled in grams, but any unit works as long as both products use the same one: ounces, fluid ounces, liters, sheets, rolls, tablets or loads.
Use it in the store aisle when shelf labels are missing, use different units for neighboring products, or quote a multipack price. It also replaces a dedicated price-per-ounce tool: enter the two sizes in ounces and the result is price per ounce.
The comparison assumes you will use everything you buy. A larger pack that goes stale or past its date before you finish it costs more per unit you actually use. If one product is on promotion, work out the sale price first with the discount calculator and compare that figure.
The formula
Unit price = price ÷ quantity Saving = (higher unit price − lower unit price) ÷ higher unit price × 100
| Symbol | Meaning | Unit |
|---|---|---|
| price | Shelf price of the product, after any discount you will actually get | $ (or any currency) |
| quantity | Pack size, in the same unit for both products | g, oz, ml, fl oz, sheets, items |
| Saving | How much cheaper the better product is per unit, as a share of the dearer one | % |
Unit pricing is the method behind the unit-price labels on supermarket shelves, standardized in the US by the NIST Uniform Unit Pricing Regulation (Handbook 130) and in the UK by the Price Marking Order 2004. Shelf labels sometimes use different units for similar products (per ounce vs per pound, per 100 g vs per kg), which is the main reason to calculate it yourself. The "cost of 1,000 units" line simply scales the lower unit price, which makes tiny per-gram figures easier to read.
Worked examples
Price per ounce: bigger jar is not cheaper
Peanut butter: a 16 oz jar for $3.49 against a 24 oz jar for $5.99. Enter both sizes in ounces.
Inputs
- Product A price3.49 $
- Product A size16 g
- Product B price5.99 $
- Product B size24 g
Result
- Product A unit price$0.21813 per unit
- Product B unit price$0.24958 per unit
- Better valueProduct A
- Saving12.6%
- Cost of 1,000 units at best price$218.13
The small jar costs about $0.218 per ounce and the large one about $0.250, so the 16 oz jar is 12.6% cheaper per ounce. Buying one and a half small jars' worth would cost less than the big jar.
Toilet paper by the roll
A 12-roll pack at $8.99 against a 24-roll pack at $14.99, with the same sheets per roll.
Inputs
- Product A price8.99 $
- Product A size12 g
- Product B price14.99 $
- Product B size24 g
Result
- Product A unit price$0.74917 per unit
- Product B unit price$0.62458 per unit
- Better valueProduct B
- Saving16.63%
- Cost of 1,000 units at best price$624.58
The 24-pack works out at about $0.62 per roll against $0.75, a 16.63% saving. If the rolls had different sheet counts, enter total sheets instead of rolls, because "double" and "mega" rolls are not standardized.
Same product in grams and kilograms
Rice sold as a 500 g bag at $2.29 and a 2 kg bag at $7.49. Convert 2 kg to 2,000 g so both sizes are in grams.
Inputs
- Product A price2.29 $
- Product A size500 g
- Product B price7.49 $
- Product B size2000 g
Result
- Product A unit price$0.00458 per unit
- Product B unit price$0.00375 per unit
- Better valueProduct B
- Saving18.23%
- Cost of 1,000 units at best price$3.75
The cost of 1,000 units line gives the price per kilogram at the better rate. The 2 kg bag wins here, but only if you will use it while it is still fresh.
Converting sizes so both products match
Both quantities must be in the same unit before the result means anything. These are the conversions that come up most often on labels. Weight (oz) and fluid volume (fl oz) are different measures, so do not mix them unless the label gives both. For recipe-style measures such as cups and tablespoons, use the cooking measurement converter.
| From | To | Multiply by |
|---|---|---|
| Pounds (lb) | Ounces (oz) | 16 |
| Kilograms (kg) | Grams (g) | 1,000 |
| Ounces (oz) | Grams (g) | 28.35 |
| Kilograms (kg) | Ounces (oz) | 35.27 |
| Liters (L) | Fluid ounces (US fl oz) | 33.81 |
| US fluid ounces | Milliliters (ml) | 29.57 |
| US gallons | Fluid ounces (US fl oz) | 128 |
Where unit-price comparisons go wrong
- Multipacks and "value" sizes: larger packs are often, but not always, cheaper per unit. Promotions on the standard size regularly beat the big pack, so check every time rather than assuming.
- Different concentrations: laundry detergent, squash and cleaning concentrate should be compared per load or per diluted liter, not per bottle volume.
- Count vs weight: compare tissues, paper towels and toilet paper by total sheets (rolls × sheets per roll), and diapers or tablets by count.
- Drained weight: for canned fruit, vegetables and fish, the drained weight on the label is the food you actually get.
- Tax and deposits: if one item carries a bottle deposit or is taxed differently, add it to the price first. The sales tax calculator gives the after-tax figure.
- Waste: a cheaper per-unit price only saves money if you use the whole pack.
Shelf-label unit prices in the US and UK
In the US, unit-price labels are voluntary in many states and required in some; where they are used, the NIST Uniform Unit Pricing Regulation sets out how they should be shown. In the UK, the Price Marking Order 2004 requires most products sold by weight, volume or length to show a unit price, typically per kg, per liter or per 100 g/ml. In both countries, two neighboring products can be labeled in different units, so a quick calculation is still the safest check.
How to use the Unit Price Calculator
- 1Enter Product A's shelf price, after any discount or coupon you will actually receive.
- 2Enter Product A's size from the label, in grams, ounces, items or any unit you choose.
- 3Enter Product B's price and size in the same unit as Product A (convert lb to oz or kg to g first).
- 4Read both unit prices, which product is better value and the percentage saving.
Frequently asked questions
How do I calculate price per ounce?
Divide the price by the number of ounces. A $5.99 jar holding 24 oz costs $5.99 ÷ 24 = about $0.25 per ounce. For a pack sold in pounds, multiply the pounds by 16 first.
Is the bigger pack always cheaper per unit?
No. Larger packs are usually cheaper per unit, but promotions on smaller sizes often reverse that. Compare unit prices every time, especially when one size is on offer.
Do both sizes need to be in the same unit?
Yes. Comparing $ per gram with $ per ounce gives a meaningless answer. Convert one of them, for example 1 oz = 28.35 g or 1 lb = 16 oz.
How do I express the saving as a percentage?
The calculator divides the difference in unit prices by the higher unit price. For other percentage questions, such as how much a price has risen, use the percentage change calculator.
How do I compare products with different strengths, like detergent?
Use the number of washes, doses or servings as the quantity instead of the bottle size. That gives the price per load, which is what you are really buying.
References
- NIST Handbook 130 – Uniform Unit Pricing Regulation — National Institute of Standards and Technology (NIST)
- The Price Marking Order 2004 — UK Government (legislation.gov.uk)
About this calculator
- Built and reviewed by the Calculation Machine team · How we build and test calculators
- Last reviewed: October 24, 2026
- Report an error