EN
My tools

Disk Scheduling Calculator (FCFS, SSTF, SCAN, C-SCAN, LOOK)

Disk head scheduling with FCFS, SSTF, SCAN, C-SCAN, LOOK and C-LOOK: seek order, each move, total head movement, average seek and a head-position chart.

Cylinders are numbered 0 to this − 1.
Total head movement
236 cylinders
SCAN
Average seek per request
29.5 cylinders
Seek sequence
53 → 37 → 14 → 0 → 65 → 67 → 98 → 122 → 124 → 183

SCAN and C-SCAN travel to the edge of the disk (0 or 199) before turning only when requests remain on the other side; LOOK and C-LOOK turn at the last request.

Ties in SSTF go to the lower cylinder.

SCAN moves
SCAN moves: To05010015020002468StepTo
SCAN moves
StepFromToDistanceNote
053530start
1533716serve
2371423serve
314014end of disk
406565serve
565672serve
6679831serve
79812224serve
81221242serve
912418359serve
All algorithms on the same queue
AlgorithmTotal movementAverage seek
FCFS64080
SSTF23629.5
SCAN23629.5
C-SCAN38648.25
LOOK20826
C-LOOK32640.75
My tools →
Advertisement

A hard disk serves requests for different cylinders, and the order in which it visits them decides how far the read/write head travels. This calculator runs the six classic disk-scheduling algorithms — FCFS, SSTF, SCAN (elevator), C-SCAN, LOOK and C-LOOK — on your request queue and starting position, and shows the seek order, every move, the total head movement and the average seek, plus a chart of the head position and a comparison of all six.

How to use this tool

  1. Enter the queue of requested cylinders.
  2. Enter the starting head position and the number of cylinders.
  3. Choose the algorithm and the direction the head is moving.
  4. For C-SCAN and C-LOOK, decide whether the return jump counts; read the totals.

Formula

total head movement = Σ |next cylinder − current cylinder| · average seek = total ÷ number of requests

FCFS serves requests in arrival order; SSTF always picks the nearest pending request; SCAN sweeps to the edge of the disk and back; LOOK turns at the last request instead of the edge; C-SCAN and C-LOOK serve in one direction only and jump back to the start. Courses differ on whether that return jump counts as head movement, so it can be included or left out. Tied distances in SSTF go to the lower cylinder.

Example

For the textbook queue 98, 183, 37, 122, 14, 124, 65, 67 with the head at 53 on a 200-cylinder disk, SCAN moving toward 0 goes 53 → 37 → 14 → 0 and then up to 183: 236 cylinders, an average of 29.5 per request. SSTF also gives 236, FCFS 640, and C-SCAN moving up 382 (183 without the return jump).

Frequently asked questions

Why does SSTF have the same total as SCAN here?

Coincidence of this queue. SSTF is greedy and can starve requests at the far end of the disk; SCAN guarantees every request is reached within two sweeps.

Should the C-SCAN return count?

It depends on the course. The head does physically move back, which is why it is counted by default here, but some textbooks treat the return as a fast seek and leave it out — switch the option to match.

Does this apply to SSDs?

No. SSDs have no moving head, so seek order does not matter; these algorithms concern spinning disks.

Sources

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Disk Scheduling Calculator (FCFS, SSTF, SCAN, C-SCAN, LOOK). https://kakao.mobile/tools/disk-scheduling-simulator/

MLA

“Disk Scheduling Calculator (FCFS, SSTF, SCAN, C-SCAN, LOOK).” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/disk-scheduling-simulator/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement