1. Home
  2. Blog
  3. Critical path

Critical path on a Gantt chart: how to find it, with an example

What the critical path is, how to calculate it step by step with float, how to read it on a Gantt chart, and how it relates to PERT. With a worked example.

The critical path is the longest chain of dependent tasks in a project: it sets the earliest possible finish date. If a task on it slips by a day, the whole project slips by a day; tasks off the path have float and can move a little without consequence.

Knowing it tells you where to put your effort when the deadline is tight. Here is how to calculate it by hand, then read it on a Gantt chart.

The vocabulary in 30 seconds

  • Predecessor: a task that must finish before another can start.
  • Early start / early finish: the soonest a task can start and finish, given its predecessors.
  • Late start / late finish: the latest it can start and finish without delaying the project.
  • Total float: the gap between the two. A task with zero float is critical.
  • Free float: how much a task can slip without delaying the next task.

Example: rolling out a new tool in a company

TaskDuration (days)Predecessors
A · Scoping3–
B · Design5A
C · Purchasing4A
D · Build8B
E · Installation3C
F · Testing4D, E
G · Team training2E
H · Go-live1F, G

Calculate it in 3 steps

  1. Forward pass: early dates. Start at zero and move forward. A task starts when all its predecessors are done, so take the latest. F waits for D (finishes on day 16) and E (day 10), so F starts on day 16.
  2. Backward pass: late dates. Start from the project end (day 21) and move back. A task must finish before the earliest of its successors starts. E must finish before F (16) and G (18), so by day 16.
  3. Calculate float. Total float = late start − early start. Tasks with zero float are critical.
TaskEarly (start → finish)Late (start → finish)Total floatFree float
A0 → 30 → 300
B3 → 83 → 800
C3 → 79 → 1360
D8 → 168 → 1600
E7 → 1013 → 1660
F16 → 2016 → 2000
G10 → 1218 → 2088
H20 → 2120 → 2100

Days are counted from the project start. The critical path is A → B → D → F → H: 3 + 5 + 8 + 4 + 1 = 21 days. Purchasing and installation have 6 days of float, training has 8. Note that C has 6 days of total float but no free float: a delay on purchasing pushes installation, but not the end of the project, as long as it stays under 6 days.

Reading it on a Gantt chart

On a Gantt chart, the critical path is the chain of bars linked end to end, with no gap, up to the last milestone. Non-critical tasks leave a gap before their successor: that gap is their float, visible at a glance. Drag “D · Build” to the right in the mini Gantt below and watch go-live move:

Watch the critical path moveFree, no signup. Drag “Build” to the right: go-live moves too.
Make your Gantt chart

PERT vs Gantt

PERT networkGantt chart
ShapeNodes linked by arrowsBars on a calendar
Used toCalculate dates, float and critical tasksPlan, track and share dates
DurationsOften estimated with 3 valuesOne duration per task
Readable by a clientRarelyYes, at a glance

PERT often estimates each duration with three values, optimistic (O), most likely (M) and pessimistic (P), combined as (O + 4M + P) / 6. A task estimated at 4, 6 and 14 days counts as 7. In practice, you calculate with PERT logic and present with a Gantt chart; modern tools do both, PERT dependencies becoming arrows between bars.

How to shorten a project

  • Work on critical tasks, and only those. Speeding up purchasing (6 days of float) gains nothing.
  • Overlap tasks (fast-tracking): start testing on the first finished part of the build.
  • Add people to a critical task (crashing), if the work can be split.
  • Cut the scope of version 1.

Careful: when you speed up these tasks, another chain can become critical. Recalculate after each change, or let a tool do it. To plan a project, start from the project timeline template or the Excel Gantt chart templates; agile teams can read how to use a Gantt chart in agile.

For the bigger picture, see how Gantt charts are used in project management.

Questions

What is the critical path in a Gantt chart?

The longest chain of dependent tasks. Any delay on one of them delays the end of the project.

How do you find the critical path?

Calculate early dates with a forward pass and late dates with a backward pass. Tasks with zero total float form the critical path.

Can there be more than one critical path?

Yes, when two chains of tasks have exactly the same total duration. The project is then more fragile.

What is the difference between total float and free float?

Total float is how much a task can slip without delaying the project. Free float is how much it can slip without delaying the next task.

PERT or Gantt: which should I use?

Both: PERT to calculate dates and float, the Gantt chart to plan day to day and share the schedule.