← Industrial & Systems Engineering Studio
Critical path, slack & project duration

CPM / PERT Critical Path Calculator

Enter your project activities, their durations and predecessor links. The calculator runs a forward and backward pass to compute earliest/latest start and finish times, slack for every activity, the critical path, and total project duration. Switch to PERT mode to enter optimistic / most-likely / pessimistic estimates and get the expected duration plus project variance and standard deviation along the critical path.

IDNameOpt (a)Likely (m)Pess (b)Predecessors
Project Duration
19.83
time units (length of critical path)
Critical Path
A β†’ B β†’ D β†’ E
zero-slack activities that drive the schedule
Project Variance (σ²)
3.306
sum of variances on critical path
Project Std Dev (Οƒ)
1.818
√variance β€” schedule uncertainty
Activityteσ²ESEFLSLFSlackCritical
ARequirements30.11103030● yes
BDesign5.170.69438.1738.170● yes
CProcurement40.444374.178.171.17no
DBuild8.52.258.1716.678.1716.670● yes
ETest & Deploy3.170.2516.6719.8316.6719.830● yes

About the CPM / PERT Critical Path Calculator

The Critical Path Method (CPM) and the Program Evaluation and Review Technique (PERT) are the two foundational techniques of project schedule analysis. Given a network of activities and their dependencies, this tool performs a forward pass and a backward pass to find the earliest and latest each activity can start and finish, the slack (float) available to each, the critical path of zero-slack activities that determines the project's minimum duration, and β€” in PERT mode β€” the expected duration and statistical uncertainty of the schedule.

Forward pass, backward pass and slack

Forward pass (earliest times): start at activities with no predecessors at time 0. Each activity's Earliest Start (ES) is the maximum Earliest Finish (EF) of its predecessors; its EF = ES + duration. The largest EF across all activities is the project duration.

Backward pass (latest times): start from the project duration. Each activity's Latest Finish (LF) is the minimum Latest Start (LS) of its successors (or the project duration if it has none); its LS = LF βˆ’ duration.

Slack (total float) = LS βˆ’ ES = LF βˆ’ EF. It is how long an activity can slip without delaying the project. Activities with zero slack lie on the critical path β€” delay any of them and the whole project slips.

PERT three-point estimates

CPM uses a single deterministic duration per activity. PERT acknowledges uncertainty by asking for three estimates: optimistic (a), most likely (m), and pessimistic (b). It models each duration as a Beta distribution and computes the expected duration te = (a + 4m + b) / 6 β€” a weighted average that gives the most-likely value four times the weight of the extremes.

Each activity's variance is ((b βˆ’ a) / 6)Β², on the rule of thumb that the range a-to-b spans roughly six standard deviations. The expected te values are then fed through the same forward/backward pass as CPM to find the critical path.

Project variance and probability of completion

A key PERT result is that the project's schedule variance equals the SUM of the variances of the activities ON the critical path (treating them as independent). The project standard deviation Οƒ is the square root of that sum.

With the expected project duration and Οƒ, you can apply the Central Limit Theorem and a normal approximation to answer questions like "what is the probability of finishing within X days?" using a z-score: z = (target βˆ’ expected) Γ· Οƒ. This is why PERT reports Οƒ β€” it turns a single deadline into a risk statement. Note the standard caveat: a near-critical path with high variance can sometimes become the true bottleneck once randomness is considered.

Reading the results and managing the schedule

The results table highlights critical activities (slack = 0). To shorten the project you must shorten the critical path β€” adding resources to non-critical activities only increases their slack and changes nothing. This is "crashing": compress critical activities, but watch for the path shifting, because once a critical activity is shortened enough, a previously non-critical path can become the new critical path.

Non-critical activities have positive slack β€” schedule flexibility you can exploit to level resources, smooth workload, or absorb minor delays without risking the deadline.

Frequently asked questions

What is the critical path?

The critical path is the longest chain of dependent activities through the project network, and therefore the shortest possible project duration. Every activity on it has zero slack β€” any delay to a critical activity delays the entire project. The calculator identifies it as the set of zero-slack activities found from the forward and backward passes.

What is the difference between CPM and PERT?

CPM uses a single, known duration for each activity and is deterministic β€” ideal when durations are well understood (e.g. construction). PERT uses three estimates (optimistic, most likely, pessimistic) per activity to model uncertainty, computing an expected duration te = (a + 4m + b)/6 and a variance per activity. PERT then reports a project standard deviation so you can assess the probability of meeting a deadline. This tool does both.

What is slack (float)?

Slack, or total float, is the amount of time an activity can be delayed without delaying the project finish. It equals LS βˆ’ ES (equivalently LF βˆ’ EF). Critical activities have zero slack; non-critical activities have positive slack that gives you scheduling flexibility for resource leveling or absorbing minor delays.

How is the PERT expected time calculated?

te = (a + 4m + b) / 6, where a is optimistic, m is most likely, and b is pessimistic. It is a Beta-distribution weighted average that weights the most-likely estimate four times more than the two extremes. Each activity's variance is ((b βˆ’ a) / 6)Β², and the project variance is the sum of variances along the critical path.

Why does adding people to a non-critical task not help?

Because the project duration is set entirely by the critical path. Speeding up an activity that already has slack just increases its slack β€” the project still finishes when the critical path finishes. To shorten the schedule you must compress (crash) critical activities, while watching for the critical path to shift to another chain once you do.

Related tools & guides

Little's Law Calculator β†’Queuing Theory Calculator β†’OEE Calculator β†’Line Balancing Calculator β†’EOQ Calculator β†’Industrial Exam Prep β†’