Formula to calculate Pokemon Go CP and HP?
Assuming I know the Pokemon type, its attack, defense and stamina IVs (between 0 and 15), and the Pokemon level, how can I calculate its exact combat and health points?
It seems the formula has been cracked down by now, but I could not find it on the web. More specifically, here are my current conclusions:
As far as I can tell, Pokeassistant that calculates IVs (from CP, HP and dust to power up) knows the correct formula, including all the rounding issues: Inputting any parameters obtained from the game always gave me possible results for IVs, and when making a typo in a number, it often told me there were no possible IVs.
The website above actually gives explicit formulas:
HP = (Base Stam + Stam IV) * Lvl(CPScalar)
CP = (Base Atk + Atk IV) * (Base Def + Def IV)^0.5 * (Base Stam + Stam IV)^0.5 * Lvl(CPScalar)^2 / 10
Unfortunately, they don't explain what
Lvl(CPScalar)is. I tried to deduce its definition by matching this formula with one found on other websites (0.095*Level^0.5), but that did not work.
Best Answer
CP multipliers are values that appear directly in the game code, though only whole number levels are listed in the code. To calculate the half level values, you can use the formula from this GamePress article.
I doubt that any IV checkers actually calculate the values, instead, they likely look them up from a table.
Pictures about "Formula to calculate Pokemon Go CP and HP?"



How is HP calculated in Pokemon go?
Basic Stats HP (hit points) is related to how much damage a Pokemon can sustain before fainting. CP (combat power) is not related to how much damage a Pokemon deals when attacking gyms, but is a combination of attack, defense, and stamina (HP). If a Pok\xe9mon would have less than 10 CP, it has 10 instead.Is CP and HP the same?
Each Pok\xe9mon has Combat Power (CP) and Hit Points (HP). All Pok\xe9mon start out with full HP at capture, but HP can be depleted during battle. Each individual Pok\xe9mon is assigned CP at capture, which indicates how well that particular Pok\xe9mon will perform in battle.What is CP and HP in Pokemon go?
@0x0000eWan The question asks, "is it better to evolve higher HP or CP pokemons" and the answer mentions that CP should be considered first rather than the HP while evolving a Pokemon. Since the ratio of CP/HP is always directly proportional (in most cases), the Pokemon with less CP would always have lesser HP.Pokemon GO - How CP Works - Base Stats, IVs, Levels, HP, Attack, Defense, Calculations! [WISHMKR]
More answers regarding formula to calculate Pokemon Go CP and HP?
Answer 2
Knowing that Dragonite's max CP is 3608, I created this formula:
name = Dragonite
BaseAtk = 134
BaseDef = 95
BaseSta = 91
CPForm = ((134 + 15) * ((95 + 15)**0.5) * ((91 + 15)**0.5) * (0.00891892(40-30) + 0.53538485)) / 10
= 1004.8922
1004.8922 is no where near 3608
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: mentatdgt, Monstera, ThisIsEngineering, cottonbro

