Practiva Project Management
Pricing

Critical path calculator

List your tasks with durations and predecessors, and the calculator returns the project duration, the critical path and the float of every task.

Updated 29 November 2026

Tasks

Row numbers, separated by commas

Predecessors are the row numbers shown in the first column. Each dependency is finish to start, with no lag. If you remove a row, check the predecessors of the rows below it.

Project duration (days)
Critical tasks
#TaskDaysESEFLSLFFloatCritical

ES and EF are the earliest start and finish, LS and LF the latest start and finish, counted in days from the project start. Float is the time a task can slip without delaying the project.

Everything is calculated in your browser. Nothing is sent anywhere.

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.

Questions and answers

What does the calculator need from me?

A list of tasks, each with a name, a duration in whole days and the numbers of the tasks that must finish first. A duration of 0 makes a milestone.

Which dependencies does it support?

Finish-to-start only, with no lag. A task starts when all its predecessors have finished.

What happens if there are two critical paths?

When two chains have the same length, both have zero float and the summary lists each of them.

What errors does it report?

A predecessor number that does not exist, a task that depends on itself and a circular dependency. Each is shown as a plain message.

How is day numbering defined?

A task with no predecessors has ES 0, and its EF is its duration. A successor's ES is the largest EF among its predecessors. The project ends at the largest EF.