Unit price calculator

Compare package prices using the same weight, volume, or count.

Package A
Package B

Use the same currency and measurement category. Prices: 0–999,999,999.99, up to 2 decimals. Quantities must be positive and at most 10¹².

YOUR ANSWER

Comparison

Package B costs less per unit

Package A
8 / kg
Package B
7 / kg
How it’s calculatedCalculated on your device

Unit price = package price ÷ quantity in kilograms, liters, or items.

Displayed values may be rounded. Calculations keep the underlying precision.

Enter prices in the same currency, up to 999,999,999.99 with two decimals. Quantities must be positive and at most 10¹². Both packages must measure weight, volume, or count.

The formula, made simple

Compare two package prices after converting their quantities into the same measurement unit.

Unit price = package price ÷ normalized quantity. Weight uses kilograms, volume uses liters, and count uses items.

A worked example

500 g for 4 costs 8 per kg. 1 kg for 7 costs 7 per kg, so package B has the lower unit price.

A few useful answers

Can I compare liters with kilograms?

No. That requires the product density. Choose two units from the same category.

Back to calculator ↑