# Critical Path and Float Calculator (CPM)

> Link up to six activities by what must finish first, and get the programme's length, its critical path and the float every other activity has.

Page: https://craftquantities.com/calculators/financial-adjacent/critical-path-float-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.0, sources checked 2026-09-22, 10 published test vectors.

Length of the programme: 17 days for Activity A Duration 5, Activity B Duration 3 and Activity C Duration 6, the page's opening figures. Sources are cited below.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Activity A Duration (days, 0 to leave out) | `durationA` | 5 | 5 | range 0–1000 |
| Activity B Duration (days, 0 to leave out) | `durationB` | 3 | 3 | range 0–1000 |
| Activity B: First Activity It Follows | `preB1` | Activity A | Activity A | `none`, `A` |
| Activity B: Second Activity It Follows | `preB2` | None | None | `none`, `A` |
| Activity C Duration (days, 0 to leave out) | `durationC` | 6 | 6 | range 0–1000 |
| Activity C: First Activity It Follows | `preC1` | Activity A | Activity A | `none`, `A`, `B` |
| Activity C: Second Activity It Follows | `preC2` | None | None | `none`, `A`, `B` |
| Activity D Duration (days, 0 to leave out) | `durationD` | 4 | 4 | range 0–1000 |
| Activity D: First Activity It Follows | `preD1` | Activity B | Activity B | `none`, `A`, `B`, `C` |
| Activity D: Second Activity It Follows | `preD2` | None | None | `none`, `A`, `B`, `C` |
| Activity E Duration (days, 0 to leave out) | `durationE` | 2 | 2 | range 0–1000 |
| Activity E: First Activity It Follows | `preE1` | Activity C | Activity C | `none`, `A`, `B`, `C`, `D` |
| Activity E: Second Activity It Follows | `preE2` | Activity D | Activity D | `none`, `A`, `B`, `C`, `D` |
| Activity F Duration (days, 0 to leave out) | `durationF` | 3 | 3 | range 0–1000 |
| Activity F: First Activity It Follows | `preF1` | Activity E | Activity E | `none`, `A`, `B`, `C`, `D`, `E` |
| Activity F: Second Activity It Follows | `preF2` | None | None | `none`, `A`, `B`, `C`, `D`, `E` |

- **Activity A Duration (days, 0 to leave out)**: How long activity A takes, in working days.
- **Activity B Duration (days, 0 to leave out)**: How long activity B takes, in working days.
- **Activity B: First Activity It Follows**: An activity that must finish before B can start.
- **Activity B: Second Activity It Follows**: An activity that must finish before B can start.
- **Activity C Duration (days, 0 to leave out)**: How long activity C takes, in working days.
- **Activity C: First Activity It Follows**: An activity that must finish before C can start.
- **Activity C: Second Activity It Follows**: An activity that must finish before C can start.
- **Activity D Duration (days, 0 to leave out)**: How long activity D takes, in working days.
- **Activity D: First Activity It Follows**: An activity that must finish before D can start.
- **Activity D: Second Activity It Follows**: An activity that must finish before D can start.
- **Activity E Duration (days, 0 to leave out)**: How long activity E takes, in working days.
- **Activity E: First Activity It Follows**: An activity that must finish before E can start.
- **Activity E: Second Activity It Follows**: An activity that must finish before E can start.
- **Activity F Duration (days, 0 to leave out)**: How long activity F takes, in working days.
- **Activity F: First Activity It Follows**: An activity that must finish before F can start.
- **Activity F: Second Activity It Follows**: An activity that must finish before F can start.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Length of the programme** | 17 days |
| Activity A: total float (early start day 0, late start day 0) | 0 days |
| Activity B: total float (early start day 5, late start day 5) | 0 days |
| Activity C: total float (early start day 5, late start day 6) | 1 day |
| Activity D: total float (early start day 8, late start day 8) | 0 days |
| Activity E: total float (early start day 12, late start day 12) | 0 days |
| Activity F: total float (early start day 14, late start day 14) | 0 days |

### US customary

| Result | Value |
|---|---|
| **Length of the programme** | 17 days |
| Activity A: total float (early start day 0, late start day 0) | 0 days |
| Activity B: total float (early start day 5, late start day 5) | 0 days |
| Activity C: total float (early start day 5, late start day 6) | 1 day |
| Activity D: total float (early start day 8, late start day 8) | 0 days |
| Activity E: total float (early start day 12, late start day 12) | 0 days |
| Activity F: total float (early start day 14, late start day 14) | 0 days |

## How it is worked out

The programme takes 17 working days. The critical activities — zero float, where a day lost is a day on the end — are A, B, D, E, F. The nearest to becoming critical is C, with 1 day of float. Float belongs to the path, not to one activity: using it up on one activity takes it from the others on the same path.

The working the page shows, in order: Activity A: total float (early start day 0, late start day 0); Activity B: total float (early start day 5, late start day 5); Activity C: total float (early start day 5, late start day 6); Activity D: total float (early start day 8, late start day 8); Activity E: total float (early start day 12, late start day 12); Activity F: total float (early start day 14, late start day 14); then length of the programme.

The method, derived in full:

- [Programme Arithmetic: Durations, Float, Calendars and Learning](https://craftquantities.com/methodology/programme-arithmetic/): Why a duration is only as good as its output rate, why the critical path is the longest chain rather than the busiest, why twenty working days is four weeks, and why a repeated task gets faster by doublings.

What this calculation does not cover:

- Finish-to-start links only, with no lags: each activity starts when everything it follows has finished. Overlaps, lead-ins and waiting times need a scheduling program.
- Six activities. Real programmes have hundreds, and this is for checking a small sequence or learning how float is found, not for running a job.
- Durations are in working days and the result is too. The working-days calculator turns it into calendar days.

## Sources

As the calculator cites them (sources checked 2026-09-22):

- The critical path method, Kelley and Walker (1959): a forward pass sets each activity's early start as the latest early finish of the activities it follows, a backward pass sets its late finish as the earliest late start of the activities that follow it, and total float is late start minus early start
- Critical activities are those with zero total float; any delay to one of them delays the end of the programme by the same amount, while an activity with float can slip by up to its float without moving the end

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**What is the critical path?**

The longest chain of linked activities through the programme. Its length is the programme's length, and every activity on it has zero float: a day lost on any of them is a day added to the end. Activities off it can slip by their float without moving the finish — until they use it up, at which point they join the critical path.

**What is total float?**

How far an activity can slip without delaying the end of the programme: its late start minus its early start. It belongs to the path rather than the activity, so two activities in a row sharing four days of float have four days between them, not four each.

**Why are there only six activities, and no lags?**

Because the page is for checking a short sequence and for seeing how float is found, not for running a job. A real programme has hundreds of activities, start-to-start and finish-to-finish links, lags and calendars, and belongs in scheduling software. Six finish-to-start activities are enough to show every idea the method rests on.

**Can two activities start at the same time?**

Yes. Any activity left following nothing starts on day zero, so several can start together. Each activity can follow up to two earlier ones, which is enough to join two paths back together.

## Related calculators

- [Activity Duration and Crew Size Calculator](https://craftquantities.com/calculators/financial-adjacent/activity-duration-crew-size-calculator/)
- [Working Days to Finish Calculator](https://craftquantities.com/calculators/financial-adjacent/working-days-finish-calculator/)
- [Delay Cost and Acceleration Break-Even Calculator](https://craftquantities.com/calculators/financial-adjacent/delay-cost-acceleration-calculator/)
- [Earned Value Management (EVM) Calculator](https://craftquantities.com/calculators/financial-adjacent/earned-value-management-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/critical-path-float-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/critical-path-float-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `critical-path-float-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/critical-path-float-calculator.json

---
Source: https://craftquantities.com/calculators/financial-adjacent/critical-path-float-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
