Unit Price Calculator

Compare the price per gram, kilogram, litre or item of products in different sizes and see which one is the best value.

Finance & Business Runs in your browser · no upload

Reviewed 23 November 2026 · Free · No account needed

ExecutionYour browserInput never leaves your tab
File retentionNoneNothing is stored
AccountNot requiredNo sign-up, no paywall
PriceFreeNo trial, no usage cap on the tool itself

How to use

  1. Enter a price and the size printed on the pack for each product.
  2. Pick the unit for each row. Use Packs when the price covers several packs.
  3. Choose how to show the price, such as per 100 g or per litre.
  4. Read which product has the lowest unit price and how much more the others cost.

Example

Input: 3.99 for 500 g, 7.49 for 1 kg

Output: 0.798 and 0.749 per 100 g, so the 1 kg pack is the better value by about 6.5 percent

How it works

Each size is converted to a base unit (grams, millilitres or single items) and multiplied by the number of packs. The price is divided by that total to give a price per base unit, which is then scaled to the unit you chose, such as 100 g or a litre. The lowest price per unit is marked as the best value.

Unit price = price ÷ (size × packs × base units per unit) × amount shown per unit. Percent more = (unit price ÷ best unit price − 1) × 100.

Limits and edge cases

  • Products must be the same kind of unit: weight, volume or count. Weight and volume cannot be converted into each other without knowing the density.
  • Fluid ounces, pints, quarts and gallons are US sizes. UK imperial pints and gallons are larger.
  • Up to 8 products can be compared at once. Empty rows are ignored.
  • A low unit price is not always a better buy: it ignores quality, coupons, storage and how much you will actually use.
  • A multi-pack counts every pack: 6 cans of 330 ml is 1,980 ml.
  • 1 US fluid ounce is 29.5735 ml, 1 ounce is 28.3495 g and 1 pound is 453.592 g.
  • A row with only a price or only a size shows what is missing and is left out of the comparison.
  • If rows use different kinds of unit, the first valid row decides the kind and the others are flagged.

Privacy

Everything is calculated in this browser tab. The prices and rates you enter are never sent to a server or stored.

About this page

Written and reviewed by Toolnexo on 23 November 2026. The limits above describe the published tool, not an idealised version of it. If a result looks wrong or the page is unclear, email [email protected] with the tool URL and what you entered. Corrections are published here.

Further reading

Guides that use Unit Price Calculator

All guides →

Related tools

FAQ

Questions about Unit Price Calculator

How do I compare the price of different sizes?

Work out the price per unit for each, using the same unit. Enter each price and size, choose the unit, and the tool shows the price per 100 g, per kg, per litre or per item so you can compare directly.

Is the bigger pack always cheaper per unit?

No. Larger packs are often cheaper per unit, but not always, and sales and multi-buy offers can reverse it. Comparing the unit price is the reliable way to check.

Can I compare grams with ounces?

Yes. Every size is converted to grams or millilitres first, so you can mix g, kg, oz and lb, or ml, l and US fluid ounces, in the same comparison.

Why does it say to compare like with like?

Weight, volume and count cannot be converted into each other without more information. A litre of oil and a kilogram of rice have different weights per litre, so the tool will not guess.

How do I enter a multi-pack?

Enter the size of one pack and the number of packs. A price for 6 cans of 330 ml is size 330, unit ml and packs 6, which the tool treats as 1,980 ml.