Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Math & Numbers

Critical Path Method Calculator (CPM)

· Last updated:2026-08-26

Activity-on-node CPM: ES/EF/LS/LF, total float, project duration, and every critical path; cycles and unknown predecessors are rejected.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Math & Numbers
Input types
textarea, number
Output type
text
Sample coverage
4
API ready
Yes

Overview

The Critical Path Method (CPM) Calculator performs forward and backward pass analysis on activity-on-node project networks. It automatically computes Early Start (ES), Early Finish (EF), Late Start (LS), Late Finish (LF), total float, overall project duration, and identifies all critical paths while rejecting circular dependencies and undefined predecessors.

When to use

  • Determining the minimum total duration and bottleneck sequence of activities in a project schedule.
  • Calculating total float (slack) to understand how much non-critical tasks can be delayed without affecting completion dates.
  • Validating project network logic against cyclic loops, duplicate activity names, and missing predecessor definitions.

How it works

  1. 1Enter activity lines containing the activity name, duration, and predecessor names separated by commas (use '-' for initial tasks).
  2. 2Set the desired decimal places for duration and schedule precision.
  3. 3The tool performs a topological sort to validate network dependencies and detects any cyclical dependencies or invalid predecessors.
  4. 4A forward pass calculates ES and EF, followed by a backward pass to determine LS, LF, total float, and all critical paths.

Use cases

  • Operations research coursework and exam problem verification for Activity-on-Node (AON) network scheduling.
  • Construction and engineering schedule optimization to pinpoint zero-float milestone sequences.
  • Software sprint planning to identify task dependencies and calculate workflow buffers.

Examples

1. Standard Sequential Construction Project

Project Planner

Background

A project manager needs to evaluate a six-activity workflow to calculate minimum completion time and task buffers.

Problem

Identify non-critical tasks with available float and determine the primary path determining the 14-day completion timeline.

How to use

Paste the six activity lines into the input area with their respective durations and predecessor dependencies.

A, 4, -
B, 3, A
C, 2, A
D, 5, B
E, 4, C
F, 2, D E

Outcome

Outputs a total project duration of 14, identifies the critical path A→B→D→F, and assigns a float of 2 to activities C and E.

2. Dual Critical Path Schedule Analysis

Operations Analyst

Background

A manufacturing team is planning parallel assembly lines merging into a final testing phase.

Problem

Determine if either parallel branch contains buffer time or if both branches constrain the delivery schedule.

How to use

Input the five activities with dual parallel predecessors merging into the final step.

FAQ

What format should I use to input activities?

Enter each activity on a new line formatted as: activity name, duration, and predecessor names separated by spaces (e.g., 'D, 5, B C' or 'A, 4, -' if none).

What indicates that an activity is on the critical path?

An activity is on the critical path when its total float (slack) equals zero, meaning any delay in that activity directly delays the project completion.

Can the calculator identify multiple critical paths?

Yes, if two or more parallel dependency branches share the same maximum duration, the tool enumerates all critical paths.

How does the calculator handle cyclic dependencies?

The topological sort algorithm detects loops (cycles) in the network graph and rejects the input with an error.

Are non-integer durations supported?

Yes, you can enter decimal values for activity durations and configure the decimal precision output setting.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
File System

Path Analyzer Samples

Comprehensive collection of file system paths from Windows, Linux, and macOS for path analysis and testing

Development

Import Path Examples

Collection of JavaScript and TypeScript import examples demonstrating various import patterns and module systems

Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Math & Numbers

Basic Calculator

Perform basic arithmetic calculations with support for multiple operations

Math & Numbers

Sum Calculator

Calculate sum of numbers with partial sums, cumulative sums, and statistics

Math & Numbers

Venn Diagram Problem Solver (Set Cardinality)

2-set and 3-set inclusion-exclusion solver: every disjoint region, the union, and the outside count, with consistency checks.

Math & Numbers

Active Earth Pressure (Rankine)

Calculate the Rankine active earth pressure on a smooth vertical wall backfilled with cohesionless soil. K_a = tan²(45°−φ/2). Optional uniform surcharge q. Returns the base pressure p₀, the total force P, and the resultant height.

A, 3, -
B, 3, -
C, 2, A
D, 2, B
E, 1, C D

Outcome

Calculates a project duration of 6, showing zero float across all tasks and reporting two simultaneous critical paths: A→C→E and B→D→E.