How-to

How to Create a Gantt Chart for Your Project (Step by Step)

Learn how to create a Gantt chart step by step: list tasks, set dates, order work, add milestones and keep the project timeline current — in any tool.

A Gantt chart is the simplest way to see a whole project on one page: every task as a bar on a timeline, from its start date to its deadline. Once you can see the bars, you can see the problems — two big tasks landing on the same person in the same week, a launch date that depends on work nobody has scheduled, a gap where nothing is happening. This guide shows how to create a Gantt chart step by step, using a method that works in a spreadsheet, on paper or in any project management tool.

At the end we show how to do the same thing in CodersRail, where the Gantt chart is a live view of your project rather than a separate document to maintain.

What a Gantt chart is (and is not)

A Gantt chart has two axes. Down the left side is a list of tasks. Across the top is time — days, weeks or months. Each task is drawn as a horizontal bar that starts on its start date and ends on its deadline. Many charts also show milestones (single points in time, like “client sign-off”) and the order in which tasks must happen.

A Gantt chart is a planning and communication tool. It is not a to-do list — it does not tell you what to do this morning — and it is not a guarantee: it shows the plan, and the plan will change. That is fine. The value is in seeing the consequences of a change before they surprise you.

When a Gantt chart helps most

  • Projects with a fixed date — a launch, an event, a client deadline.
  • Work that must happen in order — design before build, build before testing, testing before release.
  • Shared people — when the same designer or developer works across several streams.
  • Client communication — a timeline is the fastest way to show a client what happens when.

If your team mostly handles a steady stream of small, independent requests, a Kanban board is usually a better primary view. Many teams use both: the board for daily work, the Gantt chart for the plan.

How to create a Gantt chart in 7 steps

1. Define the end point

Write down what “done” means and when it must happen. “Launch the new website by 31 March, with the shop, blog and contact form working” is a useful end point; “improve the website” is not. Everything on the chart will work backwards from this.

2. List the work as tasks

Break the project into tasks that are big enough to matter and small enough to estimate — usually between half a day and two weeks of work. Group them into phases if that helps (Discovery, Design, Build, Test, Launch). If a task is longer than two weeks, split it; long bars hide problems.

3. Estimate durations

For each task, estimate how many working days it will take. Ask the person who will do the work, not the person who wants it done. Add a little buffer to tasks with lots of unknowns — new technology, external approvals, first-time work.

4. Put tasks in order

Decide which tasks must finish before others can start. “Write copy” before “Build pages”; “Build pages” before “User testing”. Some tasks can run in parallel. Writing these relationships down — even as a simple note — is what turns a list of tasks into a plan.

5. Assign start dates and deadlines

Starting from today (or the project start), give each task a start date and a deadline based on its duration and order. Work forwards from the start, then check you still hit the end date you set in step 1. If you do not, you have three levers: cut scope, add people, or move the date. Better to pull one of them now than in week nine.

6. Add milestones

Milestones are checkpoints with no duration: “Design approved”, “Beta live”, “Launch”. They give everyone — especially clients and executives — a few dates to remember instead of fifty bars to read.

7. Assign owners and share it

Every task needs one owner (others can help). Then share the chart with the team and stakeholders, and agree when it will be reviewed — weekly works for most projects. A Gantt chart nobody looks at is just a nice picture.

Example: a simple project timeline

Here is a small website project laid out the way you would before drawing the chart. Each row becomes a bar; the “After” column tells you the order.

Example Gantt chart template for a 6-week website project
TaskPhaseOwnerStartDeadlineAfter
Kick-off and requirementsDiscoveryPMWeek 1, MonWeek 1, Wed—
Sitemap and wireframesDesignDesignerWeek 1, ThuWeek 2, FriKick-off
Milestone: design approvedDesignClientWeek 2, FriWeek 2, FriWireframes
CopywritingContentWriterWeek 2, MonWeek 3, FriKick-off
Build pagesBuildDeveloperWeek 3, MonWeek 5, WedDesign approved
Shop integrationBuildDeveloperWeek 4, MonWeek 5, FriDesign approved
Testing and fixesTestQAWeek 5, ThuWeek 6, WedBuild pages
Milestone: launchLaunchPMWeek 6, FriWeek 6, FriTesting

Even before you draw anything, this table reveals a risk: the developer has two overlapping build tasks in weeks 4 and 5. On a Gantt chart that overlap is obvious at a glance, which is exactly why you draw one.

Gantt chart without Excel

You can build a Gantt chart in Excel or Google Sheets with stacked bar charts or conditional formatting, and for a one-off plan that is fine. The trouble starts when the project moves. Every changed date has to be edited by hand, the spreadsheet drifts away from the task list people actually use, and nobody is sure which version is current.

A project management tool with a built-in Gantt view avoids this. The chart is drawn from the same tasks your team updates every day, so when a deadline moves or a task is completed, the timeline is already up to date.

Doing it in CodersRail

In CodersRail, the Gantt chart is one of four views — List, Table, Kanban and Gantt — on the same project. Here is the same method, step by step:

  1. Create a project inside the right Teamspace (for example, a Teamspace for the client).
  2. Add your tasks in List or Table view — or upload them all at once from the Excel bulk-import template, which has columns for title, description, priority, status, start date and deadline.
  3. Give every task a start date, a deadline and one or more assignees. Break bigger tasks into sub-tasks.
  4. Add milestones for your checkpoints, such as “Design approved” and “Launch”.
  5. Switch to Gantt view and zoom in or out to see days, weeks or months. Look for overlaps on the same person and adjust dates.
  6. Share progress: add a Gantt Chart, Milestones or Deadlines widget to a custom dashboard and share it with your team or client.
About dependenciesCodersRail’s Gantt view shows tasks by their start dates and deadlines; it does not draw dependency arrows between tasks. Keep the order in your dates (and note “after X” in the task description if helpful). If you need automatic dependency scheduling, a dedicated scheduling tool may suit you better.

The Gantt chart is part of CodersRail Professional ($4 per user per month ($3 billed annually)), and the free Starter plan includes 100 trial uses of it. See the Gantt chart software page or compare plans on pricing. If you also run your project in sprints, pair this guide with our sprint planning guide and template, and if you are coming from Trello, see Outgrowing Trello?.

Frequently asked questions

Define the end goal and date, list the tasks, estimate durations, put tasks in order, assign start dates and deadlines, add milestones, then assign owners and share the chart. Review it regularly as the project changes.

Yes. Most project management tools, including CodersRail, have a built-in Gantt view that draws the chart from your tasks’ start dates and deadlines, so it stays up to date without manual editing.

A project timeline can be any visual of events over time. A Gantt chart is a specific kind of timeline that shows each task as a bar from start to finish, often with milestones and task order.

Detailed enough to show risks, simple enough to read. Tasks between half a day and two weeks long work well for most projects; split anything longer.

Gantt charts are associated with traditional planning, but agile teams use them too — for example to show sprints, releases and milestones over a quarter while day-to-day work runs on a board.

Try CodersRail with your next project

Create a free workhub, invite up to 5 people and move one real project in. Gantt, sprints and time tracking come with 100 trial uses on the free plan.

  • Free for up to 5 people
  • No card needed
  • Google, Microsoft or GitHub sign-in