Sub topic 10
Use Slack to Plan Flexibility
Slack, also called float, is the amount of time a task can move later without causing a scheduling problem. Slack helps you decide where the schedule has flexibility and where a delay will change the project finish date.
Assume you already have:
- A list of tasks and durations.
- Finish-to-start dependencies.
- Earliest start and finish values from a forward pass.
- A planned project finish date.
Total Slack
Total slack is the time a task can be delayed without delaying the entire project.
For a task with a latest allowed start and an earliest start:
total slack = latest start - earliest startYou can also calculate it with finish dates:
total slack = latest finish - earliest finishA task with zero total slack is usually on the critical path. A delay to that task delays the project unless another task or dependency changes.
Consider this schedule:
| Task | Duration | Earliest start | Earliest finish | Total slack |
|---|---|---|---|---|
| Wireframes | 5 days | 0 | 5 | 0 days |
| Mockups | 7 days | 5 | 12 | 0 days |
| Backend | 12 days | 5 | 17 | 2 days |
| Frontend | 10 days | 12 | 22 | 0 days |
| Integration | 4 days | 22 | 26 | 0 days |
The project finishes on day 26. Backend has two days of slack. It can finish as late as day 19 without delaying Integration, because Integration must wait for both Backend and Frontend.
How Slack Appears in a Dependency Network
Slack often exists when one dependency finishes earlier than another dependency. In the example, Frontend finishes on day 22 and Backend could finish by day 19. Frontend still controls when Integration can start, so Backend has flexibility.
Do not treat slack as spare time that can always be consumed. A task's slack can disappear when another task slips, when a resource becomes unavailable, or when a dependency is added.
Free Slack Versus Total Slack
Free slack is the time a task can move without delaying the earliest start of any immediate successor.
Total slack considers the whole project. Free slack considers only the next dependent task.
Suppose Backend finishes on day 17, but Integration cannot start before day 22 because it is waiting for Frontend. Backend has five days of free slack in this simplified network. However, its total slack may be only two days if a later constraint requires the project to finish on day 26.
The distinction matters when scheduling people:
- Use free slack when deciding whether a task can move without affecting the next team.
- Use total slack when checking whether the project completion date remains safe.
- Recalculate both values after major changes.
A Small Calculation
A backward pass calculates latest dates. Start at the required project finish and move backward through the dependencies.
For the schedule above:
- Integration must finish by day 26.
- Integration takes 4 days, so it must start by day 22.
- Frontend takes 10 days, so it must start by day 12.
- Backend takes 12 days and must finish by day 19, so it can start by day 7.
- Backend's earliest start is day 5, giving it two days of total slack.
The following script calculates total slack when each task has a single known successor deadline:
tasks = {
"Wireframes": (5, 0, 5),
"Mockups": (7, 5, 12),
"Backend": (12, 5, 7),
"Frontend": (10, 12, 12),
"Integration": (4, 22, 22),
}
for name, (duration, earliest_start, latest_start) in tasks.items():
slack = latest_start - earliest_start
print(f"{name}: {slack} days of total slack")Here, the third value is the latest allowed start. In a full scheduling system, the backward pass derives that value from successor tasks and the project deadline rather than entering it manually.
Use Slack for Decisions
Slack supports practical planning decisions:
- Assign flexible work to a resource who is temporarily busy.
- Move a non-critical review to protect a higher-priority task.
- Add a buffer before a task with uncertain duration.
- Focus daily monitoring on zero-slack tasks.
- Avoid delaying every flexible task until its last possible day.
A useful policy is to reserve part of the slack for uncertainty. If Backend has two days of slack, do not automatically schedule it two days later. Keep some margin for rework, waiting, or an inaccurate estimate.
Exercise
Frontend has an earliest start of day 12 and a latest start of day 15. How much total slack does it have, and what happens if it starts on day 17?
Show answer
It has 3 days of total slack. Starting on day 17 uses 5 days of delay, which is 2 days beyond its slack and will delay a downstream task or the project finish unless the schedule has another adjustment.