Short answer: percentage variance = (actual − budget) ÷ budget × 100. If you budgeted $12,000 and spent $13,500, the variance is $1,500, or +12.5%. When the plan can be negative, as with a forecast loss, divide by its absolute value (ABS in a spreadsheet); when the plan is zero, report the dollar amount instead. The Percentage Calculator gives the same figure in its percentage change mode.
The percentage variance formula
A variance compares a planned figure, such as a budget or a forecast, with the result you actually got. The Corporate Finance Institute describes it as the difference between a forecast and the actual result. Expressed as a percentage, it tells you how far off the plan was, relative to the plan itself:
percentage variance = (actual − planned) ÷ planned × 100
The planned figure is always the base. That is what makes a variance different from a simple gap between two numbers: a $1,500 overrun means a lot on a $3,000 budget (+50%) and very little on a $300,000 one (+0.5%).
You will also see the formula written as actual ÷ planned − 1. It is the same calculation, rearranged, and it gives the same result for any planned figure other than zero. Neither version fixes a negative plan, which needs the adjustment explained further down.
Mathematically, a percentage variance is a percentage change with the budget as the starting point. Only the base differs: a plan instead of an earlier value.
How to calculate percentage variance, step by step
Take a marketing budget of $12,000 for the quarter and an actual spend of $13,500.
- Subtract the plan from the actual. 13,500 − 12,000 = 1,500. This is the variance in dollars.
- Divide by the plan. 1,500 ÷ 12,000 = 0.125.
- Multiply by 100. 0.125 × 100 = 12.5%.
Marketing came in 12.5% over budget. Keep the sign: +12.5% and −12.5% describe opposite outcomes.
Favorable or unfavorable? Reading the sign
A positive variance is not automatically good news. It depends on whether the line is money coming in or money going out. CFI gives the cost case: a cost that comes in lower than forecast is a favorable variance. The same logic, read the other way, covers the rest.
| Line | Budget | Actual | Variance | Variance % | Reading |
|---|---|---|---|---|---|
| Revenue | $50,000 | $46,000 | −$4,000 | −8.0% | Unfavorable: less money in |
| Marketing | $12,000 | $13,500 | +$1,500 | +12.5% | Unfavorable: overspent |
| Software | $3,200 | $2,880 | −$320 | −10.0% | Favorable: spent less |
| Travel | $1,500 | $1,500 | $0 | 0.0% | On budget |
The figures are an example. The rule they show:
- Revenue or income: above plan is favorable, below plan is unfavorable.
- Costs or expenses: below plan is favorable, above plan is unfavorable.
If a report's signs look reversed, it may subtract the other way round (plan minus actual) for costs, so that savings show as positive. Check its legend before you draw conclusions, and label your own reports clearly.
Percentage variance, percentage change or percentage difference?
All three compare two numbers, but they answer different questions. Variance and change share a formula and differ only in their base; percentage difference uses another formula altogether.
- Percentage variance compares an actual result with a plan. The plan is the base.
- Percentage change compares an after with a before. The before is the base. The formula is the same as a variance; only the vocabulary changes.
- Percentage difference compares two values when neither comes first, such as two quotes or two measurements. It divides the gap by the average, so the order does not matter. The percentage difference calculator does this one.
With the marketing figures, $12,000 planned and $13,500 actual, and a spend of $11,000 the quarter before:
| Question | Calculation | Result |
|---|---|---|
| How far over budget? | 1,500 ÷ 12,000 × 100 | +12.5% |
| How much did spending change since last quarter? | 2,500 ÷ 11,000 × 100 | +22.73% |
| How far apart are the budget and the actual? | 1,500 ÷ 12,750 × 100 | 11.76% |
If there is no plan and no before, for instance when you compare two quotes from different suppliers, percentage difference is the honest choice.
Percentage variance in Excel and Google Sheets
Put the budget in B2 and the actual in C2. The formula is the same in both programs:
=(C2-B2)/B2
Format the cell as a percentage with one decimal place and it shows 12.5% for the marketing example; with no decimal places it rounds to 13%, and without the percent format you will see 0.125. Exceljet gives the same formula with the baseline in the denominator. Fill it down the column to get a variance for every line of the budget.
For the other everyday percentage jobs in a budget, such as finding 15% of a figure or adding a 3% increase, the Percentage Calculator can work out a percent of a number or add a percentage without a spreadsheet.
When the budget is negative or zero
Negative plans. Some planned figures are below zero: a forecast loss, a negative cash flow. Dividing by a negative number flips the sign of the result, as Exceljet points out. Say you forecast a loss of $20,000 and the actual loss is $5,000, entered as −20,000 and −5,000: a loss typed as a positive number would hide the problem. The result improved by $15,000, yet =(C2-B2)/B2 shows −75%. Divide by the size of the plan instead:
=(C2-B2)/ABS(B2)
This gives +75%, which matches what happened. It is also the rule Utilvana’s percent change tool follows.
A plan of zero. Any amount compared with a plan of zero would be an infinitely large percentage, so the variance is undefined and Excel returns #DIV/0!. Report the variance in dollars instead, or hide the error with =IF(B2=0,"",(C2-B2)/ABS(B2)).
Variance between two numbers in statistics
"Variance" has a second meaning. In statistics, it measures how spread out values are around their mean, and it is not a percentage at all. If you need the statistical variance of two numbers a and b, there is a short formula:
- Population variance: (a − b)² ÷ 4
- Sample variance: (a − b)² ÷ 2
For 4 and 10, the mean is 7 and each number sits 3 away from it. The population variance is 9 and the sample variance is 18.
In Excel, =VAR.P(4,10) returns the population figure and =VAR.S(4,10) the sample figure; Microsoft documents VAR.S for a sample and VAR.P for an entire population. In Google Sheets, VAR gives the sample figure and VARP the population figure: according to Google's help pages, VAR divides by the number of values minus one and VARP by the number of values.
The units are squared, which is why statistical variance is rarely used to compare a budget with an actual. For $12,000 and $13,500, the population variance is 562,500 "squared dollars", a figure nobody can read. For budgets, use the percentage variance above.
FAQ
How do you calculate percentage variance?
Subtract the planned figure from the actual one, divide by the planned figure, then multiply by 100. With a $12,000 budget and $13,500 spent, that is 1,500 ÷ 12,000 × 100 = +12.5%.
Is a negative variance good or bad?
It depends on the line. For revenue, a negative variance means less money came in than planned, which is unfavorable. For a cost, a negative variance means you spent less than planned, which is favorable. This assumes the variance is actual minus plan; a report that subtracts the other way round for costs shows the opposite signs.
What is the difference between percentage variance and percentage difference?
A percentage variance measures an actual result against a plan, so the plan is the base and the order matters. A percentage difference divides the gap between two values by their average, so the order does not matter. For $12,000 and $13,500 the first gives +12.5%, the second 11.76%. Statistical variance is a third thing: a measure of spread in squared units, not a percentage.
How do I find the percentage variance when the forecast is negative?
Enter the forecast as a negative number and divide by its absolute value: =(C2-B2)/ABS(B2) in Excel or Google Sheets. A forecast loss of $20,000 that turns into a loss of $5,000 then shows +75%, an improvement, rather than a misleading −75%.