Sub topic 9
Measuring variance against the baseline
This chapter assumes you can compute percentages and read a short Python script. It also assumes you have a baseline: the approved budget, spread over time by work package, from the earlier chapters. Variance is the gap between that baseline and what is happening. This chapter shows how to measure the gap so it tells you something true.
What variance is, and why the obvious calculation misleads
A variance is a difference between a planned figure and a measured one. The obvious cost variance is budget minus actual spend. For a finished work package this is fine. For work in progress it is wrong.
Suppose Development has a budget of 10,800.00 and you have spent 5,000.00. Budget minus actual gives 5,800.00 "under budget". But you have not finished Development. You have spent money and received only part of the work. If the work is 40% complete, you have spent 5,000.00 for something worth 4,320.00. You are overspending, even though the raw subtraction looks healthy.
So you need three numbers for every work package at a given status date:
- Planned value (PV) is the baseline cost of the work scheduled to be done by the status date. It comes from the time-phased baseline.
- Earned value (EV) is the baseline cost of the work actually completed by the status date. It equals budget multiplied by percent complete.
- Actual cost (AC) is what you have recorded as spent for that work by the status date.
All three are in money, so you can compare them directly.
The core formulas
| Measure | Formula | Negative means |
|---|---|---|
| Cost variance (CV) | EV − AC | Over budget for the work done |
| Schedule variance (SV) | EV − PV | Less work done than planned |
| Cost performance index (CPI) | EV ÷ AC | Each unit spent buys less than 1 unit of planned value |
| Schedule performance index (SPI) | EV ÷ PV | Progress is slower than planned |
| Cost variance percent | CV ÷ EV | Overrun as a share of work done |
For the two variances, a negative number is bad. For the two indexes, a value below 1.0 is bad. The indexes make packages of different sizes comparable. A 400.00 overrun on a 3,200.00 package matters more than the same 400.00 on a 100,000.00 package.
Notice that schedule variance is measured in money, not days. SV of −2,160.00 means that you have earned 2,160.00 less baseline value than planned. It does not mean you are 2,160 of anything late. Convert it to time only by looking at the schedule.
A worked example
Use the three work packages from the budget built earlier: Design at 3,200.00, Development at 10,800.00 and Testing at 3,500.00. At the status date:
- Design is finished and the baseline expected it to be finished. It cost 3,600.00.
- Development was planned to be 60% done. It is 40% done and has cost 5,000.00.
- Testing has not started and was not planned to start.
packages = {
"Design": {"budget": 3200.0, "planned_pct": 1.0, "complete_pct": 1.0, "actual": 3600.0},
"Development": {"budget": 10800.0, "planned_pct": 0.6, "complete_pct": 0.4, "actual": 5000.0},
"Testing": {"budget": 3500.0, "planned_pct": 0.0, "complete_pct": 0.0, "actual": 0.0},
}
total_pv = total_ev = total_ac = 0.0
for name, p in packages.items():
pv = p["budget"] * p["planned_pct"]
ev = p["budget"] * p["complete_pct"]
ac = p["actual"]
cv = ev - ac
sv = ev - pv
total_pv += pv
total_ev += ev
total_ac += ac
print(f"{name}: PV {pv:.2f}, EV {ev:.2f}, AC {ac:.2f}, CV {cv:.2f}, SV {sv:.2f}")
cv = total_ev - total_ac
sv = total_ev - total_pv
print(f"Total: PV {total_pv:.2f}, EV {total_ev:.2f}, AC {total_ac:.2f}, CV {cv:.2f}, SV {sv:.2f}")
cpi = total_ev / total_ac if total_ac else None
spi = total_ev / total_pv if total_pv else None
print(f"CPI {cpi:.2f}, SPI {spi:.2f}")Running it prints:
Design: PV 3200.00, EV 3200.00, AC 3600.00, CV -400.00, SV 0.00
Development: PV 6480.00, EV 4320.00, AC 5000.00, CV -680.00, SV -2160.00
Testing: PV 0.00, EV 0.00, AC 0.00, CV 0.00, SV 0.00
Total: PV 9680.00, EV 7520.00, AC 8600.00, CV -1080.00, SV -2160.00
CPI 0.87, SPI 0.78Read the result package by package:
- Design is on schedule (SV 0.00) but cost 400.00 more than its baseline. That is a pure cost problem, and it is now final because the work is done.
- Development has both problems. It has earned 4,320.00 of value for 5,000.00 spent, and it is 2,160.00 behind the planned value.
- Testing has no variance because nothing was planned or spent. This is a normal state, not good news.
At the project level, CPI is 0.87. Each 1.00 spent has produced 0.87 of baseline value. SPI is 0.78. Progress is running at about 78% of the planned pace.
The two kinds of variance interact. A project can be behind schedule and still show no cost variance, because unspent money looks fine. That is why you read CV and SV together, never one alone.
Where each number comes from
The three inputs come from different places, and each has its own weakness.
- PV is the most reliable input. It is read from the baseline you froze when the budget was approved. If you edit the baseline after the fact, PV is no longer a fixed reference and your variances stop meaning anything.
- AC depends on how fast costs reach the ledger. Invoices often arrive weeks after the work. If you only count paid invoices, AC is understated and CV looks better than it is.
- EV depends on how you judge percent complete. This is the weakest input.
Deciding percent complete
Percent complete is the main judgment call in variance analysis. Common rules, from least to most subjective:
| Rule | How it works | Best for |
|---|---|---|
| 0/100 | Earn nothing until the package is done, then earn all of it | Short packages, a few days long |
| 50/50 | Earn half at start, half at finish | Medium packages |
| Milestones | Assign a weight to each checkpoint, such as 20% at design review | Longer packages with clear deliverables |
| Estimate | Someone reports a percentage | Last resort |
Avoid asking "how far along are you?" for a long package. People tend to report 90% complete for a very long time. A milestone rule tied to observable outputs, such as "test plan approved", is harder to inflate. If you must use judgment, record who made it and what evidence they used.
Accruals and timing
Actual cost should match the period in which the work was done, not the period in which the invoice was paid. Suppose a contractor works in October and invoices in November. A cash-only ledger shows no October cost, and the October CV looks too good. In November the cost appears with no matching work, and CV looks too bad.
The fix is to record an accrual: an estimated cost for work already done but not yet billed. Replace it with the real figure when the invoice arrives. If your project tracking is simple and you cannot accrue, say so in the report and treat recent-period variances as provisional.
Deciding when a variance matters
A nonzero variance is normal. Every real project has some. What you need is a rule for when a variance requires action. Set thresholds in advance and write them down. A common pattern uses the index values:
| CPI or SPI | Status | Typical response |
|---|---|---|
| 0.95 to 1.05 | Within tolerance | Keep tracking |
| 0.90 to 0.95 | Watch | Find the cause, report it |
| Below 0.90 | Action needed | Recovery plan or a change request |
The thresholds are examples. Choose ones that fit the project's risk and the sponsor's tolerance, and agree on them before the first status date. Otherwise the discussion about whether a variance is "big" becomes a negotiation each time.
In the example, project CPI is 0.87, below 0.90. That calls for action. SPI of 0.78 does as well. Development drives both numbers, so that is where to look first.
Finding the cause
A variance is a symptom. Before you report it, classify its cause, because different causes need different responses.
- Estimate error. The baseline was too low. The remaining work will probably also cost more than planned.
- Rate or price change. The work is fine but resources cost more. Check whether this affects future packages.
- Productivity. The work is taking more hours than estimated. Ask whether the cause is one-time, such as onboarding, or ongoing.
- Scope growth. Work was added without a change request. This is a control failure and should go through change control.
- Timing. Costs were booked early or late. The variance should reverse on its own.
Timing variances are the only ones you can safely wait out. Estimate errors and productivity problems usually persist, and the next chapter uses the current CPI to forecast the final cost.
Common errors
- Comparing actual spend to the full budget. This hides overruns on unfinished work, as in the Development example.
- Reading a favorable CV as success. If SV is also negative, you may simply be spending less because work has not happened.
- Dividing by zero. CPI is undefined when AC is zero, and SPI is undefined when PV is zero. The code above guards against this.
- Changing the baseline to remove a variance. A baseline changes only through change control, with a recorded approval. Otherwise you lose the ability to say how far the project has drifted.
- Mixing currencies of progress. EV must use baseline prices, not current ones. If you value completed work at today's rates, CV is always zero.
Exercise
A package has a budget of 8,000.00. At the status date it is 25% complete, the baseline planned it to be 50% complete, and 2,600.00 has been spent. Calculate PV, EV, CV, SV, CPI and SPI. What does the result tell you?
Show answer
PV = 8,000 x 0.50 = 4,000.00. EV = 8,000 x 0.25 = 2,000.00. AC = 2,600.00. CV = 2,000 − 2,600 = −600.00. SV = 2,000 − 4,000 = −2,000.00. CPI = 2,000 ÷ 2,600 = 0.77. SPI = 2,000 ÷ 4,000 = 0.50. The package is over budget for the work done and progressing at half the planned pace. Both indexes are well below 0.90, so it needs investigation and likely a recovery plan or change request.
Exercise
In October a contractor completes work worth 4,000.00, but the invoice arrives in November. The project records costs only when invoices are paid. How does this distort the October cost variance, and what should you do?
Show answer
October AC is understated by 4,000.00, so October CV looks 4,000.00 better than it really is, and November looks worse when the invoice posts. Record an accrual of 4,000.00 in October for the work done, and replace it with the actual invoice amount when it arrives. If you cannot accrue, mark recent-period variances as provisional in the report.