AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I work out which product is the better value per unit?

Enter each product’s price and size in AnyTool Unit Price Calculator and it converts every option to one comparable unit price — price per 100 g for weight, price per litre for volume, or price per item for count — then ranks them and highlights the best value. The unit price is price ÷ (size × pack count), scaled to the display unit, so a 6-pack of 330 ml cans is correctly priced as 1,980 ml of product. It shows how much cheaper the best buy is per unit than the most expensive option, and warns if you accidentally mix weight with volume because those cannot be compared like-for-like. Everything runs live in your browser.

  • Unit price = price ÷ (size × pack), shown per 100 g, per litre or per item
  • Compares 2–6 options and highlights the lowest unit price as best value
  • “X for $Y” multipacks handled via a pack count
  • Only compare the same measure type — grams vs grams, ml vs ml
  • 100% in your browser — no upload, no signup, works offline

What is

Unit price (price per unit)

The unit price is the cost of a product per standard unit of weight, volume or count — for example per 100 g, per litre, per ounce or per item — found by dividing the package price by the amount of product it contains. It lets you compare differently sized or packaged products on a like-for-like basis, revealing the better value even when a bigger pack has a higher sticker price. Unit prices can only be compared within the same measure type: a price per gram cannot be compared with a price per millilitre.

Calculators

Related terms

Price per unitCost per ouncePrice per 100 gPrice per litreBest valueMultipack pricing

Frequently Asked Questions

Divide the package price by the amount of product. A 12 oz coffee at $8.99 is 8.99 ÷ 12 = about $0.749 per ounce.

To find a unit price, divide the total package price by the quantity of product it contains, then scale to a standard unit. For example, a 12 oz bag of coffee costing $8.99 has a unit price of 8.99 ÷ 12 = roughly $0.749 per ounce. AnyTool Unit Price Calculator does this for weight (per 100 g), volume (per litre) and count (per item), and lets you compare several products at once so the lowest unit price stands out as the best value.

No. Bulk sizes are not always cheaper per unit. Only the unit price tells you for sure — sometimes the smaller pack wins.

A larger package usually has a higher sticker price, but that does not guarantee a lower price per unit — promotions, pack sizes and brand premiums mean the smaller pack sometimes offers better value. The only reliable way to know is to compare the unit price. AnyTool ranks every option by price per 100 g, per litre or per item, so you can see at a glance which pack genuinely costs less per unit rather than guessing from the headline price.

Enter the pack count. The tool multiplies size × pack, so 6 × 330 ml = 1,980 ml, then prices it per litre against the big bottle.

To compare a multipack fairly, you need the total amount of product, not the per-can size. AnyTool’s pack-count field multiplies the single-unit size by the number of units, so a “6 for $9” pack of 330 ml cans is treated as 1,980 ml of product and priced per litre, which can then be compared directly with a single two-litre bottle. This avoids the common mistake of comparing one can against a whole bottle.

It tells you the best value per unit only. It does not judge quality, brand, freshness or whether you will use it all.

Unit price is purely about cost per gram, millilitre or item — it cannot weigh quality, taste, brand, ingredients or freshness, and it does not know whether you will finish a larger pack before it spoils. A lower unit price on a perishable bought in bulk is no saving if some goes to waste. AnyTool shows the lowest unit price as the best value but is explicit that the decision still rests on factors the maths cannot see, and it only compares products of the same measure type.

Detailed Explanation

Methodology

How the Unit Price Calculator Works

Every product is converted to a single comparable unit price within one measure type. Weight options are normalised to grams and priced per 100 g; volume options are normalised to millilitres and priced per litre; count options are priced per item. The formula is unit price = price ÷ (size × pack count × unit factor) × display scale, where the unit factor converts the chosen unit to the base (1 oz = 28.349523125 g, 1 lb = 453.59237 g, 1 fl oz = 29.5735295625 ml, 1 L = 1000 ml). The options are ranked by unit price ascending, the lowest is marked best value, and each item’s saving versus the most expensive option is reported as a percentage. All of this is produced by a pure function in a small, unit-tested engine.

  • Unit price = price ÷ (size × pack × unit factor) × display scale
  • Weight → per 100 g, volume → per litre, count → per item
  • Conversions: 1 oz = 28.3495 g, 1 lb = 453.592 g, 1 fl oz = 29.5735 ml
  • Lowest unit price is ranked first as the best value
  • All math is client-side JavaScript with no server round-trip
How It Works

Multipacks and the Bigger-Pack Myth

A multipack must be priced on the total amount of product it holds, not on its per-unit size. The pack-count field multiplies the single-unit size by the number of units, so a “6 for $9” pack of 330 ml cans is treated as 1,980 ml of product and priced per litre — directly comparable to a single 2 L bottle. This matters because the bigger pack is not always the better value: promotions, pack sizes and brand premiums mean a smaller pack sometimes costs less per unit, and studies suggest shoppers overpay by a noticeable margin when they compare sticker prices instead of unit prices. The calculator ranks every option so the genuinely cheaper-per-unit choice is obvious.

  • Total product = single size × pack count
  • 6 × 330 ml = 1,980 ml, priced per litre against a 2 L bottle
  • Bigger packs are not always cheaper per unit
  • Comparing sticker prices instead of unit prices can cost you money
  • Tool ranks 2–6 options and highlights the lowest unit price
Limitations

What Unit Price Cannot Decide

Unit price compares products on cost per gram, millilitre or item and nothing else. It does not account for quality, brand, taste, ingredients or freshness, and it cannot tell you whether you will use a larger pack before it spoils — a lower unit price on a perishable bought in bulk is no saving if some is wasted. The tool also enforces a like-for-like rule: weight and volume are different measure types and cannot be compared, so if you mix them it compares the largest matching group and sets the odd items aside with a warning. Figures are shown to up to four decimal places while full precision is used internally, and shelf labels may round differently.

  • Compares price per unit only — not quality, brand or freshness
  • A cheaper unit price is no saving if the bulk pack is wasted
  • Weight cannot be compared with volume — different measure types
  • Mixed measure types are set aside with a warning
  • An estimator for value shopping, not a substitute for judgement
Privacy & Security

Privacy and Offline Use

Because all computation runs in the browser, the prices and sizes you enter are never sent to a server, there is no account or tracking, and the page works offline after first load. The calculator is built on a shared, unit-tested unit-price engine so its behaviour is consistent and verifiable across weight, volume and count, and the full ranking — including the per-unit prices and the saving versus the priciest option — can be copied to the clipboard with one tap.

Unit price comparison: in-browser (AnyTool) vs typical online unit price calculators
CapabilityAnyToolTypical online unit price calculators
ProcessingRuns in your browserOften server-side
Items compared2–6 at once, rankedUsually 2
Measure typesWeight, volume & countOften weight only
Mixed-type guardWarns and sets asideRarely checked
MultipacksPack count (size × pack)Frequently absent
Best value & % savingHighlighted with bar chartOften plain result
Honest limitationStates price-only caveatUsually omitted
Works offlineYes (PWA)No
Cost / signupFree, no signupOften ad-heavy or gated

AnyTool computes unit prices locally and uploads nothing. Comparison as of June 2026.