VanillaPM
Sign in Get started free Dashboard
Free calculator

Critical path and float calculator

A free critical path method (CPM) calculator. Enter activities, durations and predecessors to get early and late start and finish, total float and the critical path, with leads, lags and SS / FF / SF links.

IDActivityDaysPredecessors

Predecessors: IDs separated by commas, finish-to-start by default. Add a lag with + or a lead with − (A+2), or another link type (B SS, C FF+1).

The links go round in a circle. An activity can't depend on itself, directly or through others.

Project lengthdays
Critical pathzero float: any slip moves the finish
IDActivityDaysESEFLSLFFloat
Forward pass: ES = latest EF of its predecessors; EF = ES + days
Day 0 is the project start; an activity runs from ES up to (not including) EF.
Backward pass: LF = earliest LS of its successors; LS = LF − days
Activities with no successor finish at the project end.
Float = LS − ES
How many days it can slip without moving the finish. Zero = critical.
Download as Excel (.xlsx) The spreadsheet has live formulas: change the yellow cells and it recalculates.

What the critical path is

The critical path is the longest chain of dependent activities through the project. Its length is the shortest time the project can take, and every activity on it has zero float: if one slips by a day, the finish slips by a day.

How it's worked out

  • Forward pass: each activity's early start (ES) is the latest early finish of its predecessors; its early finish (EF) is ES + duration. The largest EF is the project length.
  • Backward pass: starting from the end, each activity's late finish (LF) is the earliest late start of its successors; its late start (LS) is LF − duration.
  • Total float = LS − ES. Zero means critical.

This calculator counts day 0 as the start, so an activity of 3 days that starts on day 0 finishes at day 3, and its successor can start on day 3. Some textbooks start at day 1 instead; the float and the critical path come out the same.

Link types, leads and lags

Write predecessors as IDs separated by commas. Finish-to-start is the default. Add a lag with + (A+2: start two days after A finishes) or a lead with − (A-1). For other link types write the type after the ID: B SS (start when B starts), C FF+1, D SF.

The spreadsheet download handles finish-to-start links without lags, which covers most small networks. List each activity below its predecessors.

Common mistakes

  • Missing a dependency: the path looks shorter than it is.
  • Treating float as spare time for anyone to use. Float is shared along a chain; use it once.
  • Forgetting that the critical path can change as work progresses. Recalculate after each update.

See it used on a real project: Pr8 · Plan and manage schedule