GlobalFree to use

Unit price comparison calculator

Compare two package sizes to find which one is cheaper per unit, and by how much.

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Input

Tip: press Ctrl + Enter to run

Your result

Your result will appear here.

About this tool

Bigger packages are usually but not always cheaper per gram, and sales on the smaller size often flip the answer. This calculator compares two options by price per unit, tells you which is the better value and by what percentage. Use it in the grocery store, for bulk buying online or to compare subscription plans by cost per month.

Both quantities must be in the same unit: compare grams with grams, or millilitres with millilitres.

How to use it

  1. Enter the price and quantity of the first option.
  2. Enter the price and quantity of the second option, in the same unit as the first.
  3. Calculate to see the price per unit of each.
  4. Read which option is cheaper per unit and the percentage saved.

How the calculation works

Unit price = price ÷ quantity. Saving per unit = (higher unit price − lower unit price) ÷ higher unit price × 100.

unit price = price ÷ quantity

Worked example

A 1.36 kg bag of rice costs $4.29 and a 0.75 kg bag costs $2.49. Entering both gives $3.1544 per kg for the large bag and $3.32 per kg for the small one, so the large bag is 4.99% cheaper per kilogram. If you would throw some away before using it, the small bag may still be the better buy.

Sample input and result

Price A: 6.99
Quantity A: 500
Price B: 11.49
Quantity B: 900

→ Unit price A: 0.014
→ Unit price B: 0.0128
→ Better value: B
→ Saving per unit: 8.68 %

Limitations

  • Two options per comparison.
  • Quantities must share a unit.
  • Coupons, loyalty points and deposits are not included unless you adjust the price.

Last updated:

Frequently asked questions

What if the sizes use different units?

Convert one to match the other first, for example 16 oz = 453.6 g. The mass converter and volume converter help.

Can I compare more than two items?

Compare two at a time and keep the winner for the next comparison.

Should I always buy the cheaper unit price?

Only if you will use it all. Spoilage, storage space and cash flow can make the smaller size better value in practice.

Troubleshooting

The result says the small pack is better but the shelf label disagrees.

Shelf labels sometimes use different units (per 100 g vs per kg) or the regular price instead of the sale price.

Unit prices look tiny.

With quantities in grams, unit prices are per gram. Multiply by 1,000 for a price per kilogram.

Buy-two deals are not reflected.

Enter the combined price and combined quantity of the deal as one option.

Privacy & Free to use

Are my inputs stored?

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Is this tool free?

Yes. No signup or payment is required.

Processed in your browser

Useful next steps