Home Unit price calculator

Unit price calculator

Pick the cheaper of two packs in the same unit.

Type the price and the amount of two packs in the same unit. The lower price per one is the cheaper pack.

Pack B

1.80

A 2.00 · B 1.80 · 0.60

Pack A
2.00
Pack B
1.80
Saved on the larger amount
0.60

Both amounts use the same unit: grams with grams, or bottles with bottles. The unit price rounds half up at the fourth decimal. The saved amount rounds half up at the second decimal. A zero amount leaves the result empty.

Why this exists

Two packs in a shop are compared by the price of one, not by the sticker total. 4 for 2 is 2.00, and 5.40 for 3 is 1.80.

The rule of three finds a matching amount. This page only shows the two unit prices and the 0.60 saved on the larger amount.

  1. 01How to use it

    Type a price and an amount for each pack.

    The large number is the cheaper unit price. The tiles show both prices and the saving.

  2. 02What you get

    The marked tile is the cheaper pack. Equal unit prices mark neither tile.

    The link keeps both prices and both amounts.

    Entered4 for 2, and 5.40 for 3

    Pack A price 4
    Pack A amount 2
    Pack B unit 1.80
    Saved 0.60
  3. 03Worth knowing

    Where a country groups thousands or writes a decimal comma, the page follows that. The division stays the same.

    The result stays in this browser.

Questions

QWhich is cheaper, 4 or 5.40?
APack B, 5.40 for 3. Its unit price is 1.80, and pack A is 2.00.
QWhat is the 0.60?
ABuying 3 at pack A’s unit price would cost 0.60 more.
QWhat if an amount is zero?
AThe result is a dash. The zero stays in the field.
QCan the units differ?
ANo. Put both amounts in the same unit first.

How this page works it out

A unit price is the price divided by the amount. 4 for 2 is 2.00 each, and 5.40 for 3 is 1.80 each. The pack with the larger sticker can still be the cheaper one.

Buying the larger amount, 3, saves 0.60. The unit price rounds half up at the fourth decimal, and the saved amount rounds half up at the second. A zero amount leaves the result empty.

Both amounts use the same unit. Grams are compared with grams. Percent change is a different page.

  • # unit price
  • # pack
  • # compare