# How CP on this web site is calculated

This website is a collection of data calculated from formulas that Reddit users came up with.

Some of the CP values might not be exactly correct due to rounding errors

# The relationship between status of main series pokemon and pokemon go

Did you know that the base stats of pokemons in pokemon go are calculated from base stats in main series pokemon?

In pokemon go, there are three base stats, HP, attack, and defence.

Let's take a look at how each values are calculated

# How HP is calculated

HP base stats in pokemon go is just the double of main series pokemon's base HP stats.

GHP=2*HP

GHP:Base HP stats in pokemon go

HP:Base HP stats in main series pokemon

# How attack is calculated

Calculating base attack stats is little more complicated:

PA=( 2*( max( (A),(SA) )*(7/8)+min( (A),(SA) )*(1/8) ) )

GA=round( (PA*0.85)+(PA*SP/500) )

GA:Base attack stats in pokemon go

PA:Attack factor

A:Base attack stats in main series pokemon

SA:Base special attack stats in main series pokemon

SP:Base speed stats in main series pokemon

# How base defence stats is calculated

The formula for calculating base defence stats in pokemon go is basically the defence version of attack formula:

PD=( 2*( max( (D),(SD) )*(7/8)+min( (D),(SD) )*(1/8) ) )

GA=round( (PD*0.85)+(PD*SP/500) )

GD:Base defence stats in pokemon go

PD:Defence factor

D:Base defence stats in main series pokemon

SD:Base special defence stats in main series pokemon

SP:Base speed stats in main series pokemon

The point here is that the base speed stats is being undervalued by being added rather than being multiplied.

This is one of the reasons why my favorite pokemon Gengar is not as strong as it should be in pokemon go.

Another thing I would like to point out here is that although it may not be apparent from the formula, the value of base attack stats in pokemon go would be higher if the pokemon has same or similar value of base attak and base special attack stats.

This is another reason why Gengar is being undervalued in pokemon go.

# How CP is calculated

The following is the formula for calculating CP from base HP, base attack, and base defence stats:

CP=( (GA+A_{iv})*(GD+D_{iv})^{0.5}*(GHP+HP_{iv})^{0.5} )c^{2}/10

GA:Base attack stats in pokemon go

A_{iv}:Pokemon's attack IV

GD:Base defence stats in pokemon go

D_{iv}:Pokemon's defence IV

GHP:Base HP stats in pokemon go

HP_{iv}:Pokemon's HP IV

c:Level constant

Level constant is a value that depends on the level of the pokemon, and when the pokemon is at its maximum level(levt 40), the value for c is 0.7903