Guides

How to Calculate Price Per Unit and Compare Two Options

Calculate price per unit with weight, volume, and item modes, then compare two options: formulas, a five-mode table, a worked rice-bag example, and FAQs.

Miryori Editorial Team4 min read
Try the Price Per Unit Calculator

Shopping shelves are full of packages that look similar until you divide the price by what is actually inside. The price-per-unit calculator does that division for five different kinds of unit and can set two products against each other in one pass. This article walks through the formulas, the modes, and the steps that turn a shelf price into a comparable number.

Price per unit is the total cost of a purchase divided by the quantity of the unit you care about: weight, volume, or item count. This calculator covers five modes — weight, volume, items, items with weight, and items with volume — and applies the matching equation to each. It also accepts a second product under option B and reports which option is cheaper and by how much, using the absolute difference between the two unit prices.

What is the price per unit formula?

Every mode is a rearrangement of the same idea: cost divided by a quantity. The calculator's equations add an item count to the weight and volume cases, so a pack of several items can be handled by one expression. In the plain weight and volume modes that item count defaults to 1, which reduces each to the familiar cost-per-pound or cost-per-ounce calculation.

Price per unit weight=Total costWeight×Number of items\text{Price per unit weight} = \frac{\text{Total cost}}{\text{Weight} \times \text{Number of items}}

Price per unit volume=Total costVolume×Number of items\text{Price per unit volume} = \frac{\text{Total cost}}{\text{Volume} \times \text{Number of items}}

Price per item=Total costNumber of items\text{Price per item} = \frac{\text{Total cost}}{\text{Number of items}}

For a single item the item count is 1, so the weight and volume modes divide by the weight or volume alone. When you switch to "items with weight" or "items with volume", you must supply both the number of items and the measurement of one item, because the denominator becomes the product of the two.

Which of the five calculator modes should you choose?

The mode selector is a dropdown with five entries, each tied to one of the equations above. Pick the one that matches the unit printed on the price tag and the way the product is packed:

Mode What you enter Unit-price equation
Weight Total cost; weight cost / weight
Volume Total cost; volume cost / volume
Items Total cost; number of items cost / number of items
Items with weight Total cost; number of items; weight per item cost / (weight × number of items)
Items with volume Total cost; number of items; volume per item cost / (volume × number of items)

The first three modes answer the everyday question of what one unit costs. The last two exist for multipacks such as a six-pack of beer, where you want a price per unit of weight or volume but the pack contains more than one item. That is why the calculator flags those two modes as requiring both an item count and a weight or volume value.

Worked example: a 5-pound rice bag at $4.00

Take a 5-pound bag of rice priced at $4.00. Choose the weight mode, enter the total cost and the total weight, and leave the item count at its default of 1. The calculator evaluates:

Price per pound=Total costTotal weight=$4.005 lbs=0.8  ⟹  Price per pound=$0.80\begin{align*} \text{Price per pound} &= \frac{\text{Total cost}}{\text{Total weight}} \\ &= \frac{\$4.00}{5\ \text{lbs}} = 0.8 \\ \implies \text{Price per pound} &= \$0.80 \end{align*}

A gallon of milk costing 3.50worksthesamewayinvolumemode.OneUSgallonequals128USfluidounces,so3.50 works the same way in volume mode. One US gallon equals 128 US fluid ounces, so 3.50 / 128 = 0.027, or about 0.03perfluidounce.An18−countpackofeggsat0.03 per fluid ounce. An 18-count pack of eggs at 4.40 gives 4.40/18=0.244,roughly4.40 / 18 = 0.244, roughly 0.24 per egg, in the items mode.

How do you use the price-per-unit calculator?

  1. Choose a mode from the five-entry dropdown — weight, volume, items, items with weight, or items with volume.
  2. Under option A, enter the total cost and the matching weight, volume, or item count. In the last two modes, provide both the number of items and the weight or volume.
  3. Read the calculated unit price.
  4. If you have a second product, enter its cost and quantity under option B.
  5. Read which option is cheaper and the amount saved; the calculator takes the absolute difference between the two unit prices.

Frequently Asked Questions

What is the price per fluid ounce of a gallon of milk costing $3.50?

About $0.03. One US gallon holds 128 US fluid ounces, and 3.50 / 128 = 0.027, which rounds to three cents per fluid ounce.

How much do 5 gallons of gasoline cost at $3.25 per gallon?

$16.25. Multiply the price per gallon by the number of gallons: 3.25 × 5 = 16.25. This is the reverse of a unit-price calculation — starting from the unit price and the quantity to reach the total cost.

Why do the last two modes require both an item count and a measurement?

Because their equations divide cost by weight or volume multiplied by the number of items. Without both values the denominator is incomplete, so the calculator asks for the pack size as well as the size of one item.

What is a typical use for the "items with weight" mode?

A multipack such as a six-pack of beer. You enter the pack's cost, the number of items, and the weight of one item, and the tool returns a price per unit of weight for the whole pack.

References

  • Omni price-per-unit calculator reference entry: mode list, equations, worked examples, and FAQ.
  • Standard US customary volume conversion: 1 US gallon = 128 US fluid ounces.
  • Standard measurement and conversion reference tables for cost-per-unit arithmetic.
Calculator

Price Per Unit Calculator

Price Per Unit: price-per-unit calculator determines which item fetches you the best value for your money. Free, fast and private.

Try the Price Per Unit Calculator