# How to Calculate Turnaround Time?

Learn how to calculate turnaround time of a process.

## Calculate Average Turn Around Time in Process Scheduling

Turnaround time is the amount of time taken to complete a request. It is defined as the total time taken between the finishing time and start time. Turn around time is one of the metrics used to evaluate an operating systems scheduling algorithms.

This is a short tutorial to learn how to calculate turnaround time of a process.

**Formula Used:**

**Turnaround Time = Finishing Time - Start Time**

**Step 1:**Let us consider the following process to find the turn around time.

Given, the starting and finishing time of the process as follows,

P1 → S.T = 1, P1 → F.T = 5

P2 → S.T = 2, P2 → F.T = 3

P3 → S.T = 3, P3 → F.T = 7

P4 → S.T = 4, P4 → F.T = 11

P5 → S.T = 8, P5 → F.T = 14

Where, P → Process, S.T → Start Time, F.T → Finishing Time respectively.

**Step 2:** To calculate turnaround time of the above process, subtract the finishing time of each process with the start time.

P1 →T.T → 5 - 1 → 4

P2 →T.T → 3 - 2 → 1

P3 →T.T → 7 - 3 → 4

P4 →T.T → 11 - 4 → 7

P5 →T.T → 14 - 8 → 6

**Step 3: **Turnaround Time is given by adding all the turn around times of the process.

Turn Around Time = 4 + 1 + 4 + 7 + 6

Turn Around Time = 22

**Step 4: **Average turn around time can be calculated by dividing the sum of the numbers by the total count.

Average Turn Around Time = 22/5 = **4.4**

Average Turn Around Time = 4.4