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.
Enter a price and a size for each item. Everything is calculated in your browser. Nothing is uploaded.
Comparing 2 items
- Bulk pack$8.49 for 64 oz$0.468/ 100 gBest value
- Store brand$4.99 for 32 oz$0.55/ 100 g+17.6% vs best
How to calculate unit price and compare products
Enter each product
Add a row for every product with its price, its size or quantity, and the unit it is measured in.
Read the unit prices
The price per unit is worked out for each item automatically, and the cheapest is flagged as the best value.
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
Discount Calculator
Work out the sale price, total savings, and overall percent off for stacked percentage or fixed-amount discounts, or reverse it to find the discount between two prices.
Unit Converter
Convert length, weight, temperature, and data sizes between units, live as you type.
Percentage Calculator
Find X% of a number, what percent one number is of another, and the percentage change between two values, live as you type.
401(k) Calculator
Project your 401(k) balance at retirement from your contributions, employer match, and expected return, year by year.
Amortization Schedule Calculator
Build a full payment-by-payment schedule for any fixed-rate loan, with the payoff date and the interest you save by paying extra.
APY Calculator
Turn a nominal rate and compounding frequency into the true annual percentage yield, project a balance, or reverse solve the rate.