Tabellab

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — CHF 9.90
Loading the spreadsheet…

What happens to sales when you change the price?

Every pricing decision hides one question: if we charge a dollar more, how many customers do we lose? Price elasticity of demand is the number that answers it. Pricing managers, category managers, e-commerce owners, finance analysts and economics students all use it, and you do not need a statistics package to measure it. A spreadsheet and the history of your own price changes are enough to start.

In this lesson we work with the same fictional business as the lab above, Juniper & Oak Coffee Roasters. The roaster changed the price of five products last season and recorded average weekly units for four weeks before and four weeks after each change. You will turn those ten numbers per product into an elasticity using two methods, the simple method and the arc (midpoint) method, and then calculate the point elasticity on a fitted demand line to see why the same product can be inelastic at one price and elastic at another.

These three measurements are the foundation for everything else in pricing analytics: log-log regressions, optimal prices, segment prices and A/B price tests. Get them right here, on five small examples you can check by hand, and the bigger models later will make sense.

Price elasticity in plain words

Price elasticity of demand = % change in quantity ÷ % change in price. Because demand usually falls when the price rises, the result is normally negative. An elasticity of −1.5 means that a 1% price increase costs about 1.5% of the units; −0.5 means it costs about half a percent.

  • Elastic demand: elasticity below −1 (for example −1.5). Customers react strongly. A price rise loses relatively more units than it gains in price, so revenue falls.
  • Inelastic demand: elasticity between −1 and 0 (for example −0.6). Customers react weakly. A price rise brings in more revenue, because the lost units are a smaller percentage than the price gain.
  • Unit elastic: exactly −1. Revenue stays the same after a small price change.

Note that this rule is about revenue, not profit. A product with elastic demand may still be worth a price rise if its margin is thin, and lesson 5 of this course shows exactly how margin and elasticity combine into the profit-maximising price.

Elasticity is a ratio of percentages, so it does not depend on units. That is what makes it useful: you can compare a $9 cold brew pack with an $18 single origin coffee, or weekly units with monthly units, on the same scale.

Many analysts report elasticity as a positive number (“an elasticity of 1.5”). Both conventions are common. In this course we keep the minus sign, so “below −1” means elastic. Whatever you choose, say it in the report.

Three ways to measure it

The simple method measures both changes from the old values: (new units ÷ old units − 1) ÷ (new price ÷ old price − 1). It is quick, but it has a flaw: it depends on direction. For the House Blend, going from $12.50 to $13.50 gives −1.361, while going back from $13.50 to $12.50 gives −1.649. Same two points, two different answers.

The arc (midpoint) method fixes this by dividing each change by the average of the two values: ((Q1 − Q0) ÷ ((Q1 + Q0) ÷ 2)) ÷ ((P1 − P0) ÷ ((P1 + P0) ÷ 2)). It gives the same number in both directions, which is why it is the usual choice when all you have is one observed price change.

The point elasticity answers a different question: what is the elasticity at one specific price on a demand curve? On a straight demand line Q = a − b × P, it equals −b × P ÷ Q, or −b × P ÷ (a − b × P). The slope b is constant along the line, but P ÷ Q is not, so the elasticity changes from point to point. Near low prices it is close to zero; as the price rises it grows in absolute value until it passes −1.

Worked example: five Juniper & Oak price changes

Here are the five price changes from the lab with both elasticities. All figures are fictional teaching data.

ProductOld priceOld units/wkNew priceNew units/wkSimpleArcReading (arc)
House Blend 340 g$12.501,240$13.501,105−1.361−1.497elastic
Espresso Roast$14.00860$13.00948−1.433−1.314elastic
Decaf Swiss Water$13.00410$14.00392−0.571−0.606inelastic
Cold Brew 4-pack$9.001,520$10.001,298−1.314−1.497elastic
Kenya Single Origin$18.00300$19.50281−0.760−0.818inelastic

Take the Cold Brew 4-pack. The price went from $9.00 to $10.00 and weekly units fell from 1,520 to 1,298. The simple method gives (1,298 ÷ 1,520 − 1) ÷ (10 ÷ 9 − 1) = −14.6% ÷ 11.1% = −1.314. The arc method divides the unit change of −222 by the midpoint of 1,409 (−15.8%) and the price change of $1 by the midpoint of $9.50 (10.5%), which gives −1.497. Both say elastic, but the arc figure is more trustworthy because it does not depend on which price you start from.

The Espresso Roast went the other way: a price cut from $14 to $13, with units rising from 860 to 948. The simple method gives −1.433, the arc method −1.314. A price cut makes the simple method look more elastic, a rise makes it look less elastic, which is exactly the direction bias the midpoint corrects. The Decaf and the Kenya Single Origin are inelastic on both methods: their buyers are loyal or have few alternatives.

The lab checks these cells. The formulas below are the ones to type:

CellWhatExcel formulaResult
F6Simple elasticity, Decaf=(E6/C6-1)/(D6/B6-1)−0.571
G7Arc elasticity, Cold Brew=((E7-C7)/((E7+C7)/2))/((D7-B7)/((D7+B7)/2))−1.497
D14Point elasticity, House Blend at $13.50=-D12*D13/(D11-D12*D13)−1.271
D15Elastic or inelastic?=IF(D14<-1,"elastic","inelastic")elastic

Simple vs arc elasticity of five price changesSimple methodArc (midpoint) method−1: unitelastic0.0−0.5−1.0−1.5−1.36−1.50House Blend−1.43−1.31Espresso−0.57−0.61Decaf−1.31−1.50Cold Brew−0.76−0.82Kenya
Figure 1. Simple and arc elasticities for the five fictional products. Bars below the dashed −1 line are elastic. The two methods agree on the verdict here, but the numbers differ by up to about 0.18 (Cold Brew).

For the point elasticity, the lab gives you a straight demand line for the House Blend fitted from store data: Q = 2,050 − 85 × P. At P = $13.50 the line predicts 2,050 − 85 × 13.5 = 902.5 units a week. The point elasticity is −85 × 13.5 ÷ 902.5 = −1.271, so at today's price the House Blend is elastic. At $10.00 the same line gives −0.708, which is inelastic. The switch happens at P = a ÷ (2b) = 2,050 ÷ 170 = $12.06, the price where elasticity is exactly −1 and revenue on this line is at its maximum.

House Blend demand line: Q = 2,050 − 85 × P$8$10$12$14$16$18$2004008001,2001,600Price P ($)Units per week$10.00: e = −0.71$12.06: e = −1.00$13.50: e = −1.27Inelastic: |e| < 1Elastic: |e| > 1revenue falls if P risesrevenue rises if P rises
Figure 2. On a straight demand line the elasticity changes along the line. Below $12.06 (green) the House Blend is inelastic, above it (orange) it is elastic. The circles mark three prices and their point elasticities.

This is the key insight of the lesson. “Our coffee is inelastic” is not a property of the product; it is a property of the product at a price. On this fictional line, revenue at $12.06 is about $12,360 a week and at $13.50 about $12,184. Whether the higher price is still the better one depends on costs, which is where the markup rule in lesson 5 comes in.

Step by step: measuring elasticity in Excel

You can do this in the lab above or in any version of Excel, including Microsoft 365, Excel 2021 and Excel for the web.

  1. Collect clean before-and-after data. For each price change, take average weekly units over a fixed window before and after, for example four weeks each. Avoid weeks with promotions, stock-outs or holidays if you can, and note any you could not avoid.
  2. Lay out one row per change. Product in column A, old price in B, old units in C, new price in D and new units in E, as in the lab.
  3. Simple elasticity. In F4 type =(E4/C4-1)/(D4/B4-1). Select F4:F8 first and press Ctrl+Enter to fill all five rows in one go.
  4. Arc elasticity. In G4 type =((E4-C4)/((E4+C4)/2))/((D4-B4)/((D4+B4)/2)) and fill down to G8. If the brackets feel heavy, the equivalent =((E4-C4)/AVERAGE(C4,E4))/((D4-B4)/AVERAGE(B4,D4)) is easier to read.
  5. Format the results. Select F4:G8, open Format Cells with Ctrl+1 and choose Number with 3 decimals. Elasticities are ratios, not percentages, so do not apply the % format.
  6. Point elasticity on the fitted line. Put the intercept a in D11, the slope b in D12 and the price P in D13. In D14 type =-D12*D13/(D11-D12*D13).
  7. Label the result. In D15 type =IF(D14<-1,"elastic","inelastic"), or simply type the word, as the lab asks.
  8. Test other prices. Change D13 to 10, 12 and 14 and watch D14 move. Data › What-If Analysis › Data Table can produce a whole column of elasticities for a list of prices.
  9. Chart the demand line. Make a small table of prices from $8 to $20 with =$D$11-$D$12*A40 for the units, select both columns and choose Insert › Charts › Scatter with Straight Lines.
Where do a and b come from? In practice you fit them from many weeks of price and unit data, for example with =INTERCEPT(units,prices) and =-SLOPE(units,prices). The next lessons go further and fit a log-log model, which gives the elasticity directly as a slope.

Price elasticity in Excel: demand curves, log-log regression and optimal price
The course moves from single price changes to demand curves, regression, optimal prices and price tests for the same fictional coffee roaster.

Common mistakes and how to spot them

Elasticity formulas are short, so small slips are easy to miss. These are the ones the lab coach catches most often:

  • Turning the ratio upside down. Elasticity is % change in quantity ÷ % change in price. Spot it: an elastic product suddenly shows a value between −1 and 0, or the other way round.
  • Using the raw change instead of the percentage. (E4 − C4) ÷ (D4 − B4) is units per dollar, a slope, not an elasticity. Spot it: results in the hundreds.
  • Dropping the minus sign in the point formula. Demand falls as price rises, so the point elasticity is negative. Spot it: a positive value from a normal demand line.
  • Dividing by a instead of Q. In −b × P ÷ Q, Q is the quantity at that price, a − b × P, not the intercept. Spot it: the elasticity barely changes when you change the price.
  • Comparing simple elasticities of price rises and price cuts. The simple method is biased by direction. Spot it: two products with similar behaviour show noticeably different values only because one price went up and the other down. Use the arc method.
  • Ignoring what else changed. A price cut during a promotion, a holiday week or a competitor's stock-out mixes several effects. Spot it: unusually large elasticities right after a campaign. Lesson 3 shows how to control for this with LINEST.
  • Reading too much into one change. One before-and-after comparison is a single noisy observation. Treat it as a first estimate and confirm it with more data or a test.

Quick reference: formulas and shortcuts

Function / shortcutWhat it does hereExample
Simple elasticity% change in units ÷ % change in price, both from the old values=(E4/C4-1)/(D4/B4-1)
Arc elasticitySame idea, each change divided by the average of old and new=((E4-C4)/((E4+C4)/2))/((D4-B4)/((D4+B4)/2))
AVERAGEReadable midpoints inside the arc formula=((E4-C4)/AVERAGE(C4,E4))/((D4-B4)/AVERAGE(B4,D4))
Point elasticityElasticity at one price on a straight demand line=-D12*D13/(D11-D12*D13)
IFLabels the result elastic or inelastic=IF(D14<-1,"elastic","inelastic")
ROUNDRounds an elasticity for a report=ROUND(G4,2)
SLOPE / INTERCEPTFit the line Q = a − b × P from many weeks of data (b is minus the slope)=-SLOPE(units,prices)
F4Makes a reference absolute, e.g. $D$12Cursor on the reference
Ctrl+EnterEnters one formula into every selected cell at onceSelect G4:G8, type, Ctrl+Enter

Real-world uses of price elasticity

Even a simple elasticity estimate changes the conversation about price. Typical uses:

  • Annual price review. Before raising list prices, check which products have shown inelastic reactions to past changes. Those are the candidates where a rise is least likely to hurt revenue.
  • Promotion planning. A discount on an inelastic product mostly gives away margin, because few extra units follow. An elastic product may justify the discount. The arc elasticity of past promotions is a first guide, with the caveats above.
  • Passing on cost increases. When green coffee, packaging or freight gets more expensive, elasticity tells you roughly how many units a matching price rise may cost, so you can compare that with absorbing the cost.
  • Channel and segment pricing. Online shoppers often compare prices more easily than store customers. Measuring elasticity separately per channel shows whether different prices make sense, as lesson 7 does.
  • Forecasting. Once you have an elasticity, a planned 5% price rise turns into a unit forecast: about elasticity × 5% change in units, a quick input for the sales plan.

What you will build in the rest of this course

Lesson 1 is free. The lessons that follow are part of the full course for a one-time $9.90. Each one is a hands-on lab with the same coffee roaster, checked step by step by the coach:

Lesson 2: Log-Log Regression: Elasticity as a Slope. Move from one price change to twenty weeks of data. You fit a constant-elasticity demand curve with logarithms, read the elasticity straight from the slope, forecast sales at a planned price and draw a scatter chart with a trendline.

Lesson 3: Controlling for Promotions & Seasonality with LINEST. Price cuts often come with promotions, which makes demand look more price-sensitive than it is. You show how a price-only regression overstates the elasticity of the Cold Brew 4-pack and fix it with LINEST and two dummy variables.

Lesson 4: Cross-Price Elasticity: Substitutes and Competitors. Your sales also react to your competitors' prices. You measure how strongly a rival's price moves House Blend sales, from one event and from a two-price regression, and forecast the effect of a competitor price cut.

Lesson 5: Revenue- and Profit-Maximising Price: The Markup Rule. Turn elasticity into a price. You find the revenue-maximising and the profit-maximising price on the House Blend demand line, confirm the markup rule (Lerner index = −1 ÷ e) and apply it to a constant-elasticity model.

Lesson 6: Demand Curve & Profit Curve: Finding the Peak. See the trade-off. You turn the fitted model into a price table with units, revenue and profit, pick the best price and chart the revenue and profit curves against price so the peak is visible at a glance.

Lesson 7: Segment Elasticities: Online vs Store. Customers are not all alike. You estimate separate elasticities for online and store shoppers and turn each one into a channel price with the markup rule.

Lesson 8: Mid-Course Project: Price Test Design & Reading the Results. The best evidence is a controlled test. You size an online A/B price test from an assumed elasticity, then read the result: conversion, profit per visitor and the p-value of the conversion drop.

Summary

Price elasticity is % change in quantity divided by % change in price. The simple method is quick but depends on direction; the arc method divides by the midpoints and gives one answer both ways, so use it for single observed price changes. On a straight demand line, the point elasticity −b × P ÷ (a − b × P) changes with the price: the fictional House Blend is inelastic at $10, unit elastic at $12.06 and elastic (−1.27) at $13.50.

Now scroll up to the lab and measure the five price changes yourself. Type the simple and arc formulas, calculate the point elasticity and let the coach check every answer. It takes about fifteen minutes, and you will be able to run the same check on your own price history straight afterwards.

Frequently asked questions

How do you calculate price elasticity of demand in Excel?

Divide the percentage change in quantity by the percentage change in price, for example =(E4/C4-1)/(D4/B4-1). For a single observed price change the arc version, =((E4-C4)/((E4+C4)/2))/((D4-B4)/((D4+B4)/2)), is usually preferred.

What is the difference between arc and point elasticity?

Arc elasticity measures the average response between two observed price-quantity points using midpoints. Point elasticity measures the response at one exact price on a demand curve, for a straight line −b × P ÷ Q.

Why use the midpoint method?

The simple method gives a different answer depending on whether the price went up or down. The midpoint method divides each change by the average of the two values, so it gives the same result in both directions.

What does an elasticity of −1.5 mean?

A 1% price increase reduces the quantity sold by about 1.5%. Because that is more than 1, demand is elastic and revenue falls when the price rises.

Is elasticity the same everywhere on a demand curve?

Not on a straight demand line: the slope is constant but P ÷ Q changes, so elasticity grows in absolute value as the price rises. A log-log (constant-elasticity) model, covered later in this course, assumes the same elasticity at every price.

Should price elasticity be positive or negative?

For ordinary products it is negative because demand falls when price rises. Many reports drop the sign and quote the absolute value, so always state which convention you use.

Keep going: Price Elasticity: Estimating Demand Curves, Log-Log Regression & Optimal Price

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.

  1. Log-Log Regression: Elasticity as a Slope
  2. Controlling for Promotions & Seasonality with LINEST
  3. Cross-Price Elasticity: Substitutes and Competitors
  4. Revenue- and Profit-Maximising Price: The Markup Rule
  5. Demand Curve & Profit Curve: Finding the Peak
  6. Segment Elasticities: Online vs Store
  7. Mid-Course Project: Price Test Design & Reading the Results
  8. How Sure Are We? Standard Error and Confidence Interval of the Elasticity
  9. Linear or Log-Log? Testing Demand Models on Hold-Out Weeks
  10. Separating Price from Growth: Adding a Time Trend to LINEST
  11. Price Rises vs Price Cuts: Asymmetric Elasticities
  12. Break-Even Volume: When Does a Price Change Pay Off?
  13. Cost Shock: How Much of a Cost Increase to Pass Through
  14. Cannibalisation: Pricing Two Related Products Together
  15. Pooling Several Shops: Store Dummies Remove the Size Bias
  16. Will the Rival Follow? Matched and Unmatched Price Moves
  17. Is Price Sensitivity Changing? Quarterly Re-Estimates and a Drift Alert
  18. Subscription Price Increase: Churn Response and Customer Value
  19. Final Project: Range-Wide Pricing Review Dashboard

Buy course — CHF 9.90 See the full course