FreeStatisticalTools.com
Marketing analytics

Price Elasticity of Demand Calculator

Measure how strongly sales respond to price. A log-log demand model turns the price coefficient directly into an elasticity, adds competitor prices and promotions as controls, shows the revenue effect of price changes and, with a unit cost, the profit-maximising price.

Free · No sign-upReplaces Excel · StataWorks with your data
Updated · By Bibin Xavier

Data 156 × 5

Paste from Excel, or drop a CSV, TSV or Excel file here.
Example data 156 rows, 5 variables. Data stays in this browser tab.
Weektext · 156 levelsPricenumericUnits_SoldnumericCompetitor_PricenumericPromotionnumeric · coded
W14.955804.860
W24.348934.920
W34.715774.590
W44.328094.550
W55.168285.051
W64.636494.30
W74.546204.390
W84.118244.820

Variables and options

Other controls (promotion, season …) 1 selected
Results update automatically when you change an option.

Results

156 rows · example data
Own-price elasticity-1.7495% CI [-1.89, -1.59]
Demand iselastic
Cross-price elasticity0.67substitute
R².816
Profit-maximising price5.19unit cost 2.20
Table 1

Demand model

TermCoefficientSEtp95% CI
Intercept8.13770.188543.17< .001[7.7652, 8.5101]
ln(Price)-1.73590.0760-22.85< .001[-1.8859, -1.5858]
ln(Competitor_Price)0.67400.09367.20< .001[0.4890, 0.8589]
Promotion0.21010.017511.98< .001[0.1755, 0.2448]

Note. ln(Units_Sold) = a + ε ln(Price) + …: the price coefficient is the elasticity, the % change in quantity for a 1% price change. Controls enter linearly. R² = .816, n = 156.

Table 2

Effect of price changes

Price changeNew price (from mean)Quantity changeRevenue changeProfit change
-20%3.6547.3%17.8%-9.5%
-10%4.1120.1%8.1%-3.1%
-5%4.349.3%3.8%-1.2%
+5%4.80-8.1%-3.5%0.7%
+10%5.02-15.2%-6.8%1.1%
+20%5.48-27.1%-12.6%1.0%

Note. With constant elasticity ε, quantity changes by (1 + Δ)ε − 1 for a price change Δ.

Demand curve

Revenue and profit by price

Interpretation

The own-price elasticity is -1.74 (95% CI [-1.89, -1.59]): a 1% price increase changes quantity sold by about -1.74%, so demand is elastic. Price cuts raise revenue and price increases lower it. The cross-price elasticity with Competitor_Price is 0.67, so the products behave as substitutes. With a unit cost of 2.20, the profit-maximising price is 5.19 (Lerner rule: P = c·ε / (1 + ε)). Elasticities from observational data are biased if prices respond to demand; use price tests where possible.

A log-log demand model (n = 156, R² = .816) estimated an own-price elasticity of -1.74, 95% CI [-1.89, -1.59], and a cross-price elasticity of 0.67.

How to cite this tool

Using these results in a thesis, journal article, report or class assignment? Please cite this free tool so others can find it. It keeps the site free.

APA 7

Xavier, B. (2026). Price Elasticity of Demand Calculator [Web application]. FreeStatisticalTools.com. https://freestatisticaltools.com/price-elasticity-calculator/

BibTeX

@software{xavier_priceelasticity_2026,
  author = {Xavier, Bibin},
  title = {Price Elasticity of Demand Calculator},
  publisher = {FreeStatisticalTools.com},
  year = {2026},
  url = {https://freestatisticaltools.com/price-elasticity-calculator/},
  note = {Web application}
}
Download citation:

Suggested sentence for your methods section: “The analysis was carried out with the free Price Elasticity of Demand Calculator tool on FreeStatisticalTools.com (Xavier, 2026).”

What is price elasticity of demand?

Price elasticity measures the percentage change in quantity sold for a 1% change in price. This calculator estimates it from your sales data with a log-log demand model, adds competitor prices and promotions as controls, shows the revenue and profit effect of price changes, and gives the profit-maximising price when you enter a unit cost.

When to use price elasticity of demand

Use it to quantify price sensitivity from historical sales or price-test data, compare products or segments, check whether a price change will raise revenue, and find the profit-maximising price.

Assumptions

  • Prices vary for reasons unrelated to demand shocks; if price is set in response to demand, the estimate is biased (use experiments or instruments).
  • The log-log model assumes the same elasticity at every price; the linear model allows it to change along the curve.
  • All other important drivers of sales (promotions, seasonality, competitor prices, distribution) are included as controls.

How to set up your data

One row per period, store or product-period, with the price and quantity sold, and optionally competitor prices and other controls.

What price elasticity measures

Price elasticity of demand measures how strongly the quantity sold responds to a change in price. It is defined as the percentage change in quantity divided by the percentage change in price:

ε = (ΔQ / Q) ÷ (ΔP / P)

Because demand usually falls when price rises, elasticity is normally negative. An elasticity of −2 means that a 1% price increase reduces volume by about 2%; an elasticity of −0.5 means volume falls by only 0.5%.

  • Elastic demand (|ε| > 1): volume reacts more than proportionally. Price increases reduce revenue, price cuts increase it.
  • Inelastic demand (|ε| < 1): volume reacts less than proportionally. Price increases raise revenue.
  • Unit elastic (|ε| = 1): revenue does not change with small price changes; this is where revenue is maximised.

The cross-price elasticity measures how a product’s demand responds to a competitor’s or another product’s price. A positive value means the products are substitutes (when the competitor raises its price, your sales rise); a negative value means they are complements.

Estimating elasticity with a log-log model

The standard way to estimate elasticity from sales data is a log-log regression:

ln(Q) = a + ε ln(P) + γ ln(Pcompetitor) + δ1 promo + … + error

In this constant-elasticity model, the coefficient on log price is the elasticity, and the coefficient on log competitor price is the cross-price elasticity. Controls such as promotions, seasonality, distribution or advertising enter linearly so that their influence is not mistaken for a price effect. The tool reports each coefficient with its standard error, t-test, p-value and 95% confidence interval, so you can see how precisely the elasticity is estimated.

The alternative linear model (Q = a + bP + …) has a slope rather than an elasticity; the tool converts it to an elasticity at the mean price and mean quantity, ε = b × P̄ / Q̄. In a linear model elasticity changes along the curve, becoming more elastic at higher prices, which is sometimes more realistic over wide price ranges.

From elasticity to pricing decisions

With a constant elasticity, a price change of Δ (for example +10%) changes quantity by (1 + Δ)ε − 1 and revenue by (1 + Δ)1+ε − 1. The table of price changes shows these effects for ±5%, ±10% and ±20%, and, if you enter a unit cost, the change in gross profit as well.

When demand is elastic and you know the unit cost c, the profit-maximising price in the constant-elasticity model follows the Lerner rule: P* = c × ε / (1 + ε). With ε = −2, for example, the optimal price is twice the unit cost (a 100% markup); with ε = −4 it is 1.33 times cost. When demand is inelastic (|ε| ≤ 1), the constant-elasticity model implies that raising the price always increases profit, so there is no finite optimum within the model: in reality elasticity rises at higher prices, which is why you should not extrapolate far beyond the observed range. In the linear model, the tool also gives the revenue-maximising price and, with a cost, the profit-maximising price.

Worked example with the built-in data

The example contains 156 weeks of unit sales with the product’s price, a competitor’s price and a promotion indicator. The log-log model (R² = .82) estimates an own-price elasticity of −1.74 (95% CI −1.89 to −1.59): demand is elastic, so price cuts raise revenue. A 10% price increase would cut volume by about 15% and revenue by about 7%. The cross-price elasticity with the competitor’s price is +0.67, so the two products are substitutes: a 10% competitor price increase lifts sales by about 7%. Promotion weeks sell about 23% more (e0.21 − 1). With a unit cost of 2.20, the Lerner rule gives a profit-maximising price of about 5.19, slightly above the average observed price of 4.57.

Data for elasticity estimation

  • One row per period (week or month), store-week, or product-period, with price and quantity.
  • Price must vary. If price never changed, elasticity cannot be estimated; promotions, regional price differences or planned price tests provide the variation.
  • Use the price customers actually paid (net of discounts), not list price.
  • For the log-log model, prices and quantities must be positive; drop periods with zero sales or use the linear model.
  • About 50 or more observations give reasonably precise estimates; 2–3 years of weekly data is common.

Pitfalls: endogeneity and omitted variables

The biggest risk in estimating elasticity from historical data is endogeneity: prices are often set in response to demand. If a retailer raises prices in peak season when demand is high anyway, the data show high prices together with high sales, and the estimated elasticity is biased towards zero or even positive. Solutions include controlling for seasonality and demand drivers, using price variation that is unrelated to demand (cost changes, planned experiments), or instrumental variables, available in this site’s 2SLS tool, for example with input costs as instruments.

Omitted variables such as advertising, distribution changes, out-of-stocks or competitor promotions also bias elasticity if they move together with price. Include them as controls when you have them.

Finally, distinguish short-run from long-run effects: a temporary promotion causes stockpiling and brand switching, so promotional elasticities are usually larger than the response to a permanent price change.

Typical elasticity values

Meta-analyses of consumer goods find an average price elasticity of about −2.6 (Bijmolt, Van Heerde and Pieters, 2005), with large variation across categories, brands and countries. Necessities and products without close substitutes are inelastic; discretionary items, products with many substitutes and brands in competitive categories are elastic. Elasticity is also higher in the long run, as consumers find alternatives.

Reporting

Report the model form, the sample, the elasticity with its 95% confidence interval, model fit, controls and any cross-price elasticity. Example: “A log-log demand model (n = 156 weeks, R² = .816), controlling for promotions and competitor price, estimated an own-price elasticity of −1.74, 95% CI [−1.89, −1.59], and a cross-price elasticity of 0.67.”

Glossary of pricing terms

  • Own-price elasticity: the % change in a product’s quantity for a 1% change in its own price.
  • Cross-price elasticity: the % change in quantity for a 1% change in another product’s price.
  • Arc elasticity: elasticity measured between two price points using their averages.
  • Point elasticity: elasticity at a single point on the demand curve, for example at the mean price.
  • Lerner index: (P − c) / P, the markup as a share of price; at the profit optimum it equals −1/ε.
  • Endogeneity: correlation between price and unobserved demand shocks, which biases simple estimates.
  • Instrumental variable: a variable that shifts price but not demand directly, such as an input cost, used to remove endogeneity bias.
  • Promotional elasticity: the short-run response to temporary price cuts, usually larger than the response to permanent changes.

Key references: Bijmolt, Van Heerde and Pieters (2005), Journal of Marketing Research; Tellis (1988), Journal of Marketing Research; Nagle and Müller (2018), The Strategy and Tactics of Pricing.

How to use this tool

  1. Enter your data. Paste columns from Excel, Google Sheets or SPSS with variable names in the first row, or upload a CSV or Excel file. The example data shows the expected layout.
  2. Choose the variables. Select the price, quantity sold, competitor or substitute price (optional), other controls (promotion and season …).
  3. Set the options. Fill in demand model, unit cost (optional and for the optimal price).
  4. Read the results. Results update automatically. Read the plain-English interpretation, then use Copy table to paste APA-style tables into Word and Copy for the results sentence.

How to report price elasticity of demand in APA style

Report the model, the elasticity with its confidence interval and R², and any optimal-price calculation with its cost assumption.

Frequently asked questions

How is price elasticity calculated from data?

Regress ln(quantity) on ln(price) and controls. The coefficient on ln(price) is the elasticity.

What does an elasticity of −2 mean?

A 1% price increase reduces quantity by about 2%. Demand is elastic, so price increases reduce revenue.

What is cross-price elasticity?

The % change in your sales for a 1% change in another product’s price. Positive means substitutes, negative means complements.

How is the optimal price calculated?

With constant elasticity ε < −1 and unit cost c, the Lerner rule gives P* = c·ε/(1 + ε).

Why can elasticity estimates be biased?

If prices are set in response to demand, or important drivers are omitted, estimates are biased. Use price tests or instruments where possible.

Log-log or linear model?

Log-log assumes constant elasticity and is the standard; the linear model lets elasticity vary along the demand curve.

Related tools

See also

Learn this method step by step in the free course Customer and Marketing Analytics, with exercises and a certificate.

Browse all categories