Sub topic 4
Classifying costs: direct, indirect, fixed, variable
This chapter assumes you can already list work packages and put a labor and non-labor estimate on each one. It also assumes you are comfortable with percentages and with short Python scripts. The running example is the Design, Development and Testing project from the earlier chapters.
By the end you will be able to tag every cost line with two independent labels. You will also know why those labels change how you add contingency, allocate overhead, and react when scope moves.
Why classify costs at all
A cost estimate is a list of amounts. A classified estimate is a list of amounts with a reason attached to each one. The reason decides three things:
- Who is accountable for the number. A project manager can control direct costs, but usually cannot control a company-wide overhead rate.
- How the number moves when scope moves. Some costs grow with effort and some do not.
- Where the number appears in a report. Funders and finance teams often want direct and indirect costs shown separately.
Every cost line gets two labels. The first label says how the cost relates to the project, which is direct or indirect. The second says how the cost behaves when activity changes, which is fixed or variable. The two labels are independent, so a cost can be direct and fixed, direct and variable, indirect and fixed, or indirect and variable.
Direct and indirect costs
A direct cost is one you can trace to this project alone. If the project stopped tomorrow, the cost would stop with it. Examples are the wages of people assigned to the project, a software license bought for it, and hosting that exists only for its product.
An indirect cost is shared with other work, so it cannot be traced to one project without a rule. Examples are office rent, the finance department, general IT support, and electricity. These costs exist whether or not your project does.
The practical test is a single question: "Would this cost disappear if we cancelled the project?" Yes means direct. No, or only partly, means indirect.
| Cost line | Would it vanish if the project were cancelled? | Class |
|---|---|---|
| Developer hours on the project | Yes | Direct |
| Licenses bought for the project | Yes | Direct |
| Dedicated hosting | Yes | Direct |
| Office rent | No | Indirect |
| Payroll department time | No | Indirect |
| Shared tooling used by many teams | Partly | Indirect, allocated |
How indirect costs reach a project
Indirect costs are charged to a project in one of two ways:
- Allocation by a rate. The organization sets an overhead rate, such as 15% of direct labor, and applies it to every project.
- Not charged at all. The project budget holds only direct costs, and the organization absorbs the indirect costs elsewhere.
You must find out which rule your organization uses before you finalize a budget. A project that omits a required overhead charge looks cheaper than it is, and the gap is discovered at the worst moment, when finance posts the charge.
The 21230.00 budget from earlier chapters holds direct costs only. When this chapter adds an overhead rate, it is shown as an extra line, so you can see both totals.
Fixed and variable costs
A fixed cost stays the same within a normal range of activity. A license fee is the same whether three people use it or four.
A variable cost changes as activity changes. Labor is the clearest case. If development takes 150 hours instead of 120, the cost rises by 30 times the hourly rate.
The question to ask is "If the amount of work changes, does this number change?" Costs often depend on a driver, which is the quantity that makes the cost move. The common drivers are:
- Hours worked, for labor.
- Units produced or consumed, for materials and usage-based services.
- Months elapsed, for hosting billed monthly.
- Labor cost, for overhead charged as a percentage.
Step-fixed and semi-variable costs
Real costs do not always fit the two boxes cleanly.
- A step-fixed cost is flat until it hits a limit, then jumps. A license that covers 10 users costs the same for 6 users or 10, and then you buy the next tier at 11.
- A semi-variable cost has a fixed base plus a variable part. A hosting plan might charge 100.00 a month plus a usage fee.
For a simple budget, split semi-variable costs into their two parts and label each part separately. Treat a step-fixed cost as fixed, and add a note stating the limit at which it jumps.
Two labels at once
Putting the two label sets side by side gives four cells. Each cell has a different management consequence.
| Row | Fixed | Variable |
|---|---|---|
| Direct | Project license fee. Commit it early and expect no change. | Project labor. Watch hours and rates closely. |
| Indirect | Office rent share. Outside your control. | Overhead charged as a percentage of labor. Moves when labor moves. |
The decision path for a new cost line looks like this:
Classifying the running example
The script below stores every cost line with both labels, adds an overhead allocation at 15% of labor, and totals the lines by each label. The three labor figures are the hours times rate results from the earlier estimating chapter.
from collections import defaultdict
labor_lines = {"Design": 3200.0, "Development": 10800.0, "Testing": 3500.0}
overhead_rate = 0.15
costs = [
{"name": f"{task} labor", "amount": amount, "link": "direct", "behavior": "variable"}
for task, amount in labor_lines.items()
]
costs.append(
{"name": "Software licenses", "amount": 1200.0, "link": "direct", "behavior": "fixed"}
)
costs.append(
{"name": "Hosting", "amount": 600.0, "link": "direct", "behavior": "variable"}
)
labor = sum(labor_lines.values())
costs.append(
{
"name": "Overhead allocation",
"amount": labor * overhead_rate,
"link": "indirect",
"behavior": "variable",
}
)
by_link = defaultdict(float)
by_behavior = defaultdict(float)
for line in costs:
by_link[line["link"]] += line["amount"]
by_behavior[line["behavior"]] += line["amount"]
for line in costs:
print(f"{line['name']:<22}{line['amount']:>10.2f} {line['link']}, {line['behavior']}")
print()
print(f"Direct: {by_link['direct']:.2f}")
print(f"Indirect: {by_link['indirect']:.2f}")
print(f"Full cost: {by_link['direct'] + by_link['indirect']:.2f}")
print(f"Fixed: {by_behavior['fixed']:.2f}")
print(f"Variable: {by_behavior['variable']:.2f}")The printed totals are:
- Direct: 19300.00, which matches the direct-cost figure in the budget from earlier chapters.
- Indirect: 2625.00, which is 17500.00 times 0.15.
- Full cost: 21925.00.
- Fixed: 1200.00.
- Variable: 20725.00.
Both groupings add up to the same 21925.00. This is a useful check. If direct plus indirect does not equal fixed plus variable, a line is missing a label or has been counted twice.
Why the overhead line is variable
The overhead is 15% of labor, so if labor grows, overhead grows with it. Its driver is labor cost, so it is variable even though it is indirect. A rent charge billed as a flat monthly share would be indirect and fixed instead. The label follows the billing rule, not the category name.
Seeing the effect of a scope change
The behavior label lets you test "what if the work is larger or smaller?" without redoing every estimate. Fixed lines stay put and variable lines scale with an effort factor.
fixed = 1200.0
variable = 20725.0
for factor in (0.8, 1.0, 1.2):
total = fixed + variable * factor
print(f"Effort x{factor:.1f}: total {total:.2f}")The output is 17780.00 at 0.8, 21925.00 at 1.0, and 26070.00 at 1.2. A 20% rise in effort raises the total by 4145.00, which is 18.9% and less than 20%. The fixed license dilutes the effect. A budget dominated by fixed costs reacts less to scope changes, but it also leaves you less room to save money if scope shrinks.
Common errors
- Using "direct" to mean "important." Direct is about traceability to this project only. A large shared cost is still indirect.
- Treating all labor as variable without thought. If a salaried person is assigned full time for the whole project, their cost does not change with a small scope change. It is variable only to the extent you can reassign them or release them. Decide which view fits the contract and label accordingly.
- Double-counting overhead. If your hourly rate is already a loaded rate that includes overhead, adding an overhead percentage charges it twice. Check whether the rate is base or loaded.
- Applying contingency to the wrong base. The running example applies 10% contingency to direct costs. If your organization requires contingency on the full cost including overhead, the reserve changes. Contingency on 21925.00 would be 2192.50, not 1930.00. Settle the base before you quote a total.
- Forgetting that the classes change the report. A sponsor who funds direct costs only will reject a budget that mixes in overhead without showing the split.
- Labeling once and never revisiting. A cost can change class. A one-off purchase might become a recurring subscription, so recheck labels when the estimate changes.
What to carry forward
Each cost line now carries a link label (direct or indirect) and a behavior label (fixed or variable). Contingency, the next chapter, is easier to size when you know which lines are firm and which are uncertain, and the budget total follows from it. Later, when you track actuals and measure variance, the labels tell you which overruns you can act on. A direct variable overrun is usually a hours or rate problem you can manage. An indirect fixed overrun is usually a conversation with finance.
Exercise
A project pays 2000.00 for a one-year license that covers up to 10 users. It also pays a contractor 50.00 per hour, expected at 100 hours. Classify both lines as direct or indirect and as fixed or variable, then compute the total if the contractor's hours rise by 20%.
Show answer
Both lines are direct, because both would vanish if the project were cancelled. The license is fixed, because the 2000.00 does not change with the amount of work (it would step up only above 10 users). The contractor is variable, because the cost follows hours. Baseline contractor cost is 100 x 50.00 = 5000.00. With 20% more hours it is 120 x 50.00 = 6000.00. The total is 2000.00 + 6000.00 = 8000.00, up from 7000.00.
Exercise
Using the script totals from this chapter (fixed 1200.00, variable 20725.00), what is the total cost at an effort factor of 1.5, and why does the total rise by less than 50%?
Show answer
Total = 1200.00 + 20725.00 x 1.5 = 1200.00 + 31087.50 = 32287.50. The baseline is 21925.00, so the rise is 10362.50, which is about 47.3%. The total rises by less than 50% because the 1200.00 fixed portion does not scale with effort.
Exercise
Your organization's hourly rate of 90.00 for developers already includes a 15% overhead load. A colleague proposes adding a separate 15% overhead line on top of labor. What is the problem, and how would you fix the budget?
Show answer
The overhead would be counted twice, once inside the loaded rate and again in the extra line, which overstates the cost. Either use the loaded rate and add no overhead line, or use the base rate (before the load) and add the 15% overhead as an indirect line. Confirm with finance which rate is loaded before you choose.