Chances are, if you play pokemon, you may have wondered how many different teams you can make in the game. Well wonder no longer, because today I'll be answering that question ! Quick disclaimer: what I'm going to be calculating here is an upper bond for the possible number of teams, as the actual number would be really unpractical to calculate, for several reasons that will become apparent as I progress step by step.

**1. The Pokemons**

So, if we wanna calculate the number of possible teams, the first thing we need to know is how many combinations of 6 different pokemon you can make. For the sake of simplicity, we'll be assuming that we're playing the game on cartridge, which allows us to have multiples of the same pokemon on our team. According to bulbapedia, as of USUM there are

**907**pokemons including megas and alternate formes. Now, when composing a team of 6 pokemon, the process you actually go through is pick a pokemon amongst those 907 six times in a row, which means that this gives us

**907 ^ 6**possibilities. However, a lot of these combinations actually result in the same team, as the order in which you pick these pokemon does not matter (for example, picking Pikachu and then Salamence is the same as picking Salamence then Pikachu). To eliminate duplicates, we'll need to figure out how much teams you can make with the same 6 pokemons, and then divide our first number by that. Following the same principle, making teams from 6 set pokemons comes down to picking one amonst these 6, then one amongst the 5 remaining ones (because this time you can't pick the same one twice), and etc, which gives us 6*5*4*3*2*1 (commonly denoted 6!) possibilities for teams using 6 pokemon. In the end, this means that there are

**(907 ^ 6)/6! possibilities**for different teams of 6 pokemon, which gives us the already humongous number of

**7.7323451e+14 possibilities**. But wait, there's more !

**2. The Movesets**

For each of these 6 pokemons, you'll need to pick 4 moves. Now, it can be quite hard to calculate the number of possible movesets because not every pokemon has a movepool of the same size. To circumvent this problem, we'll calculate the upper bond for that instead. The pokemon that can learn the most moves (excluding Smeargle, obviously) in the game is Mew with a whopping 179 moves to chose from, which means that you can pick from at most 179 moves when making a moveset for each pokemon. You can't pick the same move twice when making a moveset, which means we get to chose one out of 179 for the first move, one out of 178 for the second move, one out of 177 for the third one and finally one out of 176 for the last one, which gives us (at most)

**179 * 178 * 177 * 176 = 95872758 possibilities**for each pokemon's moveset. Once again, the order in which these are chosen does not matter, so following the same logic as before, we'll have to divide our number by 4!, which brings us at

**3994698 possibilities for distinct movesets**. Now, since you have to pick a moveset for each of the 6 pokemon in the team, that means you have to pick one moveset out of 3994698 six times, which means that there are

**3994698 ^ 6 = 4.0635323e+39 possibilities for moveset configurations in the team**.

**3. Abilities**

For the sake of simplicity, we'll take an upper bond and consider that every pokemon gets to chose from 3 possible abilities.

**This gives us 3^6 = 729 possibilities for ability configurations in the team.**

**4. EVs and IVs**

**32 ^ 6 = 1073741824 different IV spreads for one given pokemon**, following the same logic as before (because this time there can be no duplicates : if you pick 27 for hp and 31 for attack, it is NOT the same as if you did the opposite) which we'll have to take to the power of 6 since there are 6 pokemons in our team, bringing us at . EVs are a little bit more complicated. Similar to IVs, it comes down to picking an EV value for each stat, ranging from 0 to 255, which gives us 256 possibilities for each stats. However, this time, you cannot exceed 510 EV points in total. This is where it gets difficult. In order to calculate the number of legal EV spreads, we'll take the total amount of EV spreads and figure out what is the percentage of spreads that do not exceed 510 EVs in total. First, we need to know what is the maximum number of EV points a pokemon could have if it was allowed to have 255 in each stat. That number is 255 * 6 = 1530. Since a legal EV spread can have a total of 510 EV points at most, we can conclude that the percentage of legal EV spreads is 510 / 1530 (what this number actually represents is the probability of getting a number that is less than or equal to 510 when picking a number at random between 1 and 1530), which is exactly 1 / 3 or 33%. So we'll take the total amount of EV spreads, which is 256 ^ 6 (once again following the same logic as before) and multiply it by the percentage of legal EV spreads to get the number of legal EV spreads, which turns out to be

**9.3824992e+13 for one given pokemon**. Since there are

*still*six pokemons on the team (I'm surprised none of them have ran away at this point because this post is getting really long), we'll once again need to take both of these numbers to the power of 6, and then multiply them with eachother to get the total number of EV and IV configurations for one given team, which is an astronomical

**1.045467e+138.**Yikes.

**5. Nature**

**21 ^ 6 = 85766121 possibilities**

**for nature configurations in a team.**Moving on.

**6. Items**

**379 ^ 6 = 2.963707e+15 possibilities for item configurations in a team.**

**7. The (really) GRAND TOTAL (finally!)**

**7.7323451e+14**(Pokemon configurations) *

**4.0635323e+39**(Moveset configurations) *

**729**(Abilty configurations)

*** 1.045467e+138**(EV and IV spread configurations) *

**85766121**(Nature configurations) *

**2.963707e+15**(Item configurations)

**= 6.08701e+218 possible team configurations in Pokemon.**

*...Wow.*To give you something to compare that to, there are approximatively

**10^82 atoms in the observable universe.**The number of possible team configurations in Pokemon is over 6.08701e+136 bigger than that (which is also bigger than the number of atoms in the observable universe).

If you think that's big, the number of possible Hackmons team is even larger, since it allows every pokemon to pick from all 728 existing moves and all 233 existing abilities.

Anyways, that's all, hope you enjoyed reading this post and congratulations for making it all the way to the end :D