← Back to blog
How-to

How to Create a Gantt Chart: A Practical Step-by-Step Guide

Published 29 September 2026

A Gantt chart is one of the simplest ways to turn a list of project tasks into an actual plan.

The short answer: a Gantt chart shows each task as a bar on a timeline. To make one, list the tasks, give each one a duration, link the tasks that depend on each other, mark the milestones, and then read the chart to see when the work happens and what drives the finish date. In Gantto the tasks are linked, so when something upstream moves, the dates that depend on it move too.

Instead of looking at a spreadsheet full of dates, you can see when work starts and finishes, which tasks overlap, what depends on what, and where delays are likely to cause problems.

But a useful Gantt chart isn't just a collection of coloured bars.

Here's how to build one properly.

1. Start with the work, not the dates

It's tempting to start a project plan by immediately assigning dates to everything.

Don't.

First, work out what actually needs to happen.

Break the project into its main phases, then break those phases into manageable tasks.

For a simple website launch, for example, you might start with:

You can then break those down further.

Design

This creates a Work Breakdown Structure (WBS): essentially a hierarchy showing how the project is organised.

For larger projects, grouping work into parent tasks and subtasks also makes the plan much easier to navigate.

2. Add realistic durations

Once you know what needs to happen, estimate how long each task should take.

Try not to confuse duration with effort.

A task might require eight hours of someone's time but take five working days to complete because they are also working on other things.

Your Gantt chart should represent when the work is expected to happen, not simply the number of hours involved.

At this stage, don't worry about getting every date perfect. The relationships between tasks are often more important.

3. Connect tasks with dependencies

Dependencies are where a task cannot start, or finish, until something else happens.

For example:

Create wireframes → Approve wireframes → Produce visual designs

If wireframe approval is delayed, the design work should move accordingly.

The most common dependency is Finish-to-Start (FS): Task B cannot start until Task A finishes.

But there are four standard dependency types:

You can also add lag where there needs to be a gap between two activities.

For example, if paint needs two days to dry before the next task starts, that's a two-day lag rather than another project task.

Getting dependencies right is one of the most important parts of building a useful project plan.

4. Add milestones

Some things in a project aren't really tasks.

They're events.

A product launch, contract approval, go-live decision or regulatory deadline doesn't necessarily take several days to complete. It represents an important point in the plan.

That's what milestones are for.

On a Gantt chart they're normally shown as diamonds rather than bars.

Useful milestones might include:

Avoid turning every minor event into a milestone. They work best when they highlight genuinely significant points in the project.

5. Assign people to the work

Once the structure of the plan makes sense, start thinking about who will actually do it.

Assigning people to tasks can expose problems that aren't obvious from the timeline alone.

You might discover that one developer is expected to work on four things simultaneously, while another has very little allocated.

That's why resource planning matters.

A schedule can be logically possible and still be impossible for the team delivering it.

Looking at workload and allocation alongside your schedule can help identify those problems before they affect delivery.

6. Look for the critical path

Not every late task makes the project late.

That's an important distinction.

Some tasks have flexibility. They can move by a few days without affecting the overall delivery date.

Others don't.

The sequence of tasks that determines the earliest possible completion date for the project is known as the critical path.

If a task on that path moves by three days, your project completion date may move by three days too.

Understanding which tasks actually drive the finish date helps you focus attention where it matters rather than treating every task as equally urgent.

7. Save a baseline

Once the plan has been agreed, save a snapshot of it.

This is your baseline.

As the project progresses, reality will inevitably start to differ from the original plan.

Tasks will finish early. Others will run late. Requirements will change. Dependencies will move.

Without a baseline, it's surprisingly difficult to answer a basic question:

Are we ahead or behind the plan we originally agreed?

Comparing your current schedule with the baseline lets you see how much the project has moved rather than constantly replacing yesterday's plan with today's.

8. Keep the plan alive

A Gantt chart shouldn't be something you create at the start of a project and then forget about.

Update it.

Record progress. Change dates when reality changes. Add newly discovered work. Review dependencies. Check resource allocation.

The goal isn't to make the original plan look correct.

The goal is to make the current plan useful.

A smaller plan that's updated regularly is far more valuable than a beautifully detailed 500-line schedule nobody trusts.

Start simple

Your first Gantt chart doesn't need hundreds of tasks.

Start with the major phases.

Break those into the tasks you actually need to manage.

Connect the important dependencies.

Add the milestones that matter.

Then refine the plan as you learn more.

That's really the point of a Gantt chart: not to predict the future perfectly, but to make the consequences of change visible when the future inevitably turns out differently.

If you want to go further, How to Create a Project Plan builds a full office relocation plan step by step, What Happens to Your Schedule When One Task Slips shows how dependencies reschedule a plan, and Project Timeline vs Gantt Chart explains when a simpler timeline is enough.

Building your first Gantt chart in Gantto

If you want to put this into practice, you can build your first project plan in Gantto.

Gantto is a lightweight Gantt chart and project planning tool that runs locally in your browser. There's no account required and your project data doesn't need to be uploaded to a server.

You can create tasks and subtasks, build dependencies, add milestones, assign people, move work directly on the timeline and save the resulting project as a file you control.

A small worked example

Here is a small website launch, like the one in step 1, written the way you would enter it in Gantto. The numbers in the first column are the row numbers in the task list, and the Predecessor column refers to them.

RowTaskDuration (working days)PredecessorMilestone
1Agree pages and content3
2Create wireframes41
3Review wireframes22
4Write page copy51
5Produce visual designs53
6Build the site84, 5
7Test and fix36
8Site live07Yes

Durations are counted in working days, and the example uses Monday to Friday, which is what a new plan in Gantto starts with. A row number on its own means Finish-to-Start, so 4, 5 means Build the site starts once both Write page copy and Produce visual designs have finished. You can also add a type and a lead or lag in whole days, such as 3SS+2 or 4FF-1.

Start the plan on Monday 2 November 2026 and Gantto schedules the rest: Agree pages and content runs from 2 to 4 November, Build the site waits for the later of its two predecessors and runs from Friday 20 November to Tuesday 1 December, Test and fix runs from 2 to 4 December, and the Site live milestone lands on Monday 7 December.

Drawing bars versus scheduling

You can make a Gantt chart by drawing bars and typing a date on each one. It looks fine until something changes, and then every date has to be moved by hand.

Gantto works the other way round. You give it the order of the work and how long each task takes, and the dates follow. A task with a predecessor starts as soon as the predecessor allows: the link sets the earliest possible start, not a fixed date.

You can still choose a later start. Type a later Start date, or drag the bar to the right, and it stays there. Gantto holds it with a Start No Earlier Than constraint, which you can see and clear in the task's Constraint field. If you type or drag a start earlier than the link allows, Gantto asks first: Cancel puts the task back where it was, and Proceed anyway holds it at your date with a Must Start On constraint and shows the link as broken.

Links are made by typing in the Predecessors field of the task's edit panel (right-click a task and choose Edit Task). There is no drag-to-link on the chart, so type the row number of the task it waits for.

If the dates look wrong

A date is not where you typed it. Something else is deciding it: a predecessor, a constraint, or progress, because Gantto doesn't move a task that has started or is complete. Gantto usually shows a short "Kept at" message saying why, and the edit panel shows a "Driven by" or "Held by" line under Predecessors. Change or remove the predecessor, or set Constraint back to None. A task you moved later keeps its Start No Earlier Than constraint, so it will not come back earlier when its predecessor does until you set Constraint to None.

Weekends or days off are not what you expect. Durations count working days only. A new plan counts Monday to Friday, but the sample plan and some older plans count all seven days. The working days label in the header shows which days count; click it, or open Settings > Working Days, to change the days and add non-working dates such as public holidays. Tasks keep their length in working days and move off the days you turn off.

A task is not moving with the one before it. Open it and check the Predecessors field. If it is empty, the task is not linked and stays where it is. Each entry is a row number, optionally followed by a type and a lag, with commas between entries, such as 3, 5FS or 3SS+2. A space inside an entry, such as 3 FS, is not accepted: Gantto names the entry it could not read and saves nothing.

Save the plan and open it again

Use File > Save Plan to save your plan as a .json file on your computer. To carry on later, open Gantto, choose File > Load Plan and pick that file.

The free version is enough to start building and managing a project plan.

Creating a plan, linking tasks, adding milestones, editing tasks and saving the file are all free. Critical Path Analysis, which highlights the tasks that drive the finish date, is part of Gantto Solo.

If your project is a common one, there are also ready-made paid project templates with the tasks, durations and links already set up, which you can open in Gantto and adapt.

If you want help with a particular feature, the Gantto User Guide walks through everything from creating your first task through to dependencies, resources, baselines, critical path, importing Microsoft Project files and sharing your plan.

Ready to try it?

Download Gantto and build your plan →

Written by Simon, the developer building Gantto in the UK.
Microsoft Project is a trademark of Microsoft Corporation. Gantto is an independent tool and is not affiliated with or endorsed by Microsoft.