Skip to content
MoneyDeck

Random Seating Chart Generator

Randomly seat a class or guest list at tables or in rows, with pair rules

Updated · Free, no signup

Write two names per line separated by a comma.

The same seed, list and rules always give the same chart.

Seating chart

Table 1: Felix, Kiara, Hugo, Emma
Table 2: Olivia, Chloe, Priya, Grace
Table 3: Leo, Maya, Jack, Ben
Table 4: Ava, Daniel, Noah, Isla

People seated

16

Tables / rows needed

4

Group sizes

4 tables of 4

Empty seats

0

Seating rules applied

2

Rules that could not be met

0

  • All 2 seating rules are satisfied.
  • 16 people across 4 tables with 0 empty seats.

Seat list

TableSeatName
Table 11Felix
Table 12Kiara
Table 13Hugo
Table 14Emma
Table 21Olivia
Table 22Chloe
Table 23Priya
Table 24Grace
Table 31Leo
Table 32Maya
Table 33Jack
Table 34Ben
Table 41Ava
Table 42Daniel
Table 43Noah

About the Random Seating Chart Generator

This random seating chart generator turns a list of names into a seating plan in seconds. Teachers use it for a fresh classroom layout each term, event planners for wedding receptions, conferences and team dinners, and game hosts for mixing up who sits with whom. Paste one name per line, choose whether people sit at tables or in rows of desks, set how many seats each table or row has, and the tool shuffles everyone into place.

Real seating plans come with rules, so you can list pairs to keep apart (two chatty students, or guests who do not get on) and pairs to keep together (couples, a child and parent, a student and their support aide). At tables, “apart” means different tables and “together” means the same table; in rows, they mean not sitting directly side by side, or sitting side by side. The generator tries many random arrangements and keeps the one that breaks the fewest rules — usually none.

Tables are filled evenly, so 26 guests at tables of 8 become two tables of 7 and two of 6 rather than three full tables and a lonely table of 2. Rows fill from the front, leaving any empty desks at the back. Add a seed to save a layout you like and reproduce it later.

How to use the random seating chart generator

  1. 1Paste your class or guest list, one name per line.
  2. 2Choose tables or rows and set the seats per table or row.
  3. 3List any pairs to keep apart or together, one pair per line.
  4. 4Read the chart and check the rules that could not be met (ideally zero).
  5. 5Change the seed or any input to reshuffle, then copy the plan.

Formula and method

Groups G = ⌈n ÷ s⌉ · Empty seats = G × s − n · Table sizes = ⌊n ÷ G⌋ or ⌈n ÷ G⌉

With n people and s seats per table or row, the tool needs G = ⌈n ÷ s⌉ groups. Tables are balanced: n mod G tables get ⌈n ÷ G⌉ people and the rest get ⌊n ÷ G⌋, so sizes never differ by more than one. Rows fill from the front, with any short row at the back.

Seating uses a Fisher–Yates shuffle, so every arrangement is equally likely when there are no rules. With keep-apart or keep-together pairs, the tool scores each random arrangement by the number of broken rules and keeps the best of many shuffles (stopping as soon as one breaks none). This is random search, not an exhaustive solver, so very tight constraints may leave a conflict that a manual swap can fix.

n
Number of people
s
Seats per table or row
G
Number of tables or rows needed

Worked examples

16 students at tables of 4, two pairs kept apart

Sixteen names at 4 seats per table need 16 ÷ 4 = 4 full tables. Ava and Ben, and Chloe and Daniel, must sit at different tables; a random plan already meets both rules about 64% of the time, so the best of many shuffles meets them easily.

26 wedding guests at tables of 8

26 guests need ⌈26 ÷ 8⌉ = 4 tables, leaving 32 − 26 = 6 empty seats. Balanced, that is 26 mod 4 = 2 tables of 7 and 2 tables of 6. The two couples are kept at the same table.

Classroom of 22 in rows of 6

Rows fill from the front: 22 students need ⌈22 ÷ 6⌉ = 4 rows — three full rows of 6 and a back row of 4, with 24 − 22 = 2 empty desks. S01 and S02 are never placed directly side by side.

Frequently asked questions

How do I make a random seating chart for my classroom?+

Paste your class list, choose “Rows of desks”, enter how many desks are in each row and list any students who should not sit together. The tool shuffles the class into rows, filling from the front, and you can copy the result or reshuffle.

Can I keep certain people apart or together?+

Yes. Enter one pair per line in the keep-apart or keep-together boxes, such as “Ava, Ben”. At tables, apart means different tables; in rows, it means not directly side by side. Together means the same table, or neighbouring seats in a row.

How many tables do I need for my guests?+

Divide the number of guests by the seats per table and round up. For 120 guests at tables of 10 you need 12 tables; for 125 guests you need 13, and the tool spreads guests evenly so no table sits nearly empty.

Is random seating good for classrooms?+

Many teachers rotate seats regularly so students work with different classmates and cliques break up. Random seating also feels fair because nobody chose the layout; most teachers then make a few manual tweaks for eyesight, hearing or support needs.

Why does it say a rule could not be met?+

Some combinations of rules are impossible or very tight — for example, keeping one person apart from everyone at a single table. The tool keeps the best random arrangement it finds; add more tables or seats, or relax a rule, then reshuffle.

Can I save a seating chart and get it back later?+

Yes. Type a seed word before you generate. The same seed, name list and rules always produce the same chart, so you can share the seed with a colleague or rebuild the plan next week.

Related tools