Free calculator

Unit price calculator

Type the price and size of two to four packages to see which one costs less per ounce, gram, or item. Multipacks work too.

Compare unit prices

Item A

For all packs

Item B

For all packs

Enter a price and size for two items to see which one costs less per unit.

Liquid units are US measures: 1 US fl oz is about 29.6 ml.

The numbers you type stay in your browser. They are not sent anywhere or saved.

What a unit price is

A unit price is what one unit of a product costs: one ounce, 100 grams, one fluid ounce, or one item. It puts packages of different sizes on the same scale, so you can see which one gives you more for your money.

To work it out, divide the total price by the total amount. For a multipack, the total amount is the number of packs times the size of each pack. Two 12 oz packs for $5.00 make 24 oz, so the unit price is $5.00 ÷ 24 oz, about $0.208 per oz.

Many shelf tags already print a unit price. This calculator helps when a tag does not show one, when two tags use different units, or when you want to check a multipack against a single package.

A sale changes the unit price too. If a sticker shows only a percentage off, get the sale price from the percent-off calculator first, then enter it here.

Worked example: 12 oz or 20 oz?

Two sizes of the same product. Item A is 12 oz for $4.99. Item B is 20 oz for $5.49.

  1. Item A: $4.99 ÷ 12 oz is about $0.416 per oz.
  2. Item B: $5.49 ÷ 20 oz is $0.2745, which rounds to $0.275 per oz.
  3. Item B costs 34% less per oz than Item A, even though its shelf price is 50 cents higher.

The calculator ranks items on the unrounded unit prices, so rounding never picks the winner. With three or four items, the percentage compares the cheapest with the next cheapest.

When the lowest unit price is still the wrong buy

A lower unit price only saves money if the whole package gets used.

  • Waste. A big package is cheaper per ounce only if you finish it. If half of a large tub spoils, the small tub may have cost less for what you actually ate.
  • Quality. Compare like with like. A lower unit price on something your household will not eat, or that does not do the job as well, is not a saving.
  • Concentrates. Products such as some detergents, drink mixes, and cleaners are diluted before use, so the price per fluid ounce can mislead. Compare by loads, servings, or uses instead: enter the number of uses printed on the package as the size, and pick "each" as the unit.

Common questions

How do I enter a multipack?

Enter the total price for all the packs, the number of packs, and the size of one pack. For two 12 oz packs for $5.00, the calculator divides $5.00 by 24 oz and shows $0.208 per oz.

Can I compare ounces with grams?

Yes. Any weight can be compared with any other weight, and any volume with any other volume. A weight cannot be compared with a volume or a count, so pick the same kind of unit for every item.

Are ounces and fluid ounces the same?

No. Ounces (oz) measure weight and fluid ounces (fl oz) measure volume. Use the unit printed on the package. Liquid units here are US measures: 1 US fl oz is about 29.6 ml, and a US gallon is 128 fl oz.

Why is my answer different from the shelf tag?

Shelf tags often round their unit prices, and similar products are not always priced per the same unit: one tag may show a price per ounce and another per pound. Check that you typed the full package size, then use Compare per to see every item on the same unit.

Is anything I type saved?

No. The numbers and names you type stay in your browser. They are not sent anywhere or saved. The calculator only remembers the currency symbol you pick, in this browser.

Other calculators

See all calculators
  • Percent-off calculator

    Turn a percent or amount off into a sale price, and see what a multi-buy deal costs each.

  • Grocery tax estimator

    Estimate the sales tax on a grocery subtotal, using a rate you type in.

A running total for the whole trip

Shelf to Cart reads the price printed on the shelf tag. Scan the tag, confirm the price, and keep a running total before you reach the register. Free to start, no credit card.