The unit price is the price divided by the size, such as the cost per ounce or per liter. It shows which package is cheaper for the same amount, even when sizes and units differ. Enter one item to find its unit price, or add more items to compare them in the same unit. For a multipack, enter the size of each container and the number of containers; the calculator multiplies them before dividing the total price.

Calculate or compare unit prices

Enter the total price and size. For a multipack, enter the size of one container and the number of containers. Leave Units in pack blank for one container or when Size of each already gives the whole pack size.

Compare items of similar quality; a lower unit price only helps if you will use it all. Entries stay in this browser tab; they are not saved or sent.

How to calculate unit price

The formula is unit price = price ÷ size, with every item measured in the same unit. To compare by hand:

  1. Write down the price and the size of each item from the label.
  2. Convert the sizes to one unit, for example all to ounces or all to grams.
  3. Divide each price by its size.
  4. The lowest result is the lowest price for the same amount.

For example, a 2 lb bag for 5.49 costs 5.49 ÷ 2 = 2.745 per pound. In ounces that is 5.49 ÷ 32 = about 0.172 per ounce.

Calculate one item or a multipack

Enter the total price, the size of each container and its unit. Leave Units in pack blank for one container. You can also enter the whole pack size directly and leave that field blank; do not multiply the quantity twice.

In a hypothetical US-dollar example, one 12 oz bag for $2.99 costs 2.99 ÷ 12 = about $0.2492 per ounce. No second item is needed.

For six 12 US fl oz cans priced at $4.50 in total, enter Total price 4.50, Size of each 12, Units in pack 6 and Unit fl oz (US). The pack contains 6 × 12 = 72 US fl oz, so its unit price is 4.50 ÷ 72 = $0.0625 per US fl oz. A hypothetical 2-liter bottle for $1.50 costs about $0.0222 per US fl oz. Compare only similar drinks and the amount you will actually use.

Choose Show price per to change the result unit. Add another item for a comparison, or use Reset to clear the form. Partly completed items need a price and size; entirely blank items are ignored.

A worked example

These hypothetical rice prices are US dollars, not current store offers. Assume the same product quality and usable quantity.

Three bags of the same rice: a 24 oz bag for 4.29, a 2 lb bag for 5.49 and a 1 kg bag for 6.99. Converted to ounces, the 2 lb bag costs about 0.172 per ounce, the 24 oz bag about 0.179 and the 1 kg bag about 0.198. The 2 lb bag is the best value; the 24 oz bag costs 4.2% more per ounce and the 1 kg bag 15.5% more.

Price per item

To compare by count, choose “items (count)” as the unit. Enter the total item count as Size of each and leave Units in pack blank, or enter Size of each 1 and the number of items as Units in pack. In this hypothetical example, a 24-pack of bottled water for 5.99 costs about 0.250 per bottle and a 12-pack for 3.49 about 0.291 per bottle, so the 12-pack costs 16.5% more per bottle. Check that the items are the same size before comparing by count.

Price of one item when you buy several packs

When a price covers several packs, first count the items, then divide: price of one item = total price ÷ (number of packs × items in each pack). Four packs of six crackers for 5.76 hold 4 × 6 = 24 crackers, so one costs 5.76 ÷ 24 = 0.24.

In the calculator, choose “items (count)” as the unit, enter the total price, put the items in each pack in Size of each and the number of packs in Units in pack. Add the other offers as more items to see which costs least per item. These hypothetical examples use US dollars:

Price per item for multipack offers
OfferItemsPrice per item
4 packs of 6 for 5.76240.24
4 six-packs of cans for 16.56240.69
4 twelve-packs of cans for 32.64480.68
3 twenty-four-packs of cans for 49.68720.69
4 twenty-four-packs of cans for 92.16960.96
7 six-packs of cans for 40.32420.96

The same steps give a price per ounce for a single container: a 20 oz drink for 5.00 is 5.00 ÷ 20 = 0.25 per ounce, and a 16 oz bottle for 1.49 is about 0.0931 per ounce. To round to the nearest cent, look at the third decimal place: 0.0931 rounds to 0.09. The offers above show why the count matters: the four twelve-packs cost the least per can even though another offer has a lower total price.

Unit conversions used

Conversion factors in this calculator
FromEquals
1 pound (lb)16 ounces (oz)
1 ounce (oz)about 28.35 grams
1 kilogram (kg)1,000 grams, about 35.27 oz
1 US gallon128 US fluid ounces
1 US quart32 US fluid ounces
1 liter1,000 ml, about 33.81 US fluid ounces

Why shelf labels can mislead

Stores sometimes show unit prices in different units for similar products, for example per ounce on one item and per pound on another, which makes quick comparison hard. The National Institute of Standards and Technology unit pricing guide sets out how unit prices should be shown consistently. This calculator converts everything to one unit for you, using exact conversion factors such as 1 lb = 16 oz and 1 kg ≈ 35.27 oz.

When the cheapest unit price is not the best buy

A larger pack only saves money if you use it before it spoils and can afford it without taking money from another need this week. Compare items of similar quality, and include any coupon or member price in the price you enter. Weight and volume cannot be compared directly, so the calculator asks you to compare items measured the same way.

Enter all prices in the same currency; Display currency changes labels only, not exchange rates. Fluid ounce, quart and gallon options are US measures, not Imperial measures. A product’s weight cannot be converted to its volume without its density, which this tool does not estimate. Include any applicable charges consistently in the prices you compare. This is an educational price comparison, not a recommendation to buy a product.

Putting the savings to use

Small savings on regular purchases add up over a year. Track your grocery line in the monthly budget template, see more ways to cut food costs in the grocery budget guide, and see the yearly effect of repeating costs with the subscription and habit cost calculator.