Productivity and Utilities

Student Group Generator

Paste your names, pick a group size and a number of rounds to get groups that mix people up each time.

Your numbers

Commas also work. Names stay in your browser. Example data.

Groups are balanced so that sizes differ by at most one.

Each round makes a new set of groups.

More options

The same seed gives the same groups. Change it for a different draw.

Result

Repeated pairings

0

3 rounds of 4 groups (3 people each).

People
12
Groups per round
4
Group sizes
3
Repeated pairings in all rounds
0
Most rounds that could be repeat-free
5

Groups

RoundGroupMembers
Round 1Group 1Ava, Ben, Kai
Round 1Group 2Cara, Dev, Gus
Round 1Group 3Eli, Hana, Jada
Round 1Group 4Fay, Ivan, Lena
Round 2Group 1Ava, Ivan, Jada
Round 2Group 2Ben, Fay, Gus
Round 2Group 3Cara, Eli, Lena
Round 2Group 4Dev, Hana, Kai
Round 3Group 1Ava, Eli, Gus
Round 3Group 2Ben, Dev, Ivan
Round 3Group 3Cara, Fay, Hana
Round 3Group 4Jada, Kai, Lena

Repeated pairings by round

RoundPairs who met before
Round 10
Round 20
Round 30
How this was calculated
  1. 12 people in groups of at most 3 need 4 groups, sized 3 so that no group is much bigger than another.
  2. Each round starts as a seeded random split. Then pairs of people in different groups swap places whenever the swap does not increase the number of repeat meetings, until none is left or the effort limit is reached.
  3. Counting every pair in every group from scratch gives 0 repeated pairings.
  • Nobody meets the same person twice in these rounds.
  • The groups are random but balanced for repeats only. They do not consider skills, friendships or needs, so adjust by hand where that matters.

Calculated using SumPanda.com · https://sumpanda.com/student-group-generator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the student group generator

  1. Paste the names, one per line (commas also work). Duplicate names are refused, so add an initial to tell two people apart.
  2. Enter the largest group size and the number of rounds.
  3. Read the groups for each round, the count of repeated pairings and the upper bound on repeat-free rounds.
  4. Change the seed under Advanced options for a different draw. The same seed always gives the same groups.

Formula

groups per round = ceil(people / largest group size)

group sizes differ by at most one, larger groups first

repeat pairings = pairs in the same group who were together in an earlier round

The page starts each round with a seeded random split, then swaps people between groups of the same round whenever a swap does not increase the number of repeat meetings. A pair that meets three times costs more than one that meets twice. The counts are recomputed from the final groups.

Twelve people in groups of three for three rounds

Twelve names in groups of at most three make four groups of three each round. The search finds three rounds in which nobody meets the same person twice, so the repeated pairings are 0. Each person meets 6 different people across the three rounds out of the 11 others.

Some shapes cannot avoid repeats. Twelve people in groups of four can be split once without repeats, but the second round must put four people into groups using only three earlier groups, so at least two of them were together before. The page reports the repeats it could not avoid.

How many repeat-free rounds are possible

In every round a person meets (group size - 1) other people, and there are only (people - 1) others to meet. So with 12 people in groups of 3, no more than floor(11 / 2) = 5 rounds can be free of repeats, and the page shows this limit. It is an upper bound: some shapes reach it and some do not, because the groups must also fit together.

The search is heuristic. It often finds a perfect answer when one exists, but it does not prove that none exists, so try another seed if the repeats look avoidable.

What it does not consider

The groups are random and balanced for repeats only. They do not consider skills, friendships, language, support needs or anything else a teacher knows. Adjust by hand where that matters. Names stay in your browser. For teams balanced by rating use the Balanced Team Generator, for picking winners the Random Name Picker, and for a classroom layout the Seating Chart Maker.

More planning tools

For exams, carpools and invoices, try the Carpool Rotation Schedule Generator, Time Log to Invoice Lines and Exam Time Budget Calculator.

Assumptions and limits

  • Everyone is treated the same; groups are formed by chance with repeats as the only aim.
  • Group sizes are as even as possible, with no group larger than the size you set.
  • Up to 80 names, 20 rounds and a group size of 40 are accepted.
  • The search is seeded and repeatable but is not guaranteed to find the best possible schedule.
  • The example names are an illustration. Replace them with your own.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

Why do some groups have fewer people?

If the number of people does not divide evenly, the groups are balanced so sizes differ by at most one. Ten people in groups of four become groups of 4, 3 and 3.

Is it truly random?

It is pseudo-random from the seed you give, so the same seed repeats the same result. Change the seed for a new draw. It is meant for classroom groups, not for anything where unpredictability is a safety matter.

What does a repeated pairing count?

Each pair of people who share a group after already sharing one earlier counts once per extra meeting. Three people meeting again in the same group count as three pairs.

Can I keep two people apart or together?

Not directly. This page only avoids repeat pairings, so adjust by hand or run it again with another seed.