Unit Price Calculator
Compare up to four products by total price and total quantity. The tool calculates price per unit and highlights the best deal.
Add this tool to your own site with one line of HTML. Free forever — just keep the small credit link.
How to use Unit Price
- Give each option a short name so you can tell the rows apart.
- Enter the total price you pay for each option.
- Enter the total quantity each option contains, using the same unit for every row.
- Read the price per unit calculated automatically for each row.
- The lowest price per unit is highlighted in green and marked BEST.
Unit price calculator: find the genuinely cheapest option
Sticker price tells you what you pay; unit price tells you what you actually get for the money. This tool compares up to four products by dividing each total price by its quantity, then highlights the lowest cost per unit. Below is why unit pricing beats gut instinct, how to set up a fair comparison, and the situations where the cheapest unit price is still the wrong choice.
The unit price formula
Unit price = total price ÷ total quantityThe trick is keeping the quantity in one consistent unit. A $3.50 box of 200 g and a $5.00 box of 320 g become $0.0175 and $0.0156 per gram — so the bigger box wins by about 11% per gram, a gap you would miss by eyeballing the prices.
Why "bigger is cheaper" is a myth
Shoppers tend to assume the family size always costs less per unit, and stores know it. Studies of supermarket shelves regularly find larger packages priced higher per unit than mid-size ones — a pattern sometimes called the "quantity surcharge." Promotional pricing and odd pack sizes muddy the picture further. Calculating the per-unit cost is the only reliable way to cut through it.
Setting up a fair comparison
- Use one unit for every row. Convert ounces to grams, or count to weight, before you enter the numbers.
- Include unavoidable costs. Roll shipping and non-recoverable tax into the total price so online and in-store options compete fairly.
- Compare what you consume. Cost per serving or per usable portion is often more meaningful than cost per gram, especially when packaging or waste differs.
When the lowest unit price is the wrong call
Cheapest per unit isn't automatically the smartest buy:
- Perishables:a bulk pack you can't finish before it spoils wastes money no matter the unit price.
- Storage limits: warehouse-size packs need space you may not have.
- Cash flow: a lower unit price can still mean a larger upfront outlay than your budget allows this week.
- Quality and preference:two products at the same unit price may differ in quality, brand, or taste in ways the number can't capture.
Unit pricing on the shelf label
Many regions require stores to print a unit price on the shelf tag, usually in small print beside the main price. When it's missing, inconsistent (one item per 100 g, another per kg), or you're shopping online, doing the math yourself with this calculator keeps the comparison honest.
Related calculators
- Discount Calculator— turn a percentage off into a real sale price.
- Percentage Calculator— compare options by percent difference.
- Weight Converter— convert grams, ounces, and pounds to a common unit.
Frequently asked questions
What units should I use?
How is the price per unit calculated?
Are multipacks like "12-pack" supported?
Why is the bigger package not always the better deal?
Does it factor in shipping or tax?
Should I always buy the lowest unit price?
How do I compare items sold by count against items sold by weight?
Related tools
More tools you might find useful in the same flow.
Discount Calculator
Free discount calculator: enter original price and discount %, see sale price and amount saved. Add tax to get the final out-the-door price.
BMI Calculator
Free BMI calculator with WHO categories, Asian-adjusted thresholds, and healthy weight range for your height. Supports metric and imperial units.
Age Calculator
Free age calculator: see your exact age in years, months, days, weeks, and hours. Calculates days until your next birthday. Pick any reference date you like.
Percentage Calculator
Free percentage calculator. Find X% of Y, percent change between two values, percent increase/decrease, and reverse-percentage problems in one tool.
Built by Muhammad Tahir · About