How to Calculate Unit Price: Formula, Examples and Unit Price Calculator

Unit Price Calculator

The Unit Price Calculator helps you quickly compare the cost per unit of different products so you can identify better value when shopping.

When you’re shopping, the cheapest-looking product isn’t always the best deal. Packages often come in different sizes, quantities, and prices, which can make comparison difficult.

Calculating the unit price helps you compare products fairly by showing how much you pay for one unit, such as one item, kilogram, liter, ounce, or other measurement.

A Unit Price Calculator makes this comparison quick and easy.

What Is Unit Price?

Unit price is the cost of a product for one unit of quantity.

For example, suppose a pack of 10 bottles costs $20.

The unit price is:

$20 ÷ 10 = $2

So each bottle costs $2.

Unit Price Formula

The basic formula is:

Unit Price = Total Price ÷ Quantity

For example:

Total Price = $24

Quantity = 8

Calculation:

$24 ÷ 8 = $3

The unit price is $3 per item.

Example 1 — Comparing Two Packages

For more information about unit pricing and comparing product prices, see the Unit Pricing Guide from the National Institute of Standards and Technology (NIST).

Suppose you’re choosing between two packages.

Package A:
10 items for $20

Package B:
15 items for $27

Package A:

$20 ÷ 10 = $2.00 per item

Package B:

$27 ÷ 15 = $1.80 per item

Even though Package B costs more overall, its unit price is lower.

Package B is the better value per item.

Example 2 — Price Per Kilogram

Suppose a 5 kg bag costs $30.

Calculate:

$30 ÷ 5 = $6

The unit price is:

$6 per kg

If another 8 kg bag costs $44:

$44 ÷ 8 = $5.50 per kg

The larger bag has the lower unit price.

Quick Unit Price Examples

Total PriceQuantityUnit Price
$105$2.00
$2010$2.00
$248$3.00
$305 kg$6.00/kg
$4515$3.00

Where Is Unit Price Useful?

Unit pricing can help when comparing many everyday products.

🛒 Groceries — compare different package sizes.

🥤 Drinks — compare price per bottle, liter, or milliliter.

🍚 Food staples — compare price per kilogram or gram.

🧻 Household products — compare price per roll, sheet, tablet, or item.

📦 Bulk purchases — determine whether buying a larger package actually provides better value.

Why Use a Unit Price Calculator?

Doing these calculations manually can become inconvenient when you’re comparing several products.

A Unit Price Calculator can quickly show:

Total Price → Quantity → Unit Price

This makes it easier to compare two or more options using the same measurement.

However, remember that the lowest unit price isn’t automatically the best purchase. Product quality, how much you actually need, storage space, and whether you can use the product before it expires can also matter.

Calculate Your Unit Price

Enter the total price and quantity into our Unit Price Calculator to quickly calculate the cost per unit and compare your options.

👉 Use the Unit Price Calculator

Why Unit Price Matters When Shopping

Unit price makes it easier to compare products when packages contain different quantities or sizes. A larger package may cost more overall but have a lower cost per item, gram, kilogram, liter, or other unit.

For example, imagine one package costs $12 for 6 items while another costs $18 for 10 items. The first package costs $2.00 per item, while the second costs $1.80 per item. Comparing the unit prices shows the difference clearly.

Unit price can be useful when comparing groceries, household supplies, drinks, cleaning products, toiletries, and bulk purchases. However, the lowest unit price is not always the best choice. Consider product quality, how much you actually need, storage space, and whether you can use the product before it expires.

Checking the unit price before buying can make everyday price comparisons simpler and help you make more informed purchasing decisions.