Price Elasticity of Demand
Price elasticity of demand measures how sensitive quantity demanded is to price, with other market conditions held fixed. In retail, a brief price test can give a reliable estimate of the immediate sales response. Using that estimate to set a permanent price assumes that the same response will persist after competitors adjust their prices and customers change their buying habits.
Elasticity at a given price
Let Q(p) denote the quantity customers would buy at price p over a specified period. For positive price and demand, at a point where the demand curve is differentiable, own-price elasticity is
An elasticity of −2 means that near the current price a 1% cut increases demand by about 2%. For a downward-sloping curve, demand is elastic when the coefficient is below −1 and inelastic when it lies between −1 and zero. The distinction concerns revenue. At −1, the increase in volume just offsets the reduction in price to first order, as can be seen by differentiating pQ(p).1
Estimates for individual SKUs are easy to put in a pricing engine. Applying the same coefficient over a wide range of prices assumes a smooth response even where the retailer would undercut his nearest competitor. The slope at the original price gives no measure of the jump in sales at that threshold or of the margin lost when customers switch from another brand in the assortment.2
What a discount must earn back
An item sells for $10 and costs $7.50 to replace. At 100 units a week it earns $250 in gross profit. If a cut to $9 lifts sales to 120 units, revenue rises from $1,000 to $1,080, while gross profit falls to $180. At $9 the retailer needs at least 112 sales to preserve revenue and 167 to preserve gross profit.3
The retailer can establish from his accounts that the $9 offer needs another 67 sales a week. Whether customers will buy those units is the part that requires a demand estimate.
With a constant cost c per unit sold, gross profit is (p − c)Q(p). Let m = (p − c)/p be the gross margin as a fraction of the selling price. The derivative of gross profit with respect to price is
At the original 25% margin, an elasticity below −4 is needed for a small price cut to increase gross profit. For a larger cut the retailer can compare the margins directly. Cutting the price to $8.75 halves the gross profit per unit, so sales must double. At $7.50 no volume can recover the original $250 on this item alone.
What happens at a price threshold
Two sellers offer the same spare part on the same delivery terms. One lists it at $10.00. If the other cuts his price from $10.05 to $10.01, he still ranks second in a list sorted by price. At $9.99 he ranks first. Among customers who take the lowest offer, the first four cents earn him no orders and the next two cents win them all. At that threshold the derivative is undefined. A smooth curve fitted across the three prices attributes some of the gain to cuts that had no effect.2
Free shipping creates a similar threshold. A shop offers free delivery on orders of $50 or more and charges $4.95 below that amount. Cutting a single-item order from $50.10 to $49.90 raises its delivered price to $54.85. For a basket that still qualifies for free delivery, the same cut saves the customer twenty cents. Sales records that omit shipping charges can make demand appear to rise with price. For a single-item order the tariff alone rules out the cut as a way to lower the delivered price.
The duration of a price test also matters. If a competitor matches a cut the following morning, the retailer earns less per unit on both days and ranks first on only one.4 Conversely, a price increase may appear profitable for several weeks simply because regular customers have yet to compare prices elsewhere.5
Elasticity also depends on how the market is defined. After correcting for publication bias, Havránek, Iršová, and Janda estimated average elasticities of gasoline demand of −0.09 in the short run and −0.31 in the long run.6 An individual station can lose a large share of its business to a cheaper station across the road with scarcely any change in the quantity of gasoline consumed.
Pricing the middle tier
Consider three brands of coffee sold in packs of the same size. A cut in the store-brand price from $3 to $2.75 narrows its premium over the budget brand from $1 to 75 cents. At the same time, a shopper switching from the premium brand to the store brand now saves $1.75 instead of $1.50.
| Per pack | Price | Gross profit |
|---|---|---|
| Budget | $2.00 | $0.50 |
| Store brand | $3.00 → $2.75 | $1.50 → $1.25 |
| Premium brand | $4.50 | $1.50 |
If store-brand sales rise from 100 to 140 packs, gross profit on the line rises from $150 to $175. If the extra forty packs displace budget coffee, the grocer forgoes $20 of margin and finishes $5 ahead. If they displace premium coffee, he forgoes $60 and finishes $35 behind. The store-brand sales figures are identical in both cases. A trial that records sales of all three brands can distinguish these outcomes. The receipt for any one purchase reveals only the brand chosen.7
The premium supplier might itself fund a promotion at $2.75. That would make the store brand, still at $3, the more expensive choice. For the grocer, part of the cost of accepting the offer is the margin he expects to lose on his own brand.
Cross-price elasticity measures how demand for one item responds, in percentage terms, to a small percentage change in another item’s price. Estimating it requires a judgment about which products customers would actually substitute. In the automotive aftermarket, a mechanic considers parts that fit the vehicle and meet his quality requirements. A purchasing category may contain thousands of parts he could never use for the repair. The choice set also changes whenever a suitable part goes out of stock.4
The customer who learns to wait
For goods that can be stored, a promotion can bring forward the next purchase. A household buying two bottles of detergent on sale may use detergent at its usual rate and skip a later purchase. Hendel and Nevo followed household purchases over two years. In their data, ignoring stocks held by households overstated own-price elasticities by 30%.8
Predictable discounts can also induce customers to postpone purchases. If a clothing brand marks down each collection six weeks after launch, a customer who wants a coat has a reason to wait. He may wait for a discount on the next collection as well. Restoring the original price takes little effort. Once customers have learned the markdown schedule, recovering full-price sales can take considerably longer.9
As purchases shift into sale weeks, sales at the regular price decline. A promotion report that uses those weeks as its baseline will show a growing percentage lift even if the brand sells no more coats over the season. To estimate the effect of the markdown policy, the comparison must extend into the next collection and include customers exposed to a different policy. A surprise markdown and a sale announced every season give customers different reasons to buy.
Suppose the brand earns $600 more by holding a public clearance than by selling the same coats through an outlet, after expenses. If each future purchase deferred from full price to a sale costs $20 in present margin, thirty such purchases would absorb the $600. A local clearance and an email to the entire customer list may earn the same amount today while exposing quite different numbers of customers to the discount.10
Separating the discount from the display
In the supermarket example, the store usually sells 100 packs a week at $10. During a promotion it charges $9, moves the packs to an aisle-end display, and sells 180. The sales file usually gives the price. It may omit the display, the advertisement in the weekly circular, and the competing brand that gave up shelf space.
Suppose the chain assigns comparable stores at random to the four combinations of price and placement, with enough stock for the week. On the regular shelf the price cut raises sales from 100 to 120. On the aisle end it raises them from 150 to 180. The discount thus adds twenty packs on the shelf and thirty on the display. The ten-pack difference is the interaction between price and placement. Crediting the discount with all eighty additional sales would leave the buyer ordering 180 packs the next time he offers $9 on a regular shelf.
A supplier may offer to fund an aisle-end display only if the retailer cuts the price. Against the ordinary shelf at $10, the combined promotion raises weekly gross profit from $250 to $270. If the retailer could use the same display at full price, it would earn $375 (150 × $2.50). Compared with that alternative, discounting costs $105. The supplier’s allowance has to cover the difference.11
Price changes are often a response to demand. A fashion buyer marks down the colors that have been selling poorly and leaves the bestsellers at full price. Across colors, higher prices may then coincide with higher sales. Transaction records pose a further difficulty for slow sellers. On days with no sales, the analyst needs the price customers were offered and whether the item was available. If the shop sold its last unit early in the week, the sales total is only a lower bound on demand.
Three years of sales at a single price provide no direct observation of how customers would respond to a price change. A wholesaler can face much the same problem even when his invoices show several prices. If his terms are $10 for singles and $9 per unit by the case, large orders receive the lower price automatically. Some customers bought a case to qualify for the discount. Others needed a case anyway. Estimating the effect of a different quantity break requires variation in the terms offered. For individually quoted sales, the invoice file also omits every quote the customer declined.
Fitting a price response with autodiff
A price change can be expressed relative to the regular price r as p/r − 1. A $1 cut on a $10 pack and a $10 cut on a $100 case both give −0.10, whether the prices are recorded in dollars or cents. Use a reference price known before the observation period. The average price paid during a promotion already reflects how many customers took up the offer.
The four supermarket offers can be modeled in Envision, Lokad’s supply chain programming language.12 Each row of Weeks represents one fully stocked store-week. It records the offered Price, the Units sold, and an Endcap flag equal to 1 on the aisle end and 0 on the regular shelf. The reference price is $10. The autodiff block fits three parameters by minimizing the negative Poisson log-likelihood of the observed counts.13
autodiff Weeks epochs:500 batch:4 learningRate:0.05 with
params level auto(4, 0)
params beta auto(0, 0)
params display auto(0, 0)
gap = Weeks.Price / 10 - 1
logMean = level + beta * gap + display * Weeks.Endcap
return -loglikelihood.poisson(exp(logMean), Weeks.Units)
The exponential keeps expected demand positive and makes the display and discount effects multiplicative. The fitted display multiplier is 1.5. With a fitted price coefficient β of −1.82, a 10% cut multiplies mean sales by exp(0.182), about 1.20. This adds twenty packs on the regular shelf and thirty on the aisle end. At $9.50 the model predicts about 110 packs on the shelf. At $2 of margin per pack, the retailer would need 125 to earn the original $250.
At the $10 reference price the price multiplier is one, expected sales on the regular shelf are 100, and β is the own-price elasticity. At other prices the elasticity of the fitted curve is βp/r. With the original replacement cost of $7.50, gross profit on this curve reaches its maximum at p = $7.50 − $10/β, or $12.98. The highest price tested was $10. The proposed increase of nearly $3 follows from extending the exponential curve beyond the trial. The model has no price for the premium brand and no history of previous markdowns.
A fully stocked week with zero sales belongs in the fit. At the regular price it pulls down the baseline estimate, although its direct contribution to the gradient for β is zero because the price gap is zero. Now suppose the stores had offered only $10 on the regular shelf and $9 on the display. Either price or placement could account for the entire increase from 100 to 180. Both explanations fit the observations exactly. At $9 on the regular shelf one predicts 180 sales and the other 100, on opposite sides of the 167 needed to maintain gross profit. Sales at $9 on the regular shelf supply the comparison missing from those two observations.
When individual items have few price changes, a common price coefficient can be fitted across related items, each with its own reference price and baseline sales. Similarity in the alternatives available to customers matters more here than similarity in list price. Two parts at very different prices may both have several interchangeable rivals. A single-source part at the same price as either of them gives the customer quite different options. To assess the fit on a new promotion, hold out entire promotions. Randomly withholding individual days allows observations from the same campaign into both training and evaluation.12
When the stock has already been bought
The $7.50 replacement cost applies when the retailer intends to replenish the item. Suppose instead that the season ends this week, 120 units remain, and a liquidator offers $2 each for any leftovers. Selling 100 units at $10 brings in $1,000 from customers and $40 from the liquidator. At $9 all 120 units sell for $1,080. The retailer paid $900 for the stock in either case, so discounting leaves him $40 ahead.
The price cut brings in $80 more at the register and uses twenty units the retailer could have kept. It pays if those units are worth less than $4 apiece in their next-best use. The liquidator’s offer settles the matter in the final week. Earlier in the season the buyer must allow for the chance of selling them at full price.
That calculation assumes the sales quantities are known. Suppose demand at $10 is either 70 or 130 units, with equal probability. At $9 demand in the same two cases is 80 or 160. Mean demand is still 100 at one price and 120 at the other. In the slow week both prices yield $800 including liquidation. In the busy week the shop sells all 120 units at either price, so discounting costs $120. The price cut now loses $60 on average. Using mean demand as the sales forecast counted orders the shop could never fill.
A Poisson count with mean 100 has a standard deviation of 10 units. The two equally likely demands of 70 and 130 have the same mean and a standard deviation of 30. The Envision example could therefore fit mean sales in fully stocked weeks and still underestimate the risk of selling out. For a clearance decision, the buyer needs to cap sales at available stock in each possible week before averaging the receipts.
From a coefficient to a pricing policy
A fashion buyer’s opening order influences how much stock will need marking down at the end of the season. A brand with a profitable outlet for slow-selling colors can afford a larger opening order. Its sales history reflects both the quantities it previously bought and the markdowns it actually took. A forecast based on that history carries those policies forward unless the buyer models the change explicitly.14
A functional forecast takes the proposed pricing rule as an input. The buyer can compare holding the launch price for another week, marking down selected colors now, and moving the remaining stock to an outlet. Waiting preserves the chance of a full-price sale but leaves less time to clear unsold stock. Apply each rule to the same possible courses of demand, allowing for the value of the leftovers, the effect on neighboring lines, and the cost of encouraging customers to wait. An elasticity measured near the launch price can inform the estimate of immediate sales.15
Historical records are enough to reconstruct which prices a new rule would have posted. They record sales only at the prices customers actually saw. A retailer testing the rule can assign an entire price ladder to each group of comparable stores and compare gross profit across the assortment. The comparison should allow for differences in opening and closing stock and extend into the next full-price period if customers have had an opportunity to learn the markdown schedule.16
References
-
Alfred Marshall, “The Elasticity of Wants,” Principles of Economics, Book III, Chapter IV (1890). ↩︎
-
Joannes Vermorel, “Price Elasticity Is a Poor Angle for Looking at Demand Planning” (2015). ↩︎ ↩︎
-
Tim J. Smith, Pricing Strategy: Setting Price Levels, Managing Price Discounts and Establishing Price Structures (South-Western Cengage Learning, 2012). ↩︎
-
Joannes Vermorel, “Pricing Optimization for the Automotive Aftermarket”, Supply Chain Lecture 6.2 (2023), 9:35 on competing offers and 56:21 on product ranges. ↩︎ ↩︎
-
Joannes Vermorel, “Short-Term vs Long-Term Pricing Analysis” (2014). ↩︎
-
Tomáš Havránek, Zuzana Iršová, and Karel Janda, “Demand for Gasoline Is More Price-Inelastic than Commonly Thought,” Energy Economics 34, no. 1 (2012), 201–207. DOI 10.1016/j.eneco.2011.09.003. ↩︎
-
Joannes Vermorel, “Spending and Revenue Attribution”, Introduction to Supply Chain, §4.5.3 (2025). ↩︎
-
Igal Hendel and Aviv Nevo, “Measuring the Implications of Sales and Consumer Inventory Behavior,” Econometrica 74, no. 6 (2006), 1637–1673. DOI 10.1111/j.1468-0262.2006.00721.x. ↩︎
-
Joannes Vermorel, “Projected Spending and Revenues” and “Asymmetry of Time”, Introduction to Supply Chain, §§4.5.4 and 7.3.3 (2025). ↩︎
-
Joannes Vermorel, “Window of Responsibility”, Introduction to Supply Chain, §8.5.1 (2025). ↩︎
-
Joannes Vermorel, “Promotion Planning in Retail – Data Challenges” (2013). ↩︎
-
Joannes Vermorel, “Structured Predictive Modeling for Supply Chain”, Supply Chain Lecture 5.1 (2022), 53:14 on parameter sharing and 1:09:34 on price. ↩︎ ↩︎
-
Lokad, “How to Regress Distribution Parameters with Autodiff”, Envision Technical Documentation, §2 on Poisson counts. ↩︎
-
Joannes Vermorel and Conor Doherty, “Why Pricing Belongs in Supply Chain”, LokadTV (2026). ↩︎
-
Joannes Vermorel, “Functional Forecasts” and “Postponement Principle”, Introduction to Supply Chain, §§7.4.8 and 8.5.3 (2025). ↩︎
-
Joannes Vermorel and Conor Doherty, “Pricing Optimization for Retail”, section on testing pricing strategies (revised 2023). ↩︎