Converts weight, volume and countReviewed 29 Sep 2026Runs in your browser

Unit Price & Grocery Comparison Calculator

Compare up to six products by price per ounce, pound, litre, sheet or any other unit. Mixed package units are converted for you, so a 16 oz jar and a 1 kg tub can be compared fairly.

Who wrote it

Written by Suhaib Hassan. Conversion factors come from NIST Special Publication 811. Our methodology.

How the engine works

It converts every package to one base unit, divides the shelf price by the quantity, and ranks products by the resulting unit price.

Why we built it

Shelf labels use different units and pack sizes. This puts them on one scale and shows what the bigger pack really saves.

Compare by
Show price per
Quick presets
Lowest unit price
A

Standard baseline

Baseline
$
Unit price
—/ oz
—
—
Lowest unit price
B

Value pack

—
$
Unit price
—/ oz
—
—
Lowest unit price
C

Club size

—
$
Unit price
—/ oz
—
—

What the best buy saves

—

Conversion factors

Unit conversions used

Prices are compared after converting every package to grams, millilitres or single items. The factors below are exact or standard values from NIST Special Publication 811.

DimensionUnitEqualsMetric
Weight1 pound (lb)16 ounces (oz)453.59237 g
Weight1 kilogram (kg)35.274 oz1,000 g
Liquid1 US gallon (gal)128 fl oz3.785412 L
Liquid1 US pint (pt)16 fl oz473.1765 mL
Shrinkflation check

Did the pack get smaller?

Makers sometimes cut the pack size and keep the price. Enter the old and new sizes to see the hidden price rise per unit.

Hidden price increase per unit—
—

How unit price is calculated

Every package is converted to a common base unit first, then compared.

1. Normalise

Convert the package quantity to a base unit (grams, millilitres or items) using the factors in the table.

base qty = qty × factor

2. Unit price

Divide the shelf price by the base quantity, then scale to the unit you want to see.

unit price = price ÷ base qty × unit factor

3. Savings

Compare each unit price with the baseline (item A) to see the percentage saved per unit.

saving = 1 − (unit price ÷ baseline price)

Worked examples

Illustrative prices, each checked by hand. The first is the default comparison.

Three sizes, one product

16 oz for $4.99, 32 oz for $8.49 and 64 oz for $15.99.

A: 4.99 ÷ 16 = $0.3119/oz
B: 8.49 ÷ 32 = $0.2653/oz
C: 15.99 ÷ 64 = $0.2498/oz
C saves 1 − 0.2498/0.3119 = 19.9%

Mixed units

A 1 lb bag at $3.20 against a 500 g bag at $2.10.

1 lb = 453.59 g
3.20 ÷ 453.59 = $0.00705/g
2.10 ÷ 500 = $0.00420/g
the 500 g bag is 40% cheaper per gram

Shrinkflation

A 16 oz pack becomes 14.5 oz at the same price.

price per oz rises by 16 ÷ 14.5 − 1
= +10.34%
pack size falls by 1 − 14.5 ÷ 16 = 9.38%

How to compare unit prices

  • Pick what the products are measured in: weight, volume, or a count such as sheets.
  • Enter each shelf price and the net quantity printed on the package, and choose the unit that the label uses.
  • Read the unit price on each card. The lowest is marked as the best buy.
  • Check the bigger pack will actually be used before it expires or goes stale.

Unit price is only one part of value. A larger pack is not a saving if some of it is thrown away, and store brands can differ in quality.

By Suhaib Hassan · Reviewed 29 September 2026 · How CalculatePilot verifies formulas →

Sources

  • NIST Special Publication 811, Guide for the Use of the International System of Units (SI), and NIST conversion factors for pounds, ounces, gallons and pints.
  • NIST Handbook 130, Uniform Laws and Regulations in the Areas of Legal Metrology and Engine Fuel Quality, which includes a model unit pricing regulation for states to adopt.

Frequently asked questions

Are stores required to show unit prices?

It depends on the state. NIST Handbook 130 publishes a model unit pricing regulation, and some states or retailers follow it or similar rules, but there is no single US federal requirement. Where shown, the shelf label gives the price per a set unit such as an ounce or 100 sheets.

What is the difference between ounces and fluid ounces?

An ounce measures weight (about 28.35 g) and a fluid ounce measures volume (about 29.57 mL). They are not interchangeable: 16 fl oz of honey weighs roughly 22 to 24 oz. That is why this tool compares weight, volume and count separately.

How do I compare paper towels or toilet paper fairly?

Roll names such as "mega" or "double" are not standard. Compare the total sheet count, or total area, printed on the pack: price ÷ (rolls × sheets per roll). Use the Count option and enter the total sheets.

Is the bigger pack always cheaper per unit?

Not always. Bulk packs are usually cheaper per unit, but promotions, store brands and multi-buy deals can make a smaller pack the better value. That is what the comparison is for.

How is the shrinkflation percentage worked out?

If the price stays the same and the pack shrinks, the price per unit rises by old size ÷ new size − 1. A 16 oz pack that becomes 14.5 oz raises the price per ounce by 10.34%.

Related calculators

More everyday tools.

All Everyday Calculators

Embed This Unit Price Calculator

Free and responsive, and it runs in the visitor's browser. Branding removal from $7.99/month.

<iframe src="https://www.calculatepilot.com/embed/unit-price-calculator.html" width="100%" height="560" loading="lazy" title="Unit Price Calculator"></iframe>
For website owners

Want this calculator on your own website?

Embed it in one line of code. Keep it free with a small CalculatePilot attribution link, or go white-label: your brand, no attribution, one license for all your domains.

  • All 159 calculators, unlimited embeds
  • Works on WordPress, Webflow, Squarespace, Wix and plain HTML
  • Runs in your visitor's browser, so nothing is sent to a server
  • License key emailed automatically after checkout, cancel anytime
$7.99 / month
or $89.99 / year · white-label Pro
Get the white-label license Embed free with attribution