The critical path method (CPM) finds the longest chain of dependent tasks in a project. That chain sets the earliest date the whole project can finish. Any delay to a task on the critical path delays the project; tasks off the path have some spare time, called float.
Key facts
- The critical path is the longest path through dependent tasks.
- Its length is the shortest possible project duration.
- Critical tasks have zero float.
- Shorten it by fast-tracking or crashing.
- Gantt charts often highlight the critical path.
How do you calculate the critical path?
Follow these steps:
- List all tasks, for example with a work breakdown structure.
- Map dependencies: which tasks must finish before others can start.
- Estimate each task’s duration.
- Draw the network of tasks and arrows.
- Add up durations along every path from start to finish.
- The longest path is the critical path.
- Calculate float for every task not on it.
Critical path example
Launching a new website:
| Task | Depends on | Duration |
|---|---|---|
| A. Plan sitemap | None | 3 days |
| B. Write content | A | 6 days |
| C. Design pages | A | 4 days |
| D. Build site | C | 5 days |
| E. Load content | B, D | 2 days |
| F. Test and launch | E | 2 days |
There are two paths:
- A, B, E, F: 3 + 6 + 2 + 2 = 13 days
- A, C, D, E, F: 3 + 4 + 5 + 2 + 2 = 16 days
The critical path is A, C, D, E, F, so the project needs at least 16 days. Writing content (B) has 3 days of float: it can slip 3 days without moving the launch.
How do you shorten the critical path?
Two classic techniques:
- Fast-tracking: run tasks in parallel that were planned one after another, such as starting the build on approved page designs.
- Crashing: add people or budget to critical tasks so they finish faster.
Both add risk or cost, so use them only on critical tasks. Speeding up a task with float does not change the end date.
CPM vs PERT vs Gantt charts
| Method | What it shows | Best for |
|---|---|---|
| CPM | Longest dependent path, one estimate per task | Projects with known durations |
| PERT | Three estimates per task to handle uncertainty | New or uncertain work |
| Gantt chart | Tasks on a timeline, often with the critical path | Communicating the schedule |
Learn how to draw one in what is a Gantt chart.
Which tools calculate the critical path?
Many project management tools can show dependencies and highlight the critical path on a timeline view. Compare them in our best project management software list.
FAQ
What is the critical path method?
The critical path method, or CPM, is a scheduling technique that finds the longest sequence of dependent tasks in a project. That sequence sets the shortest time in which the project can be finished.
What is float or slack?
Float is how long a task can be delayed without delaying the project end date. Tasks on the critical path have zero float.
How do you find the critical path?
List the tasks, map their dependencies, estimate each duration, add up the durations along every path, and pick the longest one.
What is the difference between CPM and PERT?
CPM uses one time estimate per task. PERT uses three estimates, optimistic, most likely and pessimistic, to handle uncertainty.
How can you shorten the critical path?
Fast-tracking runs tasks in parallel that were planned in sequence. Crashing adds resources to critical tasks to finish them sooner.
