Skip to content
Verify InstituteA little more certainty.No account required
Methods and assumptions documented

Unit Price Calculator

Compare offers using the same quantity, even when package sizes or units differ. Enter the price for the entire offer, its item count and size, and any discount or extra charge. The lowest comparable price is highlighted.

Numbers, grouped thousands, and fractions work: 1.5, 1,200, 1/2, or 1 1/2. Enter measurements in the units shown.

Loading calculator… If this message remains, reload the page.

Offer 1
Offer 2

Currency & comparison

Calculations run on your device. Input values are not placed in the URL or sent to analytics.

Unit price formula and quick example

Comparable unit price = net price ÷ total comparable quantity. Net price includes the entered discount and added charges; total quantity includes every item in the package or multipack after conversion to the same unit.

A 24 oz package for $6.49 costs $0.2704 per ounce. A 32 oz package for $7.99 costs $0.2497 per ounce, so the larger package costs about 7.7% less per ounce.

Compare like with like. Price per item is comparable only when the items are equivalent; it should not be compared directly with price per ounce, gram, litre, area, or another measurement basis.

Related tools: discount pricing, margin and markup, and price per square foot.

HOW THE CALCULATION WORKS

Compare the same quantity before comparing the price

  1. Total contents = size of each item × items in the entire offer, converted to a common base unit.
  2. Net price for the entire offer = entered offer price × (1 − discount percent ÷ 100) + extra charge. The extra charge is not discounted.
  3. Comparable unit price = net offer price ÷ total contents × your selected comparison amount.
  4. Lowest price and exact ties are determined before display rounding. Savings = highest comparable price − lowest comparable price, for the same comparison amount. Percentage savings = savings ÷ highest comparable price × 100; undefined if every price is zero.

Worked example

Offer A: one 500-gram pack at $4.50. Offer B: one 1-kilogram pack at $8.00. With no discounts or extra charges, A costs $9 per kilogram and B costs $8 per kilogram. B is cheaper by $1 per kilogram, or 11.111…% relative to A.

Defaults and assumptions

Limitations

Precision and rounding

Decimal and fraction entries, grouped thousands, unit conversions, net prices, comparisons, and tie decisions use exact rational arithmetic (fractions). Unit changes show up to 12 significant digits and retain the exact converted value internally until that field is edited. Unit prices display up to 6 decimal places; offer totals display 2. Rounded prices may look tied even when exact prices differ. Downloaded records include exact unit prices and both displayed and exact converted inputs.

Sources

Use the assumptions, worked example and sources to interpret your result. Estimates do not replace professional advice.

How to use this calculator

  1. Choose one measurement type and the amount you want to compare, such as 100 grams or 1 litre.
  2. Add 2–20 offers. Enter the size of each item, the number of items included, and the price for the entire offer.
  3. Add optional discounts and extra charges. Calculate to compare exact-ranked unit prices, ties, and savings.

Common questions

Is the larger package always cheaper?

No. Comparing a common quantity can reveal a cheaper small pack. This tool compares total contents and the effective offer price.

Does the price apply to each item or the whole multipack?

Enter the price for the entire offer. For a six-pack of 330 mL cans, enter 330 mL as each item’s size, 6 items, and the six-pack’s total price.

Can I compare fluid ounces with weight ounces?

No. Choose volume for fluid ounces and weight for ounces by mass. US and Imperial volume units are separately labeled.

Why can two displayed prices look equal but only one wins?

Unit prices are displayed with limited decimal places. Rankings use exact values before rounding, and only exact ties share the lowest-price highlight.

Report a problem or suggest a calculator

Found a confusing result, a missing option, or an idea for a new calculator? Send it privately to the site owner.

Opening the form loads Cloudflare Turnstile, a spam check that processes connection and device information. Privacy details.

Related tools