Easy CalculatorsOnline
A little less guesswork.

Everyday · EVERYDAY CLARITY

Unit price calculator

Compare a price on a per-unit basis.

Units & number format

Number formatting changes the display; the interface and guides are in English. Dates use calendar controls; numeric lists use decimal points and comma or space separators. Choose any listed currency in the form. This labels amounts and does not convert exchange rates.

01 · CALCULATE

Work out your numbers

Your inputs stay in this browser.

Example result · using the values shown

Price per unit
$4.00
Entered quantity1.5
See visual ↓

Quantity must use the same unit when comparing products. No unit is assumed.

02 · SEE THE RESULT

Your numbers, pictured

Example visualization

Put different packages on one basis

$6.00÷1.5 units
Calculated result$4.00 / unit

Use matching units, such as kilograms or liters, for a fair product comparison.

03 · UNDERSTAND THE METHOD

How the unit price calculator works

Unit price expresses a package’s total price per one unit of its quantity. This calculator divides price by a positive quantity, making it easier to compare different package sizes. It is useful for groceries, materials, or any purchase where quantity is known. You supply the meaning of the unit, such as kilograms, liters, or individual pieces. Use the same quantity unit across alternatives so the resulting rates are comparable.

The formula and its variables

Unit price = total price ÷ quantity
Price
Total cost for the specified package or amount.
Quantity
Positive amount contained, in one chosen unit.
Unit price
Cost for one of those quantity units.

The calculation, step by step

  1. Enter the total purchase price using a consistent treatment of tax, delivery, and discounts. Decide which charges matter for the comparison.
  2. Enter the package quantity in your comparison unit. Convert grams to kilograms or milliliters to liters first when another package uses a different scale.
  3. Divide price by quantity and compare the resulting rate with another package expressed in the same unit. Keep quality and expected usable quantity in mind.

A worked example

A package costing $6 for 1.5 kg has a unit price of $4 per kilogram. A second package costing $5 for 1 kg has a unit price of $5 per kilogram, so the first has the lower price per kilogram. If the first quantity were entered as 1,500 grams, the answer would be $0.004 per gram, an equivalent rate with a different label.

Example inputs and calculated output
Package price6
Quantity in your chosen unit1.5
CurrencyUSD · US dollar
Price per unit$4.00

How to read the result and visual

Unit price removes package-size differences from the arithmetic comparison. It does not prove the larger package is the best purchase: food waste, storage space, required quantity, and product quality may affect value. A consistent unit label is essential when sharing the result, because a numeral alone does not identify which quantity it prices.

Assumptions, rounding, and limitations

Quantity must be greater than zero. This tool compares the entered price and amount only; it does not infer usable yield, discounts at checkout, membership requirements, or changing prices. Comparing unlike products can be misleading even with matching physical units. Rounded currency displays can hide small unit-price differences for large quantities.

Frequently asked questions

Can I compare kilograms with grams?

Convert both quantities to one unit or convert the resulting rates before comparing them.

Does a lower unit price guarantee lower total spending?

No. A larger package may have a lower unit price while costing more in total.

Reference sources

How we check calculations and what verification covers