Everyday Money · Formula v1.0

Unit Price Comparison Calculator

Compare the unit price of two package sizes and see how much the cheaper one saves.

LAST REVIEWEDSeptember 24, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Unit price of item A0.299
Unit price of item B0.281
Saving from the cheaper item6.2%
Sensitivity check

What if price of item a changes?

-10% input0.269
0% input0.299
+10% input0.329

Answer first

What this calculator tells you

Compare the unit price of two package sizes and see how much the cheaper one saves. Find out whether the larger pack is really the better buy. Formula: Unit price = price ÷ quantity; saving = (higher unit price − lower unit price) ÷ higher unit price. At the worked-example inputs, the unit price of item a is 0.299. Holding every other input steady, moving price of item a from $3.83 to $5.75 moves the result from 0.239 to 0.359.

FreeNo sign-upInputs stay in-browserCSV exportReviewed September 24, 2026

Transparent method

The formula

Unit price = price ÷ quantity; saving = (higher unit price − lower unit price) ÷ higher unit priceEnter price of item a in dollars and price of item b in dollars.

Find out whether the larger pack is really the better buy.

Worked example

Unit price of item A0.299
Unit price of item B0.281
Saving from the cheaper item6.2%

Example inputs

Price of item A$4.79
Quantity in item A16
Price of item B$8.99
Quantity in item B32

How to interpret the result

The bigger pack is not always the cheaper one. Compare price divided by quantity, in the same unit. A 16 ounce jar at $4.79 costs about 29.9 cents an ounce, and a 32 ounce jar at $8.99 costs about 28.1, so the large one saves roughly 6 percent. The gap can be small, and sometimes a sale on the small size beats the bulk price outright.

At the worked-example inputs the unit price of item a is 0.299. It rises with price of item a and falls as quantity in item a increases; price of item b and quantity in item b do not move it.

Interpretation boundary

This educational estimate omits individual tax and legal considerations.

Before you rely on it

What to check

Make sure both quantities use the same unit. Weight in ounces against volume in fluid ounces, or against a count of sheets, gives a comparison that is not real.

The common error

Where people go wrong with unit price comparison calculator

Buying the big size and letting part of it spoil. A saving of 6 percent disappears if you throw away a tenth of the product.

Sensitivity evidence

How price of item a changes the unit price of item a

Holding every other input at the worked-example value, moving price of item a from $3.83 to $5.75 moves the unit price of item a from 0.239 to 0.359: a spread of 0.12, or 40% of the worked-example result.

Unit Price Comparison Calculator: unit price of item a and unit price of item b and saving from the cheaper item across a range of price of item a, every other input held at the worked-example value.
Price of item AUnit price of item AUnit price of item BSaving from the cheaper item
$3.830.2390.28114.8%
$4.310.2690.2814.1%
$4.79worked example0.2990.2816.2%
$5.270.3290.28114.7%
$5.750.3590.28121.8%

Every input, tested

Which input moves the unit price of item a most

Of the 4 inputs, quantity in item a moves the unit price of item a most (0.076 across the range tested) and price of item a moves it least (0.06). Price of item b and quantity in item b do not change it at all.

Unit Price Comparison Calculator: unit price of item a with each input moved on its own, every other input held at the worked-example value.
InputTested fromToUnit price of item A at each endSwing
Quantity in item A14180.342 to 0.2660.076 (25%)
Price of item A$4.31$5.270.269 to 0.3290.06 (20%)
Price of item B$8.00$100.299 to 0.299none
Quantity in item B29350.299 to 0.299none

Two variables at once

Unit price of item A by price of item a and quantity in item a

Across the grid the unit price of item a runs from 0.202 to 0.442. Moving price of item a from $3.83 to $5.75 shifts it by 0.12 at the middle column, and moving quantity in item a from 13 to 19 shifts it by 0.116 at the middle row, so price of item a is the bigger lever here.

Unit Price Comparison Calculator: unit price of item a at each combination of price of item a (rows) and quantity in item a (columns).
Price of item A \ Quantity in item A131619
$3.830.2950.2390.202
$4.310.3320.2690.227
$4.790.3680.2990.252
$5.270.4050.3290.277
$5.750.4420.3590.303

The highlighted cell is the worked example: 0.299.

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the unit price comparison calculator.
InputValue usedWhat it means
Price of item A$4.79Enter the price of item a used in this calculation.
Quantity in item A16Ounces, grams, sheets or any unit. Use the same unit for item B.
Price of item B$8.99Enter the price of item b used in this calculation.
Quantity in item B32Enter the quantity in item b used in this calculation.
Unit price of item A0.299
Unit price of item B0.281
Saving from the cheaper item6.2%

Inputs, definitions and assumptions

Price of item A

Enter the price of item a used in this calculation. The prefilled worked-example value is $4.79.

Quantity in item A

Ounces, grams, sheets or any unit. Use the same unit for item B. The prefilled worked-example value is 16.

Price of item B

Enter the price of item b used in this calculation. The prefilled worked-example value is $8.99.

Quantity in item B

Enter the quantity in item b used in this calculation. The prefilled worked-example value is 32.

How to use this calculator

  1. 1Verify the inputs. Gather price of item a, quantity in item a, price of item b and quantity in item b from your own documents; the prefilled values are examples.
  2. 2Save a baseline. The worked example puts the unit price of item a at 0.299. Store your own version of it as Scenario A.
  3. 3Test one change. Start with quantity in item a, the input with the biggest effect here: moving quantity in item a from 14 to 18 takes the unit price of item a from 0.342 to 0.266, a swing of 25% of the worked-example figure.
  4. 4Check the extremes. At half the example quantity in item a (8) the unit price of item a is 0.599; at double (32) it is 0.15.

People also ask

Frequently asked questions

How do you calculate unit price comparison?

Unit price = price ÷ quantity; saving = (higher unit price − lower unit price) ÷ higher unit price. Enter price of item a in dollars and price of item b in dollars. At the worked-example inputs the unit price of item a is 0.299.

What does the unit price comparison result mean?

Find out whether the larger pack is really the better buy. At the worked-example inputs the unit price of item a is 0.299. It rises with price of item a and falls as quantity in item a increases; price of item b and quantity in item b do not move it.

How much does price of item a change the unit price of item a?

Holding every other input at the worked-example value, moving price of item a from $3.83 to $5.75 moves the unit price of item a from 0.239 to 0.359, a spread of 0.12.

What are the limits of this unit price comparison calculator?

This educational estimate omits individual tax and legal considerations. The tables on this page test price of item a only from $3.83 to $5.75; a value outside that range is not tabulated here.

Which input moves the unit price of item a most in the unit price comparison calculator?

Ranked by how far each moves the unit price of item a across the range tested: quantity in item a (0.076, 25%) and price of item a (0.06, 20%). Price of item b and quantity in item b do not change it.

If I double quantity in item a in the unit price comparison calculator, does the unit price of item a double?

Doubling it from 16 to 32 takes the unit price of item a from 0.299 to 0.15, which is 0.50 times the worked-example figure. So it falls instead of rising. Halving it to 8 gives 0.599.

How much does quantity in item a matter in the unit price comparison calculator?

The worked example uses 16. Holding every other input at its worked-example value, moving quantity in item a from 14 to 18 takes the unit price of item a from 0.342 to 0.266, a swing of 25% of the worked-example figure.

How much does price of item b matter in the unit price comparison calculator?

The worked example uses $8.99. The unit price of item a does not depend on price of item b; it moves the unit price of item b from 0.25 to 0.313 instead when price of item b goes from $8.00 to $10.

How much does quantity in item b matter in the unit price comparison calculator?

The worked example uses 32. The unit price of item a does not depend on quantity in item b; it moves the unit price of item b from 0.31 to 0.257 instead when quantity in item b goes from 29 to 35.

Which inputs change the unit price of item b in the unit price comparison calculator?

At the worked-example inputs it is 0.281. Price of item b takes it from 0.25 to 0.313 and quantity in item b takes it from 0.31 to 0.257.

Which inputs change the saving from the cheaper item in the unit price comparison calculator?

At the worked-example inputs it is 6.2%. Price of item a takes it from 4.1% to 14.7%, quantity in item a takes it from 17.9% to 5.3%, price of item b takes it from 16.5% to 4.2% and quantity in item b takes it from 3.4% to 14.2%.

How does inflation affect what my money buys?

It reduces purchasing power at a compounding rate. So a fixed amount buys steadily less over time. Over long horizons the effect is large, which is why planning that mixes today's costs with future nominal returns systematically overstates what will actually be affordable.

What is the rule of 72?

Dividing 72 by a percentage rate approximates the years for a balance to double. It is accurate enough for mental arithmetic in the middle of the range and drifts at the extremes. It is a sanity check , not a calculation.

All everyday money questions answered

Sources and evidence

Free Calculators Online is independent and is not affiliated with or endorsed by the source organizations. Educational estimates only.

Background reading

Guides that use this calculator

Definitions

Terms used on this page

Inflation : glossary term
The rate at which prices rise and purchasing power falls. It compounds, which is why long-horizon plans built on nominal figures overstate what will be affordable.