How to Calculate Slack Time in a Gantt Chart: 5 Fast Steps
Slack time can decide whether a delayed task affects your deadline or disappears inside available flexibility. Yet many Gantt charts make this calculation look harder than it is.
Use the wrong dates, confuse total slack with free slack, or ignore task dependencies, and your schedule can appear safer than it really is. A one-day delay may quickly become a project-wide problem.
But here's the truth: you can calculate slack with a small set of dates and two simple formulas. You only need the task’s early dates, late dates, duration, and dependency relationships.
This guide shows you how to calculate slack time in a Gantt chart in five fast steps. You’ll also see a practical example, common mistakes, and ways to manage schedule flexibility more reliably.
How to Calculate Slack Time in a Gantt Chart
Slack time is the amount of time a task can move later without delaying the project finish date or a dependent task. In a Gantt chart, calculate it by comparing a task’s latest allowable start or finish with its planned start or finish.
The fastest formula is:
Total slack = Late start − Early start
You can also calculate it this way:
Total slack = Late finish − Early finish
Both formulas should produce the same result when your schedule uses consistent dates and durations.
Step 1: List the task duration and dependencies
Start with the task’s planned duration. Then identify which tasks must happen before it and which tasks depend on it.
For example, imagine this small product launch schedule:
| Task | Duration | Dependency |
|---|---|---|
| Write product copy | 3 days | None |
| Design landing page | 4 days | Write product copy |
| Build landing page | 5 days | Design landing page |
| Review and approve | 2 days | Build landing page |
Dependencies matter because slack comes from the entire network. A task may appear flexible on its own, yet still sit on the critical path.
Step 2: Calculate the early start and early finish
The early start is the soonest a task can begin. The early finish is the soonest it can end.
Use this formula:
Early finish = Early start + task duration
Suppose “Write product copy” starts on Day 1 and lasts three days. Its early finish is Day 4 if your schedule treats Day 1 as the starting point and uses elapsed-day calculations.
For the next task, “Design landing page,” the early start depends on the copy task finishing. With a finish-to-start dependency, design begins after the copy work completes.
Continue through the schedule until you reach the final task. This forward calculation shows the earliest possible project completion.
Step 3: Calculate the late finish and late start
Now work backward from the required project completion date. The late finish is the latest a task can end without delaying the schedule.
Use this formula:
Late start = Late finish − task duration
For the final task, the late finish usually matches the required project finish. For earlier tasks, the late finish is determined by the latest allowable start of the task that follows.
For example, if approval must finish by Day 14 and takes two days, its latest start is Day 12. If page building must finish before approval starts, its late finish is Day 12.
Step 4: Subtract the early date from the late date
Calculate slack using either the start dates or the finish dates:
Total slack = Late start − Early start
Here is a simple schedule example:
| Task | Early start | Late start | Total slack |
|---|---|---|---|
| Write product copy | Day 1 | Day 1 | 0 days |
| Design landing page | Day 4 | Day 4 | 0 days |
| Build landing page | Day 8 | Day 9 | 1 day |
| Review and approve | Day 13 | Day 13 | 0 days |
The build task has one day of total slack. It can start one day later without changing the final completion date.
Step 5: Confirm the critical path and free slack
A task with zero total slack usually sits on the critical path. Any delay to that task can delay the project unless you change another schedule condition.
Free slack answers a narrower question: how long can a task move without delaying the early start of its immediate successor?
Use this formula:
Free slack = Successor’s early start − Current task’s early finish
A task can have total slack but little free slack. For example, a task may have two flexible days before the project deadline, while its successor must still begin tomorrow.
That distinction helps you decide whether to move a task freely or check with the next team first.
Total Slack, Free Slack, and Project Float
People often use “slack” and “float” interchangeably. In most project planning contexts, they describe schedule flexibility.
However, the measurement can differ depending on what you compare. Total slack protects the final project date. Free slack protects the next dependent task.
Total slack
Total slack measures the time available before a task affects the required project finish date. It is the most useful figure for deadline risk.
If a task has five days of total slack, you can delay it by up to five days without moving the final deadline. That assumes all other tasks follow the current plan.
Free slack
Free slack measures the delay available before a task affects its immediate successor. It is especially useful when several teams share a handoff.
Imagine a testing task with three days of total slack but zero free slack. Testing can finish later overall, yet any delay affects the next task immediately.
Negative slack
Negative slack means the current schedule cannot meet the required completion date without a change.
For example, a project may show negative two days because the planned work needs two more days than the available calendar allows. You may need to reduce scope, add capacity, overlap tasks, or move the deadline.
A Worked Example Using a Small Project
Let’s calculate slack for a four-task website update. The project must finish by Day 15.
| Task | Duration | Dependency |
|---|---|---|
| Plan content | 2 days | None |
| Create layout | 3 days | Plan content |
| Develop page | 5 days | Create layout |
| Run quality check | 2 days | Develop page |
Forward pass
Start with the earliest possible schedule:
- Plan content starts on Day 1 and finishes on Day 3.
- Create layout starts on Day 3 and finishes on Day 6.
- Develop page starts on Day 6 and finishes on Day 11.
- Run quality check starts on Day 11 and finishes on Day 13.
The project could finish on Day 13, leaving two calendar days before the required Day 15 completion date.
Backward pass
Now calculate the latest allowable dates:
- Quality check must finish by Day 15 and can start as late as Day 13.
- Development must finish by Day 13 and can start as late as Day 8.
- Layout must finish by Day 8 and can start as late as Day 5.
- Planning must finish by Day 5 and can start as late as Day 3.
Compare the early and late starts:
| Task | Early start | Late start | Total slack |
|---|---|---|---|
| Plan content | Day 1 | Day 3 | 2 days |
| Create layout | Day 3 | Day 5 | 2 days |
| Develop page | Day 6 | Day 8 | 2 days |
| Run quality check | Day 11 | Day 13 | 2 days |
Every task has two days of total slack because the work finishes two days before the required deadline.
In a more complex schedule, different dependency branches create different slack values. The branch with zero slack becomes the critical path.
How Gantt Charts Display Slack
A Gantt chart usually represents slack as an unfilled bar, a thin line, or a shaded extension after the planned task bar.
For example, a task bar ending on Friday may have a light extension through Monday. That extension represents available flexibility, assuming the chart’s settings use working days.
Read the chart alongside the schedule logic
A visual gap does not always equal usable slack. Weekends, holidays, resource calendars, and dependency types can change the calculation.
Suppose a task finishes Friday and its successor starts Monday. The apparent weekend gap may add no working-day slack at all.
Check the calendar settings before interpreting the bar. A five-day delay under a seven-day calendar differs from a five-day delay under a Monday-to-Friday calendar.
Watch the dependency type
Finish-to-start relationships are common, but Gantt charts may also support start-to-start, finish-to-finish, and lead or lag time.
A two-day lag after design completion adds waiting time before development begins. That lag changes early and late dates, which changes slack.
When a result looks unusual, inspect the dependency type before changing task durations.
Common Mistakes When Calculating Schedule Slack
Slack calculations are simple when the schedule logic is accurate. Most errors come from inconsistent assumptions rather than difficult mathematics.
Using only task duration
Duration tells you how long work takes. It does not tell you how much flexibility the task has.
A three-day task can have zero slack on one schedule and six days of slack on another. Dependencies and the required finish date create that difference.
Ignoring nonworking days
People sometimes count calendar days while the Gantt chart counts working days. That creates incorrect early and late dates.
Set the working calendar first. Then use the same calendar for every calculation.
Confusing a delayed start with delayed completion
A task may start late and still finish on time if you reduce its duration or overlap work. However, that change can increase risk and affect quality.
Record schedule compression separately from ordinary slack. Otherwise, the chart may appear flexible when the team is actually working under pressure.
Ignoring resource constraints
Mathematical slack assumes the required people and equipment are available. Resource conflicts can consume flexibility quickly.
For example, two tasks may have three days of slack, yet both depend on the same specialist. Moving both tasks may create a bottleneck.
Natural Schedule Slack Solution: ONES.com
ONES.com combines project management and knowledge management in one platform. ONES Project supports Jira-compatible workflows, Gantt planning, sprint management, reporting, automation, custom fields, and custom workflows.

The platform can help you connect schedule calculations with everyday project execution. ONES Project is available separately from ONES Wiki, the knowledge management product and Confluence alternative. You can choose the product that matches your planning needs.
Core Capabilities
- Scattered task planning → Gantt scheduling in ONES Project → You can connect tasks, durations, milestones, and dependencies in one visible timeline.
- Unclear critical path → Dependency relationships and schedule views → You can identify work that has little or no slack before a delay becomes urgent.
- Manual progress updates → Built-in reporting → You can compare planned progress with actual progress and spot schedule drift earlier.
- Rigid project fields → Custom fields → You can track slack, risk level, owner, approval status, or other planning details that fit your process.
- Inconsistent approval steps → Custom workflows → You can define the transitions and checks required before work moves forward.
- Repeated coordination work → Automation → You can trigger routine actions when tasks change status, reach dates, or meet defined conditions.
- Separate sprint and timeline planning → Sprint management plus broader project views → You can connect iteration work with larger delivery milestones.
- Complex Jira migration concerns → Jira-compatible workflows → You can preserve familiar planning patterns while evaluating a Jira alternative.
- Deployment restrictions → Cloud, on-premise, private cloud, or air-gapped deployment → You can select an environment that matches your security and operational requirements.
Application Scenarios
Software release planning: A release manager can map development, testing, approval, and deployment dependencies. Tasks with zero slack receive closer monitoring, while flexible work can move around urgent defects.
Marketing campaign delivery: A campaign team can connect copy, design, review, legal approval, and publication. Custom fields can show approval risk and planned slack beside each activity.
Restricted-network project management: An engineering team with strict deployment requirements can use an on-premise or air-gapped environment. ONES.com offers full feature parity between cloud and self-hosted versions, helping teams keep a consistent planning experience.
Common Challenges and Practical Solutions
Challenge: The chart shows different slack values than your calculation
Solution: Check working calendars, time zones, task constraints, lag, and dependency types. One different setting can shift every early and late date.
Challenge: Every task appears to have zero slack
Solution: Review whether the project has an artificially tight deadline or excessive finish-date constraints. Remove unnecessary restrictions and recalculate the schedule.
Challenge: Slack disappears after a small change
Solution: Look for a newly extended task or a changed dependency. Slack is a calculation, so it can shrink when the critical path changes.
Challenge: Teams treat slack as spare time
Solution: Explain that slack is schedule protection, not permission to delay work automatically. Use it for prioritization, capacity balancing, and controlled change.
Challenge: Free slack and total slack cause confusion
Solution: Label both measures clearly. Use total slack for deadline risk and free slack for handoff risk between connected tasks.
FAQs
What does zero slack mean in a Gantt chart?
Zero slack means a task has no scheduling flexibility under the current plan. If it starts or finishes late, the project finish date may also move. Such tasks usually sit on the critical path. Review them frequently, confirm their dependencies, and make sure assigned resources can complete the work as planned.
Can a task have negative slack?
Yes. Negative slack means the planned schedule cannot meet the required completion date without a change. You may need to shorten work, add capacity, overlap activities, remove scope, or negotiate a later deadline. Treat negative slack as a warning that the current plan needs intervention.
What is the difference between slack and float?
In many project management settings, slack and float describe the same idea: available schedule flexibility. Some planning systems use the terms differently, especially when comparing total float with free float. Check the definitions used by your Gantt chart and apply the same terminology consistently.
Does slack include weekends and holidays?
It depends on the calendar settings. A Gantt chart may count calendar days, working days, holidays, or resource-specific availability. Always confirm the project calendar before calculating slack. A weekend gap may look like flexibility while providing no additional working time for the assigned team.
Can slack change during a project?
Yes. Slack changes when task duration, dependencies, constraints, calendars, resources, or deadlines change. A task with three days of slack today may have one day tomorrow after another activity takes longer. Recalculate the schedule after meaningful changes instead of relying on an old value.
Conclusion
To calculate slack in a Gantt chart, determine early and late dates, then subtract the early start from the late start. You can also compare late and early finish dates.
Use total slack to understand deadline flexibility. Use free slack to protect the next handoff. Check calendars, dependencies, lag, constraints, and resource availability before trusting the result.
But here's the truth: a schedule with visible slack still needs active management. Delays consume flexibility, and several small changes can create a new critical path.
With a connected planning platform such as ONES.com, you can link dependencies, reports, workflows, and milestones in one project environment. That makes schedule flexibility easier to calculate, explain, and manage.