Unit Price Calculator

Compare grocery deals per gram, millilitre or piece: enter price and quantity per option to get unit prices, best value, and the saving.

Comparisons are computed locally in your browser. No prices, lists or data ever leave your device.

Symbols are display only — nothing is converted at exchange rates, and all rows must be in the same currency.

PriceQuantityUnitPrice per unit

Multipack bonus

Estimates from the shelf prices you enter — taxes, fees and delivery are out of scope; check in store.

How It Works

Every comparison in this tool is one division: unit price = price ÷ quantity, shown to four significant figures with the currency symbol you picked. Two options are only comparable when their quantities are measured in the same unit — the tool refuses to rank a gram row against a kilogram row and tells you to convert first, which is the same rule a price tag follows.

Unit price is the only fair ruler
Shelf design works against per-unit thinking: eye-level premium packs sit next to low-shelf bulk packs whose price per gram can actually be higher, and when a manufacturer shrinks the package but keeps the price, the sticker total hides the change. Dividing by the net weight puts every pack back on the same ruler — the multipack helper does the same job by treating pack price ÷ items as one option.
Why mismatched units are blocked
Automatically juggling g, kg, ml and L sounds helpful until a row silently compares grams against millilitres, where the conversion depends on the product's density, not the unit. Staying in one unit per comparison is slower by one step and wrong far less often; pieces and 'each' cover items with no meaningful mass.
Bulk-buy sanity check
The cheapest-per-unit option is not automatically the cheapest decision: the big tub only wins if you eat it before it expires, it fits where you store things, and its total price fits the basket. The tool computes the unit-price gap honestly — the judgement about spoilage and freezer space stays with you.

Frequently Asked Questions

Do you support ounces, pounds or fluid ounces?

No — the tool intentionally offers one metric set (g, kg, ml, L) plus pieces and 'each'. Mixing metric and imperial inside one comparison is where unit-price mistakes actually happen, so if a label shows oz, weigh or convert it to grams first and enter the metric figure. That keeps every row on the same ruler.

Are taxes and delivery costs included?

No. Enter the shelf price you see; sales tax, fees and shipping are out of scope. For a true delivered-groceries comparison, fold the delivery fee into one option's price yourself (or compare per basket, not per gram) — the arithmetic will still hold, the tool just does not guess those numbers for you.

Does it convert between currencies?

No. The symbol dropdown ($, €, R$, Rp, ₹, £) is display-only: it prefixes your results so they read naturally. Nothing is converted at any exchange rate, and all rows in one comparison are assumed to be in the same currency.

Is the biggest package always the best value?

Usually not, and that is exactly why unit price is worth checking. Shops place eye-level premium packs against low-shelf bulk packs whose per-gram price can be higher, and shrinking package sizes hide behind unchanged shelf prices. Even when the bulk pack does win on unit price, spoilage, freezer space and your budget can hand the real saving to the smaller one.

Is anything uploaded to a server?

No. Prices and quantities are divided by plain JavaScript in your browser — no store APIs, no product database, no network request. You can run it in a shop on airplane mode and it keeps working.