Quick Answer
Paste the names, one per line, choose how many teams you want, and press Make teams. Players are shuffled at random and dealt out like cards, so 10 people in 3 teams become teams of 4, 3 and 3. Choose People per team instead to set the team size, such as teams of 4.
Embed this calculator
Adjust the size if needed, then copy the code below into your page or blog. The calculator will load in an iframe and stay updated automatically.
Table of Contents
- Random Team Generator
- Quick Answer
- Related Calculators
- How This Random Team Generator Works
- How to Use the Random Team Generator
- How Teams Are Made
- Key Terms
- Worked Example
- Real-Life Examples
- Random Teams vs Picking Captains
- Team Sizes
- Tips for Fair Teams
- Common Mistakes to Avoid
- Frequently Asked Questions
- References & Sources
How This Random Team Generator Works
Splitting a group into teams by hand can feel unfair. This generator shuffles the names at random and deals them into teams of nearly equal size. Use it for sports, classroom groups, quiz nights, work projects or game nights.
Two ways to split:
- Number of teams: such as 4 teams from 22 people.
- People per team: such as teams of 5; the number of teams is worked out for you.
- Even sizes: team sizes never differ by more than one person.
- Copy: paste the teams into a chat or email.
How to Use the Random Team Generator
- Paste the names, one per line.
- Choose to split by number of teams or people per team.
- Enter the number.
- Press Make teams.
- Copy the teams to share them.
How Teams Are Made
- Shuffle: the list is shuffled with the Fisher-Yates method using secure random numbers.
- Deal: person 1 goes to team 1, person 2 to team 2, and so on, wrapping around.
- Team size: people ÷ teams, rounded down; the remainder gives some teams one extra person.
- By team size: teams = people ÷ size, rounded up.
Key Terms
- Shuffle: putting a list in a random order.
- Remainder: people left over after equal teams are made, spread one per team.
- Fisher-Yates shuffle: a method that gives every order the same chance.
Worked Example
22 people want teams of 5 for five-a-side football.
- Teams: 22 ÷ 5 = 4.4, rounded up to 5 teams.
- Team size: 22 ÷ 5 = 4 remainder 2.
- So 2 teams have 5 people and 3 teams have 4 people.
- For exactly 5 per team, you would need 25 people, or 4 teams with 2 substitutes.
Real-Life Examples
- Sports: 14 players into 2 teams of 7.
- Classroom: 30 students into groups of 4 makes 8 groups: 6 of 4 and 2 of 3.
- Quiz night: 18 guests into 4 teams: 2 of 5 and 2 of 4.
- Workshops: 40 people into 8 breakout groups of 5.
Random Teams vs Picking Captains
- Random teams: quick and fair; nobody is picked last.
- Captains picking: can balance skill, but takes longer and can leave people out.
- Mix: make random teams, then allow one swap if teams look unbalanced.
Team Sizes
| People | Teams | Team sizes |
|---|---|---|
| 10 | 2 | 5 and 5 |
| 10 | 3 | 4, 3 and 3 |
| 16 | 4 | 4 each |
| 22 | 4 | 6, 6, 5 and 5 |
| 30 | 6 | 5 each |
Tips for Fair Teams
- Random is fair, not balanced: chance can put the strongest players together. Shuffle again by agreement, or balance by hand afterwards.
- Agree before shuffling: decide whether one reshuffle is allowed.
- Check spelling: a name typed twice counts as two people.
- Mix groups: random teams help people meet others outside their usual group.
Common Mistakes to Avoid
- Names on one line. Put each name on its own line.
- Duplicate names. Each line counts as one person.
- Expecting balanced skill. Random means fair chance, not equal strength.
- Too many teams. You cannot make more teams than people.
- Reshuffling repeatedly. Agree on the rules first.
Frequently Asked Questions
Paste the names, choose the number of teams, and press Make teams.
Some teams get one extra person; sizes never differ by more than one.
Yes. Choose People per team and enter the size.
Yes. It uses a secure random shuffle in your browser.
As many as you like; very large lists may take a moment.
No. Nothing is sent or stored.
Yes. Press Make teams again for new teams.
Yes. Make the teams here, then use your own bracket or schedule for the matches.
Not automatically. Make random teams, then swap players by hand if needed.
Paste the class list, choose People per team, and enter 3. If the class does not divide by 3, a few groups will have 2 people, and the table shows exactly how many.
When the number of people does not divide evenly, the extra people are spread across the first teams, so some teams have one more person than others. No team ever has two more than another.
Yes. Make the groups here, copy them, and paste them into the meeting chat before you open breakout rooms.
Not automatically. Make the teams, then swap names by hand if the group agrees.
Yes. People are shuffled before they are dealt, so the order within each team is random too, which you can use for turns or positions.
References & Sources
| Source | Used For | Link |
|---|---|---|
| MDN Web Docs, Crypto.getRandomValues() | The secure random source. | https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues |
| Wikipedia, Fisher–Yates shuffle | The shuffle method used. | https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle |