Random Team Generator

Paste names, choose how many teams or how many people per team, and get fair, balanced groups.

Teams

8 people into 2 teams of 4.

Players (8 examples)

  • Ava
  • Ben
  • Chloe
  • Daniel
  • Ella
  • Finn
  • Grace
  • Henry

These are examples. Add your own and they disappear.

Last reviewed:

How players are split into teams

The generator shuffles the whole list, then deals the players out one at a time, like cards, to Team 1, Team 2 and so on. Dealing is what keeps the sizes within one of each other. When the numbers don't divide evenly, the extra players go to the first teams.

Players per team = Players ÷ Teams, rounded down
The remainder is how many teams get one extra player
PlayersTeamsTeam sizes
1025, 5
1034, 3, 3
1344, 3, 3, 3
1644, 4, 4, 4
2674, 4, 4, 4, 4, 3, 3
3065, 5, 5, 5, 5, 5

Splitting by group size instead of team count

This group generator works both ways. Choose Number of teams (2 to 20) when you know how many groups you need, or People per team when you know how big each group may be. With a size, it makes as few groups as it can without any going over that size, then evens them out. If groups must not be smaller than a size instead, divide the number of people by it, round down, and enter that as the number of teams.

Example: groups of about 4 from a class of 26

  1. 26 ÷ 4 = 6.5
  2. At most 4 per team: 7 teams, sizes 4, 4, 4, 4, 4, 3, 3
  3. At least 4 per team: round down to 6 teams, sizes 5, 5, 4, 4, 4, 4

Set People per team to 4 for groups of at most 4, or Number of teams to 6 for groups of at least 4.

Working in pairs with an odd number of students? With 25 students, choose 12 teams: you get 11 pairs and one group of three, so nobody is left working alone.

Balancing teams by skill

Random teams are balanced in size, not in ability. If your three strongest players land on the same side, the game is over before it starts. You can keep the randomness and still spread the talent by drawing in tiers.

  1. Split the group into tiers yourself, for example experienced players and newer players.
  2. Run each tier through the generator separately, with the same number of teams.
  3. Combine Team 1 from each run, Team 2 from each run, and so on.
  4. Check the sizes. Each run gives its extra players to the first teams, so if both tiers have a leftover, pair one tier's Team 1 with the other tier's last team.

If you'd rather have captains choose, a snake draft is fairer than taking turns. The order reverses each round (A, B, B, A, A, B and so on), so the second captain gets two picks in a row to make up for not choosing first.

How many different teams are possible

Reshuffling almost never gives the same split twice. Ten players can be divided into two teams of five in 126 different ways, and 20 players into two teams of ten in 92,378 ways.

Ways to split 2m players into two teams of m = C(2m, m) ÷ 2
C(2m, m) = (2m)! ÷ (m! × m!)
Divide by 2 because swapping the team names gives the same split

With that many possibilities, someone will always ask for one more shuffle. Agree before you start that the first result stands, then use a Coin Flip to decide which team kicks off or picks ends.

Will friends end up on the same team

It's the question every teacher hears. With equal-sized teams, the chance that two particular people land together is the number of other spots on one team divided by everyone else in the group. More teams means smaller teams, and a much lower chance of the same pair teaming up again.

Chance two people share a team = (Team size − 1) ÷ (Players − 1)
Works when all teams are the same size
PlayersTeamsTeam sizeChance two friends are together
2021047.4%
244621.7%
306513.8%
301036.9%

If you rotate groups every week, a fresh shuffle each time mixes people well over a term. It won't guarantee that every pair meets, so if that matters, keep a note of past groups and reshuffle when a repeat comes up.

Where random teams work well

  • PE lessons and sports practice, where letting captains pick can leave the same kids standing at the end every week.
  • Classroom group work, to mix students who always sit together.
  • Quiz nights and board game evenings.
  • Workshops, training days and online breakout rooms.
  • Pickup basketball, five-a-side football and other casual games.

Once the teams are set, paste one team's names into the Random Name Picker to choose its leader, and keep group work on schedule with the Classroom Timer.

Sources and further reading

How to use it

  1. 1Paste the names.
  2. 2Choose the number of teams, or the most people you want in each team.
  3. 3Press Make teams. Reshuffle any time.

Questions

Is it really random?

Yes. Results come from your browser's cryptographically secure random generator (crypto.getRandomValues), the same source used for security keys.

Are the teams balanced?

Team sizes never differ by more than one person.

Can I set how many people go in each group?

Yes. Choose People per team and set the most you want in a group. It makes as few groups as it can within that limit and evens them out, so 10 people with at most 3 per team become groups of 3, 3, 2 and 2.

Also handy: Classroom Timer, Online Stopwatch, Online Timer