Free browser-based calculators.Back home
%Compound Calculator

Unit Price Calculator

Compare two products by price per unit.

ResultA: 0.5 per unit | B: 0.45 per unit
Short answer: Unit price = price / quantity. A 12 oz box at $3.48 costs $0.29 per oz and an 18 oz box at $4.77 costs $0.265 per oz, so the larger box is cheaper per ounce.

Comparing three sizes

ItemSizePricePer ounce
Cereal A12 oz$3.48$0.29
Cereal B18 oz$4.77$0.265
Cereal C27 oz$7.29$0.27

The lowest unit price here is Cereal B. Bigger is not automatically cheaper, so always compute it.

Mixed units

Convert to one unit first. 1 lb = 16 oz, so a 2 lb bag at $5.60 is $0.175 per oz, against a 24 oz bag at $4.20 at $0.175 per oz. The 2 lb bag costs less per ounce.

Per-use cost

Cheapest per unit is not always cheapest to use. A 100-count pack at $8 is $0.08 each, but if you only use 40 before it spoils, the effective cost is $0.2 each.

Shelf labels

Many US retailers show unit prices on shelf tags, but their units can differ between brands. Recompute with one unit before deciding.

How this calculator works

The form above runs in your browser with the same arithmetic described on this page; nothing you type is sent to a server. Results are rounded for display only, so a long decimal may differ from the last digit of a hand calculation. Empty, zero or non-numeric inputs return a message instead of a result, and division by zero is never evaluated.

Use the tool to check your own working rather than to replace it: write the formula, substitute your numbers, and compare. If the two disagree, look first at units, the order of the inputs and whether a percentage was entered as 5 or as 0.05.

The tables on this page are generated by script from the formulas shown, not typed by hand, and are rebuilt whenever the page is reviewed. The reviewed date above is the date those numbers were last recomputed.

Typical input errors are worth a second look before you rely on a result: a comma used as a decimal separator, a value typed in the wrong unit, or two inputs swapped. If a result looks implausible, test the tool with a case you can do in your head, such as round numbers, and confirm it matches before trying your real figures.

Sources

Related tools

Educational tool. Found an error? Tell us.