Quick answer
Unit price = price ÷ quantity. A 12-pack at $4.80 costs $0.40 each and a 24-pack at $7.92 costs $0.33 each, so the 24-pack is cheaper per unit.
Enter the price and quantity of one or two items. The calculator returns the unit prices and the cheaper option.
Related tools: Split Bill Calculator: Each person's share of a bill with tip. Bond Price Calculator: Price of a coupon bond from its yield to maturity. Unit Circle Calculator: Coordinates on the unit circle for an angle.
How to use the Unit Price Calculator
- Enter price of item 1 ($) (0 or more).
- Enter quantity of item 1 (above 0).
- Optionally, enter price of item 2 ($) (0 or more).
- Optionally, enter quantity of item 2 (above 0).
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Price of item 1 | A number, in $ | ≥ 0 |
| Quantity of item 1 | A number | > 0 |
| Price of item 2 (optional) | A number, in $ | ≥ 0 |
| Quantity of item 2 (optional) | A number | > 0 |
Formula and method
Formula
unit price = price ÷ quantity
IEEE-754 double precision; money shown to cents, rates to 4 decimals. Results are estimates, not financial advice.
Use the same unit (ounces, items, liters) for both items.
Worked examples
These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.
Example 1
Inputs: Price of item 1 = 4.8; Quantity of item 1 = 12; Price of item 2 = 7.92; Quantity of item 2 = 24.
| Result | Value |
|---|---|
| Cheaper per unit | $0.33 |
| Item 1 per unit | $0.40 |
| Item 2 per unit | $0.33 |
Example 2
Inputs: Price of item 1 = 3; Quantity of item 1 = 2.
| Result | Value |
|---|---|
| Item 1 per unit | $1.50 |
| Item 1 per unit | $1.50 |
| Item 2 per unit | — |
The first line is the headline result (cheaper per unit). Below it the unit Price Calculator lists item 1 per unit and item 2 per unit, which describe the same case from other angles. IEEE-754 double precision; money shown to cents, rates to 4 decimals. Results are estimates, not financial advice.
Comparing sizes
The larger pack saves about 17.5% per unit. Compare using the same unit: ounces with ounces. Bigger is not always cheaper, so always check.
Beyond price
Unit price ignores quality, freshness and storage. Perishable goods may spoil before you use a large pack. Item 2 is optional if you only need one unit price.
How the result changes with price of item 1
Holding every other input at the first worked example, this table changes only price of item 1. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.
| Price of item 1 | Cheaper per unit | Item 1 per unit | Item 2 per unit |
|---|---|---|---|
| 2.4 | $0.20 | $0.20 | $0.33 |
| 4.8 | $0.33 | $0.40 | $0.33 |
| 9.6 | $0.33 | $0.80 | $0.33 |
| 19.2 | $0.33 | $1.60 | $0.33 |
What happens with invalid input
These messages are produced by the calculator itself, so you know what to fix.
- Quantity of item 1: entering "0" shows "Quantity of item 1 must be greater than 0." beside that field and no result.
- Price of item 1: entering "-1" shows "Price of item 1 must be at least 0." beside that field and no result.
Choosing between the Unit Price Calculator and similar calculators
Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.
| Calculator | You enter | It returns |
|---|---|---|
| [Split Bill Calculator](/finance/split-bill-calculator/) | bill total, tip and people | Each person pays |
| [Bond Price Calculator](/finance/bond-price-calculator/) | face value, annual coupon rate and yield to maturity | Bond price |
| [Unit Circle Calculator](/math/unit-circle-calculator/) | angle and unit | Point (cos θ, sin θ) |
| [Unit Vector Calculator](/math/unit-vector-calculator/) | vector | Unit vector |
| [Price Elasticity of Demand Calculator](/business/price-elasticity-demand/) | price before, price after and quantity before | Price Elasticity of Demand |
Background: personal finance estimates
Financial calculators project from the numbers you give them. Long-range tools depend on guesses about returns and tax rates that are unlikely to hold exactly, payoff tools assume a fixed payment and rate, and tax or salary results depend on the tax year, filing status and country. Official calculators say their output is for reference only.
For decisions that matter, use conservative inputs and check the figures against your lender, plan documents or a qualified adviser.
Assumptions and limitations
- Item 2 is optional
Results are estimates for planning, not financial advice. Lender terms, fees, taxes and rounding rules can change real figures, so confirm important numbers with your lender or a licensed adviser.
If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for quantity of item 1 and price of item 1 to confirm this.
Frequently asked questions
Is the bigger pack always cheaper?
Not always. Compare unit prices: here the 24-pack is $0.33 each against $0.40, but a larger pack can cost more per unit.
What units should I compare?
Use the same unit for both.
Does it work for weight?
Yes, enter the weight as the quantity.
What does the Unit Price Calculator calculate?
Price per unit for one or two items, and which is cheaper. It returns Cheaper per unit, Item 1 per unit and Item 2 per unit.
What formula does the Unit Price Calculator use?
unit price = price ÷ quantity. Use the same unit (ounces, items, liters) for both items.
What do I need to enter in the unit Price Calculator?
You enter Price of item 1 ($) and Quantity of item 1. Optional: Price of item 2 ($) and Quantity of item 2.
How is the result rounded or limited?
IEEE-754 double precision; money shown to cents, rates to 4 decimals. Results are estimates, not financial advice. Item 2 is optional.
What is an example of a unit Price result?
With price of item 1 4.8, quantity of item 1 12, price of item 2 7.92 and quantity of item 2 24, the cheaper per unit is $0.33.
Can I rely on this calculator for a decision?
Results are estimates for planning, not financial advice. Lender terms, fees, taxes and rounding rules can change real figures, so confirm important numbers with your lender or a licensed adviser. For this calculator in particular: Item 2 is optional.
Related calculators
- Split Bill Calculator — Each person's share of a bill with tip.
- Bond Price Calculator — Price of a coupon bond from its yield to maturity.
- Unit Circle Calculator — Coordinates on the unit circle for an angle.
- Unit Vector Calculator — Unit vector in the direction of a vector.
- Price Elasticity of Demand Calculator — Price elasticity of demand by the midpoint (arc) method.
- Price Elasticity of Supply Calculator — Price elasticity of supply by the midpoint (arc) method.
Sources
- Standard time-value-of-money relations (e.g. Brealey, Myers & Allen, Principles of Corporate Finance)
Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.