Calculator · Projects, Operations, Quality & Supply Chain

Critical Path Method (CPM) and Float Calculator

Enter the activities, their durations and predecessors to get the project duration, the critical path and each activity's early and late start and finish and total float.

Inputs

One activity per line. Leave predecessors empty for a first activity. Example: D, 2, B C

The calculation runs only in your browser; your figures are not sent to our servers or stored.

The page shows the result for the example values; turn on JavaScript to calculate with your own figures.

Result

Project duration
10
Critical path
A → C → D → E
Activities
5
Critical activities
4
Activity table
ActivityDurationEarly startEarly finishLate startLate finishTotal floatCritical
A303030Yes
B235572No
C437370Yes
D279790Yes
E19109100Yes

The result updates with every change.

The result is a standard formula; interpreting it and deciding on it need professional judgment in your context.

How the tool works: formula and worked example

When a sponsor asks when the project will finish, adding up the durations is not the answer, because some activities run in parallel and others wait on each other. The project manager also needs to know which tasks cannot slip by a single day, and which have room to spare so their people can help elsewhere for a while. That is the question the critical path method answers, and it sits underneath every professional scheduling package.

The calculator follows the PMBOK Guide, section 6.5.2.2. The forward pass gives each activity an early start equal to the latest early finish among its predecessors, and an early finish by adding its duration; the project duration is the largest early finish. The backward pass works from the end: an activity's late finish is the earliest late start of its successors, and its late start is that late finish minus the duration. Late start minus early start is total float, and every zero-float activity lies on the critical path.

The default example has five activities. A takes 3 days; B (2 days) and C (4 days) both follow A; D (2 days) needs both B and C; E (1 day) follows D. The project takes 10 days and the critical path is A, C, D, E. Activity B can start on day 3 at the earliest, but could start as late as day 5 without moving the end date, so it carries 2 days of float.

Read the float column first. Zero means any delay passes straight through to the finish date, so those activities deserve your best people and a daily check. Positive float is flexibility, but it is shared along a chain: if one activity uses it, the next one on that branch has less. To shorten the project, speeding up a non-critical activity achieves nothing. Compress the critical path instead, and recalculate after each change, because another path may become critical.

Common mistakes include mixing units, such as some durations in days and others in weeks, and leaving out a predecessor so the project looks shorter than it is. The tool assumes finish-to-start links with no lags and no resource limits; if one technician has to handle two parallel activities, the real schedule will be longer than shown. If you get the loop warning, check the codes: an activity has probably been listed as a predecessor of something that comes before it.

Standard and formula

Critical path method of the PMBOK Guide (6th edition, §6.5.2.2): a forward pass for early start (latest early finish of the predecessors) and early finish, and a backward pass for late finish (earliest late start of the successors) and late start. Total float = late start − early start; zero-float activities form the critical path. Finish-to-start links without lags.

Sources

How to use it

  1. List the activities with short codes and durations in one unit (days or weeks).
  2. Enter each activity's predecessors separated by spaces.
  3. Watch the critical activities: any delay to them delays the whole project.

Frequently asked questions

What is the critical path in project management?

It is the longest chain of dependent activities from start to finish. Its activities have no float, so a delay to any of them delays the delivery date by the same amount.

What is the difference between total float and free float?

Total float is how far an activity can slip without delaying the project; free float is how far it can slip without delaying the next activity. The tool shows total float, which is what defines the critical activities.

Can a project have more than one critical path?

Yes, when two or more branches have the same length. All their activities then show zero float, and the project becomes more fragile because a delay on any of those branches moves the end date.

How can I shorten the project duration?

By compressing critical activities only: add resources to them, or overlap some that were sequential. Then recalculate, because another path may become critical.

How do I enter predecessors in the tool?

Type the predecessor codes in the third cell separated by spaces, such as B C, and leave the cell empty for an activity that starts the project.

Domains

Careers this tool serves

Programs that build this skill

Related tools

All tools · Professional encyclopedia