Sub topic 12
Sensitivity tables for key drivers
A forecast gives one number for each year. A sensitivity table shows how much that number moves when you change the assumptions behind it. This chapter shows how to build one-way and two-way tables, how to rank drivers by impact, and which mistakes make the tables misleading.
This chapter assumes you can build a driver-based operating income forecast like the one in the previous chapters. You should also be comfortable with percentages, percentage points, and either spreadsheet formulas or basic Python.
What a sensitivity table answers
A scenario changes several drivers together to describe a coherent story, such as "recession" or "strong launch". A sensitivity analysis changes one or two drivers at a time and holds everything else fixed. It answers questions like:
- If gross margin is 5 points lower than planned, how much operating income do we lose?
- Which assumption deserves the most research time?
- How far can revenue fall before operating income reaches zero?
A sensitivity table does not make the forecast more accurate. It shows where the forecast is fragile, so you can spend your effort on the assumptions that matter.
| Technique | Drivers changed | Output | Best use |
|---|---|---|---|
| One-way sensitivity | One, flexed across a range | A list of values | Ranking drivers by impact |
| Two-way sensitivity | Two, on a grid | A table of values | Showing how two drivers interact |
| Scenario analysis | Several, together | A named case | Telling a consistent story |
The structure of a good sensitivity analysis
Every sensitivity table follows the same steps.
The check in the middle is the most useful one. The centre cell of a table, where every driver sits at its base value, must equal the model's own output. If it does not, the table uses a different formula from the model, or an input is hardcoded somewhere.
A two-way table in Python
The model below is deliberately small so the whole calculation fits in one function. Operating income is gross profit, less fixed operating expenses, less variable operating expenses.
def operating_income(revenue, gross_margin, fixed_opex, variable_opex_pct):
return revenue * gross_margin - fixed_opex - revenue * variable_opex_pct
def sensitivity_grid(row_values, col_values, fn):
"""Return a list of rows. fn(row_value, col_value) fills each cell."""
return [[fn(r, c) for c in col_values] for r in row_values]
base_revenue = 600_000.0
growth_cases = [0.00, 0.05, 0.10]
margin_cases = [0.50, 0.55, 0.60]
grid = sensitivity_grid(
margin_cases,
growth_cases,
lambda gm, g: operating_income(base_revenue * (1 + g), gm, 130_000.0, 0.10),
)
print("GM \\ growth".ljust(14) + "".join(f"{g:>10.0%}" for g in growth_cases))
for gm, row in zip(margin_cases, grid):
print(f"{gm:<14.0%}" + "".join(f"{v:>10,.0f}" for v in row))Running it prints:
GM \ growth 0% 5% 10%
50% 110,000 122,000 134,000
55% 140,000 153,500 167,000
60% 170,000 185,000 200,000Read the table along each axis.
- Moving across a row, revenue growth rises 5 points at a time. Operating income rises by 12,000 to 17,000 per step, depending on the margin row.
- Moving down a column, gross margin rises 5 points at a time. Operating income rises by 30,000 or more per step.
So a 5-point change in gross margin is worth roughly twice as much as a 5-point change in revenue growth, at this revenue base. The reason is in the formula. Each extra dollar of revenue adds only the contribution margin (gross margin minus the variable opex percentage, 0.40 to 0.50 here). A margin change applies to all 600,000 of revenue.
Ranking drivers with a one-way table
A two-way table compares only two drivers. To rank all the drivers, flex each one by the same relative amount while holding the others at base, and record the output range. Analysts often chart the result as a "tornado", with the biggest bar at the top.
base = {
"revenue": 600_000.0,
"gross_margin": 0.55,
"fixed_opex": 130_000.0,
"variable_opex_pct": 0.10,
}
def oi(p):
return (
p["revenue"] * p["gross_margin"]
- p["fixed_opex"]
- p["revenue"] * p["variable_opex_pct"]
)
flex = 0.10 # each driver moves 10% relative to its base value
base_oi = oi(base)
results = []
for name in base:
low = oi({**base, name: base[name] * (1 - flex)})
high = oi({**base, name: base[name] * (1 + flex)})
results.append((name, low, high, abs(high - low)))
results.sort(key=lambda r: r[3], reverse=True)
print(f"base operating income: {base_oi:,.0f}")
for name, low, high, swing in results:
print(f"{name:<20}{low:>10,.0f}{high:>10,.0f}{swing:>10,.0f}")Its output is:
base operating income: 140,000
gross_margin 107,000 173,000 66,000
revenue 113,000 167,000 54,000
fixed_opex 153,000 127,000 26,000
variable_opex_pct 146,000 134,000 12,000The columns are the output with the driver 10% below base, the output with it 10% above base, and the swing between them. For fixed_opex, the low input gives the higher profit, because lower costs help.
Gross margin has the largest swing, then revenue, then fixed costs. Variable opex percentage matters least. That ordering tells the team where to spend effort. A better estimate of gross margin is worth more than a more precise estimate of variable opex.
Choosing ranges that mean something
The ranking above depends on the flex you chose. A 10% relative change is easy to apply but is not equally plausible for every driver.
- Relative versus absolute changes. A 10% relative change in a 55% gross margin is 5.5 percentage points. A 10% relative change in a 10% variable opex rate is only 1 point. Decide whether you are flexing in percent or in points, and label the table to say which.
- Use historical ranges. If gross margin has stayed within 2 points of its average for five years, a 5-point flex tests an unlikely case. If revenue growth has ranged from -5% to 20%, a 5% flex is too narrow. Take the ranges from the historical baseline you built earlier.
- Keep ranges symmetric only when risk is symmetric. Prices may fall further than they can rise. If so, use an asymmetric range, such as -8% to +3%, and say why.
- Use enough steps. Three steps show direction. Five steps per axis show whether the response is a straight line. For a margin driver that interacts with revenue, five is usually enough.
Interactions and non-linear effects
Some effects only appear in two-way tables.
In the model above, operating income is revenue × (gross margin − variable opex %) − fixed opex. Revenue and margin multiply, so they interact. A margin improvement is worth more when revenue is higher. You can see this in the grid. The 5-point margin step is worth 30,000 at 0% growth and 33,000 at 10% growth. The gap is small here, but it grows with larger revenue ranges.
Several things can make the response non-linear or a poor fit for a simple table:
- Step costs. If you must hire another team once volume passes a threshold, fixed costs jump. A smooth grid hides the jump, so add the step to the cost formula.
- Capacity limits. Revenue cannot grow past what your capacity allows, so high-growth columns may not be achievable.
- Margin that depends on volume. If larger volume brings supplier discounts, gross margin is a function of units. Flexing the two independently then produces combinations that cannot happen together.
- Correlated drivers. Price and volume often move in opposite directions. A table with high price and high volume describes a corner of the grid that may never occur. When drivers are linked, use a scenario instead.
Break-even reading
A sensitivity table can also show where operating income reaches zero. For the model above, the break-even revenue at a given gross margin is:
break-even revenue = fixed opex / (gross margin − variable opex %)
At 55% gross margin and 10% variable opex, that is 130,000 / 0.45, or about 288,889. Revenue could fall about 52% from 600,000 before operating income turns negative. At 50% gross margin it is 130,000 / 0.40 = 325,000. Highlighting the cells in a table where the output turns negative gives readers the same message.
Building tables in a spreadsheet
In a spreadsheet, the usual tool is a two-variable Data Table (under What-If Analysis). Put the output formula in the top-left corner cell, place one driver's values across the top and the other's down the side, and set the row and column input cells to the model's driver cells. A few rules prevent common errors:
- The input cells must be on the same sheet as the Data Table, which is a restriction of the tool.
- The input cells must be real inputs that the model reads. If a downstream formula has a typed-over value, the table will not respond to it.
- Data Tables recalculate the whole model for every cell. For a large model, set calculation to "automatic except data tables" and refresh them when needed.
- Do not mix the table values with the live driver cells. The axis values should be typed constants or formulas based on the base case, such as
base − 5%.
Common mistakes
- Hardcoding the base case. If the axis has "55%" typed in and the model later changes to 56%, the table's centre no longer matches the model.
- Flexing a driver that is derived. Operating margin is an output. Flex gross margin or opex drivers and read the margin as a result.
- Reading precision into the table. A cell showing 153,500 does not mean the forecast is accurate to the dollar. The table shows relative importance, not accuracy.
- Changing the units between axes. Mixing percent change with percentage points on the same table makes it hard to read.
- Presenting too many tables. Pick the two or three drivers that matter most from the one-way ranking, and build two-way tables only for those.
Exercise
Using the model in this chapter (revenue 600,000, gross margin 55%, fixed opex 130,000, variable opex 10% of revenue), what is operating income if revenue is 10% higher and gross margin is 5 points lower than base? Which of the two changes affects operating income more?
Show answer
Revenue becomes 660,000 and gross margin becomes 50%. Operating income = 660,000 × (0.50 − 0.10) − 130,000 = 264,000 − 130,000 = 134,000. This matches the 10% growth, 50% margin cell in the grid. Base operating income is 140,000, so the combined change is -6,000. Revenue alone adds 27,000 (660,000 × 0.45 − 130,000 = 167,000). The margin drop alone costs 30,000 (600,000 × 0.40 − 130,000 = 110,000). The margin change has the larger effect, so it outweighs the revenue gain.
Exercise
A colleague builds a tornado chart that flexes revenue by 20% and variable opex percentage by 2%, and concludes that revenue is the most important driver. What is wrong with the conclusion, and how would you fix the analysis?
Show answer
The ranking reflects the different flex sizes the colleague chose, not the drivers' real importance. A 20% range on revenue is ten times as wide as the 2% range on variable opex, so revenue will almost always look larger. To fix it, set each driver's range from its historical variation or a stated plausible range, and show the ranges on the chart. Alternatively, flex every driver by the same relative amount to compare their per-unit effect, and say which approach was used.