Unit Price Comparer

Compare two to six products by price per ounce, pound, kilogram, fluid ounce, litre or item. Handles multi-packs, percent-off and sale prices, and buy-X-get-Y-free offers, then highlights the best value and how much it saves.

Calculator Finance Updated Nov 25, 2026
How to Use
  1. For each product, enter the shelf price, the size of one pack and its unit (oz, lb, g, kg, fl oz, ml, l, gal or each).
  2. If the price buys several packs, such as a 12-pack of 12 fl oz cans, put 12 in Packs.
  3. Pick a Sale if one applies: a percentage off, a sale price, or buy X get Y free.
  4. Press Add item for up to six products, or try a preset. Results update as you type.
  5. Choose the unit to compare in (per oz, per 100 g, per litre…). The best value is highlighted, with the percentage and cash it saves against each other item.
Items to compare
unit for the results
Presets
Price per Unit
Best value
—
Best unit price
—
Saves up to
—
Cash saved
—

Worked Example

Two cereal boxes. 12 oz for $3.49 and 18 oz for $4.99. Unit prices: $3.49 ÷ 12 = $0.2908 per oz and $4.99 ÷ 18 = $0.2772 per oz. The 18 oz box is cheaper per ounce by $0.0136, which is ($0.2908 − $0.2772) ÷ $0.2908 = 4.68%. On 12 oz worth of cereal that is 12 × $0.0136 = $0.16.

A multi-pack against a bottle. A 12-pack of 12 fl oz cans is 12 × 12 = 144 fl oz for $6.99, or $0.0485 per fl oz. A 2 l bottle is 2,000 ml ÷ 29.5735 ml = 67.63 fl oz for $2.29, or $0.0339 per fl oz. The bottle is 30.24% cheaper per fluid ounce.

The common mistake: forgetting the free item. A 24 oz jar of sauce at $3.79 is on buy one get one free; a 45 oz jar costs $5.49. Dividing the shelf price by one jar gives $3.79 ÷ 24 = $0.1579 per oz, which makes the big jar ($5.49 ÷ 45 = $0.1220 per oz) look cheaper. But you take home 48 oz for $3.79: $0.0790 per oz, 35.28% less than the big jar. The second classic slip is comparing a jar labelled in oz (weight) with a bottle in fl oz (volume); the tool refuses that pair rather than give a wrong answer.

Show Work

Enter at least two items to see the step-by-step breakdown.

Formulas

Unit price
U = Cost ÷ Quantity
Both quantities in the same unit
Quantity
Q = size × packs × (X + Y)
X + Y = 1 when there is no buy-X-get-Y offer
Cost
C = price × (1 − d) or price × X
d = percent off, rounded to the cent; X = items paid for
% saved
S = (U − Ubest) ÷ U
Share of this item’s price you save by switching
Conversions
1 lb = 453.59237 g · 1 oz = 28.3495 g
1 US gal = 3.785411784 l · 1 US fl oz = 29.5735 ml

Why Shelf Labels Are Not Always Enough

Many shops print a unit price on the shelf tag, and in some places they must. In the European Union, Directive 98/6/EC requires traders to show the price per kilogram, litre or other unit next to the selling price for most goods; the UK keeps the same rule in the Price Marking Order 2004. In the United States there is no federal requirement: unit pricing is set state by state, and NIST Handbook 130 publishes a model Uniform Unit Pricing Regulation that states can adopt.

Even where tags exist, they can use different units for similar products (per ounce on one paper towel, per sheet or per roll on the next), and they usually ignore loyalty prices, coupons and multi-buy offers. Pack sizes also change without the price changing, the practice nicknamed “shrinkflation”, so a familiar price can hide a smaller amount. Working the unit price out yourself, on the same unit and the price you will actually pay, is the only reliable comparison.

The conversions here are exact by definition: the international pound has been 0.45359237 kg since 1959, the ounce is 1/16 of a pound, the US gallon is 231 cubic inches (3.785411784 l) and the US fluid ounce is 1/128 of it.

About This Calculator

This comparer puts up to six products on the same unit, counts multi-packs and free items, applies percent-off and sale prices, and ranks the result. It shows each unit price to four significant figures below $1, so close prices can be told apart, and it never compares a weight with a volume.

Everything runs in your browser; nothing you enter is sent anywhere. It suits grocery and household shopping, bulk buying and checking whether an offer is really a saving. Prices are whatever you enter, in any currency; the $ sign is only a label.

Related tools: Discount Calculator, Unit Converter, and Budget Calculator.

Frequently Asked Questions

How do I work out the unit price?

Divide the price by the quantity, in the same unit for every product. A 12 oz box at $3.49 is $3.49 ÷ 12 = $0.2908 per oz, and an 18 oz box at $4.99 is $4.99 ÷ 18 = $0.2772 per oz, so the 18 oz box is cheaper per ounce even though it costs more.

Is the bigger pack always the better deal?

No. Sales on small packs and “family size” packs priced above the regular size are both common. A 24 oz jar at $3.79 on buy one get one free works out at $0.0790 per oz, far below a 45 oz jar at $5.49 ($0.1220 per oz). Always compare the unit price, not the pack size.

What is the difference between oz and fl oz?

An ounce (oz) is a weight: 28.35 g. A fluid ounce (fl oz) is a volume: 29.57 ml in the US (a UK fluid ounce is 28.41 ml). They only match for liquids about as dense as water, so this tool will not compare an item in oz with one in fl oz. It uses US fluid ounces and US gallons (3.785 l).

How do I compare a buy-one-get-one-free offer?

Count everything you take home and divide what you pay by it. Buy 1 get 1 free on a $3.79, 24 oz jar is $3.79 for 48 oz. Choose “Buy X get Y free” with X = 1 and Y = 1 and the tool does this for you. The deal only helps if you will use the extra jar before it goes off.

Why are “% saved” and “% dearer” different numbers?

They divide by different prices. At $0.2908 against $0.2772 per oz the gap is $0.0136: that is 4.68% of the dearer price (what you save by switching) but 4.91% of the cheaper price (how much more the dearer one costs). The table shows both.

How do I use the Unit Price Comparer?

Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Does it cost anything or need an account?

No. The tool is completely free, there is no account to create, and it keeps working offline after the page first loads.

Is anything I type uploaded?

No. The tool works entirely on your device, so the values you enter never leave your browser.

Common Use Cases

Weekly grocery shop

12 oz of cereal at $3.49 is $0.2908/oz; 18 oz at $4.99 is $0.2772/oz, 4.68% less.

Cans or a bottle

A 12-pack of 12 fl oz cans at $6.99 is $0.0485/fl oz; a 2 l bottle at $2.29 is $0.0339/fl oz, 30.24% less.

Warehouse-club bulk

60 eggs for $13.99 is $2.80 a dozen against $3.29 for a single dozen: 14.95% saved, if you can use them in time.

Is the sale worth it?

340 g of coffee at $9.99 with 20% off is $7.99, or $23.50/kg, still dearer than 2 lb for $19.99 at $22.04/kg.

Mixed metric and US labels

Compare a 1 kg bag with a 2 lb bag directly: the tool converts both through grams (1 lb = 453.59 g).

Last updated: