Plan & Save

Unit Price Calculator

Compare two package sizes and find the lower cost per ounce, pound, gram or liter.

Tomatoes, a wedge of parmesan, basil and garlic laid out on a linen cloth
Both options use the same dimension.
Labels your prices. It does not convert them.
Option A
$
Enter the total price for all packages in this option.
How many packages the total price covers.
Option B
$
Enter the total price for all packages in this option.
How many packages the total price covers.

How to use it

  1. Choose Compare by: Weight, Volume or Count. Both options use the same dimension, and the unit lists change to match it.
  2. For Option A and Option B, enter the total price for all packages, the package size with its unit, and the number of packages. A 3-pack that costs $6 is a total price of 6 with 3 packages, not 2.
  3. Choose one currency for both options. It labels your prices and does not convert them.
  4. Press Calculate. Read which option has the lower unit price, how much cheaper it is, and the total quantity each price covers. Change any field and calculate again.

What this calculates

Use this to compare two packages, or two sets of packages, and see which one costs less for each ounce, US fluid ounce or item. It runs on your device with the numbers you type: no account, no store lookup and no live prices. You choose one dimension, weight, volume or count, and one currency for both options.

How it works

For each option, the total quantity is the package size times the number of packages, converted to grams for weight or milliliters for volume. The unit price is the total price divided by that total quantity. Both unit prices are then shown in one reference unit: per ounce for weight, per US fluid ounce for volume and per item for a count. One ounce is 28.349523125 g, one pound is 453.59237 g and one US fluid ounce is 29.5735295625 ml. The savings percentage is the gap between the two unit prices divided by the higher one, so it compares cost per unit and not the prices on the labels. Unit prices within one millionth of each other count as the same, and two free options tie at 0%.

Worked examples

A 500 g pack against a 1 kg pack

Inputs
Weight, US dollars. Option A: total price $4, package size 500 g, 1 package. Option B: total price $6, package size 1 kg, 1 package.
Calculation
A holds 500 g, so it costs $4 divided by 500 g, which is $8.00 per kg. B holds 1,000 g, so it costs $6.00 per kg. In ounces, that is the price divided by the ounces in each pack. The saving is the $2.00 gap per kg divided by the higher $8.00.
Result
A is $0.2268 per oz. B is $0.1701 per oz. Option B has the lower unit price, 25.0% lower than A.
What it means
The 1 kg pack costs more in total and less for each ounce. The percentage compares those unit prices, not the $4 and $6 on the labels.

Two 250 g packs against one 500 g pack

Inputs
Weight, US dollars. Option A: total price $4, package size 250 g, 2 packages. Option B: total price $4, package size 500 g, 1 package.
Calculation
A holds 2 times 250 g, which is 500 g. B also holds 500 g. Both cost $4 for 500 g, so the two unit prices are the same.
Result
A is $0.2268 per oz. B is $0.2268 per oz. Same unit price, with 0.0% savings.
What it means
Enter the price of the whole set and the number of packages. If you entered the price of one pack, $2, for A, it would look twice as cheap as it is.

Twelve items against eight items

Inputs
Count, US dollars. Option A: total price $6, package size 12 items, 1 package. Option B: total price $5, package size 8 items, 1 package.
Calculation
A is $6 divided by 12 items, which is $0.50 an item. B is $5 divided by 8 items, which is $0.625 an item. The saving is the 0.125 gap divided by the higher 0.625.
Result
A is $0.50 per item. B is $0.625 per item. Option A has the lower unit price, 20.0% lower than B.
What it means
The cheaper pack on the shelf is B, at $5. The lower unit price belongs to A. Which one is the better buy depends on whether you will use all twelve.

Limitations and common mistakes

  • Both options must use the same dimension. Weight is never converted to volume and no density is assumed, so an ounce of weight and a US fluid ounce are different units.
  • Both options use one currency. Changing it labels your prices and does not convert them.
  • The comparison is by quantity only. It does not know about sales, coupons, conditional discounts, quality, waste or whether you will finish a larger pack.
  • Every price is one you type, and two options are compared at a time. There are no store prices, barcodes or automatic lookups.

Related calculator

Found the better pack? Turn pack prices into the cost of a whole dish with the Cost-per-recipe calculator.

Common questions

FAQs

A unit price says what each ounce, US fluid ounce or item costs. It does not say whether you will use all of a larger pack.

Made for home chefs

Your next good meal starts here.

Keep your favorite recipes close, give your week a plan, and make everyday cooking easier with Chefalia.

  • Download on the App Store
  • Get it on Google Play