AZ Tools

Unit Price Comparator

Everyday

The 500g bag at $4.99 or the 2kg bulk at $13.50 — which is actually cheaper? This tool normalizes every item to its base unit (gram, milliliter, or piece) and ranks them so you can see at a glance. Useful at the supermarket, comparing bulk vs single packs, or when retailers obscure the unit price. Supports mass (g, kg, mg, oz, lb), volume (mL, L, fl oz US, cup US, gal US), and count (pc, dozen, pack). The cheapest option is starred and others show how much more they cost per unit (e.g. `+18.4%`).

RankNamePriceQuantityUnitPrice /gvs best
29.980e-3+47.9%
6.750e-3★ best
30.01318+95.3%

Price-per-unit is normalized to /g (mass), /mL (volume), or /piece (count). Cheapest = best deal.

How to use

  1. Pick a unit group: mass for foods sold by weight, volume for liquids, count for individual items.
  2. Add a row for each product: name, price, quantity, and the unit it's sold in.
  3. Rows are ranked by price-per-base-unit. The cheapest gets a star; others show their markup.

Frequently asked questions

Why does the unit matter?
You can't compare $4.99 for 500g directly to $13.50 for 2kg. Normalizing to price-per-gram lets you compare apples to apples: 500g→$0.00998/g vs 2kg→$0.00675/g. The bulk wins by 32%.
Are US or metric units used?
Both, within their group. For volume the imperial units are explicitly US (US fl oz ≠ UK fl oz). For mass, oz/lb are international avoirdupois. If you need a specific country's gallon or pint, do the conversion first.
Does it save my shopping list?
Yes — the rows are saved to your browser's localStorage, so reopening the page restores them. Nothing is sent anywhere.

Related tools