Applications / Teaching and exams

Available

Exam hall seating plan generator

Type each class with its roll number range and each exam hall with its rows and seats. Get a seat-by-seat plan where no student has a classmate beside them or directly in front, plus a door notice for every room.

Version 0.1.0 · Updated 2026-11-18 · No account needed · Runs in your browser

Make your seating plan

Format: Name: first-last. Examples: 10A: 1001-1030, BSc CS: CS21001-CS21045, 12B: 4001, 4003, 4007-4020.

Format: Name: rows x seats per row. Example: Room 1: 5x6 is 5 rows of 6 seats (30 students). Count each place on a bench as a seat.

How to use it

  1. Write one line for every class, section or subject group that must not sit together. The part before the colon is the name that will be printed on the plan; the part after it is the list of roll numbers. A range such as 1001-1030 expands to all thirty numbers. Separate ranges and single numbers with commas, which is useful when a few students are absent or exempt.
  2. Write one line for every exam hall: its name, then the number of rows from the front to the back, an x, and the number of seats in each row. If a hall has 6 benches across and two students per bench, that is 12 seats per row.
  3. Choose whether seats are filled across each row or down each column. Row by row keeps a class's numbers in reading order; column by column is easier when an invigilator walks down aisles.
  4. Press Make plan. Check the totals at the top: students, seats, seated and not seated. Then print the room grids for the halls and the door notices for the notice board, or download the CSV to sort and edit in a spreadsheet.

How the plan is worked out

The tool visits every seat in the order you chose. At each seat it looks at the neighbours that are already filled — the seat to the left and right, and the seat in front and behind — and rules out any class already sitting there. From the classes that are still allowed, it picks the one with the most students still waiting, and seats that class's next roll number. Picking the largest remaining class first matters: if the big class were left to the end, there would be no other class left to separate its students, and many of them would end up beside each other.

With two classes of equal size this produces the familiar chessboard pattern: A B A B across the first row and B A B A across the second, so every student is surrounded by the other class on all four sides. With three or more classes the pattern is less regular but the same rule holds. Diagonal neighbours are not checked, because in most halls the diagonal student is too far away to copy from and checking diagonals would waste many seats.

When only one class still has students waiting, the next seat may be next to a classmate. By default that seat is left empty and the tool moves on, which gives a gap between students of the same class. If you would rather fill every seat, choose Seat them anyway; the tool then tells you exactly how many seats break the rule so that you can put a stricter invigilator in that room.

Each room also gets a door notice: for every class, the number of students in that room and their roll numbers written as compact ranges such as 1001–1015. Students can find their hall from the notice without reading the whole grid.

Worked example

Classes: 10A: 1001-1030 (30 students) and 10B: 2001-2025 (25 students). Rooms: Room 1: 5x6 and Room 2: 5x6, 60 seats in all. Fill row by row, leave seats empty when only one class is left.

Room 1 is filled completely in a chessboard: the first row reads 1001, 2001, 1002, 2002, 1003, 2003 and the second row starts with 2004, 1004. Its door notice says 10A: 15 students, 1001–1015 and 10B: 15 students, 2001–2015.

Room 2 continues with 1016 and 2016. 10B runs out after roll 2025, which sits in row 4, seat 1. The last five 10A students (1026–1030) are then placed with an empty seat between them, so Room 2 uses 25 of its 30 seats: 10A 1016–1030 (15 students) and 10B 2016–2025 (10 students). All 55 students are seated and no one has a classmate beside or in front of them.

Press Load example to see the same plan drawn in the tool.

Limits and things to check

Privacy

Roll numbers stay on your device. The page has no tracking code of its own, makes no network requests and does not store what you type. Closing the tab removes everything.

Frequently asked questions

How do I stop two students of the same class sitting together in an exam hall?

Enter each class with its roll numbers and each room with rows and seats per row. The generator never places a student next to, or directly in front of or behind, a student of the same class.

What happens when one class has more students than the others?

The larger class is placed first at every seat where it is allowed. When the smaller classes run out, the remaining students of the large class sit with an empty seat between them, or you can choose to seat them anyway and the tool counts how many seats break the rule.

Can I use roll numbers with letters such as CS21001?

Yes. Write a range like CS21001-CS21060 or list single numbers separated by commas. Leading zeros and letter prefixes are kept.

Is the student list uploaded anywhere?

No. The plan is made inside your browser. Nothing you type is sent to a server.