Essa Shakeel Finance 100 #95 · Everyday Money View source on GitHub

Unit Price Comparator

Which pack is really cheaper? Unit prices with conversions, plus stacked-discount math.

Items

Enter the shelf price and the pack size. Add two discounts, a BOGO or a coupon where they apply. Prices are in CAD. The sample prices are typical shelf prices and will differ from your store.

Results

How it works

Each pack size is converted to a base unit: 1 lb = 453.592 g, 1 oz = 28.3495 g, 1 fl oz = 29.5735 ml, 1 L = 1,000 ml, 1 kg = 1,000 g. Counted items use the number of pieces.

The unit price is final price / base amount x 100 for weight and volume, so it reads per 100 g or per 100 ml. Count items read per piece. Items are only ranked against others of the same kind, so grams are never compared with pieces.

Discounts stack in order. Two percentages are applied one after the other: price x (1 - d1) x (1 - d2). A BOGO (buy one, get one) halves the price of each pack, and a coupon is then taken off in dollars. The true discount is 1 - final / shelf price.

"More than best" is the unit price divided by the lowest unit price in the same group, minus one.

Limits: prices are whatever you type, so check the shelf label. Store coupons with minimum-spend rules, member pricing and bottle deposits are not modelled. Figures are editable; verify them for the current year.