Works on this device
Board Game Team Allocator
Type the players and choose how many teams you need. The tool makes fair teams at random, or teams that are even in skill when you give each player a skill number. Each result has a seed, a number that makes the same teams again. The list stays on your device.
Enter the players and the teams
Check these values
This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.
The teams are made in this browser. The list is not sent to a server.
The teams will show here
Choose Make teams to draw them.
The teams
How it was worked out
How to use the team allocator
- Choose Random teams or Teams balanced by skill.
- Type the players. For random teams, type one name on each line. For balanced teams, type each player in a row with a skill number, or paste lines such as
Ana, 7and choose Read into rows. - Choose a number of teams, or a number of players in each team.
- If you like, type team names such as
Red, Blue, and tick Also draw which team goes first. - Leave Seed empty and choose Make teams. Choose it again for new teams.
- Copy, download or print the teams. Keep the seed if someone may want to check the draw.
How random teams are made
First the team sizes are fixed. They are as equal as possible: when the players do not split evenly, some teams get one more player, and which teams get one more is drawn at random too.
Then the list is mixed with the Fisher-Yates shuffle, in which every order of the list has the same chance. The first players of the mixed list go to team 1, the next ones to team 2, and so on. So every player has the same chance to be in each team.
How balanced teams are made
- The players are sorted by skill, highest first. Players with the same skill are put in a random order.
- The players are dealt in snake order: team A, team B, team C, then team C, team B, team A, and so on. Which team picks first is drawn at random.
- Then the tool looks at every swap of two players from different teams. It makes the swap that brings the team totals closest together, and repeats this until no swap helps. The team sizes do not change.
- The result shows the total and the average skill of each team, and the gap between the strongest and the weakest team.
The seed: the same teams again
The random choices come from the seed. The seed starts a number generator named xoshiro128** (started through a step named SplitMix64). For one seed it always gives the same row of random bytes, and a whole number is taken from these bytes without favouring any value.
When you leave the seed empty, your browser draws a fresh seed with its secure random generator. Type that seed again, with the same list in the same order and the same settings, and you get the same teams. A seed is not a secret: anyone with the seed and the list can make the same teams.
Worked examples
8 players in teams of 2 make 4 teams of 2. There are 8! ÷ (2! × 2! × 2! × 2!) = 2,520 ways to make these teams, and each one has the same chance.
Balanced teams with the starting list: the skills are Ana 9, Fay 8, Cleo 7, Dev 6, Hana 6, Eli 5, Ben 4 and Gus 3, 48 in all. In snake order one team gets Ana, Dev, Hana and Gus: 9 + 6 + 6 + 3 = 24. The other gets Fay, Cleo, Eli and Ben: 8 + 7 + 5 + 4 = 24. The gap is 0, so no swap is needed. Only the team names that the two groups get depend on the draw.
Limits you should know
- You can enter 2 to 200 players and make 2 to 50 teams. A name can have up to 60 characters.
- Random teams are fair by chance, not by skill. Balanced teams are only as good as the skill numbers you agree on.
- The swaps stop when no single swap makes the teams more even. In rare cases a change of several players at once could still be a little more even.
- Rules such as "keep these two players apart" are not offered here. The Random Assignment Generator has them.
- A fresh seed is one of 100,000,000,000,000 numbers. With many players there are more possible teams than seeds, so not every set of teams can come up.
- The page does not send your list to a server. It keeps it in this browser only when you tick Save my entries on this device.