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.