Unit price calculator

Calculate and compare unit prices (€/kg, €/L or €/item) from total price and quantity. Everything runs locally in your browser.

Enter a total price and a quantity, then choose the unit type. The tool returns the unit price so you can compare products with different pack sizes more easily.

About unit price calculation

Unit price is one of the simplest ways to make smarter shopping decisions. Stores often sell similar products in different formats: a small package vs a family size, a bottle vs a refill, or a multi-pack vs a single item. Looking only at the total price can be misleading, because a “bigger” product is not always cheaper per unit. By converting every option to a common reference such as €/kg, €/L, or €/item, you can compare products fairly and quickly spot the best value.

This unit price calculator works with a simple formula: unit price = total price ÷ quantity. You enter the total amount you pay (in euros) and the quantity (for example 0.75 kg, 1.5 liters, or 12 items). Then you choose the unit type so the output matches your comparison goal. The result is displayed as an easy-to-read unit price that you can use to compare brands, package sizes, and promotions.

Unit price is also useful for verifying discounts. A promotion like “-20%” may apply to a product that was already more expensive per unit than the competitor. By calculating the unit price before and after the discount, you can see the real value of the offer. For groceries, kg is commonly used for solids (rice, flour, meat, cheese), liter for liquids (milk, oil, detergent), and item for countable products (batteries, capsules, individual pieces).

Privacy is a key principle of Universe Tools: everything is computed 100% locally in your browser. No data is uploaded, stored, or shared.

Tip: make sure the quantity unit matches what you want to compare (e.g., don’t mix grams and kilograms without converting).

What is a unit price?

A unit price is the cost per standardized unit, such as €/kg, €/L, or €/item. It helps you compare products with different package sizes fairly, even if their total prices are different.

How the calculation works

The formula is simple: unit price = total price ÷ quantity. Example: 3.99 € for 0.75 kg → 3.99 ÷ 0.75 = 5.32 € / kg.

Concrete examples

  • Food (€/kg): 2.49 € for 500 g (= 0.5 kg) → 4.98 € / kg.
  • Liquid (€/L): 1.89 € for 1.5 L → 1.26 € / L.
  • Multi-pack (€/item): 6.99 € for 12 items → 0.58 € / item.

Common mistakes

  • Mixing units (grams vs kilograms, milliliters vs liters) without converting first.
  • Using a quantity that includes packaging instead of the net weight/volume.
  • Comparing products with different quality or concentration (e.g., detergents) using unit price only.

How to use it for discounts

Promotions can be misleading. To verify a deal, compute the unit price before and after the discount and compare it to a competitor’s unit price.

Educational summary

This tool divides the total price by the entered quantity and displays the result rounded to 2 decimals. The calculation happens locally in your browser.

Example: 3.99 € for 0.75 kg → 5.32 € / kg.

Related tools

More tools you may like (same category when possible).