What the calculator does
This critical path calculator takes a task table and works out the schedule that follows from it. You enter tasks, durations in days and which tasks come first. It returns the earliest and latest times for each task, the float and the longest chain, which is the critical path.
If you are new to the method, read the critical path method guide first. It explains the terms and works through the same example by hand.
The task table
Each row has four fields:
- Number: added automatically, 1 to n, and used to refer to the task.
- Task name: free text.
- Duration: a whole number of days. Zero is allowed, for a milestone.
- Predecessors: row numbers separated by commas, for example 3, 4.
Add rows and remove them as needed. Dependencies are finish-to-start with no lag.
What the result shows
For every task you get:
| Column | Meaning |
|---|---|
| ES | Earliest day the task can start |
| EF | ES plus the duration |
| LS | Latest day it can start without delaying the project |
| LF | Latest day it can finish without delaying the project |
| Float | LS minus ES |
| Critical | Yes when the float is 0 |
Above the table, the summary gives the project duration in days and the critical path written as task names joined with arrows. If several paths are critical, each is listed. A button downloads the result table as CSV.
Sample data
The calculator loads this example, which is also the worked example in the guide.
| # | Task | Days | Predecessors |
|---|---|---|---|
| 1 | Write the brief | 2 | |
| 2 | Design the pages | 5 | 1 |
| 3 | Write the copy | 4 | 1 |
| 4 | Build the site | 6 | 2 |
| 5 | Load the content | 2 | 3, 4 |
| 6 | Test and launch | 3 | 5 |
The result is a project duration of 18 days. The critical path is Write the brief → Design the pages → Build the site → Load the content → Test and launch. “Write the copy” is not critical: it has ES 2, EF 6, LS 9 and LF 13, which gives 7 days of float.
How to read the result
Look at the float column first. Tasks at zero are the ones where a delay moves the end date. Tasks with a small float are close behind, so watch them too. A task with a large float, such as the copy in the sample, can slip or start later by up to its float without moving the end date.
To shorten the project, shorten something on the critical path. After you change a duration, check the summary again, because another chain may now be the longest.
Error messages
The calculator stops and tells you when the input cannot be scheduled:
- a predecessor number that does not exist, for example 9 in a list of six tasks;
- a task that lists itself as a predecessor;
- a circular dependency, where tasks wait for each other in a loop.
Fix the row it names and the result appears.
Next steps
Copy the tasks and dates into the Gantt chart maker to see the schedule as bars. To turn day numbers into calendar dates, use the project timeline calculator, which skips weekends and days off.