Home›Taxes, pricing & margin

Price elasticity of demand and optimal price

Price elasticity of demand is the percentage change in quantity sold divided by the percentage change in price. When its absolute value is above 1, demand is elastic and revenue tends to rise when the price falls.

Enter two price and quantity points to see whether demand is elastic, inelastic or unit elastic, what happened to revenue and, with the variable cost, which price maximizes profit. Educational estimate: real demand depends on other factors.

Educational simulation. Not investment advice. Results are estimates based on the data you enter and do not replace advice from a qualified professional.

Updated on Nov 14, 2026

Example: you sold 500 units at $20.00 and, after raising the price to $22.00, sold 400. The variable cost is $12.00 per unit.

Point 1 (before)
Point 2 (after)
Optimal price

Use data for the same product, in the same period, with no promotion or change in quality or competition. Blank current price: the price of point 2 is used. Fixed costs are left out: they do not change the optimal price.

Your inputs stay only on this browser and are not sent anywhere. Untick to delete them.

——
—

Elasticity by the two methods

Estimated demand curve

Price (vertical) and quantity (horizontal) in the chosen model. The circles are your two points; outside the range between them, the curve is only extrapolation.

Tap the chart to see the values.

Profit vs. price

Profit = (price − variable cost) × estimated quantity, before fixed costs. The peak is the model’s optimal price.

Tap the chart to see the values.

Current price vs. optimal price

Educational estimate: real demand depends on other factors (competition, income, seasonality, quality, brand) that this model cannot see. Test price changes gradually before deciding.

Next step

Take this page’s results to another calculator with the fields already filled in.

The summary lists your inputs, results, formulas, assumptions and sources. The full report also includes the charts and interpretations, in color. In the print dialog, choose Save as PDF.

Method, assumptions and sources

Formulas

Simple elasticity = [(Q2 − Q1) ÷ Q1] ÷ [(P2 − P1) ÷ P1]
Midpoint = [(Q2 − Q1) ÷ ((Q1 + Q2) ÷ 2)] ÷ [(P2 − P1) ÷ ((P1 + P2) ÷ 2)]
Constant elasticity: ε = ln(Q2 ÷ Q1) ÷ ln(P2 ÷ P1); Q = A · P^ε, with A = Q1 ÷ P1^ε
Linear demand: b = (Q1 − Q2) ÷ (P2 − P1); a = Q1 + b · P1; Q = a − b · P
Profit = (P − c) · Q; optimum with ε < −1: P* = c · ε ÷ (1 + ε); linear optimum: P* = (a ÷ b + c) ÷ 2

Assumptions and limits

  • Educational estimate from two points: real demand depends on competition, seasonality, quality, brand, income and promotions, which the model cannot see.
  • Constant variable cost per unit; fixed costs and taxes are left out (they do not change the optimal price, except taxes proportional to price). Profit = revenue − variable cost.
  • Classification by the midpoint: absolute value above 1 is elastic, below 1 is inelastic; unit elastic when within 0.005 of 1. A blank current price uses the price of point 2.

Official sources and references

  • Mankiw, N. G. Principles of Economics (elasticity and the midpoint method). Cengage.
  • Varian, H. R. Intermediate Microeconomics. W. W. Norton.
  • Pindyck, R. S.; Rubinfeld, D. L. Microeconomics (pricing and the markup rule, P* = c ÷ (1 + 1/ε)). Pearson.

Frequently asked questions

How do you calculate price elasticity of demand?

Divide the percentage change in quantity by the percentage change in price. In the example (from $20.00 to $22.00, quantity went from 500 to 400), the simple formula gives −20% ÷ +10% = −2.00 and the midpoint formula gives −22.2% ÷ +9.5% = −2.33. The calculator shows both; the midpoint is the most used because it does not depend on which point comes first.

How do I know if demand is elastic or inelastic?

By the absolute value of the elasticity: above 1, elastic (quantity reacts more than price, so raising the price lowers revenue); below 1, inelastic (raising the price raises revenue); equal to 1, unit elastic. In the example, the absolute value is 2.33: demand is elastic, and revenue fell 12.0%, from $10,000.00 to $8,800.00.

How does the calculator find the optimal price?

It estimates the demand curve from your two points and looks for the price that maximizes (price − variable cost) × quantity. In the constant-elasticity model, P* = cost × ε ÷ (1 + ε): with a $12.00 cost and ε = −2.34, that is $20.95, a profit of $4,014.28 versus $4,000.00 at the current $22.00. In the linear model, the optimum is $21.00 and the profit $4,050.00.

Why does it warn that there is no optimal price?

In the constant-elasticity model, if ε is −1 or higher (demand barely reacts to price), profit keeps rising as price rises and there is no maximum. That usually means the model does not hold for prices far from the observed ones; try the linear model or use points farther apart.

Can I rely on the optimal price to change my prices?

Use it as a reference, not an order. It is an educational estimate built from two points: real demand depends on competition, seasonality, quality, brand and customer income, and the math leaves out fixed costs and taxes (use the pricing calculator for that). When the optimum falls outside the range of your two prices, uncertainty is greater; test small changes first.

Price elasticity of demand: how to calculate it and use it to set a price

Price elasticity of demand measures how much the quantity sold changes, in %, when the price changes by 1%. With two points (price and quantity before and after a price change), the math is: % change in quantity ÷ % change in price.

Example

A product sold 500 units at $20.00 and, at $22.00, sold 400. With the simple formula (base at point 1): −20% ÷ +10% = −2.00. With the midpoint formula: −22.2% ÷ +9.5% = −2.33. Because the absolute value is above 1, demand is elastic: revenue fell from $10,000.00 to $8,800.00 (−12.0%).

ElasticityClassRaising the price makes revenue
above 1 (absolute value)elasticfall
equal to 1unit elasticstay the same
below 1inelasticrise

From the revenue effect to the optimal price

Revenue is not profit. With a variable cost of $12.00 per unit, profit is (price − 12) × quantity. In the constant-elasticity model, ε = −2.34 and the profit-maximizing price is P* = 12 × ε ÷ (1 + ε) = $20.95, with a profit of $4,014.28 versus $4,000.00 at $22.00. In the linear model, the optimum is $21.00, with $4,050.00. Both models agree on the direction (cut the price a little) but not on the exact value: read the result as a range, not a single number.

Caveats

Two points measure the effect of price only if nothing else changed between them. Promotions, seasonality, competition and quality distort the result. When |ε| is 1 or less in the constant-elasticity model, profit always rises with price and there is no optimum; that signals the model does not describe the data well far from the observed points. This is an educational estimate.