Random Team Generator
Split players into random teams and nominate a captain for each side.
Last updated · View algorithm, constants and default inputs (JSON)
People per team
About this calculator
Paste names, choose team count or maximum team size, then generate. Reshuffle keeps the list. Results stay unchanged while editing. Team sizes differ by at most one. Results also show average, largest and smallest group sizes. The seed makes a grouping reproducible; allowing duplicate names is an explicit option.
Worked example
calculated with the default values below
Names — one per line or comma-separated Alex Sam Riley Jordan Casey Morgan · Group by Number of teams · Number of teams 2 · Maximum people per team 3 · Captains No captains · Repeated names Require unique names · Seed 5 Total players 6 · Teams 1 (3): Riley, Sam, Jordan 2 (3): Morgan, Alex, Casey · People per team 3 / 3 · Players per team 3.00 · Largest team size 3 · Smallest team size 3
Disclaimer
These calculators give general estimates for information and entertainment. Platform algorithms, metrics and definitions change without notice, and none of these results are official figures from the platforms named.
Implementation source
This record describes the implementation used by this page. It is not independent validation. External references, when available, support only the stated formula or definition; estimates and custom rules retain their own assumptions.
Formula and variables
J_i = ⌊u_i×(i+1)⌋; (arr_i, arr_{J_i}) → (arr_{J_i}, arr_i), i: m−1 → 1; G_t = {arr_t, arr_{t+n}, arr_{t+2n}, …}, t ∈ {0,…,n−1}
- m
- Player count
- n
- Number of teams
- i
- Shuffle position
- J_i
- Random swap index
- u_i
- Seeded random in [0,1)
- arr
- Shuffled player list
- t
- Team index
- G_t
- Team t
Paste names, choose team count or maximum team size, then generate. Reshuffle keeps the list. Results stay unchanged while editing. Team sizes differ by at most one. No. The seed makes the pseudo-random shuffle repeatable, but does not provide independent auditing or cryptographic fairness. For consequential selections, agree on a transparent process everyone can verify.
Frequently asked questions
Can the seeded shuffle prove the team draw was fair?
No. The seed makes the pseudo-random shuffle repeatable, but does not provide independent auditing or cryptographic fairness. For consequential selections, agree on a transparent process everyone can verify.
How do I enter names and generate balanced teams?
Paste names, choose team count or maximum team size, then generate. Reshuffle keeps the list. Results stay unchanged while editing. Team sizes differ by at most one.