FREE · NO SIGN-UP · TRANSPARENT FORMULAS

Unit Price Calculator

Compare two packages on a common mass, volume or item-count basis.

Your numbers

Make it your own
Better unit price
Package B

Calculated from your inputs · rounded for display

Package A12USD/kg
Package B10USD/kg
Difference per base unit2USD/kg

Enter total price per package and quantity per item; the item count handles multipacks. Does not compare quality, waste or shipping.

Your calculation, step by step

No black boxes
  1. Package A quantity = 0.5 kg; unit price = 6 ÷ 0.5 = 12.
  2. Package B quantity = 1 kg; unit price = 10 ÷ 1 = 10.
  3. Compare prices per identical base unit.

How to use this calculator

  1. Enter your own values in the labeled fields. Check the units and assumptions before comparing results. Only the fields needed for your selected calculation mode are shown.
  2. Your answer updates automatically. Review the calculation steps to see exactly how it was calculated.
  3. Copy, share, save, or download your result. Saved inputs stay on this device.

How the calculation works

Unit price = total package price / (quantity per item × item count in matching base units)

Convert both quantities to kilograms, liters or item counts, then divide total package price by that quantity. Use item count for multipacks and leave it at one for ordinary packages. Comparisons require the same quantity kind: grams cannot be compared directly with milliliters without density. Quality and wastage can still affect value.

A worked example

A $6 package of 500 g costs $12/kg. A $10 package of 1 kg costs $10/kg, so package B has the lower unit price.

Reading your result

Use the main result together with its units and supporting figures. Display values are rounded; calculations keep their underlying precision. A change in inputs or assumptions can change the answer. Compare the step-by-step working with your intended use before relying on an estimate.

Frequently asked questions

Can I compare grams with pounds?

Yes. Both are converted to kilograms.

Can I compare mass and liquid volume?

No. Select matching quantity kinds.

Sources & methodology

NIST: international unit conversion factors ↗

Formula review: October 24, 2026. Read our methodology.