Sub topic 3
Float and Near-Critical Paths
The critical path tells you which activities set the project duration. Float tells you how much room the other activities have before they start to matter. This chapter defines the two kinds of float, shows how to compute them, and explains why paths that are only slightly shorter than the critical path are a schedule risk. You need this before compressing a schedule, because compression changes which paths are critical.
Prerequisites
This chapter assumes you can do the following:
- Read an activity network, where each activity has a duration and a list of predecessors.
- Compute the critical path as the longest path from start to finish.
- Do basic arithmetic on durations in working days.
The dependencies here are all finish-to-start, meaning an activity starts only after its predecessors finish. Other dependency types are covered in a later chapter.
What float is
Float (also called slack) is the amount of time an activity can be delayed without causing a specific kind of harm. The kind of harm defines the kind of float. Two types matter in practice:
| Type | An activity can slip this long without... |
|---|---|
| Total float | delaying the project finish date |
| Free float | delaying the early start of any successor |
Every float value comes from four dates per activity:
- Early start (ES) and early finish (EF) come from a forward pass. You walk from the start of the network to the end. Each activity's ES is the largest EF among its predecessors, or 0 if it has none. EF is ES plus duration.
- Late finish (LF) and late start (LS) come from a backward pass. You walk from the end back to the start. Each activity's LF is the smallest LS among its successors. For the last activities, LF is the project duration. LS is LF minus duration.
Total float
Total float is the gap between the earliest and the latest an activity can happen:
total float = LS − ES = LF − EF
An activity with zero total float is on the critical path. Any delay to it delays the project by the same amount. An activity with positive total float has a buffer before it threatens the finish date.
Two properties of total float are easy to miss.
First, total float belongs to a path, not to a single activity. Every activity on the same non-critical path draws from the same pool. If a path has 3 days of float, the whole chain can slip 3 days in total, not each activity by 3 days.
Second, float is a property of the current plan. If any duration on the path changes, or a predecessor moves, the float of the other activities changes too.
Free float
Free float is how far an activity can slip before it pushes a successor's early start later:
free float = (smallest ES among successors) − EF
Free float is never larger than total float. It is smaller when the activity feeds a successor that is itself on a tighter path. Free float matters because using it disturbs nobody else. Using total float beyond the free float still keeps the finish date, but it eats float that belonged to later activities on the path.
A worked example
Take a five-activity network:
- A takes 2 days and has no predecessors.
- B takes 6 days and follows A.
- C takes 3 days and follows A.
- D takes 2 days and follows C.
- E takes 3 days and follows both B and D.
The two paths are:
- A → B → E: 2 + 6 + 3 = 11 days.
- A → C → D → E: 2 + 3 + 2 + 3 = 10 days.
The first path is critical. The second has 1 day of float. The program below does both passes and prints total and free float for every activity.
activities = {
# listed in dependency order
"A": {"dur": 2, "preds": []},
"B": {"dur": 6, "preds": ["A"]},
"C": {"dur": 3, "preds": ["A"]},
"D": {"dur": 2, "preds": ["C"]},
"E": {"dur": 3, "preds": ["B", "D"]},
}
# Forward pass: early start and early finish
es, ef = {}, {}
for name, a in activities.items():
es[name] = max((ef[p] for p in a["preds"]), default=0)
ef[name] = es[name] + a["dur"]
end = max(ef.values())
succs = {n: [m for m, a in activities.items() if n in a["preds"]]
for n in activities}
# Backward pass: late finish and late start
ls, lf = {}, {}
for name in reversed(list(activities)):
lf[name] = min((ls[s] for s in succs[name]), default=end)
ls[name] = lf[name] - activities[name]["dur"]
print(f"project duration: {end} days")
print("act ES EF LS LF total free")
for n in activities:
total = ls[n] - es[n]
free = min((es[s] for s in succs[n]), default=end) - ef[n]
print(f"{n:>3} {es[n]:>3} {ef[n]:>3} {ls[n]:>3} {lf[n]:>3} {total:>6} {free:>5}")The output is:
project duration: 11 days
act ES EF LS LF total free
A 0 2 0 2 0 0
B 2 8 2 8 0 0
C 2 5 3 6 1 0
D 5 7 6 8 1 1
E 8 11 8 11 0 0Reading the table:
- A, B and E have zero total float. They form the critical path.
- C and D each have 1 day of total float, but they share it. It is one day for the chain, not two.
- C has free float 0. D starts at day 5, the moment C finishes, so delaying C by even a day pushes D's early start to day 6.
- D has free float 1. It finishes on day 7, and E cannot start until day 8 because it waits for B. D can slip a day without disturbing anyone.
Float is shared along a path
The chain C → D has 1 day of total float. If C slips 1 day, D's early start moves from day 5 to day 6. D now has no free float, and total float on the chain is used up. If D then slips another day, the project finishes on day 12 instead of 11.
A common mistake is to add the floats along a chain: "C has 1 and D has 1, so we have 2 days." The correct reading is that the path has 1 day. Whoever consumes the float first leaves nothing for the others.
Near-critical paths
A near-critical path has a small positive float. Here, A → C → D → E is 10 days against 11 for the critical path, so it has 1 day of float, roughly 9% of the project. No fixed threshold defines "near". Common working rules are:
- Float of a few days or less on a project measured in weeks.
- Float smaller than the uncertainty in your own duration estimates.
- Float below some fraction of the project duration, such as 10%.
Pick a rule and apply it consistently, then list every path that falls under it.
Near-critical paths matter for two reasons.
They can become critical without warning. Duration estimates are uncertain. If the critical path estimate is 11 days and the next path is 10, a modest overrun on the second path makes it the longest. The schedule has several paths that could set the finish date, and only one is visible.
They limit what compression can achieve. Shortening the critical path by 2 days in this network does not shorten the project by 2 days. After 1 day, both paths are 10 days long. The second day of saving requires shortening both paths. The float on the near-critical path caps the benefit of working on the critical one. The next chapter builds on this.
Counting how many paths are near-critical
In real schedules, many paths run close to the critical one. A network with many parallel branches of similar length is fragile: each branch is a chance for a delay. Two networks with the same critical path length differ in risk if one has a single long path and the other has six paths within a day of it.
Gotchas and edge cases
Negative float
Total float is negative when the schedule cannot meet an imposed date. Suppose the sponsor requires finishing in 10 days, so late finish for E is day 10. The backward pass then gives E a late start of 7, while its early start is 8. Total float on the critical path is −1. The same −1 propagates to A and B.
Negative float is a measure of how many days you must recover. It is the starting point for deciding how much compression you need.
Zero float does not always mean critical
The "critical = zero float" rule holds when the only constraint is the project finish date. If a schedule has other constraints, such as a "must finish no later than" date on an interim milestone, then an activity can have zero or negative float without being on the longest path. Conversely, if you set a project deadline later than the computed finish, every path gains positive float, and the critical path is the one with the least float, not zero float. Identify the critical path by the smallest float value, not by testing for exactly zero.
Float is measured in working days
Float is computed on a calendar. A task with 2 days of float that ends on a Thursday has no real buffer if the next working day after the weekend counts differently, or if a shutdown falls in between. Make sure the float calculation uses the same calendar as the activities.
Resource limits can consume float you cannot see
The forward and backward passes assume every activity can run when its predecessors finish. If two activities with float need the same person, one must wait. That wait can use the float, or more. Float from the network math is an upper bound. Check it against resource availability before you promise it to anyone.
Float changes after every update
Recompute float whenever actual progress is recorded or an estimate changes. A float report from three weeks ago may list the wrong critical path.
Why this matters for compression
Float explains why only some activities can shorten the project. Speeding up an activity with positive total float does not reduce the finish date. It only adds float to that activity's path, which was not the bottleneck. Compression effort belongs on activities with the least float, usually the critical ones.
The reverse holds too. When you shorten the critical path, you use up the float of the next-longest path. Once that float reaches zero, the schedule has two or more critical paths, and every further day saved costs more because several paths must shrink together. Compression is a process of watching the float profile change, not a one-time calculation.
Summary of the working rules
- Compute total float as LS − ES. Use it to identify critical and near-critical activities.
- Compute free float to see what slack you can spend without moving a successor.
- Treat float as shared along a path, never as a separate allowance per activity.
- Decide a near-critical threshold and list the paths under it.
- Expect negative float when a deadline is shorter than the computed duration, and treat it as the amount of schedule to recover.
- Recompute float after every change.
Exercise
In the network above, suppose C takes 5 days instead of 3. Recompute the path lengths. What is the new project duration, which path is critical, and what is the total float of B?
Show answer
The path A → C → D → E is now 2 + 5 + 2 + 3 = 12 days. The path A → B → E is still 11 days. The project duration becomes 12 days, and A, C, D and E are critical with zero float. B now has 1 day of total float, because the critical path is 1 day longer than its own path. A 2-day slip on C moved the critical path to a path that was previously near-critical.
Exercise
A team lead says, "C has 1 day of float and D has 1 day of float, so we can delay C by 1 day and D by 1 day and still finish on day 11." Is this correct? Explain using total and free float.
Show answer
No. C and D are on the same path, and that path has 1 day of total float, not 2. If C slips 1 day, D's early start moves from day 5 to day 6 because C's free float is 0. D can then finish at day 8 without delay, but a further 1-day slip makes D finish on day 9, and E starts on day 9 instead of day 8. The project finishes on day 12. The float is shared, so the two slips together cost the project 1 day.