<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Since I’m sure you’re all wondering, here are the formulas for calculating Combat Power (CP) in Pokemon Go:</div><div class=""><br class=""></div><div class=""><font face="Courier New" class="">$cp = $attack * sqrt($defense * $stamina) * $mult;</font></div><div class=""><font face="Courier New" class="">$attack = $attack_base + int(rand 16);</font></div><div class=""><font face="Courier New" class="">$defense = $defense_base + int(rand 16);</font></div><div class=""><font face="Courier New" class="">$stamina = $stamina_base + int(rand 16);</font></div><div class=""><font face="Courier New" class="">$mult = $lvl < 10 ? 0.00188522509 * $lvl - 0.00100162557</font></div><div class=""><font face="Courier New" class="">      : $lvl < 20 ? 0.00178380524 * $lvl + 0.00001257208</font></div><div class=""><font face="Courier New" class="">      : $lvl < 30 ? 0.00178498135 * $lvl - 0.00001095185</font></div><div class=""><font face="Courier New" class="">      :             0.00089189216 * $lvl + 0.02678172352;</font></div><div class=""><br class=""></div><div class="">Where $lvl is the pokemon level (which can be up to player level + 1.5), *_base are the species base stats, and $attack, $defense, and $stamina are the individual stats (not visible in the game).</div><div class=""><br class=""></div><div class="">Have a nice month!</div><div class=""><br class=""></div><div class=""> -bob</div></body></html>