Sub topic 5
The simple formula and its direction problem
This chapter assumes you know what a demand curve is, how to compute a percentage change, and basic algebra. No calculus is needed here. By the end you will be able to compute elasticity with the simple formula, and you will see why the answer depends on which point you start from.
The formula
Price elasticity of demand measures how strongly quantity demanded responds to a price change. The simple formula divides the percentage change in quantity by the percentage change in price:
E = (%ΔQ) / (%ΔP)
Each percentage change is measured against the starting value:
- %ΔQ = (Q₂ − Q₁) / Q₁
- %ΔP = (P₂ − P₁) / P₁
Here (P₁, Q₁) is the starting observation and (P₂, Q₂) is the ending one. The result is a unitless number. It does not matter whether price is in dollars or euros, or quantity in units or tonnes, because both percentages cancel their units.
A worked example
A shop raises the price of a notebook from 10 to 12. Weekly sales fall from 100 to 90.
- %ΔP = (12 − 10) / 10 = 0.20, which is +20%.
- %ΔQ = (90 − 100) / 100 = −0.10, which is −10%.
- E = −0.10 / 0.20 = −0.5.
A 1% price increase is associated with a 0.5% fall in quantity. The sign is negative because price and quantity move in opposite directions, which is the law of demand at work.
def simple_elasticity(p1, q1, p2, q2):
"""Elasticity using the starting point (p1, q1) as the base."""
pct_dq = (q2 - q1) / q1
pct_dp = (p2 - p1) / p1
return pct_dq / pct_dp
e = simple_elasticity(10, 100, 12, 90)
print(round(e, 2)) # -0.5The direction problem
Now run the same two observations in the opposite direction. Suppose the shop cuts the price from 12 back to 10, and sales rise from 90 to 100. Nothing about the demand relationship has changed. Only the starting point has.
- %ΔP = (10 − 12) / 12 = −0.1667
- %ΔQ = (100 − 90) / 90 = +0.1111
- E = 0.1111 / −0.1667 = −0.67
The two directions give −0.5 and −0.67 from the same pair of points.
def simple_elasticity(p1, q1, p2, q2):
pct_dq = (q2 - q1) / q1
pct_dp = (p2 - p1) / p1
return pct_dq / pct_dp
up = simple_elasticity(10, 100, 12, 90)
down = simple_elasticity(12, 90, 10, 100)
print(round(up, 2)) # -0.5
print(round(down, 2)) # -0.67Why the answer changes
A percentage change depends on its base. A move from 10 to 12 is +20%. A move from 12 to 10 is only −16.67%, because the base is now larger. The same happens with quantity: 100 to 90 is −10%, but 90 to 100 is +11.11%. The two bases shift by different proportions, so the ratio of the two percentages shifts too. Elasticity is computed from two percentage changes, and each one depends on the direction of travel.
When the gap matters
For a small price change, the two answers are close. The gap grows with the size of the change, and it can push the result across the line between inelastic and elastic.
Take a larger change. The price rises from 10 to 20, and quantity falls from 100 to 60.
- Starting at (10, 100): %ΔQ = −40/100 = −0.40 and %ΔP = +10/10 = +1.00. E = −0.40.
- Starting at (20, 60): %ΔQ = +40/60 = +0.667 and %ΔP = −10/20 = −0.50. E = −1.33.
The first calculation says demand is inelastic, since |E| < 1. The second says it is elastic, since |E| > 1. You cannot trust either label from the simple formula alone.
A revenue check shows which label is wrong. At the first observation revenue is 10 × 100 = 1000. At the second it is 20 × 60 = 1200. Revenue rose with the price increase, which signals inelastic demand over this interval. Starting from the high price, the simple formula says "elastic", and that contradicts the revenue evidence. The revenue test is covered in a later chapter. For now, note that the simple formula can give an answer that disagrees with other facts about the same data.
def simple_elasticity(p1, q1, p2, q2):
pct_dq = (q2 - q1) / q1
pct_dp = (p2 - p1) / p1
return pct_dq / pct_dp
pairs = [((10, 100), (20, 60)), ((20, 60), (10, 100))]
for (p1, q1), (p2, q2) in pairs:
e = simple_elasticity(p1, q1, p2, q2)
label = "elastic" if abs(e) > 1 else "inelastic"
print(f"start P={p1}: E={e:.2f} -> {label}")
# start P=10: E=-0.40 -> inelastic
# start P=20: E=-1.33 -> elasticSizes of the discrepancy
The table shows how the gap grows with the size of the price change. Each row starts at (10, 100) and moves to the second point.
| Second point | Forward E | Reverse E | Gap in \ | E\ | Column |
|---|---|---|---|---|---|
| (10.5, 97) | −0.60 | −0.62 | 0.02 | ||
| (12, 90) | −0.50 | −0.67 | 0.17 | ||
| (20, 60) | −0.40 | −1.33 | 0.93 |
For a change of 5%, the two directions agree to within 0.02. For a doubling of the price, they disagree by almost a full unit.
Which direction is correct?
Neither is wrong, in the sense that both follow the formula correctly. Each describes elasticity as seen from a different starting point. The problem is that a single pair of observations does not say which starting point is the natural one. In practice you have two choices.
- Fix a convention. For example, always use the earlier observation, or always use the current market price as the base. State the convention whenever you report a result. This is reasonable when you are asking "what happens if we change today's price?"
- Remove the dependence on direction. Use an average base, which is the next chapter's midpoint formula.
For a real decision, such as a planned price rise from the current price, option 1 is often the right framing, because the starting point is known. For describing a pair of historical data points, option 2 is better.
Common errors with the simple formula
- Dividing by the wrong base. The denominator in each percentage is the starting value. Dividing by the ending value is a frequent slip and gives a third answer.
- Using absolute changes. Computing ΔQ/ΔP gives the slope of the demand curve, not elasticity. The slope depends on units, and elasticity does not.
- Inverting the ratio. Elasticity is quantity change over price change. Reversing it gives the reciprocal, which has no standard interpretation here.
- Mixing percent and fraction. If one percentage is written as 20 and the other as 0.10, the ratio is wrong by a factor of 100. Use fractions throughout, or percentages throughout.
- Zero in the base. If the starting price or quantity is 0, the percentage change is undefined and the code raises
ZeroDivisionError. This can happen at a choke price or when a product has just launched. - Comparing results across directions. An elasticity of −0.5 from a price rise and one of −0.67 from a price cut are not evidence that demand differs. They may come from the same two points.
Guarding the function
If you use the simple formula in code, validate the base values and make the starting point explicit in the signature, so callers cannot silently reverse the direction.
def simple_elasticity(start, end):
"""start and end are (price, quantity) tuples. The start is the base."""
p1, q1 = start
p2, q2 = end
if p1 == 0 or q1 == 0:
raise ValueError("Starting price and quantity must be nonzero.")
if p1 == p2:
raise ValueError("Price must change to compute elasticity.")
return ((q2 - q1) / q1) / ((p2 - p1) / p1)
print(round(simple_elasticity((10, 100), (12, 90)), 2)) # -0.5
print(round(simple_elasticity((12, 90), (10, 100)), 2)) # -0.67The check for p1 == p2 prevents a division by zero in the price percentage. With no price change there is nothing to measure.
Summary
The simple formula divides the percentage change in quantity by the percentage change in price, both measured from the starting point. It is easy to compute and easy to explain. Its weakness is that swapping start and end changes the answer, because the percentage bases differ. For small changes the effect is minor. For large changes it can change the elastic or inelastic classification. The fix is either a stated convention or an average base, and the next chapter develops the second option.
Exercise
A cafe raises the price of a sandwich from 5 to 6, and daily sales fall from 80 to 60. (a) Compute the simple elasticity starting from (5, 80). (b) Compute it starting from (6, 60) as the reverse move. (c) Do the two results give the same elastic or inelastic label?
Show answer
(a) %ΔP = (6 − 5)/5 = +0.20 and %ΔQ = (60 − 80)/80 = −0.25, so E = −0.25/0.20 = −1.25. (b) Starting at (6, 60) and moving to (5, 80): %ΔP = (5 − 6)/6 = −0.1667 and %ΔQ = (80 − 60)/60 = +0.3333, so E = 0.3333/−0.1667 = −2.0. (c) Yes. Both have |E| > 1, so both say elastic, even though the values differ (−1.25 versus −2.0). Revenue confirms this: it falls from 5 × 80 = 400 to 6 × 60 = 360 when the price rises.
Exercise
Why does the simple formula give different results for the same two points when you swap the start and the end? Name the mechanism in one or two sentences.
Show answer
Each percentage change uses the starting value as its base. Swapping the start and end changes both bases, and because price and quantity bases change by different proportions, the ratio of the two percentages changes as well.