🏷️ Price Per Unit (Unit Price) Calculator
By ToolNimba Finance Team · Reviewed by ToolNimba Editorial Review, consumer money content · Updated 2026-06-19
This calculator compares the prices and quantities you enter and does not account for quality, freshness, shelf life, brand differences, or whether you will actually use the larger size before it spoils. Unit price is one factor in a buying decision, not the only one. Always check that you are comparing the same unit of measure on both products before trusting the result.
| Product | Price | Quantity | Price per unit | vs best |
|---|
A price per unit calculator tells you the real cost of a product per unit of measure (per gram, per millilitre, per sheet, per item) so you can compare two or more packages fairly even when their sizes and prices differ. Enter the total price and the quantity for each option, and the tool works out the unit price and highlights the cheapest. It is the quickest way to cut through bigger-box marketing and see which package is genuinely better value at the shelf.
What is the Price Per Unit Calculator?
Unit price is simply the total price of a product divided by the number of units it contains: price per unit = total price ÷ quantity. A 500 g bag of rice at $4.50 works out to $0.009 per gram, or $0.90 per 100 g. Expressing everything in the same per-unit terms removes the confusion of different pack sizes, so a small bottle and a large bottle become directly comparable.
Retailers price products in ways that make comparison hard on purpose. Two brands of the same item may be sold in 330 ml and 375 ml sizes at prices that look similar, and a multi-buy or club-size pack is often presented as the obvious bargain. Sometimes the bigger pack really is cheaper per unit, and sometimes it is not, the only way to know is to divide price by size. Many regions now require shelf labels to show unit price for exactly this reason, but the displayed unit can vary (per 100 g versus per kilogram), which is where errors creep in.
The golden rule is to compare like with like. Convert both products to the same unit before dividing, never compare a price per litre against a price per 100 ml without scaling. This calculator lets you pick whether to express the result per 1, per 100, or per 1000 units, so you can match whatever the shelf label uses. It also shows how much more each pricier option costs as a percentage, which makes a marginal difference easy to spot.
When to use it
- Comparing two or more package sizes of the same grocery item to find the cheapest per gram or per millilitre.
- Deciding whether a bulk or club-size pack is actually better value than the regular size.
- Checking paper towels, nappies, capsules, or batteries by price per sheet, per item, or per unit rather than per pack.
- Sanity-checking a shelf unit-price label, or working one out when the store has not provided it.
How to use the Price Per Unit Calculator
- Optionally set the currency symbol and choose whether to compare per 1, 100, or 1000 units.
- For each product, enter the total price and the quantity or size in the same unit of measure.
- Use "Add product" to compare three or more options, or "Remove" to drop one.
- Read the price per unit for each product and see the cheapest highlighted as the best value.
Formula & method
Worked examples
Pack A costs $4.50 for 500 g and Pack B costs $7.20 for 900 g. Which is better value per 100 g?
- Pack A per gram = 4.50 ÷ 500 = $0.009
- Pack A per 100 g = 0.009 x 100 = $0.90
- Pack B per gram = 7.20 ÷ 900 = $0.008
- Pack B per 100 g = 0.008 x 100 = $0.80
- Compare: $0.80 is less than $0.90
- Difference = (0.009 - 0.008) ÷ 0.008 = 0.125 = 12.5% more for Pack A
Result: Pack B is the best value at $0.80 per 100 g, about 12.5% cheaper per gram than Pack A
A 6-pack of soap costs $5.40 and a single bar costs $1.20. Which is cheaper per bar?
- 6-pack per bar = 5.40 ÷ 6 = $0.90
- Single bar per bar = 1.20 ÷ 1 = $1.20
- Compare: $0.90 is less than $1.20
- Difference = (1.20 - 0.90) ÷ 0.90 = 0.333 = 33.3% more for the single bar
Result: The 6-pack wins at $0.90 per bar, about 33.3% cheaper per bar than buying singles
Worked unit prices for common pack comparisons
| Product | Total price | Quantity | Price per unit |
|---|---|---|---|
| Rice bag | $4.50 | 500 g | $0.0090 per g ($0.90 / 100 g) |
| Rice bag (large) | $7.20 | 900 g | $0.0080 per g ($0.80 / 100 g) |
| Soap 6-pack | $5.40 | 6 bars | $0.90 per bar |
| Soap single | $1.20 | 1 bar | $1.20 per bar |
| Juice bottle | $3.00 | 1500 ml | $0.0020 per ml ($0.20 / 100 ml) |
Common unit-of-measure conversions to compare like with like
| Quantity given | Convert to | Multiply or divide |
|---|---|---|
| kilograms | grams | x 1000 |
| litres | millilitres | x 1000 |
| per kilogram | per 100 g | price ÷ 10 |
| per litre | per 100 ml | price ÷ 10 |
| ounces | grams | x 28.3495 |
Common mistakes to avoid
- Comparing different units of measure. Dividing one product by grams and another by ounces, or comparing a price per litre against a price per 100 ml, gives meaningless results. Convert both products to the same unit first, then divide.
- Assuming the bigger pack is always cheaper. Larger and club-size packs are usually but not always lower per unit. Sometimes a promotion on the small size beats the bulk price. The only way to be sure is to calculate the unit price for each.
- Ignoring waste and spoilage. A lower unit price on a large perishable pack is not a saving if you throw half of it away. Factor in how much you will realistically use before it expires.
- Forgetting multi-buy and loyalty pricing. A unit price based on the shelf price can change at the till if a buy-one-get-one or member discount applies. Calculate using the price you will actually pay.
Glossary
- Unit price
- The cost of a single unit of measure of a product, found by dividing the total price by the quantity.
- Quantity
- The amount the package contains, expressed in a unit of measure such as grams, millilitres, sheets, or items.
- Unit of measure
- The base amount used for comparison (per gram, per 100 ml, per item). Both products must use the same one.
- Best value
- The product with the lowest price per unit among those compared, holding quality and quantity needs aside.
- Bulk pricing
- A lower per-unit price offered for buying a larger quantity, which is common but not guaranteed to be the cheapest.
Frequently asked questions
How do I calculate the price per unit?
Divide the total price by the quantity: price per unit = total price ÷ quantity. For example, $4.50 for 500 g is $0.009 per gram, or $0.90 per 100 g. This tool does it for every product you enter and highlights the cheapest.
How do I compare two products of different sizes?
Work out the price per unit for each one using the same unit of measure, then compare those figures. The product with the lowest price per unit is the better value. The calculator lets you choose per 1, per 100, or per 1000 units so you can match the shelf label.
Is the bigger package always the better deal?
No. Larger packs are often cheaper per unit but not always, especially when a smaller size is on promotion. Calculate the unit price for each option rather than assuming, and weigh in whether you will use the full larger pack before it spoils.
What units can I compare?
Any unit, as long as both products use the same one: grams, kilograms, millilitres, litres, sheets, capsules, bars, or individual items. If two products list different units, convert one so they match before comparing.
Does unit price include sales tax or discounts?
It uses whatever total price you enter. For an accurate comparison, enter the price you will actually pay, including any multi-buy, loyalty, or member discount, since those can change which option is cheapest.
Why does my result differ from the shelf label?
Shelf labels and your figure can differ if they use a different unit (per kilogram versus per 100 g), round differently, or reflect a promotion. Check that you are comparing the same unit of measure, and use the actual checkout price.
Sources
- Unit Pricing , U.S. Federal Trade Commission
- How to use unit pricing , Australian Competition and Consumer Commission