Everyday costs

Unit price calculator

Compare two packages by price for the same amount.

Your numbers

USD · Free to use
Calculator inputs
Positive package quantity.
Positive package quantity.

Enable JavaScript to use this calculator. Reload if the controls remain unavailable.

Example values. Enter your own numbers.

Your calculation

Example inputs

Your result will appear here. Enter your numbers and select Calculate.

Compare products measured by the same kind of quantity. U.S. fluid ounces and gallons are used for volume; ounces and pounds are used for weight.

How this calculation works

Enter the total price, package quantity, and unit for options A and B. Use the quantity you receive for that price, including all items in a multipack. Choose units that measure the same kind of quantity.

The calculator converts weight to grams and volume to milliliters, then compares prices per 100 grams, per 100 milliliters, or per item. Weight cannot be compared with volume without product-specific density information, which this tool does not use.

Comparable quantity = package quantity × unit conversion factor
Unit price = package price ÷ comparable quantity × comparison amount
Lower-price saving = (higher unit price − lower unit price) ÷ higher unit price × 100
A worked example

Option A costs $3.49 for 12 oz by weight, about $1.03 per 100 g. Option B costs $4.99 for 20 oz, about $0.88 per 100 g. Using the unrounded unit prices, option B is about 14.21% less expensive for the same amount.

What this estimate includes

  • Both prices use U.S. dollars. Enter taxes, discounts, or other included charges consistently for both options.
  • Weight units are g, kg, oz, and lb. Volume units are mL, L, U.S. fluid ounces, and U.S. gallons; U.S. volume units are not Imperial units.
  • Each package quantity must be positive. A price of zero is allowed; if both prices are zero, the options tie.
  • Unit price does not account for product quality, concentration, waste, storage, or whether you will use the larger quantity.

Common questions

Can I compare ounces with fluid ounces?

No. Ounces measure weight here, while fluid ounces measure volume. Select two weight units, two volume units, or item counts for a valid comparison.

How do I compare multipacks?

Enter the total price and total quantity for the entire multipack. For six 12 oz packages, enter 72 oz. For an item-count comparison, enter the total number of comparable items.

Why might the percentage differ from the rounded prices?

The calculator compares unrounded unit prices, then rounds the displayed amounts. Calculate the percentage from full precision for the same result.