Classroom seating chart for 40 students

Paste a 40-name roster, set seats per row to 8, 5, or 4, add students to keep apart or together, and print. Names stay in your browser.

Free · No account · Names stay in your browser · Print the chart

0 students detected · 0 rows of 6

Names stay in your browser. If the keep-apart and keep-together rules can't all be met, the chart is placed at random, so check it and shuffle again.

GradeWithAI is used by 21,000+ teachers, including teachers at

What the seating chart generator does

Paste a roster
One name per line, or names separated by commas.
Keep apart, keep together
List groups that shouldn't sit next to each other and groups that should.
Seats per row
Set 1 to 20 seats per row to match your room, such as 4 for tables of four.
Shuffle and print
Shuffle as many times as you like, then print the chart or copy it as text.

Seating plans for 40 students

A seating chart for 40 students has to work for a large section, and 40 divides evenly many ways: 5 rows of 8, 8 rows of 5, 10 groups of four, or 20 pairs. The generator fills seats at random, trying to follow your keep-apart and keep-together rules.

Grid math for 40 students

Every width below fills every row. Seats per row can go up to 20.

  • 8 seats per row: 5 rows of 8

  • 5 seats per row: 8 rows of 5, or eight groups of five

  • 4 seats per row: 10 rows of 4, or ten groups of four

  • 10 seats per row: 4 long rows

  • 2 seats per row: 20 pairs

Groups at 40

Ten groups of four and eight groups of five both divide evenly: set seats per row to 4 or 5 and treat each printed row as a table. Rules only check neighboring seats, so keep-together students can land at adjoining tables and keep-apart students can share one.

Room safety

A room set up for 30 gets tight at 40. Check your school's evacuation plan and keep paths to the exits clear. The generator doesn't know your room, so lay the printed chart over your floor plan before you move desks.

Printing and sub folders

Print saves a PDF with the front of the classroom at the top; 20 pairs makes a longer document than 5 rows of 8. Copy gives a text version by row for sub plans.

How to make a seating chart

  1. 1

    Paste the roster

    One name per line, or separated by commas.

  2. 2

    Add the rules

    Set seats per row, then list who should sit apart and who should sit together.

  3. 3

    Shuffle and print

    Check the chart, shuffle again if a rule didn't hold, and print.

Grading what this class turns in?

GradeWithAI grades essays, tests, math, and handwritten work in any subject, and syncs with Canvas, Google Classroom, and Google Forms.

Grading the finished assignments? See how the AI assignment grader works

Seating chart generator FAQ

Questions about this tool? Email john@gradewithai.com.

5 rows of 8 if the room is wide, 8 rows of 5 if it's deep. For group work, ten groups of four or eight groups of five. Set seats per row to 8, 5, or 4.

Set seats per row to 4. You get 10 rows of four; treat each printed row as one table. Keep-apart and keep-together rules only look at neighboring seats, so check that each table works and shuffle again if it doesn't.

Yes. Paste all 40 names, one per line or separated by commas. Seats per row can be anywhere from 1 to 20.

No. The chart is made in your browser, and names aren't sent anywhere or saved.

The generator tries 50 random arrangements. If the keep-apart and keep-together rules can't all be met after 50 tries, the chart is placed at random. Check it and shuffle again.

No. There is no fixed-seat or front-row rule. Shuffle until the chart works, or move names by hand after you copy or print it.

Any class size. Set 1 to 20 seats per row and the chart adds as many rows as it needs.

A maker. A template is a blank grid you fill in by hand; this tool fills the grid from your roster at random. To use the result as a template, print it and write over it, or copy it as text and edit it in a document.

Yes. Set seats per row to the table size, such as 4, and treat each row of the chart as one table. Keep-together rules can place a pair or a small group side by side.

Yes. Print it or save it as a PDF, or copy it as text. Nothing is saved, so print or copy it before you close the page.

Yes, with no account.

Grade your next assignment with GradeWithAI

21,000+ teachers use GradeWithAI to grade essays, tests, and handwritten work, and report saving 10+ hours a week.

The free plan grades 25 submissions every 30 days. No credit card.

10+hours saved per week

Reported by teachers using GradeWithAI, with feedback on every submission they grade.

  • Erin Nordlund
  • Rebecca Ford
  • Ken Brenan
Teachers at 1000+ schools