Learning notes

How to Split a Class Into Random Groups Fairly (Teacher's Guide)

The fastest fair way to split a class into random groups is to shuffle the full list of names and deal them out one by one into the number of groups you need, like dealing cards.

By 10 min read 2 views
Cover image for How to Split a Class Into Random Groups Fairly (Teacher's Guide)

The fastest fair way to split a class into random groups is to shuffle the full list of names and deal them out one by one into the number of groups you need, like dealing cards. A random group generator does exactly that in a second, and you can do the same by hand with numbered lolly sticks, a deck of cards or counting off around the room.

Random groups work well because pupils see the process as fair. Nobody gets picked last, friendship cliques break up, and students meet classmates they'd never normally talk to. Randomness alone won't balance ability or behaviour, though, so this guide also covers simple ways to add a little structure.

Below you'll find seven tried-and-tested methods, a chart for dividing classes of 20 to 32, tips for leftovers and absences, and the pitfalls to avoid. To make groups right now, paste your class list into the free random group generator.

In this guide:

  • Why random groups work so well
  • Method 1: Use a random group generator
  • Methods 2 to 7: low-tech ways to make random groups
  • Group size chart for classes of 20 to 32
  • What makes a random split truly fair
  • Adding balance without losing the fairness
  • Matching group size to the activity
  • Handling odd numbers, absences and late arrivals
  • Random groups beyond the classroom
  • Common mistakes to avoid
  • Frequently asked questions

Why random groups work so well

Teachers in the UK, the US and everywhere in between use random grouping for a simple reason: it removes the politics. When the process is visibly fair, pupils accept the result and get on with the task.

  • No picking last. Captains choosing teams can be painful for the quieter or less sporty children.
  • Fewer cliques. Friends who always sit together get a chance to work with someone new.
  • Less teacher bias. Even well-meaning teachers fall into patterns, such as always pairing the same strong pupil with a struggling one.
  • Wider social mixing. Over a term, every pupil works with a broad range of classmates.
  • Quick setup. A shuffle takes seconds, which protects lesson time.

Research summaries on group formation, such as the University of Bath's guide to putting students into groups, note that random allocation is quick and seen as fair, while teacher-selected groups give more control over balance. Many teachers mix both approaches across a term.

Method 1: Use a random group generator

An online generator is the quickest option for most lessons, especially if you project it on the board.

  1. Paste or type your class list, one name per line.
  2. Choose either the number of groups or the number of people per group.
  3. Click generate and show the result on screen.
  4. Save or screenshot the groups if you'll reuse them later in the week.

Projecting the shuffle helps pupils trust the result. They can see you didn't quietly arrange things.

Keep a saved class list for each set you teach so you can generate groups in seconds. Remove absent pupils before you shuffle rather than reshuffling afterwards, which avoids complaints that you "redid it" to change the result.

Methods 2 to 7: low-tech ways to make random groups

Sometimes you don't have a screen, or you want something more hands-on. These classic methods all work.

MethodHow it worksBest for
Counting offPupils count 1, 2, 3, 4 around the room; all the 1s form a group, and so onQuick splits with no prep
Playing cardsHand out cards; group by number for fours, or by suit for four groupsGroups of four or four large teams
Lolly sticksWrite each name on a stick, shuffle in a pot, and draw them out into groupsPrimary classrooms
Coloured cards or sweetsPupils draw a colour from a bag and find matching coloursYounger children, active starts
Puzzle piecesCut pictures into pieces; pupils find the others who complete their pictureIce-breakers and review games
Matching pairsHand out question and answer cards; pupils find their matchPairs with a learning twist

Counting off has one weakness: pupils quickly learn to move seats to land with friends. Change the starting point and the direction each time, or hand out numbers yourself as they walk in.

For a one-off pick, such as who answers next or who presents first, a random name picker adds a bit of suspense without making anyone feel targeted.

Group size chart for classes of 20 to 32

Class sizes rarely divide neatly. This chart shows a balanced split for common class sizes, keeping every group within one person of the target size.

Class sizePairsGroups of about 3Groups of about 4Groups of about 5
2010 pairs4 of 3, 2 of 45 of 44 of 5
2412 pairs8 of 36 of 44 of 5, 1 of 4
2511 pairs, 1 trio7 of 3, 1 of 45 of 4, 1 of 55 of 5
2712 pairs, 1 trio9 of 36 of 4, 1 of 33 of 5, 3 of 4
2814 pairs8 of 3, 1 of 47 of 44 of 5, 2 of 4
3015 pairs10 of 36 of 4, 2 of 36 of 5
3216 pairs8 of 3, 2 of 48 of 44 of 5, 3 of 4

The quick rule: divide the class by your target size, round to the nearest whole number of groups, then spread the leftover pupils one per group. Avoid groups of one or two when you're aiming for fours, because they rarely have enough voices for a good discussion.

What makes a random split truly fair

"Random" only feels fair if every pupil has an equal chance of landing in any group. Some homemade methods quietly break that rule.

  • Alphabetical order isn't random. The same surnames end up together every time.
  • Seating plans aren't random. Friends sit together, so neighbours in a count-off often land together.
  • Partial shuffles aren't random. A quick stir of a pot can leave sticks in roughly the order you put them in.

Good digital tools shuffle the whole list using a proper algorithm. The standard one is the Fisher–Yates shuffle, which gives every possible ordering an equal chance. Once the list is shuffled, dealing names round-robin into groups keeps sizes balanced.

By hand, shake the pot properly or shuffle a deck at least seven times. For most classroom purposes, that's plenty.

Adding balance without losing the fairness

Pure randomness can occasionally land all your strongest readers in one group, or put two pupils together who really shouldn't sit side by side. A little structure fixes that while keeping the process transparent.

  1. Stratified grouping. Sort pupils privately into bands, such as by reading level, then randomly deal one from each band into every group.
  2. Separation rules. Keep a short private list of pairs who mustn't work together, and swap one of them if the shuffle unites them.
  3. Support needs. Place pupils who need a teaching assistant, a laptop or a quieter corner before the shuffle.
  4. Role cards. Assign roles such as reader, scribe, timekeeper and reporter randomly inside each group so everyone contributes.

Keep adjustments small and consistent. If you overrule the shuffle every lesson, pupils will stop trusting it. A swap or two is usually enough.

Matching group size to the activity

The right group size depends on what you want pupils to do. Getting it right matters as much as how you form the groups.

ActivityBest sizeWhy
Think-pair-share2Everyone must talk, nobody can hide
Peer marking2 or 3Focused feedback on each piece of work
Discussion questions3 or 4Several viewpoints without crowding
Science practicals3 or 4Enough hands for equipment and recording
Research projects4Clear roles and shared workload
Debates and team games5 to 8Bigger teams create energy and competition

Pairs suit quick checks and shy pupils, because there's no audience to perform for. Fours offer a sweet spot for most collaborative work: two pairs can split a task and then compare. Larger teams work best when the activity itself keeps everyone busy, such as a relay quiz or a debate with assigned speaking turns.

Tell pupils the size and the reason before you shuffle. "Fours today, because each of you will research one part" makes the grouping feel purposeful rather than arbitrary.

Handling odd numbers, absences and late arrivals

Real classrooms are messy. These quick fixes keep you moving:

  • Odd number for pairs. Make one group of three rather than leaving someone alone or pairing with the teacher.
  • Absences on the day. Remove absent names before you shuffle, so groups come out balanced.
  • A late arrival. Add them to the smallest group, or to a group that has lost someone.
  • Long projects. Shuffle once, record the groups, and keep them for the whole project so work doesn't get lost.
  • A pupil returns after absence. Slot them into a group with a clear role, such as checker or presenter, so they can catch up fast.

For weekly activities, reshuffle often. Fresh groups every lesson or every week keep the social mixing going and stop any one group's dynamics from settling into a rut.

Random groups beyond the classroom

The same techniques work anywhere you need fair teams quickly:

  • Sports clubs and PE: balanced five-a-side or netball teams in seconds
  • Workshops and training days: mixing departments so people meet new colleagues
  • Quiz nights: fair teams when some regulars always dominate
  • Secret Santa and gift swaps: drawing names without anyone getting their own
  • Youth groups, Scouts and Guides: patrols or activity teams that change each week

For quick decisions such as who goes first, or a number between 1 and 30, a random number picker does the job and everyone can see the result.

Whatever the setting, the principle stays the same. Make the process visible, keep the rules simple, and people will accept the outcome even when they don't get the team they wanted.

Common mistakes to avoid

A few habits undermine random grouping. Watch out for these:

  1. Reshuffling until you like the result. Pupils notice. If you need to adjust, make one or two swaps openly instead.
  2. Groups that are too big. Beyond five or six, some pupils sit back while others do the work.
  3. No clear task. A random group with a vague task drifts. Give each group a goal, a time limit and roles.
  4. Ignoring safeguarding and support plans. Always place pupils with specific needs before you shuffle.
  5. Keeping class lists in unsafe places. Use tools that don't require logins or upload pupil data to unknown servers.

That last point matters in schools. Data protection rules such as the UK GDPR mean you should think twice before pasting full names into random websites. Tools that work entirely in the browser, without saving anything, are the safer choice. First names or initials also work perfectly well.

Frequently asked questions

What is the fairest way to split a class into groups?

Shuffle the full list of names, then deal them one at a time into each group in turn. A random group generator does this instantly and visibly.

How do I split 30 students into groups of 4?

Make eight groups: six groups of four and two groups of three. Alternatively, make seven groups with five fours and two fives.

How do you make random groups without technology?

Count off around the room, hand out playing cards, or draw named lolly sticks from a pot and deal them into groups.

What group size works best in a classroom?

Groups of three to four work well for most tasks. They're small enough for everyone to speak and big enough to share ideas.

Should groups be random or chosen by the teacher?

Both have a place. Random groups feel fair and mix pupils socially, while teacher-chosen groups give more control over ability and behaviour.

How often should I change student groups?

Change them every lesson or every week for short activities, and keep them fixed for the length of a longer project.

Is it safe to put pupil names into online group generators?

Use tools that run in the browser and don't store data. First names or initials are enough, and they reduce data protection risk.

Last checked: 18 October 2026. Rates, rules and app settings can change, so confirm anything important with the official source linked above.

Share X LinkedIn WhatsApp Facebook
Was this helpful?