Search tools

Find a tool by name or what it does.

Unit Price Calculator

Compare two or more products by their price per unit, see which is the better deal, and find out how much you save. Updated as you type.

Items

Enter a price and a size for each item. Everything is calculated in your browser. Nothing is uploaded.

Results

Comparing 2 items

Currency
Show price per
Best value
Bulk pack
$0.468
per 100 g
Saves 14.9% versus the most expensive option (Store brand).
  • Bulk pack
    $8.49 for 64 oz
    $0.468/ 100 g
    Best value
  • Store brand
    $4.99 for 32 oz
    $0.55/ 100 g
    +17.6% vs best

How to calculate unit price and compare products

  1. Enter each product

    Add a row for every product with its price, its size or quantity, and the unit it is measured in.

  2. Read the unit prices

    The price per unit is worked out for each item automatically, and the cheapest is flagged as the best value.

  3. Compare and copy

    See how much you save against the most expensive option, switch the display unit if you like, then copy the summary.

Why use this tool

Compare two or more products

Add as many items as you need and the tool ranks them by real cost, so the bigger package never fools you into overpaying.

Sizes normalized automatically

Weights in grams, kilograms, ounces, and pounds line up correctly, and volumes in milliliters, liters, and fluid ounces do too.

Best value and percent saved

The cheapest item is highlighted, and you see the percentage you save against the most expensive option at a glance.

Flexible price-per-unit display

Show the result per 100 grams, per kilogram, per ounce, per pound, or per item without retyping anything.

Clear guards on bad input

A size of zero is skipped instead of dividing by nothing, and mixing weight with volume is flagged rather than compared.

Runs entirely in your browser

Everything happens on your device. The prices and sizes you enter are never uploaded, stored, or logged.

About this tool

The unit price calculator answers the everyday shopping question: which package is actually the better deal? Enter the price and size of two or more products, pick the unit each one is measured in, and it works out the price per unit for every item, then flags the cheapest. The bigger box is not always the bargain, and comparing a 12 ounce bag against a 1 pound bag in your head is exactly the kind of arithmetic this tool removes.

It normalizes every size to a common base before comparing, so a mix of grams, kilograms, ounces, and pounds all line up, and volumes in milliliters, liters, and fluid ounces do the same. You choose how the answer is shown, whether per 100 grams, per kilogram, per ounce, or per item, and the ranking never changes because the underlying cost is identical. The best value is highlighted, and you also see the percentage you save against the most expensive option and how much more each other item costs.

Items have to share the same kind of measurement to be comparable, so you cannot weigh one product and measure another by volume. The tool tells you when the units do not match instead of printing a misleading figure, and a size of zero is ignored rather than dividing by nothing. Everything is calculated in your browser as you type, and nothing is uploaded. For related jobs, the discount calculator works out sale prices, while the unit converter changes a measurement from one unit to another.

Frequently asked questions

How is the unit price calculated?
Each product size is converted to a common base measure, then the price is divided by that base to get a cost per unit. Because every item uses the same base, the numbers can be compared directly no matter what size or unit you entered.
Which units can I compare?
Weight in grams, kilograms, ounces, and pounds; volume in milliliters, liters, and fluid ounces; and plain counts of items. Anything within the same family, such as ounces against pounds, is comparable.
Why does it say the units do not match?
Weight, volume, and count are different kinds of measurement, so a price per gram cannot be compared with a price per milliliter. Put every item in the same family of unit and the comparison will run.
What happens if I enter a size of zero?
A size of zero, or a blank or negative size, is skipped rather than dividing by nothing. Give each item a size above zero and a price to include it in the comparison.
Can I change how the price per unit is shown?
Yes. Pick per 100 grams, per kilogram, per ounce, per pound, or per item, and the displayed figures update instantly. The choice only changes the display, so the best value and the percentage saved stay the same.
Is my data uploaded anywhere?
No. Everything runs in your browser; nothing is sent to a server. The prices and sizes you enter are never uploaded, stored, or logged.

Related tools