Decompose financial variances into drivers with narrative explanations and waterfall analysis. Use when analyzing budget vs. actual, period-over-period changes, revenue or expense variances, or preparing variance commentary for leadership.
---
name: variance-analysis
description: Decompose financial variances into drivers with narrative explanations and waterfall analysis. Use when analyzing budget vs. actual, period-over-period changes, revenue or expense variances, or preparing variance commentary for leadership.
argument-hint: "<line item> <period> vs <comparison>"
---
# Variance Analysis
**Important**: This skill assists with variance analysis workflows but does not provide financial advice. All analyses should be reviewed by qualified financial professionals before use in reporting.
Techniques for decomposing variances, materiality thresholds, narrative generation, waterfall chart methodology, and budget vs actual vs forecast comparisons.
## Variance Decomposition Techniques
### Price / Volume Decomposition
The most fundamental variance decomposition. Used for revenue, cost of goods, and any metric that can be expressed as Price x Volume.
**Formula:**
```
Total Variance = Actual - Budget (or Prior)
Volume Effect = (Actual Volume - Budget Volume) x Budget Price
Price Effect = (Actual Price - Budget Price) x Actual Volume
Mix Effect = Residual (interaction term), or allocated proportionally
Verification: Volume Effect + Price Effect = Total Variance
(when mix is embedded in the price/volume terms)
```
**Three-way decomposition (separating mix):**
```
Volume Effect = (Actual Volume - Budget Volume) x Budget Price x Budget Mix
Price Effect = (Actual Price - Budget Price) x Budget Volume x Actual Mix
Mix Effect = Budget Price x Budget Volume x (Actual Mix - Budget Mix)
```
**Example — Revenue variance:**
- Budget: 10,000 units at $50 = $500,000
- Actual: 11,000 units at $48 = $528,000
- Total variance: +$28,000 favorable
- Volume effect: +1,000 units x $50 = +$50,000 (favorable — sold more units)
- Price effect: -$2 x 11,000 units = -$22,000 (unfavorable — lower ASP)
- Net: +$28,000
### Rate / Mix Decomposition
Used when analyzing blended rates across segments with different unit economics.
**Formula:**
```
Rate Effect = Sum of (Actual Volume_i x (Actual Rate_i - Budget Rate_i))
Mix Effect = Sum of (Budget Rate_i x (Actual Volume_i - Expected Volume_i at Budget Mix))
```
**Example — Gross margin variance:**
- Product A: 60% margin, Product B: 40% margin
- Budget mix: 50% A, 50% B → Blended margin 50%
- Actual mix: 40% A, 60% B → Blended margin 48%
- Mix effect explains 2pp of margin compression
### Headcount / Compensation Decomposition
Used for analyzing payroll and people-cost variances.
```
Total Comp Variance = Actual Compensation - Budget Compensation
Decompose into:
1. Headcount variance = (Actual HC - Budget HC) x Budget Avg Comp
2. Rate variance = (Actual Avg Comp - Budget Avg Comp) x Budget HC
3. Mix variance = Difference due to level/department mix shift
4. Timing variance = Hiring earlier/later than planned (partial-period effect)
5. Attrition impact = Savings from unplanned departures (partially offset by backfill costs)
```
### Spend Category Decomposition
Used for operating expense analysis when price/volume is not applicable.
```
Total OpEx Variance = Actual OpEx - Budget OpEx
Decompose by:
1. Headcount-driven costs (salaries, benefits, payroll taxes, recruiting)
2. Volume-driven costs (hosting, transaction fees, commissions, shipping)
3. Discretionary spend (travel, events, professional services, marketing programs)
4. Contractual/fixed costs (rent, insurance, software licenses, subscriptions)
5. One-time / non-recurring (severance, legal settlements, write-offs, project costs)
6. Timing / phasing (spend shifted between periods vs plan)
```
## Materiality Thresholds and Investigation Triggers
### Setting Thresholds
Materiality thresholds determine which variances require investigation and narrative explanation. Set thresholds based on:
1. **Financial statement materiality:** Typically 1-5% of a key benchmark (revenue, total assets, net income)
2. **Line item size:** Larger line items warrant lower percentage thresholds
3. **Volatility:** More volatile line items may need higher thresholds to avoid noise
4. **Management attention:** What level of variance would change a decision?
### Recommended Threshold Framework
| Comparison Type | Dollar Threshold | Percentage Threshold | Trigger |
|----------------|-----------------|---------------------|---------|
| Actual vs Budget | Organization-specific | 10% | Either exceeded |
| Actual vs Prior Period | Organization-specific | 15% | Either exceeded |
| Actual vs Forecast | Organization-specific | 5% | Either exceeded |
| Sequential (MoM) | Organization-specific | 20% | Either exceeded |
*Set dollar thresholds based on your organization's size. Common practice: 0.5%-1% of revenue for income statement items.*
### Investigation Priority
When multiple variances exceed thresholds, prioritize investigation by:
1. **Largest absolute dollar variance** — biggest P&L impact
2. **Largest percentage variance** — may indicate process issue or error
3. **Unexpected direction** — variance opposite to trend or expectation
4. **New variance** — item that was on track and is now off
5. **Cumulative/trending variance** — growing each period
## Narrative Generation for Variance Explanations
### Structure for Each Variance Narrative
```
[Line Item]: [Favorable/Unfavorable] variance of $[amount] ([percentage]%)
vs [comparison basis] for [period]
Driver: [Primary driver description]
[2-3 sentences explaining the business reason for the variance, with specific
quantification of contributing factors]
Outlook: [One-time / Expected to continue / Improving / Deteriorating]
Action: [None required / Monitor / Investigate further / Update forecast]
```
### Narrative Quality Checklist
Good variance narratives should be:
- [ ] **Specific:** Names the actual driver, not just "higher than expected"
- [ ] **Quantified:** Includes dollar and percentage impact of each driver
- [ ] **Causal:** Explains WHY it happened, not just WHAT happened
- [ ] **Forward-looking:** States whether the variance is expected to continue
- [ ] **Actionable:** Identifies any required follow-up or decision
- [ ] **Concise:** 2-4 sentences, not a paragraph of filler
### Common Narrative Anti-Patterns to Avoid
- "Revenue was higher than budget due to higher revenue" (circular — no actual explanation)
- "Expenses were elevated this period" (vague — which expenses? why?)
- "Timing" without specifying what was early/late and when it will normalize
- "One-time" without explaining what the item was
- "Various small items" for a material variance (must decompose further)
- Focusing only on the largest driver and ignoring offsetting items
## Waterfall Chart Methodology
### Concept
A waterfall (or bridge) chart shows how you get from one value to another through a series of positive and negative contributors. Used to visualize variance decomposition.
### Data Structure
```
Starting value: [Base/Budget/Prior period amount]
Drivers: [List of contributing factors with signed amounts]
Ending value: [Actual/Current period amount]
Verification: Starting value + Sum of all drivers = Ending value
```
### Text-Based Waterfall Format
When a charting tool is not available, present as a text waterfall:
```
WATERFALL: Revenue — Q4 Actual vs Q4 Budget
Q4 Budget Revenue $10,000K
|
|--[+] Volume growth (new customers) +$800K
|--[+] Expansion revenue (existing customers) +$400K
|--[-] Price reductions / discounting -$200K
|--[-] Churn / contraction -$350K
|--[+] FX tailwind +$50K
|--[-] Timing (deals slipped to Q1) -$150K
|
Q4 Actual Revenue $10,550K
Net Variance: +$550K (+5.5% favorable)
```
### Bridge Reconciliation Table
Complement the waterfall with a reconciliation table:
| Driver | Amount | % of Variance | Cumulative |
|--------|--------|---------------|------------|
| Volume growth | +$800K | 145% | +$800K |
| Expansion revenue | +$400K | 73% | +$1,200K |
| Price reductions | -$200K | -36% | +$1,000K |
| Churn / contraction | -$350K | -64% | +$650K |
| FX tailwind | +$50K | 9% | +$700K |
| Timing (deal slippage) | -$150K | -27% | +$550K |
| **Total variance** | **+$550K** | **100%** | |
*Note: Percentages can exceed 100% for individual drivers when there are offsetting items.*
### Waterfall Best Practices
1. Order drivers from largest positive to largest negative (or in logical business sequence)
2. Keep to 5-8 drivers maximum — aggregate smaller items into "Other"
3. Verify the waterfall reconciles (start + drivers = end)
4. Color-code: green for favorable, red for unfavorable (in visual charts)
5. Label each bar with both the amount and a brief description
6. Include a "Total Variance" summary bar
## Budget vs Actual vs Forecast Comparisons
### Three-Way Comparison Framework
| Metric | Budget | Forecast | Actual | Bud Var ($) | Bud Var (%) | Fcast Var ($) | Fcast Var (%) |
|--------|--------|----------|--------|-------------|-------------|---------------|---------------|
| Revenue | $X | $X | $X | $X | X% | $X | X% |
| COGS | $X | $X | $X | $X | X% | $X | X% |
| Gross Profit | $X | $X | $X | $X | X% | $X | X% |
### When to Use Each Comparison
- **Actual vs Budget:** Annual performance measurement, compensation decisions, board reporting. Budget is set at the beginning of the year and typically not changed.
- **Actual vs Forecast:** Operational management, identifying emerging issues. Forecast is updated periodically (monthly or quarterly) to reflect current expectations.
- **Forecast vs Budget:** Understanding how expectations have changed since planning. Useful for identifying planning accuracy issues.
- **Actual vs Prior Period:** Trend analysis, sequential performance. Useful when budget is not meaningful (new business lines, post-acquisition).
- **Actual vs Prior Year:** Year-over-year growth analysis, seasonality-adjusted comparison.
### Forecast Accuracy Analysis
Track how accurate forecasts are over time to improve planning:
```
Forecast Accuracy = 1 - |Actual - Forecast| / |Actual|
MAPE (Mean Absolute Percentage Error) = Average of |Actual - Forecast| / |Actual| across periods
```
| Period | Forecast | Actual | Variance | Accuracy |
|--------|----------|--------|----------|----------|
| Jan | $X | $X | $X (X%) | XX% |
| Feb | $X | $X | $X (X%) | XX% |
| ... | ... | ... | ... | ... |
| **Avg**| | | **MAPE** | **XX%** |
### Variance Trending
Track how variances evolve over the year to identify systematic bias:
- **Consistently favorable:** Budget may be too conservative (sandbagging)
- **Consistently unfavorable:** Budget may be too aggressive or execution issues
- **Growing unfavorable:** Deteriorating performance or unrealistic targets
- **Shrinking variance:** Forecast accuracy improving through the year (normal pattern)
- **Volatile:** Unpredictable business or poor forecasting methodology
don't have the plugin yet? install it then click "run inline in claude" again.
added explicit decision logic for missing thresholds, incomplete data, one-time vs recurring items, forecast vs budget priority, offsetting drivers, and systematic bias in trending; formalized inputs section with data sources, comparison bases, and materiality parameters; restructured procedure into 9 discrete steps with explicit inputs/outputs per step; added edge case handling including data quality checks, residual variance disclosure, and forecast accuracy poor-performance guidance; expanded output contract to specify exact deliverables, reconciliation requirements, and formatting standards; clarified outcome signals as both technical validation (reconciliation, materiality ranking) and business-user validation (specificity, actionability, no follow-up questions).
---
name: variance-analysis
slug: anthropics-variance-analysis
description: decompose financial variances into drivers with narrative explanations and waterfall analysis
original-author: anthropics
---
use this skill to decompose financial variances into discrete business drivers, quantify their impact, and generate forward-looking narratives. run this when analyzing budget vs actual, period-over-period changes, revenue or expense variances, or preparing variance commentary for leadership review. the skill produces waterfall breakdowns, materiality-flagged line items, and executive-ready explanations that surface root causes instead of surface-level delta descriptions.
disclaimer: this skill assists variance analysis workflows but does not provide financial advice. all analyses must be reviewed by qualified financial professionals before use in reporting or decision-making.
extract and structure data. pull actual, budget, and prior period figures for all line items in scope. verify data integrity: check for missing values, negative line items, and currency consistency. flag any data quality issues before proceeding.
calculate total variance. for each line item, compute total variance = actual - comparison basis (budget or prior period). calculate both absolute dollar variance and percentage variance (variance / comparison basis). flag variances exceeding materiality thresholds.
select decomposition method. determine which decomposition technique applies to each material line item:
decompose each material variance into drivers. apply the selected method to break total variance into component causes. for price/volume: calculate volume effect = (actual volume - budget volume) x budget price; price effect = (actual price - budget price) x actual volume. for rate/mix: isolate rate changes from mix shifts. for headcount: separate headcount count changes from average compensation changes. verify that drivers sum to total variance.
rank drivers by materiality and investigation priority. sort drivers by absolute dollar impact, then by percentage impact. flag unexpected direction variances (opposite to trend or forecast). identify new variances that differ from prior period patterns. flag cumulative or trending variances (growing or shrinking each period).
generate narrative for each material variance. for each flagged line item, write a 2-4 sentence explanation following the structure: [line item]: [favorable/unfavorable] variance of $[amount] ([percentage]%) vs [basis] for [period]. driver: [primary driver description with specific quantification]. outlook: [one-time / expected to continue / improving / deteriorating]. action: [none required / monitor / investigate further / update forecast]. ensure narratives are specific (name the actual driver), quantified (dollar and percentage), causal (why it happened), forward-looking, and actionable.
build waterfall visualization or bridge table. arrange drivers in logical order (largest positive to largest negative, or in business sequence). verify reconciliation: starting value + all drivers = ending value. create waterfall chart (visual), text-based bridge, or reconciliation table. include both dollar amounts and percentage of total variance for each driver. keep to 5-8 drivers; aggregate smaller items into "other."
prepare three-way or multi-period comparison (if requested). if comparing actual vs budget, actual vs forecast, and forecast vs budget simultaneously, build a matrix showing all three comparisons side-by-side. calculate variance for each pair. track forecast accuracy = 1 - |actual - forecast| / |actual|. identify systematic bias (consistently favorable / unfavorable, growing, shrinking, volatile).
compile variance analysis report. organize findings into sections: (a) executive summary (largest variances, key themes, outlook); (b) line-by-line variance analysis with narratives; (c) waterfall visualization(s); (d) materiality summary (count of material variances, total impact); (e) forecast accuracy trends and planning bias (if applicable). highlight variances requiring action or escalation.
if materiality threshold not provided: use organization default thresholds. if organization default unknown, apply framework: 10% for actual vs budget, 15% for actual vs prior period, 5% for actual vs forecast, 20% for sequential. override threshold if line item is strategically critical (e.g., revenue) or has high management attention.
if data is incomplete or misaligned: do not force decomposition. flag missing dimensions (e.g., no price data for revenue variance, no product mix breakdown). recommend data collection before proceeding, or note limitation in report ("volume/price split not available; variance treated as single driver").
if variance is material but driver data unavailable: document the variance, note that root cause cannot be decomposed, and recommend follow-up investigation. do not invent explanations.
if actual vs budget AND actual vs forecast both requested: prioritize actual vs forecast for operational decisions (forecast is current expectation); actual vs budget for annual performance and compensation. if both are material and conflicting (e.g., on-budget but below forecast), investigate why forecast was inaccurate.
if decomposition method produces negative or offsetting drivers that exceed total variance magnitude: this indicates residual or interaction effects. explicitly label as "mix/interaction" or "residual" and quantify. do not arbitrarily allocate; acknowledge the complexity.
if variance is expected to reverse or is one-time (e.g., severance, bonus payout, platform migration cost): mark as "one-time / expected to reverse" in outlook. do not project into future forecast unless otherwise specified. flag for normalization in trend analysis.
if forecast accuracy is very poor (MAPE >20%): recommend root-cause review of forecast methodology, data quality, or business volatility. flag as planning risk.
if waterfall drivers include both favorable and unfavorable items offsetting each other (e.g., +volume but -price, net +), ensure narrative explicitly calls out both drivers and net effect. do not hide offsetting items.
if variance trending shows systematic bias (consistently favorable or unfavorable): diagnose whether budget is sandbagging (too conservative) or execution is struggling (too aggressive targets). recommend budget calibration review.
variance analysis report shall contain:
variance summary table: line item, comparison basis, actual, budget/prior/forecast, variance ($), variance (%), materiality status. one row per line item.
driver breakdown table (per material variance): driver name, amount ($), % of total variance, narrative. all drivers sum to total variance with zero residual (or residual explicitly documented).
narrative explanations: one per material line item. format: [line item]: [fav/unfav] $[amount] ([pct]%) vs [basis]. driver: [cause with quantification]. outlook: [forward-looking statement]. action: [next step]. 2-4 sentences each.
waterfall or bridge visualization: starting value, ordered driver bars (positive above zero line, negative below), ending value. must reconcile: start + drivers = end. includes dollar amounts and driver labels.
three-way comparison table (if applicable): columns for budget, forecast, actual; rows for key line items; cells showing variance to each basis ($ and %).
executive summary section: 1-2 paragraphs. highlight top 3-5 material variances, dominant themes (e.g., "pricing pressure offset volume gains"), key risks or opportunities, and forward outlook. recommended actions (if any).
materiality dashboard (optional): count of material variances, total favorable variance, total unfavorable variance, net variance, % of total line item.
assumptions and limitations note: document materiality thresholds used, decomposition methods applied, data sources, and any constraints (missing data, estimation, one-time items).
all currency amounts in consistent format (thousands, millions, or actual per org standard). all percentages to one decimal place minimum.
you know this skill worked when:
variance narratives are specific and causal: a leader reads the narrative and understands not just that variance occurred, but why (e.g., "Q4 revenue unfavorable by $150K (3%) due to deal timing slip into Q1 (primary driver -$200K) partially offset by higher ASP from new tier pricing (+$50K). timing expected to normalize in Q1; pricing benefit to continue").
waterfall reconciles exactly: starting value + all drivers = ending value. no unexplained residual.
materiality flags surface the right items: variances exceeding threshold are indeed items requiring investigation or explanation. immaterial variances are not cluttering the report.
driver ranking prioritizes correctly: the largest drivers are listed first; offsetting items are visible together; trends (growing or shrinking variances) are surfaced.
report is actionable for leadership: a CFO or business leader can read the summary, understand performance vs plan, assess forward outlook, and decide whether action is needed without asking follow-up questions.
forecast accuracy trends reveal planning bias: if tracked, MAPE metric shows whether forecasts are improving, degrading, or systematically biased (consistently high/low).
decomposition method matches the metric: price/volume for revenue/COGS, rate/mix for blended margins, headcount/comp for payroll, spend category for OpEx. no forced decomposition when method doesn't fit.
edge cases are documented: missing data, one-time items, residual variance, and constraints are called out explicitly in the report (not silently ignored).