Percent Change
Percent change measures how much something grew or shrank compared with where it started. This lesson gives the formula, explains why a 50% drop is not undone by a 50% rise, separates percent change from percentage points, and shows how repeated changes multiply.
The formula
- Positive: an increase. Negative: a decrease.
- Always divide by the old (starting) value. That is the most common source of mistakes.
| Old | New | Change | Percent change |
|---|---|---|---|
| 80 | 100 | +20 | |
| 100 | 80 | −20 | |
| 2.50 | 3.00 | +0.50 | |
| 400 | 1000 | +600 | +150% |
| 64 | 16 | −48 | −75% |
Notice the first two rows: going is +25%, but going back is only −20%. The same gap of 20 is a bigger share of the smaller starting value.
Multipliers
A change of is the same as multiplying by :
Thinking in multipliers makes repeated changes easy: you multiply the multipliers.
def pct_change(old, new):
return (new - old) / old * 100
print(f"{pct_change(80, 100):+.1f}%")
print(f"{pct_change(100, 80):+.1f}%")
price = 200
price *= 0.5 # -50%
price *= 1.5 # +50%
print("after -50% then +50%:", price)
m = 0.5 * 1.5
print(f"combined multiplier {m} = {pct_change(1, m):+.0f}%")+25.0%
-20.0%
after -50% then +50%: 150.0
combined multiplier 0.75 = -25%
A 50% drop followed by a 50% rise leaves you 25% below where you started. To undo a 50% drop you need a +100% rise (). In general, undoing a drop of needs a rise of .
Repeated changes
A value growing by 10% a year for 3 years is multiplied by 1.10 three times, , a total change of +33.1%, not +30%. That is compound growth, the subject of Simple and Compound Interest.
The average yearly rate over several years is therefore not the plain average of the yearly percentages. It is the rate whose multiplier, applied times, gives the same total:
changes = [+0.40, -0.20, +0.10] # +40%, -20%, +10%
total = 1.0
for c in changes:
total *= 1 + c
print(f"total multiplier: {total:.4f} ({total - 1:+.2%})")
naive = sum(changes) / len(changes)
real = total ** (1 / len(changes)) - 1
print(f"plain average: {naive:+.2%} true yearly rate: {real:+.2%}")
print(f"check: {(1 + real) ** 3:.4f}")total multiplier: 1.2320 (+23.20%)
plain average: +10.00% true yearly rate: +7.20%
check: 1.2320
The true yearly rate uses a cube root (the nth root); it is the geometric mean of the multipliers.
Percentage points vs percent
If an interest rate goes from 4% to 5%, it rose by 1 percentage point, but by 25 percent ( of the old rate). News headlines mix these up constantly. Say "points" (or "pp") when you subtract two percentages, and "percent" when you compare them relatively.
Percent error and relative difference
Scientists and testers measure how far a result is from the expected value:
A benchmark that should take 2.00 s and took 2.13 s is 6.5% slow.
In software
- Performance reports: "the new version is 30% faster" should state what was divided by what. If time drops from 10 s to 7 s, time fell 30%, but throughput rose by .
- Monitoring and alerting: "alert if error rate rises more than 50% versus last week" is a percent change against a baseline; guard against an old value of 0.
- Finance and dashboards: daily returns, month-over-month growth, churn. Chain them with multipliers, never by adding percentages.
Note: When the old value is 0, percent change is undefined (division by zero). Report "new" or an absolute change instead.
Exercises
Exercise 1: Increase or decrease
A game's player count went from 1250 to 1600. What is the percent change?
Answer
+28%
Solution
Exercise 2: Undo a drop
A stock falls 20%. What percent rise brings it back to its starting price?
Answer
+25%
Solution
After the fall the multiplier is 0.8. To get back to 1 you need , a 25% rise. Using the formula: .
Exercise 3: Points or percent?
Unemployment goes from 5.0% to 6.5%. Give the change in percentage points and in percent.
Answer
+1.5 percentage points, which is +30%.
Solution
Points: . Percent: .
Exercise 4: Faster or slower?
A request took 250 ms before an optimisation and 200 ms after. Write Python that prints the percent change in time and in throughput (requests per second, ).
Answer
Time −20.0%, throughput +25.0%.
Solution
Throughput goes from to requests per second.
def pct_change(old, new):
return (new - old) / old * 100
before, after = 250, 200
print(f"time: {pct_change(before, after):+.1f}%")
print(f"throughput: {pct_change(1000 / before, 1000 / after):+.1f}%")time: -20.0%
throughput: +25.0%
Test yourself
A price goes from 40 to 50. What is the percent change?
- +10%
- +20%
- +25%
- +50%
A value rises 10% and then falls 10%. Compared with the start it is…
- the same
- 1% lower
- 1% higher
- 10% lower
A tax rate goes from 20% to 22%. Which statement is correct?
- It rose by 2%
- It rose by 2 percentage points (10%)
- It rose by 22%
- It rose by 20 percentage points