Unit Price Comparison Calculator
Compare the price per unit across two pack sizes to see which offer is better value.
Calculator InputsFormula v1.0
Unit price = total price / quantity
Lower unit-price option
Formula and method
Unit price = total price / quantityEnsure quantities use the same unit before comparing the results.
Variables
- priceA
- Option A price
- qtyA
- Option A quantity
- priceB
- Option B price
- qtyB
- Option B quantity
Worked example
A 900 g pack for 18 costs 20 per kg; a 1.2 kg pack for 22 costs 18.33 per kg.
Who this calculator is for
Shoppers, procurement teams, and retailers.
Complete guide to the unit price comparison calculator
Every figure below comes from this calculator itself. The method is Unit price = total price / quantity, applied to the tool's default inputs and then stress-tested one input at a time.
What the Unit Price Comparison Calculator works out
Unit Price Comparison Calculator answers one specific question: Compare the price per unit across two pack sizes to see which offer is better value. It is written for shoppers, procurement teams, and retailers.
The method is Unit price = total price / quantity. The inputs are Option A price, Option A quantity, Option B price, Option B quantity. With the default values - Option A price = 18, Option A quantity = 0.9, Option B price = 22, Option B quantity = 1.2 - the result is Lower unit-price option: Option B. Changing Option A price alone leaves the headline result at Option B, which tells you that another input is driving the answer. Confirm which quantity actually varies in your scenario before adjusting anything else.
Reading the output line by line
Alongside Option B this method reports 3 supporting quantities: Option A unit price: 20.0000; Option B unit price: 18.3333; Relative saving: 8.33%. On a statutory calculation the composition matters more than the total, because each band is charged at a different rate and the split is what a payslip or return has to show.
The worked example is: A 900 g pack for 18 costs 20 per kg; a 1.2 kg pack for 22 costs 18.33 per kg. Use it to confirm the direction of the calculation before entering your own figures, and keep intermediate values unrounded until the final step.
How to interpret the answer
Ensure quantities use the same unit before comparing the results.
Applying that reading here: Option B alongside option a unit price of 20.0000 describes one specific scenario, not a range of possibilities. Adjust the quantity that is genuinely uncertain in your case, then read both figures again.
Common mistakes to avoid
Comparing packs in different units, such as grams against kilograms, without converting to a common basis. Ignoring the cost of waste or unused product when a larger pack is cheaper per unit but cannot be stored or used.
Before you act on the result, re-read Option A price, Option A quantity, Option B price, Option B quantity and confirm each entry matches its label, including whether a quantity is entered in the unit the label names. Change Option A price deliberately and check that the result moves the way the formula predicts - here Option B should shift smoothly rather than jump.
Limitations and responsible use
Compares exactly two options and assumes both quantities are measured in the same unit. Does not account for quality, delivery charges, loyalty discounts or bulk rebates.
Treat everything above as conditional on those limits. The arithmetic is fully exposed for you to re-derive, though whether the inputs reflect your real position is outside what any calculator can check. For a consequential decision, verify the operative figures against a primary source before relying on the answer.
Frequently asked questions
A 900 g pack costs 18 and a 1.2 kg pack costs 22. Which is cheaper?
18 ÷ 0.9 kg = 20 per kg, while 22 ÷ 1.2 kg = 18.33 per kg. The larger pack is about 8.33% cheaper per kilogram.
Does the cheaper unit price always mean the better buy?
Only if you will use the whole pack. If shelf life or storage means half of a larger pack is wasted, the effective cost per usable unit can exceed the smaller pack's price.
Related Business Calculators
Explore another calculator in this subject.
Margin and Markup Calculator – Convert Between Cost, Price, Margin and Markup
Move between cost, selling price, gross margin and markup in any direction, including the selling price needed to hit a target margin or the cost ceiling for a target markup.
Discount Calculator – Sale Price, Savings and Stacked Discounts
Find the sale price after one or two stacked discounts, the amount saved, and the effective combined discount rate, with optional sales tax on the discounted price.
Monthly Budget Calculator – Surplus, Deficit and the 50/30/20 Split
Enter take-home income and your main expense categories to see what is left each month, your savings rate, and how your spending compares with the 50/30/20 guideline.