Unit Price Calculator

Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 12/3/2026

Unit price is price ÷ quantity. An offer at €3.50 for 0.5 kg works out at €7 per kilo, versus €6.50 per kilo for €7.80 for 1.2 kg: the first is 7.7% more expensive for the same quantity.

Explanation

Comparing two products from the main price tag is misleading: the lowest price displayed isn't necessarily the best, because the contents differ. The unit price, the price brought back to a reference quantity (the kilo, the liter, the item), puts offers on an equal footing. Just divide the price paid by the quantity bought, expressing both offers in the same unit: convert grams to kilos or centiliters to liters before entering, with our volume conversion calculator for example. The calculator then gives the percentage difference of offer A relative to offer B: positive, A is more expensive for the same quantity; negative, it is cheaper. In shops, displaying the price per kilo or liter is in fact mandatory for most prepackaged products in many countries, but comparing yourself remains useful for promotions, « family » sizes, multipacks or online purchases. A lower unit price alone doesn't make a good purchase: a large size only pays off if you consume everything before the expiry date, without waste, and if the product isn't of lower quality. To measure the effect of a promotion shown as a percentage, see our discount calculator, and to work out what a price difference means over a year for a product you buy regularly, our rule of three calculator.

Example: two packs of coffee or rice, 0.5 kg versus 1.2 kg

Inputs

Offer A: €3.50 for 0.5 kg. Offer B: €7.80 for 1.2 kg.

Calculation

Unit price A = 3.50 ÷ 0.5 = €7 per kg. Unit price B = 7.80 ÷ 1.2 = €6.50 per kg. Difference of A relative to B = (7 − 6.50) ÷ 6.50 × 100 = 7.7%.

Result

Offer B is the better deal: for the same quantity, offer A costs 7.7% more.

Frequently asked questions

In which unit should I enter the quantities?

It doesn't matter which, as long as it's the same for both offers: kilos, liters or items. The unit price is then expressed in that reference unit. If one offer is in grams and the other in kilos, convert first (500 g = 0.5 kg).

What does the difference shown mean?

It is the relative difference of offer A compared with offer B, for equal quantities. A difference of +7.7% means A costs 7.7% more than B for the same quantity; −20%, that it costs 20% less.

Is the biggest size always the best deal?

Not always: some large sizes have a higher unit price than the small one, notably during promotions targeting the small size. That is exactly what this calculation lets you check. And if part of the product is thrown away because it isn't consumed in time, the apparent saving disappears.

Can I compare products of different quality?

The calculation only compares prices and quantities. Between two products of very different composition or quality (meat content in a ready meal, concentration of a detergent), a lower unit price doesn't mean a better purchase: it's up to you to judge whether the comparison is fair.

Related resources

Similar calculators