Unit Rate Calculator

Calculate the price per unit or compare two rates to find the better deal.
Essential for grocery shopping and cost comparisons.

$
$
Changes the symbol only. No exchange-rate conversion is applied.
Unit Rate

Unit rate is the cost, speed, or quantity expressed per one unit of a reference measure. It turns up in grocery shopping, budgeting, fuel economy, and wages, and it is the only fair way to compare two packages of different sizes.

Core formula:

Unit Rate = Total Value / Total Quantity

Price comparison formula:

Unit Price A = Price A / Quantity A

Unit Price B = Price B / Quantity B

The option with the lower unit price is the better deal (assuming equal quality).

Percentage savings:

Savings % = (Higher Unit Price − Lower Unit Price) / Higher Unit Price × 100

Worked example: grocery store comparison: Option A: 32 oz bottle of orange juice for $3.49 Option B: 64 oz bottle of orange juice for $5.99

  • Unit price A = $3.49 / 32 = $0.10906/oz
  • Unit price B = $5.99 / 64 = $0.09359/oz
  • Option B saves $0.01547/oz → 14.2% cheaper per ounce

Work that percentage from the full unit prices, not the rounded ones. Rounding to three decimals first (0.015 / 0.109) gives 13.8%, and on a weekly shop that half-point of drift adds up.

One rule the arithmetic cannot enforce: both quantities have to be in the same unit. A 2 lb bag against a 500 g bag is not a comparison until you convert one of them, and this is the single most common way a unit-price comparison goes wrong in a supermarket aisle.

Unit rate in everyday life:

Scenario Unit Rate Formula
Fuel economy Miles per gallon (MPG) Total miles / gallons used
Hourly wage Dollars per hour Weekly pay / hours worked
Internet speed Megabits per second File size / download time
Population density People per square mile Population / area
Gas cost per mile $/mile Gas price / MPG
Grocery value $/ounce or $/lb Price / weight

Speed as a unit rate: Speed = Distance / Time 60 miles per hour means you travel 60 miles for every 1 hour elapsed. That is a unit rate: distance per one unit of time.

Converting unit rates between systems:

  • $/oz to $/lb: multiply by 16
  • $/kg to $/lb: divide by 2.205
  • MPG to km/L: multiply by 0.425
  • km/L to MPG: multiply by 2.352

Practical shopping tip: Many grocery stores display the unit price on shelf labels (usually per ounce, per pound, or per 100g). When unit prices are shown, comparison takes seconds. When they are not shown, or when the two labels quote different units, this calculator does it instantly.

Bigger is not automatically cheaper, either. Store-brand family packs usually are, but a promoted small size on a two-for-one deal often beats the large one outright, and the shelf label rarely reflects the promotion.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.