The damage calculation process itself is a bit more complicated than first meets the eye. You can gauge approximately how much an attack will do from its base power and your Pokemon's attack power, but calculating exactly how much it will do takes many more variables.
First of all, your level is just a relative number. Obviously, the higher the level, the higher your attack probably is. But you've probably heard that Pokemon at the same level can do different damage with the same attack. So you have to look deeper, at the attack stat as well. Also, the defense of the opposing Pokemon and its type plays a big factor in damage calculation.
The actual formula used in damage calculation is:
Damage = ((((2 * Level / 5 + 2) * AttackStat * AttackPower / DefenseStat) / 50) + 2) * STAB * Weakness/Resistance * RandomNumber / 100
Damage: Obviously, how much HP the attack will ultimately take away.
Level: The attacking Pokemon's level.
AttackStat: Your Pokemon's attack stat (ex. 136)
AttackPower: The attack power of the move itself (ex. Bubble has 20)
DefenseStat: The defense of the defending Pokemon
STAB: If the move you're using is the same type as the Pokemon using it, STAB=1.5. Otherwise, it is 1.0.
Weakness/Resistance: If the move is super-effective, this value is 2 (the damage doubles). If it's not very effective, this value is 0.5. If it doesn't affect at all, this value is 0 (no damage). If the move is super effective to both types of a dual type Pokemon, this value is 4.
RandomNumber: A randomly generated number between 85 and 100. That's why one move can take a Pokemon down to exactly half and then not kill it the second time.
The damage calculation process itself is a bit more complicated than first meets the eye. You can gauge approximately how much an attack will do from its base power and your Pokemon's attack power, but calculating exactly how much it will do takes many more variables.
First of all, your level is just a relative number. Obviously, the higher the level, the higher your attack probably is. But you've probably heard that Pokemon at the same level can do different damage with the same attack. So you have to look deeper, at the attack stat as well. Also, the defense of the opposing Pokemon and its type plays a big factor in damage calculation.
The actual formula used in damage calculation is:
Damage = ((((2 * Level / 5 + 2) * AttackStat * AttackPower / DefenseStat) / 50) + 2) * STAB * Weakness/Resistance * RandomNumber / 100
Damage: Obviously, how much HP the attack will ultimately take away.
Level: The attacking Pokemon's level.
AttackStat: Your Pokemon's attack stat (ex. 136)
AttackPower: The attack power of the move itself (ex. Bubble has 20)
DefenseStat: The defense of the defending Pokemon
STAB: If the move you're using is the same type as the Pokemon using it, STAB=1.5. Otherwise, it is 1.0.
Weakness/Resistance: If the move is super-effective, this value is 2 (the damage doubles). If it's not very effective, this value is 0.5. If it doesn't affect at all, this value is 0 (no damage). If the move is super effective to both types of a dual type Pokemon, this value is 4.
RandomNumber: A randomly generated number between 85 and 100. That's why one move can take a Pokemon down to exactly half and then not kill it the second time.