Unit Price Calculator

Calculate the price per single unit by dividing a total price by the quantity. Useful for comparing package sizes and finding the best value when shopping.

Unit Price$2.00
Total Price
$12.00
Quantity
6 units

Unit price = total price divided by quantity. Compare unit prices across different package sizes to find the better deal.

What the Unit Price Calculator Does

The Unit Price Calculator turns a package's total price into a price per unit โ€” per ounce, gram, liter, sheet, or item โ€” so you can compare products that come in different sizes. Instead of guessing whether the big box is really cheaper than two small ones, you get one comparable number for each option.

It's useful for grocery shoppers, bulk buyers, small-business owners pricing supplies, and anyone deciding between sizes or brands. When the per-unit figures line up side by side, the better value is obvious, even when the sticker prices and package sizes are all different.

How It Works: The Unit Price Formula

The math is simple division. The unit price is the total price divided by the quantity in the package:

unit price = total price / quantity

The key is using the same unit for every product you compare. If one item is priced per 100 g and another per ounce, the numbers aren't comparable until you convert to a shared unit (such as price per gram or price per 100 g). Pick one unit, apply it to every option, then compare.

Worked Example

Suppose you're choosing between two bags of rice:

Bag A: 2 kg (2,000 g) for $4.50. Unit price = 4.50 / 2000 = $0.00225 per gram, or $0.225 per 100 g.

Bag B: 5 kg (5,000 g) for $10.00. Unit price = 10.00 / 5000 = $0.00200 per gram, or $0.200 per 100 g.

Bag B costs $0.20 per 100 g versus $0.225 for Bag A, so it's about 11% cheaper per gram. The larger bag wins here โ€” but only because the math confirmed it, not because bigger always means cheaper.

Tips and Common Mistakes

A few habits keep your comparisons honest and accurate:

  • Match the units. Convert everything to the same measure (g, ml, count) before dividing โ€” mixing ounces and grams gives meaningless results.
  • Use the right quantity. For multipacks, multiply: a 6-pack of 330 ml cans is 1,980 ml total, not 330.
  • Don't assume bulk is cheaper. Large sizes sometimes carry a higher unit price, so always check.
  • Compare like with like. Concentrated and ready-to-use versions, or drained versus total weight, can make a low unit price misleading.
  • Watch the decimals. Per-unit prices are often fractions of a cent; rounding too early can flip which option looks better.

Factors That Affect the Result

The unit price only reflects what you put in, so a few outside factors still matter. Sales, coupons, and loyalty discounts change the effective total price โ€” recalculate using the price you'll actually pay, not the shelf price.

Practical needs matter too. A lower unit price on a giant size isn't a saving if the product expires before you use it, or if storage and upfront cost are problems. Use the per-unit figure to find the best value, then weigh it against how much you'll realistically use.

Frequently asked questions

How is unit price calculated?

Unit price is the total price divided by the quantity. For example, $12 for 6 items is $2.00 per item.

Why compare unit prices?

Comparing the price per single unit lets you fairly judge value between packages of different sizes, even when the total prices differ.

What can quantity represent?

Quantity can be any countable or measurable amount, such as items, kilograms, liters, or ounces. Just keep the unit consistent for accurate comparisons.