Sub topic 2
Percentage Changes and the Midpoint Method
This chapter assumes you can do basic algebra and percentage arithmetic, read a price-quantity graph, and know the supply and demand basics, including the law of demand. Elasticity is a ratio of two percentage changes, so you need to compute those changes reliably first. The ordinary percentage change formula has a flaw that matters here, and the midpoint method removes it.
Why elasticity needs percentage changes
Price elasticity of demand compares how much quantity demanded changes with how much price changed. Raw units can't make that comparison. A $1 rise in the price of a car is trivial, and a $1 rise in the price of a coffee is not. A drop of 10 cups of coffee is small for a café that sells thousands and large for a food truck that sells fifty.
Percentages fix both problems. A percentage change expresses a change relative to a starting size, so the units cancel. Dollars, euros, cups and tonnes all become pure numbers. That cancellation lets you compare the responsiveness of demand for very different goods.
The ordinary percentage change
The standard formula divides the change by the starting value:
percentage change = (new - old) / old × 100If a price rises from 10 to 12, the change is (12 − 10) / 10 = 0.20, or +20%.
You will often see the same calculation written with fractions instead of percents. For elasticity this makes no difference, because the factors of 100 cancel when you divide one percentage change by the other. The examples below use fractions where it keeps the algebra clean.
The asymmetry problem
The ordinary formula depends on which value you call "old". Take the same two prices, 10 and 12, and move in each direction:
- From 10 to 12, the change is +2 / 10 = +20%.
- From 12 to 10, the change is −2 / 12 = −16.67%.
The price gap between the two points is identical. The percentage differs because the base differs. For elasticity this is a real problem. Suppose demand moves between two points on a curve. Whether you treat the move as a price rise or a price fall changes the answer, although the two points are the same.
The code below shows both versions side by side.
def pct_change(start, end):
"""Ordinary percentage change, using the starting value as the base."""
return (end - start) / start * 100
def midpoint_pct_change(start, end):
"""Percentage change using the average of the two values as the base."""
return (end - start) / ((start + end) / 2) * 100
print("ordinary 10 -> 12:", round(pct_change(10, 12), 2))
print("ordinary 12 -> 10:", round(pct_change(12, 10), 2))
print("midpoint 10 -> 12:", round(midpoint_pct_change(10, 12), 2))
print("midpoint 12 -> 10:", round(midpoint_pct_change(12, 10), 2))
# ordinary 10 -> 12: 20.0
# ordinary 12 -> 10: -16.67
# midpoint 10 -> 12: 18.18
# midpoint 12 -> 10: -18.18The ordinary results have different magnitudes, 20.0 and 16.67. The midpoint results have the same magnitude and opposite signs, which is what you want from a measure of the same gap.
The midpoint method
The midpoint method (also called the arc method) uses the average of the start and end values as the base:
midpoint percentage change = (new - old) / ((new + old) / 2)Because addition is commutative, the denominator is the same in both directions. Swapping new and old flips only the sign of the numerator. The magnitude of the result no longer depends on the direction of travel.
For the price move above, the midpoint is (10 + 12) / 2 = 11. The change is 2 / 11 = 18.18%. The midpoint is not the "true" percentage. It is a symmetric convention that lies between the two ordinary answers (16.67% and 20%).
Putting it into the elasticity formula
Elasticity is the midpoint percentage change in quantity divided by the midpoint percentage change in price:
E = [(Q2 - Q1) / ((Q1 + Q2) / 2)] / [(P2 - P1) / ((P1 + P2) / 2)]Both denominators contain a division by 2. These cancel when you divide one fraction by the other, which gives a shortcut:
E = [(Q2 - Q1) / (Q1 + Q2)] / [(P2 - P1) / (P1 + P2)]Here is the full calculation as code.
def midpoint_elasticity(p1, q1, p2, q2):
pct_q = (q2 - q1) / ((q1 + q2) / 2)
pct_p = (p2 - p1) / ((p1 + p2) / 2)
return pct_q / pct_p
e = midpoint_elasticity(10, 100, 12, 90)
print(round(e, 2)) # -0.58Work through the same numbers by hand:
- The price moves from 10 to 12. The average price is 11, so the percentage change in price is 2 / 11 = 0.1818, or about +18.2%.
- The quantity moves from 100 to 90. The average quantity is 95, so the percentage change in quantity is −10 / 95 = −0.1053, or about −10.5%.
- The ratio is −0.1053 / 0.1818 = −0.58.
Read this as: a 1% price increase is associated with a 0.58% fall in quantity demanded, over this stretch of the demand curve.
The next diagram shows the steps from raw data to elasticity.
Direction independence in practice
The test of the method is that the answer should not change if you swap the two observations. Compare ordinary and midpoint elasticity for the same two points, (10, 100) and (12, 90), traveled in both directions.
def ordinary_elasticity(p1, q1, p2, q2):
return ((q2 - q1) / q1) / ((p2 - p1) / p1)
def midpoint_elasticity(p1, q1, p2, q2):
pct_q = (q2 - q1) / ((q1 + q2) / 2)
pct_p = (p2 - p1) / ((p1 + p2) / 2)
return pct_q / pct_p
up = (10, 100, 12, 90) # price rises
down = (12, 90, 10, 100) # price falls, same two points
print("ordinary up: ", round(ordinary_elasticity(*up), 3))
print("ordinary down:", round(ordinary_elasticity(*down), 3))
print("midpoint up: ", round(midpoint_elasticity(*up), 3))
print("midpoint down:", round(midpoint_elasticity(*down), 3))
# ordinary up: -0.5
# ordinary down: -0.667
# midpoint up: -0.579
# midpoint down: -0.579The ordinary method gives −0.5 or −0.667 depending on direction. That difference could move a borderline case across a category boundary. The midpoint method gives −0.579 both ways.
| Property | Ordinary percentage change | Midpoint percentage change |
|---|---|---|
| Base used | Starting value | Average of start and end |
| Same magnitude in both directions | No | Yes |
| Defined when the starting value is 0 | No (division by zero) | Yes, if the end value is not 0 |
| Matches a "natural" reading such as "up 20%" | Yes | Not exactly |
| Best for | Reporting a change that actually happened | Comparing two points on a demand curve |
How much the choice matters
The gap between ordinary and midpoint results grows with the size of the change. For a small price change, say 100 to 101, the start value, end value and average are almost equal, so all the methods agree to several decimal places. For large changes, the methods diverge.
Doubling a price from 10 to 20 shows this clearly. The ordinary change is +100%. The reverse move, 20 to 10, is only −50%. The midpoint method gives 10 / 15 = +66.7% and −66.7%. With changes this large, using the wrong base can swing an elasticity estimate by a factor of two.
This is also why the midpoint method is described as an approximation of the elasticity at the midpoint of the arc between the two points. Chapter 8 of this tutorial compares it with elasticity at a single point.
Signs and conventions
Because demand slopes downward, price and quantity normally move in opposite directions, so the elasticity comes out negative. Two conventions appear in textbooks:
- Keep the sign and write, for example, −0.58.
- Drop the sign and report the absolute value, 0.58, relying on the law of demand to supply the direction.
This tutorial keeps the sign in calculations and uses the absolute value when classifying demand as elastic or inelastic. Always check which convention a source uses before comparing numbers. A reported "elasticity of 2" and an elasticity of −2 usually mean the same thing.
Edge cases and common errors
- Using the wrong base. Dividing by the new value, or by the change in the other variable, is a frequent slip. Write the denominator out as an average before you compute.
- Rounding too early. Rounding the two percentage changes to whole numbers before dividing can shift the ratio noticeably. Keep full precision until the final step, then round.
- Mixing percents and fractions. Dividing 18.2 (percent) by 0.105 (a fraction) produces nonsense. Express both changes in the same form.
- No change in price. If P1 equals P2, the denominator of the elasticity is zero and the result is undefined. A robust function should reject this case.
- Zero quantities. The midpoint method handles a starting quantity of 0, because the average is not 0 as long as the other value is not 0. If both quantities are 0, the average is 0 and the calculation fails.
- Treating the result as a property of the whole curve. A midpoint elasticity describes only the stretch between the two points. It can differ a lot from the elasticity elsewhere on the same curve.
A defensive version of the function makes the failure cases explicit:
def safe_midpoint_elasticity(p1, q1, p2, q2):
if p1 == p2:
raise ValueError("price did not change; elasticity is undefined")
if p1 + p2 == 0:
raise ValueError("average price is zero; the percentage change is undefined")
if q1 + q2 == 0:
raise ValueError("average quantity is zero; the percentage change is undefined")
pct_q = (q2 - q1) / ((q1 + q2) / 2)
pct_p = (p2 - p1) / ((p1 + p2) / 2)
return pct_q / pct_p
print(round(safe_midpoint_elasticity(50, 200, 60, 160), 3)) # -1.222Summary of the working rules
- Compute each percentage change relative to the average of the start and end values.
- Divide the quantity change by the price change, in the same units (both fractions or both percents).
- Keep full precision until the final step.
- Check that the answer is the same when you swap the two observations.
- Read the result as the responsiveness between the two points only.
The next chapter uses this ratio as the definition of price elasticity of demand.
Exercise
A seller raises the price of a product from 50 to 60. Quantity demanded falls from 200 to 160. (a) Compute the midpoint percentage change in price and in quantity. (b) Compute the midpoint elasticity. (c) Compute the ordinary elasticity using the starting values as the base, and say why it differs from your answer in (b).
Show answer
(a) Average price = 55, so the price change is 10 / 55 = +18.18%. Average quantity = 180, so the quantity change is −40 / 180 = −22.22%. (b) E = −0.2222 / 0.1818 = −1.22 (about −1.222). (c) The ordinary price change is 10 / 50 = +20% and the ordinary quantity change is −40 / 200 = −20%, so E = −20 / 20 = −1.00. It differs because the ordinary method uses the lower starting values as the base, and those bases are different in proportion for price and quantity. Moving from 60 to 50 and 160 to 200 with the ordinary method would give a third answer (+25% / −16.67% = −1.5), so only the midpoint result of −1.22 is the same in both directions.
Exercise
Show that the midpoint percentage change from 20 to 25 has the same magnitude as the midpoint percentage change from 25 to 20, and compare both with the two ordinary percentage changes.
Show answer
The average of 20 and 25 is 22.5. Going from 20 to 25, the midpoint change is 5 / 22.5 = +22.22%. Going from 25 to 20, it is −5 / 22.5 = −22.22%, so the magnitudes match. The ordinary changes are 5 / 20 = +25% and −5 / 25 = −20%, which differ in magnitude. The midpoint value of 22.22% lies between them.