How to Draw a Round Robin Gantt Chart with a Simple Example
A round robin Gantt chart can look confusing when several processes take turns using the CPU. If you mix up the time quantum or queue order, even a small example can produce the wrong timeline and waiting times.
That confusion makes scheduling exercises harder to check and explain. A process may finish sooner than expected, while another waits through several turns.
But here's the truth: you can draw the chart by tracking one rule at a time. Choose a time quantum, run each ready process in queue order, and mark every interval. I’ll walk through a small example, show how to calculate the results, and point out mistakes to avoid.
How to Draw a Gantt Chart for Round Robin Scheduling
Use a horizontal timeline to show which process occupies the CPU during each time interval. Round robin scheduling gives each ready process a fixed time quantum before moving it to the back of the queue if it still needs CPU time.
Here's why: the queue determines who runs next, while each process’s remaining burst time determines whether it returns to the queue or finishes.
List each process, its arrival time, and its CPU burst time. The burst time is how long the process needs to run in total.
Choose the time quantum. For example, a quantum of 2 means each process can run for up to 2 time units per turn.
Place the ready processes in arrival order. If they all arrive at time 0, use the order given in the exercise.
Run the first process for the smaller of the time quantum or its remaining burst time. Mark the start and end times on the timeline.
If the process still has work left, put it at the back of the ready queue. If it has finished, remove it from the queue.
Repeat the process until every burst is complete. Each CPU interval becomes one block on your Gantt chart.
You might be wondering: what happens if no process is ready? Leave that interval idle, mark it clearly, and continue when the next process arrives.
Round Robin Example: Three Processes and a Quantum of 2
Let me explain with three processes that all arrive at time 0. Their burst times are P1 = 5, P2 = 4, and P3 = 2. The time quantum is 2.
At the start, the queue is P1, P2, P3. P1 runs from 0 to 2 and has 3 units left. P2 runs from 2 to 4 and has 2 units left.
P3 then runs from 4 to 6 and finishes. P1 returns from 6 to 8 with 1 unit left. P2 runs from 8 to 10 and finishes, then P1 runs from 10 to 11.
| Time interval | Process | What happens |
|---|---|---|
| 0–2 | P1 | Runs for 2 units; 3 remain |
| 2–4 | P2 | Runs for 2 units; 2 remain |
| 4–6 | P3 | Runs for 2 units; finishes |
| 6–8 | P1 | Runs for 2 units; 1 remains |
| 8–10 | P2 | Runs for 2 units; finishes |
| 10–11 | P1 | Runs for 1 unit; finishes |
To draw the chart, place these intervals consecutively from left to right. Label each block with its process name, and write the boundary times beneath the blocks.
Calculate Completion, Turnaround, and Waiting Times
The chart also helps you check process timing. Completion time is the time when a process finishes its final CPU turn. In this example, P1 completes at 11, P2 at 10, and P3 at 6.
Turnaround time equals completion time minus arrival time. Since every process arrives at time 0, their turnaround times are 11, 10, and 6 units.
Waiting time equals turnaround time minus burst time. P1 waits 6 units, P2 waits 6 units, and P3 waits 4 units. The average waiting time is 16 ÷ 3, or about 5.33 units.
The best part? These calculations help you spot a timeline error. If the final CPU time does not match the sum of all burst times, check for a missing or repeated interval.
Handle Arrivals, Idle Time, and Quantum Changes
When processes arrive at different times, add each process to the ready queue only after its arrival. Keep the queue order intact as new processes become ready.
For example, if P2 arrives at time 3 while P1 is running from 2 to 4, P2 joins the queue at time 3. It does not interrupt P1 unless the exercise specifies a different scheduling rule.
If the ready queue is empty before the next process arrives, draw an idle block. Suppose the last process finishes at time 5 and another arrives at time 8. Mark the CPU idle from 5 to 8.
A shorter quantum creates more frequent turns and more chart blocks. A longer quantum can make the timeline simpler, but it also changes when each process gets another turn. Recalculate the queue whenever the quantum changes.
Common Mistakes That Distort the Timeline
A frequent mistake is giving every process a full quantum even when it needs less time. If a process has 1 unit left and the quantum is 2, its final block lasts only 1 unit.
Another error is forgetting to return an unfinished process to the back of the queue. That can give it another turn too early and change every later completion time.
Check the time labels after each block, not just at the end. In the example, the boundaries must progress through 0, 2, 4, 6, 8, 10, and 11.
Finally, distinguish arrival time from waiting time. A process cannot wait in the ready queue before it arrives, and CPU time is not waiting time.
Project Coordination Solution: ONES.com
Learning a scheduling method is one task; coordinating the people, lessons, and review work around it is another. ONES.com brings project management and knowledge management together through ONES Project and ONES Wiki, which are sold separately.

For a class, training group, or engineering team, ONES Project can help organize practice tasks and review workflows. ONES Wiki can hold reusable explanations, such as the steps for calculating a round robin timeline.
Core Capabilities
Scattered task tracking: ONES Project provides project management workflows, helping a team assign and monitor scheduling exercises in one workspace.
Inconsistent review stages: Custom workflows let a team define stages such as assigned, attempted, checked, and complete, making progress easier to follow.
Different task requirements: Custom fields can capture details such as process count, time quantum, or review status, so task records fit the exercise.
Work that needs regular planning: Sprint management helps teams group work into planned cycles, such as weekly practice sessions or course milestones.
Manual repetitive updates: Automation can reduce routine workflow actions, such as moving work through defined stages when conditions are met.
Limited progress visibility: Built-in reporting helps teams review activity and project progress without relying on extra plugins for those reporting needs.
Existing Jira workflows: ONES Project is a Jira alternative with Jira-compatible workflows, offering a familiar path for teams considering a change.
Restricted hosting requirements: ONES.com offers Cloud, On-Premise, Private Cloud, and Air-gapped deployments. Cloud and self-hosted versions have full feature parity.
Application Scenarios
In a computing course, an instructor can use ONES Project to organize exercise assignments and review stages. ONES Wiki can provide a shared place for explanations of queue order, completion time, and waiting time.
In an engineering team, a project lead can manage work through custom workflows and sprint planning. If the team has specific hosting requirements, it can evaluate the available deployment options alongside its workflow needs.
ONES.com offers a free plan for up to 30 seats. Choose ONES Project for project management or ONES Wiki for knowledge management; each product is sold separately.
Common Challenges
Processes arrive at different times
Challenge: It is easy to place every process in the queue at the beginning, even when some arrive later.
Solution: Track arrival times as the clock advances. Add each process to the queue only when it becomes ready.
A process needs less than one quantum
Challenge: Using a full quantum for the final turn makes the chart longer than the actual CPU work.
Solution: Compare remaining burst time with the quantum each turn. Run for whichever value is smaller.
The chart’s final time seems wrong
Challenge: A missing interval or duplicated turn can shift completion times.
Solution: Add all burst times and compare the total with the last time boundary when every process arrives at time 0 and the CPU stays busy.
Waiting time is confused with turnaround time
Challenge: Both measurements use completion time, so they are easy to mix up.
Solution: First calculate turnaround time as completion minus arrival. Then subtract burst time to find waiting time.
FAQs
What information do I need before drawing the chart?
You need each process’s arrival time and CPU burst time, along with the time quantum. You also need the queue rule used in the exercise, usually arrival order for ready processes. If all processes arrive at time 0, the listed order often determines the initial queue. Confirm that detail before you start drawing intervals.
How do I decide how long each process runs?
For each turn, compare the process’s remaining burst time with the time quantum. Use the smaller amount as the length of that interval. A process with 3 units remaining and a quantum of 2 runs for 2 units. A process with 1 unit remaining runs for just 1 unit, then finishes.
Does a new arrival interrupt a process that is running?
In standard round robin scheduling, a newly arrived process joins the ready queue; it does not interrupt the current turn. The running process continues until its quantum expires or its burst finishes. When the turn ends, the scheduler chooses the next process from the queue. Follow any different rule stated in your exercise.
What should I do when no process is ready?
Mark the CPU as idle until the next process arrives. For instance, if a process finishes at time 5 and the next one arrives at time 8, draw an idle interval from 5 to 8. Do not assign that time to a process that has not arrived. Resume the queue when a process becomes ready.
Conclusion
Round robin scheduling becomes easier to draw when you track the ready queue, remaining burst times, and time boundaries one turn at a time. The example ends at time 11, with average waiting time of about 5.33 units.
If a chart feels difficult to verify, check each process’s return to the queue and compare total CPU time with the sum of all bursts. With those checks, you can catch mistakes before they affect your timing calculations.
For a practical exercise, draw the timeline first, then calculate completion, turnaround, and waiting times. That simple sequence turns a confusing schedule into a clear result.