critical path method calculator

Interactive CPM Calculator

Enter each activity, its duration, and predecessor activity IDs (comma-separated). Then click Calculate Critical Path to get ES, EF, LS, LF, slack, project duration, and critical path(s).

Activity ID Duration Predecessors Action

Tip: Activity IDs are matched case-insensitively and converted to uppercase.

What Is the Critical Path Method (CPM)?

The Critical Path Method is a project scheduling technique used to find the longest chain of dependent tasks in a project network. That longest chain determines the minimum completion time for the entire project. If any task on that chain slips, the full project slips too.

CPM helps teams answer practical planning questions: How long will the project take? Which tasks must stay on schedule? Which activities have flexibility (float/slack) and which do not?

How This CPM Calculator Works

1) Forward pass

The calculator first computes:

  • ES (Early Start): earliest time an activity can begin.
  • EF (Early Finish): ES + duration.

For activities with multiple predecessors, ES is the maximum EF among those predecessors.

2) Backward pass

Next, it computes:

  • LF (Late Finish): latest time an activity can finish without delaying the project.
  • LS (Late Start): LF - duration.

For activities with multiple successors, LF is the minimum LS among those successors.

3) Slack and critical activities

Slack is calculated as LS - ES. Activities with zero slack are critical. A connected sequence of critical activities forms a critical path.

How to Use the Tool

  • Add one row per activity.
  • Use short IDs like A, B, C or A1, A2, A3.
  • Enter numeric durations (whole numbers or decimals).
  • Enter predecessors separated by commas (example: A,B).
  • Click Calculate Critical Path.

The results table highlights critical activities and gives a full timing breakdown for each task.

Interpretation Tips for Project Managers

Focus on zero-slack tasks first

These tasks are schedule-sensitive. Any delay here directly affects total project duration unless you recover time later.

Use positive slack strategically

Non-critical tasks may be shifted within slack limits to rebalance labor, equipment, or budget pressure.

Recalculate after scope changes

When a duration estimate changes or dependencies are updated, the critical path can shift. Re-run CPM after each major planning update.

Common CPM Input Errors

  • Unknown predecessor IDs (referencing a task that does not exist).
  • Circular dependencies (A depends on B while B depends on A, directly or indirectly).
  • Duplicate activity IDs which create ambiguity.
  • Negative durations which are not valid for standard CPM schedules.

CPM vs. PERT

CPM typically uses fixed activity durations, while PERT uses probabilistic estimates (optimistic, most likely, pessimistic). If your project has highly uncertain durations, PERT-style analysis may provide better risk visibility. For deterministic planning and resource coordination, CPM is often sufficient and easy to communicate.

Final Thought

A good schedule is not just a list of dates; it is a dependency-aware model of execution. Use this calculator to quickly test scenarios, identify bottlenecks, and protect delivery timelines with confidence.

🔗 Related Calculators