What does this calculator do?
This calculator divides a price by a quantity to give the unit price — the number that lets you compare a 1.5 kg pack against a 2 kg pack, or a 6-pack against a single bottle, on equal terms.
Formula
Divide the total price by the quantity:
unit price = price ÷ quantity
How to use it
Enter the total price and the quantity in any unit — items, kilograms, litres, metres. Compare two products by running each through the calculator with the same unit.
Worked example
A 1.5 kg bag costs $4.50: 4.50 ÷ 1.5 = $3.00 per kg. A 2 kg bag at $5.60 is $2.80 per kg — the better buy.
Frequently asked questions
Which quantity should I use — items or weight?
Use whatever makes the comparison fair: weight or volume for food (per kg, per litre), item count for identical pieces. Both products must use the same unit.
Grams or kilograms?
Either, as long as you are consistent. To compare a 400 g tin with a 1 kg jar, convert both to kg (0.4 and 1) or both to grams.
Is the lowest unit price always the best deal?
Only if you will actually use the larger amount — food that expires unused is no bargain. Unit price measures cost, not waste.
Sources
- Standard percentage and division arithmetic. The exact formulas used are shown on this page; no external pricing data is involved.
- Khan Academy — Percents (review of the underlying math)
- Reviewed: 2026-07-29
Related calculators
Last updated: 2026-07-29 · v1.0.0 · Report an error