Unit Price Calculator: Compare Prices, Sizes and Savings
Divide each price by the amount in one shared unit. The lower number is cheaper per unit; whether it is the better buy depends on what you will use.

Calculator
Compare unit prices for 2 to 4 products
Enter the price you would pay at the register, the size printed on the package, and how many packages are in the deal. Weight compares with weight, liquid volume with liquid volume, and items with items. Everything is calculated in your browser; nothing you type is sent anywhere.
Result
Large bag is cheaper per unit: $0.1872 per oz against $0.2181.
| Product | Unit price | More than the lowest | Cost of 32 oz |
|---|---|---|---|
| Small bag | $0.2181 per oz | +$0.0309 (14.2% saved by switching) | $6.98 |
| Large bagLowest | $0.1872 per oz | — | $5.99 |
At the same 32 oz, Small bag would cost $6.98, which is $0.99 more. This is a same-amount comparison: at the register the small bag still costs less in total, because you buy half as much.
Unit prices compare cost per amount, not value. Quality, waste, storage and what you will actually use are up to you. Shelf tags can use a different unit or the regular price; this tool uses the numbers you enter.
How to calculate unit price
The unit price formula has one step once the units match:
Unit price = price paid ÷ total amount
- Write down the price you would pay at the register for each package. Use the sale price if that is what you would pay.
- Find the net amount on the label: ounces, pounds, grams, fluid ounces, liters or a count.
- Put every package in the same unit. 1 pound is 16 ounces. 1 kilogram is 1,000 grams.
- Divide each price by its amount and compare the results.
Keep every decimal until the end. $3.49 ÷ 16 is $0.218125 per ounce. Rounded to $0.22 it looks almost the same as the 2 lb bag’s $0.1871875 rounded to $0.19, but the real gap is 14.2%.
Price per ounce: divide the price by the ounces
16 oz bag
$3.49 ÷ 16 oz
$0.2181 per oz
2 lb bag
$5.99 ÷ 32 oz (2 × 16)
$0.1872 per oz
14.2% less per ounce
Convert both packages to the same unit first. 2 lb is 32 oz, so the larger bag works out cheaper per ounce even though it costs more at the register. Original Brensley diagram.
Worked examples with illustrative prices; not prices from any store. 1 lb = 16 oz by definition (NIST Handbook 130, Uniform Packaging and Labeling Regulation).
To see how much one product costs over another, compare them at the same amount. At 32 oz the small bags would cost 32 × $0.218125 = $6.98, which is $0.99 more than the $5.99 large bag. That is a like-for-like figure. At the register, a single 16 oz bag still costs less than the big one because you are buying half as much.
Comparing package sizes
The calculator converts these units exactly, so you can type the size the way the package prints it:
| Measure | Units in the calculator | Exact relationship |
|---|---|---|
| Weight | oz, lb, g, kg | 1 lb = 16 oz= 453.59237 g |
| Liquid volume | fl oz, cup, pint, quart, gallon, mL, L | 1 gal = 128 fl oz1 fl oz = 29.5735295625 mL |
| Count | items | 1 item = 1 item |
Weight
- Units in the calculator
- oz, lb, g, kg
- Exact relationship
- 1 lb = 16 oz= 453.59237 g
Liquid volume
- Units in the calculator
- fl oz, cup, pint, quart, gallon, mL, L
- Exact relationship
- 1 gal = 128 fl oz1 fl oz = 29.5735295625 mL
Count
- Units in the calculator
- items
- Exact relationship
- 1 item = 1 item
Choose the unit you want the results in with Show prices: per ounce, per pound, per 100 g or per kilogram for weight; per fluid ounce or per liter for liquids; per item for counts. Changing it does not change which product wins.
Multipacks
For a multipack, the total amount is the size of one item times the number of items. A pack of six 12 fl oz cans holds 72 fl oz. In the calculator, enter 12 as the size and 6 as the number of packages, and the tool does the multiplication.
Multipacks: multiply size by count before you divide
6 × 12 fl oz cans
6 × 12 fl oz = 72 fl oz
$4.99 ÷ 72 fl oz
$0.0693 per fl oz
2 L bottle
2,000 mL ÷ 29.5735 = 67.6 fl oz
$2.49 ÷ 67.6 fl oz
$0.0368 per fl oz
46.9% less per fluid ounce
A pack of six 12 fl oz cans holds 72 fl oz. A 2 L bottle holds about 67.6 fl oz. Divide each price by its total liquid volume. Original Brensley diagram.
Worked examples with illustrative prices; not prices from any store. 1 US fl oz = 29.5735295625 mL (NIST SP 1181).
Here, the 2 L bottle at $2.49 works out to about $0.0368 per fluid ounce, against about $0.0693 for the cans at $4.99. Per liter, that is $1.245 against about $2.34. Count products work the same way: 24 rolls for $7.20 are $0.30 each, and 36 for $9.00 are $0.25 each.
Weight versus volume
An ounce on a box of cereal is a weight. A fluid ounce on a bottle of juice is a volume. They share a name but not a measure. Turning one into the other needs the density of the product, and that varies from one product to the next. The calculator refuses to compare a weight with a volume or a count instead of guessing.
Weight ounces and fluid ounces are different measures
Weight: oz, lb, g, kg
How heavy it is. Used for cereal, meat, flour, coffee.
1 lb = 16 oz = 453.59237 g
Liquid volume: fl oz, cup, pint, quart, gallon, mL, L
How much space it fills. Used for milk, juice, oil, detergent.
1 gal = 128 fl oz; 1 fl oz = 29.5735295625 mL
Compare oz with oz and fl oz with fl oz. A product labeled in one cannot be compared with one labeled in the other without its density.
An ounce of weight (oz) and a fluid ounce (fl oz) measure different things. Without knowing the density of a product you cannot convert one into the other, so the calculator does not mix them. Original Brensley diagram.
NIST SP 1181, Unit Conversion; NIST Handbook 130.
The liquid pint and quart here are US liquid measures. US dry pints and quarts, used for berries and some produce, are larger and are not in the calculator.
When a larger package is not cheaper
Bigger is usually cheaper per unit, but not always. The common reasons:
- A sale on the smaller size. If a 10 oz box drops from $4.99 to $2.99, its unit price falls to $0.299 per ounce, below a 20 oz box at $7.49, which is $0.3745 per ounce.
- Multipacks priced for convenience. Single-serve packs often cost more per unit than one large container of the same product.
- Different units on the tags. One tag may show price per ounce and the next price per pound, which hides the comparison. NIST recommends that stores use one unit for every size in a product category, but it is a recommendation for stores, not something you can count on.
Enter the price you would actually pay, including the sale, in the calculator. It compares the numbers you type, not the regular price on the tag. If the tag gives only a percentage off, the discount calculator turns it into a price first.
Sale tags, buy-one-get-one offers and smaller packages at the old price are checked on unit price in is it really a deal?, which compares a deal with the regular price or the old package size.
When the lowest unit price is not the best buy
A unit price measures cost per amount, not value. Four things can make the cheapest unit the wrong choice:
- Spoilage. If part of a big package goes off before you use it, you paid for food you threw away.
- Storage. A bulk pack you have no room for is not a saving.
- Quality and fit. A cheaper brand that you will not eat, or a cleaner that needs twice as much per use, costs more in practice.
- Cash flow. Spending more today to save later can leave less for other bills this week.
The true cost of buying more than you use
1 lb bag, all used
$3.49 per lb · $3.49 ÷ 1 lb used
5 lb bag, shelf unit price
$2.398 per lb · $11.99 ÷ 5 lb
5 lb bag, only 3 lb used
$3.997 per lb · $11.99 ÷ 3 lb used
Money spent on the 2 lb that was thrown away: $4.80.
A 5 lb bag at $11.99 has the lower unit price, but if only 3 lb gets used before it spoils, each pound you actually use costs $3.997. Original Brensley chart.
Worked examples with illustrative prices; not prices from any store.
In that example the 5 lb bag looks cheaper on the shelf, at $2.398 per pound against $3.49. If only 3 lb gets used, each pound you used cost about $3.997, more than the 1 lb bag.
Reading unit prices on shelf labels
NIST, the federal agency that coordinates weights and measures with the states, publishes two documents on unit pricing. Its Uniform Unit Pricing Regulation, in Handbook 130, says how a store that provides unit prices should express them: per ounce or pound, or per 100 g or kilogram, for products sold by weight; per fluid ounce, pint, quart, gallon, liter or 100 mL for liquids; per item for counts. NIST notes that the model regulation applies only when a store provides unit prices, and each state decides whether to adopt it. NIST’s 2025 best-practice guide, SP 1181, adds that the same unit should be used for every size in a category, and that unit prices should appear on sale signs as well as regular labels.
Whether a store must show unit prices depends on the state. NIST’s guide to retail pricing laws, based on reports from state weights and measures directors, lists mandatory unit pricing provisions in Connecticut, Maryland, Massachusetts, New Hampshire, New Jersey, New York, Oregon, Rhode Island, Vermont and the District of Columbia, voluntary provisions in nine other jurisdictions, and none in the rest. The rules also have exemptions. Check with your state’s weights and measures office for what applies where you shop. This calculator does not check compliance with any state’s rules.
On a typical label, the unit price sits near the selling price, often in its own colored block, with the word “per” linking it to the unit. Under a dollar, it may be rounded to the whole cent or to a tenth of a cent. If you want more precision, or the label uses a different unit from the next one, use the calculator.
Questions readers ask
How do I calculate the unit price?
Divide the price by the amount in the package, with every package in the same unit. $3.49 for 16 oz is $0.218 per ounce.
How do I calculate price per ounce from pounds?
Multiply the pounds by 16 to get ounces, then divide the price by the ounces. $5.99 for 2 lb is $5.99 ÷ 32 oz = $0.187 per ounce.
What is the unit price formula for a multipack?
Unit price = price ÷ (size of one item × number of items). Six 12 fl oz cans for $4.99 is $4.99 ÷ 72 fl oz, about $0.069 per fluid ounce.
Can I compare ounces with fluid ounces?
No. Ounces measure weight and fluid ounces measure volume. You would need the product’s density to convert one to the other, and the calculator does not guess it.
Is the biggest package always the cheapest per unit?
No. A sale on a smaller size, or a multipack priced for convenience, can make a smaller or different package cheaper per unit. Check each time.
Do all stores have to show unit prices?
No. According to NIST, some states require unit pricing, some have voluntary rules and many have none. Where it is shown, the rules and exemptions vary by state.
Does the calculator store or send my numbers?
No. It runs in your browser and does not send anything you type to a server.
Method and limits
The calculator converts every package to grams, milliliters or items using exact definitions, divides the price by the total amount without rounding, and rounds only for display. Products whose unit prices differ by less than one part in a billion are shown as tied. The percentage saved is the difference between a product’s unit price and the lowest, divided by that product’s unit price. The same-amount cost uses the largest package in the comparison.
It does not handle dry measure, length or area, drained weight, coupons that depend on quantity, taxes, deposits or delivery fees. Enter the final price you would pay. To plan a whole week’s shopping against a budget, read our guide on how to save money on groceries. To see how grocery costs compare across states, read our cost of living by state guide.
On this page & data scope
Evidence record
Sources and references
- NIST SP 1181-2025, Unit Pricing Guide: A Best Practice Approach to Unit Pricing — National Institute of Standards and Technology
- NIST Handbook 130 (2026), Section IV.C, Uniform Unit Pricing Regulation — National Institute of Standards and Technology
- A Guide to U.S. Retail Pricing Laws and Regulations — National Institute of Standards and Technology