The formula behind it
compare = price ÷ quantity for each optionTwo offers reduced to per-unit cost, the winner named and the tie detected. This is the unit-price idea applied to a head-to-head — including unequal pack sizes that shelf labels love to obscure.
How to use this calculator
- 1
Enter price and quantity for option A.
- 2
Enter price and quantity for option B (quantities can differ).
- 3
Read the per-unit prices, the winner and the saving on equal quantities.
Worked examples
Small vs bulk
$7.50/500 g vs $12.90/1000 g → $0.015 vs $0.0129 per gram. Option B wins; a tie is reported as Equal, honestly.
500 g at $12.50 vs 350 g at $9.90
$0.025 vs $0.0283 per gram — Option A wins by 13.14% per unit despite the bigger sticker price.