How to use it
Type or paste the players, one per line. Choose how to split: by the number of teams you want, or by the number of players each team should have. Press Make teams. The result appears as team cards, and Copy teams as text puts it on the clipboard in a form you can paste into a group chat.
Your list is remembered on your device. Next week you delete the names of those who cannot come, add the newcomers and press the button.
A worked example
The sample list has ten names. Split into two teams, it gives two fives. Change the number of teams to three and the sizes become 4, 3 and 3. Switch to players per team and ask for teams of four: ten players make three teams, of 4, 3 and 3 again, because the tool never leaves anyone without a team.
Now rate the players. Write the list as:
- Alex 5, Sam 5
- Jordan 4, Taylor 4
- Casey 3, Morgan 3
- Riley 2, Jamie 2
- Robin 1, Charlie 1
Switch on Balance teams by rating and make two teams. Alex and Sam are split first, then Jordan and Taylor, and so on down the list. Both teams end with a total of 15. Press again and the pairs may swap sides, but the totals stay level. With a purely random split of the same ten players the totals differ by just under 4 points on average, and about one press in twenty produces a gap of 10 or more: both of the best players and most of the next best on one side.
What the rating should be
Any consistent number works: 1 to 5 stars, a 1 to 10 scale, a handicap, goals per game. Decimals are accepted, with a point or a comma. A player without a rating is counted as average for the group, so you only need to rate the people who stand out. Keep the scale honest in both directions: balancing only works if a 2 is as far below a 3 as a 4 is above it.
In a small group the result is exact or nearly so. In our tests with 12 to 30 players rated 1 to 5 and two to four teams, the totals ended within one rating point of each other 97 times in 100.
Why random is fairer than picking
Captains picking in turn is slow, and it always ends with someone being chosen last. A shuffle takes a second and nobody is ranked in public. With ratings entered beforehand you get the balance that picking is supposed to produce, without the ceremony.
The tool accepts up to 200 names and up to 40 teams. To decide which team kicks off, there is a coin toss; to give the teams a fixture list, the round-robin schedule generator.
Frequently asked questions
How do I split a group into random teams?
How do I make the teams even in ability?
Is the shuffle really random?
What if the number of players does not divide evenly?
Can I keep two players together or apart?
Are the names I type stored anywhere?
Sources
- Knuth DE. The Art of Computer Programming, volume 2: Seminumerical Algorithms, 3rd edition, section 3.4.2, Algorithm P (shuffling). Addison-Wesley, 1997
- MDN Web Docs, Crypto.getRandomValues() (cryptographically strong random values in the browser)
- Wikipedia, Fisher–Yates shuffle (the algorithm and the modulo-bias pitfall)
- Graham RL. Bounds on multiprocessing timing anomalies. SIAM Journal on Applied Mathematics 17(2), 1969, pp. 416–429 (the largest-first rule used for balancing)