How to Compute a Gantt Chart: 6 Steps and a Worked Example
A Gantt chart becomes unreliable when task durations, dependencies, and dates do not agree. A single missed dependency can make a project look finished days before the team can actually deliver.
But here's the truth: you can compute a useful schedule with a few repeatable steps. List the work, estimate durations, map dependencies, calculate start and finish dates, then check the critical path. Here's a small worked example you can follow, including parallel tasks and a one-day buffer. You’ll see how the calculations become a timeline, what to do when dates shift, and how to keep the chart realistic. You do not need specialized software to do the math; a clear task list and consistent calendar rules are enough to get started.
How to compute a Gantt chart in 6 steps
To compute a Gantt chart, define the project tasks, estimate each duration, connect dependent tasks, calculate their earliest start and finish dates, and draw each task as a bar across a calendar. Then check the schedule for conflicts and identify the tasks that control the finish date.
Define the deliverable and break it into tasks. Start with a specific result, such as launching a customer portal. Divide it into work that can be estimated and tracked, like requirements, design, development, testing, and release.
Estimate each task’s duration. Choose one consistent unit, such as working days. Estimate the time needed to complete the work, not the time until someone next checks on it. Include reasonable review or approval time when it affects completion.
Map dependencies. Record which tasks must finish before others can begin. If two tasks can happen at the same time, give them the same eligible start point rather than placing them in a single sequence.
Calculate the earliest start and finish. For a task without predecessors, its earliest start is the project start. For a dependent task, use the latest finish among its predecessors, then add its duration.
With elapsed-time values, use
EF = ES + duration, where ES is earliest start and EF is earliest finish. If you label calendar days starting at Day 1, the inclusive finish day isstart day + duration - 1.Set the project end date and identify the critical path. The longest dependency path determines the earliest possible project finish. Tasks on that path have no scheduling flexibility unless you change the plan, shorten their duration, or alter dependencies.
Draw and review the bars. Place each task across its scheduled start and finish dates. Check that the chart uses the right calendar, shows parallel work clearly, and reflects constraints such as holidays, approvals, and team availability.
Let me explain: the calculations depend on task relationships, not just a list of durations. A two-day task can start later than another two-day task if it has more predecessors.
A worked example with six project tasks
Suppose you are planning a small customer portal release. The team estimates six tasks in working days and begins on Day 1. The environment can be prepared while the design is underway.
| Task | Duration | Must follow | Start | Finish |
|---|---|---|---|---|
| A: Define requirements | 2 days | None | Day 1 | Day 2 |
| B: Design the portal | 3 days | A | Day 3 | Day 5 |
| C: Prepare the environment | 2 days | A | Day 3 | Day 4 |
| D: Build the portal | 5 days | B and C | Day 6 | Day 10 |
| E: Test the portal | 2 days | D | Day 11 | Day 12 |
| F: Release the portal | 1 day | E | Day 13 | Day 13 |
Task A takes two days, so the two tasks that depend on it can begin on Day 3. Design finishes on Day 5, while environment preparation finishes on Day 4. Since building requires both, it starts after the later finish: Day 6.
Testing follows the five-day build, so it runs on Days 11 and 12. The one-day release follows testing on Day 13. The estimate is therefore 13 working days from the project start, assuming no holidays or scheduling constraints.
You might be wondering: why does environment preparation finish a day early? That is useful flexibility. It does not delay the build as long as it finishes before the design task.
How dependencies and the critical path change the calculation
A dependency sets the order of work. For example, a team cannot test a finished portal before development is complete. Treating that relationship as optional would produce an end date the team cannot meet.
In the example, there are two paths through the work. Requirements, design, build, testing, and release take 13 days. Requirements, environment preparation, build, testing, and release take 12 days.
The longer route is the critical path: A → B → D → E → F. If design takes one extra day, the release also moves one day later unless the team changes another part of the schedule. Environment preparation has one day of float because it can slip from Day 4 to Day 5 without moving the build.
Here's why: the critical path shows where a delay matters most to the final date. It does not mean every other task is unimportant; it shows which tasks currently have room to move.
Turn the computed dates into readable Gantt bars
A Gantt chart places tasks down one side and time across the other. Each bar begins on the task’s start date and ends on its finish date. A simple text view of the example might look like this:
| Task | Days 1–2 | Days 3–5 | Days 6–10 | Days 11–12 | Day 13 |
|---|---|---|---|---|---|
| A: Requirements | ■ | ||||
| B: Design | ■ | ||||
| C: Environment | ■ | ||||
| D: Build | ■ | ||||
| E: Test | ■ | ||||
| F: Release | ■ |
The grouped columns make the schedule easy to scan, although a detailed chart would show individual days. Design and environment preparation overlap, while building waits until both are complete.
For a real plan, use dates rather than day numbers once the team agrees on a start date. Mark weekends and holidays according to the project calendar. If a three-day task starts on Friday, its finish date depends on whether the team works weekends.
Check the schedule before you share it
Review the chart with the people doing the work. A task estimated at three days may actually require three uninterrupted workdays, or it may span a week because an approval is pending. Those are different scheduling assumptions.
Confirm task scope. Check that each bar represents work with a clear completion point. “Build portal” may need separate tasks for interface, integration, and review if different people handle them.
Check calendars and capacity. Account for planned leave, shared specialists, nonworking days, and other commitments. Two tasks can overlap on the chart but still compete for the same person.
Review estimates and dependencies with the team. Ask what must be ready before each task starts. An overlooked security approval, for example, can create a gap between testing and release.
Update actual progress. When work finishes early or late, recalculate dependent dates. Keep the original target visible if you need to explain how the schedule changed.
The best part? A Gantt chart is useful even when the first estimate changes. Updating it gives you a clearer view of the effect on upcoming work and the final date.
Managing computed schedules with ONES.com
ONES.com combines project management and knowledge management in one platform powered by ONES Assistant. ONES Project handles project planning, while ONES Wiki supports shared team knowledge; they are sold separately.

For Gantt planning, a team can use ONES Project to coordinate tasks, workflows, and reporting around a calculated schedule. It is a Jira alternative for teams that want Jira-compatible workflows, built-in reporting, and options for self-hosted deployment.
Core capabilities for schedule planning
Scattered task tracking → ONES Project project management → Keep related work organized in project plans, so the schedule and task ownership are easier to review together.
Changing approval steps → Custom workflows → Adapt task stages to the way your team reviews, approves, and completes work.
Inconsistent task details → Custom fields → Capture details such as estimates, owners, or milestones in fields that match your planning process.
Unclear sprint commitments → Sprint management → Plan and track sprint work alongside the wider project schedule.
Manual repeated actions → Automation → Automate routine workflow actions, reducing repetitive coordination as work moves between stages.
Limited progress visibility → Built-in reporting → Review project progress using reporting included in the platform, rather than relying only on status updates.
Extra plugin dependency → Jira-compatible workflows and native capabilities → Support familiar workflow patterns while reducing reliance on additional plugins for common project needs.
Restricted hosting requirements → Cloud and self-hosted deployments → Choose Cloud, On-Premise, Private Cloud, or Air-gapped deployment. The self-hosted version has feature parity with Cloud.
Where it can fit
Example one: a software team. A team could plan design, development, testing, and release work in ONES Project, using sprint management for near-term commitments and project reporting for wider progress. Jira-compatible workflows can help teams preserve familiar work patterns.
Example two: a team with strict hosting requirements. A company that cannot use a public cloud deployment can consider On-Premise, Private Cloud, or Air-gapped deployment. That gives the team a deployment choice while retaining feature parity with Cloud.
ONES.com offers a free plan for up to 30 seats. If your team also needs shared project knowledge, ONES Wiki provides knowledge-management capabilities, with product selection depending on the team’s needs.
Common challenges when computing a Gantt chart
Estimates feel too optimistic
Problem: Teams often estimate uninterrupted work time and overlook review cycles, waiting, or competing responsibilities. The bars look tidy, but the actual dates drift.
Solution: Ask the people doing the work to review each estimate. Include known review periods and distinguish active work duration from waiting time when that difference affects the schedule.
Dependencies are missing
Problem: A task may appear ready to start because its predecessor is complete, while another required approval or deliverable remains unfinished.
Solution: For every task, ask what must be true before work begins. Add each genuine dependency, then recalculate the start date using the latest predecessor finish.
Several tasks rely on one person
Problem: The schedule may show parallel work that one specialist cannot complete at the same time. This can create an unrealistic overlap.
Solution: Check the assigned people across overlapping tasks. Sequence the work or adjust dates when the same person has conflicting commitments.
Small delays disrupt the finish date
Problem: A one-day slip on a critical-path task can shift the project end, even when other tasks remain on schedule.
Solution: Track critical-path work closely and review the downstream dates when it changes. Consider shortening or resequencing work only after confirming that the change is feasible.
FAQs about computing Gantt charts
What is the formula for calculating a Gantt chart schedule?
For a task with predecessors, set its earliest start to the day after the latest predecessor finish when using inclusive calendar labels. Add the task duration to calculate its finish, accounting for the inclusive start day. In elapsed-time notation, the relationship is EF = ES + duration. The project’s earliest finish is determined by its longest dependency path.
How do you calculate a task’s start date when it has multiple predecessors?
Find the finish date of every predecessor and use the latest one. The task can begin only after all required predecessors are complete. In the example, the build depends on design and environment preparation. Design finishes on Day 5, later than the environment task, so the build starts on Day 6.
How do you account for weekends and holidays?
Decide which days count as working days before calculating dates. If a task takes three working days and starts on Friday, the finish date depends on the team’s calendar. Excluding weekends, it would finish on Tuesday, assuming no holiday. Use the same calendar rule across all tasks so the schedule remains consistent.
What does float mean in a Gantt chart?
Float is the amount of time a task can move without delaying a dependent milestone or the project finish. In the example, environment preparation has one day of float because it finishes before the later design task. A task on the critical path has no float under the current schedule, so a delay can affect the final date.
Can a Gantt chart include tasks that happen at the same time?
Yes. Tasks that do not depend on each other can overlap when the team has enough capacity. In the example, portal design and environment preparation both begin on Day 3. Their overlap shortens the schedule compared with performing them one after another, while the build still waits for both tasks to finish.
Conclusion
To compute a Gantt chart, define the tasks, estimate their durations, connect dependencies, calculate start and finish dates, and draw the schedule. Then identify the critical path and check the plan against real calendars and team capacity.
A chart built on missing dependencies or unrealistic estimates can create a false sense of certainty. Review the assumptions with the team, update dates when work changes, and use float to understand where the schedule has room to move. That gives you a practical timeline you can explain, adjust, and use to guide the project.