Damage: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
 
(202 intermediate revisions by 59 users not shown)
Line 1: Line 1:
{{spading|comment=Research on the zero damage cases other than False Swipe/Hold Back or immunities}}
[[File:Ash Pokémon injured.png|thumb|300px|{{cat|Ash's Pokémon}} injured after a battle]]
'''Damage''' (Japanese: '''ダメージ''' ''damage'') is a loss of a Pokémon's [[HP]] that happens as the result of a [[physical move|physical]] or [[special move|special]] [[move|attack]] used against it by another Pokémon.


'''Damage''' (Japanese: '''ダメージ''' ''damage'') is a loss of a Pokémon's {{stat|HP}} that happens as the result of a [[special move|special]] or [[physical move|physical]] [[move|attack]] used against it by another Pokémon.
==Damage calculation==
{{incomplete|section|needs=Anything that may have potentially been missed or inaccurate}}


==Damage modification==
Except for {{cat|moves that deal direct damage}}, the damage dealt when a Pokémon uses a damaging move depends on its [[level]], its effective Attack or Special Attack [[statistic|stat]], the opponent's effective Defense or Special Defense stat, and the move's effective [[power]]. In addition, various factors of damage modification may also affect the damage dealt.
'''Damage modification''' is a system of multipliers used to change the [[damage]] dealt in a {{pkmn|battle}}. These modifiers affect how the damage is calculated by multiplying the move's [[base power]] in various ways. These modifiers range from doubling to halving and even negating the damage done.


===Type effectiveness===
More precisely, damage is calculated in each [[Generation]] as:
Since each move has a [[type]], its '''effectiveness''' (Japanese: '''{{tt|効果|こうか}}''' ''effectiveness'') is largely determined by the targeted Pokémon's type. Moves can have regular effectiveness or be super effective, not very effective, or not effective at all. The effectiveness of types against one another has varied among generations, see [[Type chart|this page]].


====Super effective====
===[[Generation I]]===
:''"Super effective" redirects here. For the webcomic, see [[Super Effective (webcomic)]].''
:<math>Damage = \left(\frac{\left( \frac{2 \times Level \times Critical}{5} + 2\right) \times Power \times A / D}{50} + 2\right) \times STAB \times Type1 \times Type2 \times random</math>
:''"It's super effective" redirects here. For the podcast, see [[It's Super Effective (podcast)]].''
:''"Weakness" redirects here. For the TCG mechanic, see [[Appendix:Glossary (TCG)#Weakness|Appendix:Glossary (TCG) → Weakness]].''
When a move is '''super effective''' (Japanese: '''{{tt|効果はバツグン|こうかはばつぐん}}''' ''super effective''), it inflicts double the damage it would normally do. For example, a move like {{m|Megahorn}} used against a {{type|Psychic}} Pokémon will be super effective because {{type|Bug}} moves are super effective against Psychic types. This effect can stack up; for example, a Pokémon that is {{t|Rock}}/{{t|Ground}} and is hit by a {{type|Water}} move like {{m|Surf}} will be damaged four times as much by the move as a {{type|Normal}} Pokémon would be, because both Rock and Ground Pokémon are weak to Water moves.


In [[Pokémon GO]], super effective moves deal only 1.25x the damage, instead of 2x.
where:


====Not very effective====
* ''Level'' is the [[level]] of the attacking Pokémon.
:''"Resistance" redirects here. For the TCG mechanic, see [[Appendix:Glossary (TCG)#Resistance|Appendix:Glossary (TCG) → Resistance]].''
* ''Critical'' is 2 for a [[critical hit]], and 1 otherwise.
When a move is '''not very effective''' (Japanese: '''{{tt|効果は今一つ|こうかはいまひとつ}}''' ''not very effective''), or resistant, it deals half of the damage it would normally do. This works exactly like super effective moves, and can stack up. For example, a {{t|Steel}}/{{t|Rock}} Pokémon will be damaged by a quarter of the amount by a {{type|Normal}} move. Likewise, a {{t|Normal}}/{{t|Flying}} Pokémon hit by a {{type|Fighting}} move will be damaged normally, as Normal's weakness to Fighting is canceled out by Flying's resistance to it.
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], all modifiers are ignored, and the unmodified Attack or Special is used instead). If either this or ''D'' are greater than 255, both are divided by 4 and rounded down.
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special stat of the target if the used move is an other [[special move]] (for a [[critical hit]], all modifiers are ignored, and the unmodified Defense or Special is used instead). If the move is physical and the target has {{m|Reflect}} up, or if the move is special and the target has {{m|Light Screen}} up, this value is doubled (unless it is a critical hit). If the move is {{m|Explosion}} or {{m|Self-Destruct|Selfdestruct}}, this value is halved (rounded down, with a minimum of 1). If either this or ''A'' are greater than 255, both are divided by 4 and rounded down. Unlike future Generations, if this is 0, the division is not made equal to 0; rather, the game will try to [[List of glitches in Generation I#Division by 0|divide by 0]] and softlock, hanging indefinitely until it is turned off.
* ''Power'' is the [[power]] of the used move.
* ''STAB'' is the [[same-type attack bonus]]. This is equal to 1.5 if the move's [[type]] matches any of the user's types, and 1 if otherwise. Internally, it is recognized as an addition of the damage calculated thus far divided by 2, rounded down, then added to the damage calculated thus far. <!-- rounded down; capped at 999 right BEFORE this operation, after the +2 -->
* ''Type1'' is the [[type effectiveness]] of the used move against the target's type that comes first in the type matchup table, or only type if it only has one type. This can be 0.5 (not very effective), 1 (normally effective), 2 (super effective). <!-- Individual factors are performed one after the other, in the order of the type matchup table. Each individual factor is a multiplication followed by a division by 10, with possible multipliers being 20 and 5 (and 0). -->
* ''Type2'' is the [[type effectiveness]] of the used move against the target's type that comes second in the type matchup table. This can be 0.5 (not very effective), 1 (normally effective), 2 (super effective). If the target only has one type, ''Type2'' is 1. If this would result in 0 damage, the calculation ends here and the move is stated to have missed, even if it would've hit.
* ''random'' is realized as a multiplication by a random uniformly distributed integer between 217 and 255 (inclusive), followed by an integer division by 255. If the calculated damage thus far is 1, ''random'' is always 1.


In [[Pokémon GO]], not very effective moves deal 0.8x damage, instead of 0.5x.
===[[Generation II]]===
:<math>Damage = \left(\left(\frac{\left( \frac{2 \times Level}{5} + 2\right) \times Power \times A / D}{50}\right) \times Item \times Critical + 2 \right) \times TK \times Weather \times Badge \times STAB \times Type \times MoveMod \times random \times DoubleDmg</math>


====Not effective====
where:
When a move is '''not effective''' (Japanese: '''{{tt|効果がない|こうかがない}}''' ''not effective''), it does not damage the Pokémon at all and that Pokémon is "immune" to all attacks of that type; the move will yield a message of "It doesn't affect ''Pokémon''..." Certain types are also immune to specific [[status move]]s, such as {{type|Ground}} Pokémon being immune to the {{type|Electric}} {{m|Thunder Wave}}, or {{type|Grass}} Pokémon being immune to {{m|Leech Seed}} as well as {{cat|powder and spore moves}}.


In [[Pokémon GO]], not effective moves are treated as if they are not very effective. So a {{type|Ground}} move can hit a {{type|Flying}} Pokémon, only at 0.8x damage.
* ''Level'' is the [[level]] of the attacking Pokémon. If the used move is {{m|Beat Up}}, ''L'' is instead the level of the Pokémon performing the strike.
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], if the target's Defense or Special Defense stat stage is greater than or equal to the attacker's Attack or Special Attack stat stage, all modifiers are ignored, and the unmodified Attack or Special is used instead). If the used move is {{m|Beat Up}}, ''A'' is instead the base Attack of the Pokémon performing the strike.
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special stat of the target if the used move is a [[special move]] (for a [[critical hit]], all modifiers are ignored, and the unmodified Defense or Special is used instead). If the move is physical and the target has {{m|Reflect}} up, or if the move is special and the target has {{m|Light Screen}} up, this value is doubled (unless it is a critical hit). If the move is {{m|Explosion}} or {{m|Self-Destruct|Selfdestruct}}, this value is halved (rounded down, with a minimum of 1). If the used move is {{m|Beat Up}}, ''D'' is instead the base Defense of the target.
* ''Power'' is the [[power]] of the used move.
* ''Item'' is 1.1 <!-- multiplication by 110, then divide by 100 --> if the attacker is holding an [[:Category:Type-enhancing held items|type-enhancing held item]] corresponding to the attack type (for instance, the [[Magnet]] for an {{type|Electric}} move). Otherwise, this value is simply 1.
* ''Critical'' is 2 for a [[critical hit]], and 1 otherwise. It is always is 1 if the used move is {{m|Flail}}, {{m|Reversal}}, or {{m|Future Sight}}. <!-- capped at 0xffff after this operation, then capped again at 997 (i.e. 999 after the +2) -->
* ''TK'' is 1, 2, or 3 for each successive hit of {{m|Triple Kick}}, or always 1 if the used move is not Triple Kick.
* ''Weather'' is 1.5 if a {{type|Water}} move is being used during [[rain]] or a {{type|Fire}} move during [[harsh sunlight]], and 0.5 if a Water-type move is used during harsh sunlight or {{m|Solar Beam|SolarBeam}} or any Fire-type move during rain, and 1 otherwise. <!-- multiplication followed by a division by 10, with possible multipliers being 15 and 5 -->
* ''Badge'' is 1.125 <!-- a boost of 1/8 (rounded down), with a minimum boost of +1 --> if the attacking Pokémon is controlled by the player and if the player has obtained the [[Badge]] corresponding to the used move's [[type]], and 1 otherwise. This bonus is not applied in link battles or the {{OBP|Battle Tower|Generation II}}. <!-- capped at 0xffff after this operation -->
* ''STAB'' is the [[same-type attack bonus]]. This is equal to 1.5 if the move's [[type]] matches any of the user's types, and 1 if otherwise. <!-- rounded down -->
* ''Type'' is the [[type effectiveness]]. This can be 0.25, 0.5 (not very effective), 1 (normally effective), 2, or 4 (super effective), depending on both the move's and target's [[type]]s. If the used move is {{m|Struggle}}, {{m|Future Sight}}, or {{m|Beat Up}}, ''Type'' is always 1.<!-- Individual factors are performed one after the other, in the order of the type matchup table. Each individual factor is a multiplication followed by a division by 10, with possible multipliers being 20 and 5 (and 0). -->
* ''MoveMod'' can be (and if the used move is not any of these, ''MoveMod'' is 1):<!-- capped at 0xffff after this operation -->
** If {{m|Rollout}} is used, <math>2^\left(n+d\right)</math>, where ''n'' is the amount of successful and consecutive hits of the move, up to 4 (for the fifth hit), and ''d'' is 1 if {{m|Defense Curl}} was used beforehand and 0 otherwise.
** If {{m|Fury Cutter}} is used, <math>2^n</math>, where ''n'' is the number of successful and consecutive uses of the move, up to 4.
** If {{m|Rage}} is used, an integer value corresponding to the Rage counter, i.e. the number of times the user of Rage has been damaged by an attack while using Rage.
* ''random'' is realized as a multiplication by a random uniformly distributed integer between 217 and 255 (inclusive), followed by an integer division by 255. ''random'' is always 1 if {{m|Flail}} or {{m|Reversal}} is used.
* ''DoubleDmg'' is 2 if the used move is {{m|Pursuit}} and the target is attempting to switch out, {{m|Stomp}} and the target has previously used {{m|Minimize}}, {{m|Gust}} or {{m|Twister}} and the target is in the semi-invulnerable turn of {{m|Fly}}, or {{m|Earthquake}} or {{m|Magnitude}} and the target is in the semi-invulnerable turn of Dig, and 1 otherwise.


===Critical hit===
===[[Generation III]]===
{{main|Critical hit}}
:<math>Damage = \left(\left(\frac{\left( \frac{2 \times Level}{5} + 2\right) \times Power \times A / D}{50}\right) \times Burn \times Screen \times Targets \times Weather \times FF + 2 \right) \times Stockpile \times Critical \times DoubleDmg \times Charge \times HH \times STAB \times Type1 \times Type2 \times random</math>
A move will sometimes inflict a '''critical hit''' against another Pokémon. This will increase the damage done by 1.5× (2× prior to Generation VI) prior to type effectiveness calculations.


From [[Generation II]] onward, critical hits cause the effects of {{m|Light Screen}} and {{m|Reflect}} to be ignored. From [[Generation III]] onward, a critical hit additionally causes the attacker's negative [[Statistic|stat changes]] and the defender's positive stat changes to be ignored.
where:


There are no critical hits in [[Pokémon GO]].
* ''Level'' is the [[level]] of the attacking Pokémon. If the used move is {{m|Beat Up}}, ''L'' is instead the level of the Pokémon performing the strike.
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], negative Attack or Special Attack stat stages are ignored). If the used move is {{m|Beat Up}}, ''A'' is instead the base Attack of the Pokémon performing the strike. <!-- this potentially includes Pure Power/Huge Power, stat Badge boosts, type-item boosts, Choice Band, Soul Dew, Deep Sea Tooth, Light Ball, Thick Club, Thick Fat, Hustle, Plus, Minus, Guts, in that order -->
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special Defense stat of the target if the used move is a [[special move]] (for a [[critical hit]], positive Defense or Special Defense stat stages are ignored). If the used move is {{m|Beat Up}}, ''D'' is instead the base Defense of the target.<!-- this potentially includes stat Badge boosts, Soul Dew, Deep Sea Scale, Metal Powder, Marvel Scale, Explosion/Selfdestruct, in that order -->
* ''Power'' is the effective [[power]] of the used move. <!-- this potentially includes Mud Sport/Water Sport, Overgrow, Blaze, Torrent, Swarm, in that order -->
* ''Burn'' is 0.5 if the attacker is {{status|burned}}, its Ability is not {{a|Guts}}, and the used move is a [[physical move]], and 1 otherwise. <!-- rounded down -->
* ''Screen'' is 0.5 if the used move is physical and {{m|Reflect}} is present on the target's side of the field, or special and {{m|Light Screen}} is present. For a [[Double Battle]], ''Screen'' is instead 2/3<!-- first /3, rounded down, then *2-->, and 1 otherwise or if the used move lands a [[critical hit]]. However, if, in a Double Battle, when the move is executed, the only Pokémon on the target's side is the target, ''Screen'' remains as 0.5.
* ''Targets'' is 0.5 in [[Double Battle]]s if the move {{cat|moves that target all adjacent foes|targets both foes}} (unless it {{cat|moves that target all adjacent Pokémon|targets all other Pokémon}}, like {{m|Earthquake}}, and only if there is more than one such target when the move is executed, regardless of whether the move actually hits or can hit all the targets), and 1 otherwise.
* ''Weather'' is 1.5 if a {{type|Water}} move is being used during [[rain]] or a {{type|Fire}} move during [[harsh sunlight]], and 0.5 if a Water-type move is used during harsh sunlight, any Fire-type move during rain, or {{m|SolarBeam}} during any non-clear weather besides harsh sunlight, and 1 otherwise or if any Pokémon on the field have the Ability {{a|Cloud Nine}} or {{a|Air Lock}}. <!-- multiplication followed by a division by 10, with possible multipliers being 15 and 5 -->
* ''FF'' is 1.5 if the used move is {{type|Fire}}, and the attacker's Ability is {{a|Flash Fire}} that has been activated by a Fire-type move, and 1 otherwise. <!-- multiplication by 15, then division by 10; after this operation, if, and only if, the move is physical AND the damage calculated thus far is 0, it is bumped up to 1 -->
* ''Stockpile'' is 1, 2, or 3 if the used move is {{m|Spit Up}}, depending on how many {{m|Stockpile}}s have been used, or always 1 if the used move is not Spit Up.
* ''Critical'' is 2 for a [[critical hit]], and 1 otherwise. It is always 1 if {{m|Future Sight}}, {{m|Doom Desire}}, or {{m|Spit Up}} is used, if the target's Ability is {{a|Battle Armor}} or {{a|Shell Armor}}, or if the battle is the first one against {{p|Poochyena}}{{sup/3|RS}}/{{p|Zigzagoon}}{{sup/3|E}} or the capture tutorial where [[Wally]] catches a {{p|Ralts}}.
* ''DoubleDmg'' is 2 if the used move is (and 1 if the used move is not any of these moves):
** {{m|Gust}} or {{m|Twister}} and the target is in the semi-invulnerable turn of {{m|Fly}} or {{m|Bounce}}.
** {{m|Stomp}}, {{m|Needle Arm}}, {{m|Astonish}}, or {{m|Extrasensory}} and the target has previously used {{m|Minimize}}.
** {{m|Surf}} or {{m|Whirlpool}} and the target is in the semi-invulnerable turn of {{m|Dive}}.
** {{m|Earthquake}} or {{m|Magnitude}} and the target is in the semi-invulnerable turn of {{m|Dig}}. <!--Verify if Magnitude really does double damage; I've heard conflicting sources for each Gen, but I know in Gen 4 it doubles power against Dig, I tested it myself-->
** {{m|Pursuit}} and the target is attempting to [[Recall|switch out]].
** {{m|Facade}} and the user is {{status|poisoned}}, {{status|burned}}, or {{status|paralyzed}}.
** {{m|SmellingSalt}} and the target is {{status|paralyzed}}.
** {{m|Revenge}} and the attacker has been damaged by the target this turn.
** {{m|Weather Ball}}, there is non-clear [[weather]], and no Pokémon on the field have the Ability {{a|Cloud Nine}} or {{a|Air Lock}}.
* ''Charge'' is 2 if the move is {{type|Electric}} and {{m|Charge}} takes effect, and 1 otherwise.
* ''HH'' is 1.5 if the attacker's ally in a [[Double Battle]] has used {{m|Helping Hand}} on it, and 1 otherwise. <!-- multiplication by 15, then division by 10 -->
* ''STAB'' is the [[same-type attack bonus]]. This is equal to 1.5 if the move's [[type]] matches any of the user's types and 1 if otherwise. <!-- rounded down -->
* ''Type1'' is the [[type effectiveness]] of the used move against the target's first type (or only type, if it only has a single type). This can be 0.5 (not very effective), 1 (normally effective), or 2 (super effective). If the used move is {{m|Struggle}}, {{m|Future Sight}}, {{m|Beat Up}}, or {{m|Doom Desire}}, both ''Type1'' and ''Type2'' are always 1.
* ''Type2'' is the [[type effectiveness]] of the used move against the target's second type. This can be 0.5 (not very effective), 1 (normally effective), or 2 (super effective). If the target only has a single type, ''Type2'' is 1. <!-- Individual factors are performed one after the other, in the order of the type matchup table. Each individual factor is a multiplication followed by a division by 10, with possible multipliers being 20 and 5 (and 0). -->
* ''random'' is realized as a multiplication by a random uniformly distributed integer between 85 and 100 (inclusive), followed by an integer division by 100. <!-- rounded down --> ''random'' is always 1 if {{m|Spit Up}} is used.


===Same-type attack bonus===
===[[Generation IV]]===
{{main|Same-type attack bonus}}
:<math>Damage = \left(\left(\frac{\left( \frac{2 \times Level}{5} + 2\right) \times Power \times A / D}{50}\right) \times Burn \times Screen \times Targets \times Weather \times FF + 2 \right) \times Critical \times Item \times First \times random \times STAB \times Type1 \times Type2 \times SRF \times EB \times TL \times Berry</math>
A move used by a Pokémon that is of the same type as the move itself will do 150% of its normal damage, such as a {{type|Fire}} move used by a Fire-type Pokémon. Dual-type Pokémon will receive this bonus for both of their types, and a Pokémon whose type can change in-battle will receive the bonus for whatever type they are when they make the move. Pokémon with {{a|Adaptability}} have this increased to 200% (an effective boost of ~33.3%).


In [[Pokémon GO]], the same-type attack bonus is 1.25x, instead of 1.5x.
where:


===Weather===
* ''Level'' is the [[level]] of the attacking Pokémon. If the used move is {{m|Beat Up}}, ''L'' is instead the level of the Pokémon performing the strike.
{{main|Weather}}
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], negative Attack or Special Attack stat stages are ignored). If the used move is {{m|Beat Up}}, ''A'' is instead the base Attack of the Pokémon performing the strike.
{{type|Water}} and {{type|Fire}} moves' damage will be modified by [[rain]] and [[harsh sunlight]]. During rain, Water-type moves do 50% more damage and Fire-type moves do 50% less damage. During [[harsh sunlight]], Fire-type moves do 50% more damage and Water-type moves do 50% less damage.
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special Defense stat of the target if the used move is a [[special move]] (for a [[critical hit]], positive Defense or Special Defense stat stages are ignored). If the used move is {{m|Beat Up}}, ''D'' is instead the base Defense of the target.
* ''Power'' is the effective [[power]] of the used move.
* ''Burn'' is 0.5 if the attacker is {{status|burned}}, its Ability is not {{a|Guts}}, and the used move is a [[physical move]], and 1 otherwise.
* ''Screen'' is 0.5 if the used move is physical and {{m|Reflect}} is present on the target's side of the field, or special and {{m|Light Screen}} is present. For a [[Double Battle]], ''Screen'' is instead 2/3; however, if in a Double Battle when the move is executed, the only Pokémon on the target's side of the field is the target (for moves with only one target), or there is only one target when the move is executed (for moves with more than one target), ''Screen'' remains as 0.5. ''Screen'' is 1 otherwise or if the used move lands a [[critical hit]].
* ''Targets'' is 0.75 in [[Double Battle]]s if the used move {{cat|moves that target all adjacent foes|has more than}} {{cat|moves that target all adjacent Pokémon|one target}} (provided there is more than one such target when the move is executed, regardless of whether the move actually hits or can hit all the targets), and 1 otherwise.
* ''Weather'' is 1.5 if a {{type|Water}} move is being used during [[rain]] or a {{type|Fire}} move during [[harsh sunlight]], and 0.5 if a Water-type move is used during harsh sunlight or a Fire-type move during rain, or {{m|SolarBeam}} during any non-clear weather besides harsh sunlight, and 1 otherwise or if any Pokémon on the field have the Ability {{a|Cloud Nine}} or {{a|Air Lock}}.
* ''FF'' is 1.5 if the used move is {{type|Fire}}, and the attacker's Ability is {{a|Flash Fire}} that has been activated by a Fire-type move, and 1 otherwise.
* ''Critical'' is 2 for a [[critical hit]], 3 if the move lands a critical hit and the attacker's Ability is {{a|Sniper}}, and 1 otherwise. It is always 1 if {{m|Future Sight}} or {{m|Doom Desire}} is used, the target's Ability is {{a|Battle Armor}} or {{a|Shell Armor}}, the target is under the effect of {{m|Lucky Chant}}, or if the battle is the first one against {{p|Starly}}{{sup/4|DP}}.
* ''Item'' is 1.3 if the attacker is holding a [[Life Orb]], <math>1+\frac{n}{10}</math> if the attacker is holding a {{i|Metronome}}, where ''n'' is the amount of times the same move has been successfully and consecutively used, up to 10, and 1 otherwise.
* ''First'' is 1.5 if the used move was stolen with [[Me First]].
* ''random'' is realized a random integer from 85 to 100, inclusive, divided by 100. ''random'' is always 1 if {{m|Spit Up}} is used.
* ''STAB'' is the [[same-type attack bonus]]. This is equal to 1.5 if the move's [[type]] matches any of the user's types, 2 if the user of the move additionally has {{a|Adaptability}}, and 1 if otherwise.
* ''Type1'' is the [[type effectiveness]] of the used move against the target's first type (or only type, if it only has a single type). This can be 0.5 (not very effective), 1 (normally effective), or 2 (super effective). If the used move is {{m|Struggle}}, {{m|Future Sight}}, {{m|Beat Up}}, or {{m|Doom Desire}}, both ''Type1'' and ''Type2'' are always 1.
* ''Type2'' is the [[type effectiveness]] of the used move against the target's second type. This can be 0.5 (not very effective), 1 (normally effective), or 2 (super effective). If the target only has a single type, ''Type2'' is 1.
* ''SRF'' is 0.75 if the used move is super effective, the target's Ability is {{a|Solid Rock}} or {{a|Filter}}, and the attacker's Ability is not {{a|Mold Breaker}}, and 1 otherwise.
* ''EB'' is 1.2 if the used move is super effective and the attacker is holding an [[Expert Belt]], and 1 otherwise.
* ''TL'' is 2 if the used move is not very effective and the attacker's Ability is {{a|Tinted Lens}}, and 1 otherwise.
* ''Berry'' is 0.5 if the used move is super effective and the target is holding the {{cat|Damage-reducing Berries|Berry that weakens it}}, or {{type|Normal}} and the target is holding a [[Chilan Berry]], and 1 otherwise.


===Abilities===
===[[Generation V]] onward===
{{main|Ability}}
Unless otherwise specified, all divisions and multiplications past the initial base damage calculation are rounded to the nearest integer if the result is not an integer (rounding down at 0.5).
Abilities come in a wide variety, and have various effects on damage modification. These effects range from increasing and decreasing the power of moves of a specific [[type]], granting immunities, and even changing the power of moves affected by other damage modifiers. These Abilities include:


* {{a|Blaze}}, {{a|Overgrow}}, {{a|Torrent}} and {{a|Swarm}} increase the power of {{type|Fire}}, {{type|Grass}}, {{type|Water}} and {{type|Bug}} moves respectively by 50% when the user's HP falls below 33%.
:<math>\text{Damage} = \left(\frac{\left( \frac{2 \times \text{Level}}{5} + 2\right) \times \text{Power} \times\frac{A}{D}}{50} + 2\right) \times \text{Targets} \times \text{PB} \times \text{Weather} \times \text{GlaiveRush} \times \text{Critical} \times \text{random} \times \text{STAB} \times \text{Type} \times \text{Burn} \times \text{other} \times \text{ZMove} \times \text{TeraShield}</math>
* {{a|Guts}} will increase the user's Attack by 50% if inflicted with a {{status|burn}}, {{status|paralysis}}, or {{status|poison}}.
* {{a|Thick Fat}} decreases the damage dealt to the user by opponents' Fire-type and Ice-type moves by 50%. {{a|Heatproof}} decreases the damage dealt to the user by opponents' Fire-type moves by 50%.
* {{a|Levitate}} provides immunity to {{type|Ground}} moves and {{a|Soundproof}} provides immunity to {{Cat|sound moves}}.
* {{a|Volt Absorb}} and {{a|Water Absorb}} grant immunity to {{type|Electric}} and {{type|Water}} moves respectively, healing the user's HP by 25% instead.
* {{a|Dry Skin}} works in part like Water Absorb, healing the user when hit with a {{type|Water}} move, but it also heals the user by 6.25% each turn during [[rain]]. However, it also causes the Pokémon to receive additional damage from {{type|Fire}} attacks and lose 6.25% of its HP in damage during {{weather|Harsh sunlight|sunlight}}.
* {{a|Flash Fire}} negates the effect of opponents' Fire-type moves and instead increases the power of the ability's user's own Fire-type attacks. Similarly, {{a|Motor Drive}} negates the effect of opponents' Electric-type moves and instead increases the user's Speed by one stage. These abilities include [[status move]]s like {{m|Will-O-Wisp}} and {{m|Thunder Wave}}.
* {{a|Mold Breaker}}, {{a|Teravolt}}, and {{a|Turboblaze}} remove all ability-based immunities to the user's moves.
* {{a|Scrappy}} allows the user to hit {{type|Ghost}}s with {{type|Normal}} and {{type|Fighting}} damage-dealing moves.
* {{a|Adaptability}} increases the STAB multiplier for moves of the same type as the user from 1.5× to 2×.
* {{a|Hustle}} boosts the Attack stat of the user by 50%.
* {{a|Pure Power}} and {{a|Huge Power}} both double the user's Attack stat.
* {{a|Technician}} increases the power of the user's moves with base power 60 or less by 50%.
* {{a|Super Luck}} increases the user's critical hit ratio.
* {{a|Battle Armor}} and {{a|Shell Armor}} prevent critical hits being dealt to the user.
* {{a|Sniper}} increases the damage of a user's critical hits by 50%.
* {{a|Tinted Lens}} doubles the power of the user's moves that are not very effective.
* {{a|Solid Rock}} and {{a|Filter}} each reduce the power of super effective moves on the user by 25%.
* {{a|Wonder Guard}} gives the user immunity to all attacking moves that are not super effective.
* {{a|Iron Fist}} increases the damage of punching moves by 20%.
* {{a|Mega Launcher}} increases the damage of aura and pulse moves by 50%.
* The moves {{m|Storm Throw}} and {{m|Frost Breath}} can cancel out the 50% damage if used on certain types due to the moves always resulting in a critical hit, and can cause 4×, 6× or 12× multipliers if used on other types.


===Items===
where
:''See also: [[Type-enhancing item]]''
Some [[held item]]s increase the power of an attack by a small percentage. Most of these items boost attacks [[type-enhancing item|only of a certain type]] by 20%. Some [[stat-enhancing item|items]] can also modify damage by boosting the attacker's offensive stats or the victim's defensive stats. Some [[Berry#Generation IV|Berries]] also weaken an opponent's super-effective move.


Other held items that modify damage include:
* ''Level'' is the [[level]] of the attacking Pokémon.
* {{DL|In-battle effect item|Muscle Band}} boosts [[physical move]]s by 10%
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (ignoring negative stat stages for a [[critical hit]]).
* {{DL|In-battle effect item|Wise Glasses}} boost [[special move]]s by 10%
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]] or a {{cat|Moves that use stats from different categories|special move that uses the target's Defense stat}}, or the effective Special Defense of the target if the used move is an other [[special move]] (ignoring positive stat stages for a [[critical hit]]).
* {{DL|In-battle effect item|Expert Belt}} boosts super-effective attacks by 20%
* ''Power'' is the effective [[power]] of the used move.
* {{DL|In-battle effect item|Life Orb}} boosts the power of all attacks by 30% (at a cost of 10% HP per damaging move used)
* ''Targets'' is 0.75 (0.5 in [[Battle Royal]]s) if the move has more than one [[Range|target]] when the move is executed, and 1 otherwise.
* {{DL|In-battle effect item|Metronome}} boosts the power of moves used repeatedly
* ''PB'' is 0.25 (0.5 in [[Generation VI]]) if the move is the second strike of {{a|Parental Bond}}, and 1 otherwise.
* ''Weather'' is 1.5 if a {{type|Water}} move is being used during [[rain]] or a {{type|Fire}} move or {{m|Hydro Steam}} during [[harsh sunlight]], and 0.5 if a Water-type move (besides Hydro Steam) is used during harsh sunlight or a Fire-type move during rain, and 1 otherwise or if any Pokémon on the field have the Ability {{a|Cloud Nine}} or {{a|Air Lock}}.
* ''GlaiveRush'' is 2 if the target used the move {{m|Glaive Rush}} in the previous turn, or 1 otherwise.
* ''Critical'' is 1.5 (2 in [[Generation V]]) for a [[critical hit]], and 1 otherwise. Decimals are rounded down to the nearest integer. It is always 1 if the target's Ability is {{a|Battle Armor}} or {{a|Shell Armor}} or if the target is under the effect of {{m|Lucky Chant}}.
** Conversely, unless critical hits are prevented entirely by one of the above effects, ''Critical'' will always be 1.5 (or 2 in Generation V) if the used move is {{m|Storm Throw}}, {{m|Frost Breath}}, {{m|Zippy Zap}}, {{m|Surging Strikes}}, {{m|Wicked Blow}}, or {{m|Flower Trick}}, the target is {{status|poisoned}} and the attacker's Ability is {{a|Merciless}}, or if the user is under the effect of {{m|Laser Focus}}.
* ''random'' is a random factor. Namely, it is recognized as a multiplication from a random integer between 85 and 100, inclusive, then divided by 100.
** If the battle is taking place as a [[Pokéstar Studios]] film, ''random'' is always 1.
* ''STAB'' is the [[same-type attack bonus]]. This is equal to 1.5 if the move's [[type]] matches any of the user's types, 2 if the user of the move additionally has {{a|Adaptability}}, and 1 otherwise or if the attacker and/or used move is [[typeless]]. If the used move is a combination Pledge move, ''STAB'' is always 1.5 (or 2 if the user's Ability is Adaptability). When [[Terastal phenomenon|Terastallized]], ''STAB'' is (if not 1):
** 1.5 if the move's type matches either the Pokemon's original type(s) or a different Tera Type from its original types, and the attacker's Ability is not Adaptability.
** 2 if the move's type matches the same Tera Type as one of the Pokemon's original types and the attacker's Ability is not Adaptability, or the situation above, if the attacker's Ability is Adaptability.
*** However, if STAB only applies from the attacker's original type(s), not its Tera Type, ''STAB'' will always be 1.5, even if the attacker's Ability is Adaptability.
** 2.25 if the move's type matches the same Tera Type as one of the Pokemon's original types and the attacker's Ability is Adaptability.
* ''Type'' is the {{DL|Type|type effectiveness}}. This can be 0.125, 0.25, 0.5 (not very effective); 1 (normally effective); 2, 4, or 8 (super effective), depending on both the move's and target's [[type]]s. The 0.125 and 8 can potentially be obtained on a Pokémon under the effect of {{m|Forest's Curse}} or {{m|Trick-or-Treat}}. If the used move is {{m|Struggle}} or [[typeless]] {{m|Revelation Dance}}, or the target is typeless, ''Type'' is always 1. Decimals are rounded down to the nearest integer. Certain effects can modify this, namely:
** If the target is an [[grounded|ungrounded]] {{type|Flying}} that is not being grounded by any other effect and is holding an [[Iron Ball]] or under the effect of {{m|Thousand Arrows}}, ''Type'' is equal to 1.
** If the target is a [[grounded]] {{type|Flying}} (unless grounded by an Iron Ball or Thousand Arrows, as above), treat {{t|Ground}}'s matchup against Flying as 1.
** If the target is holding a [[Ring Target]] and the used move is of a type it would otherwise be immune to, treat that particular type matchup as 1.
** If the attacker's Ability is {{a|Scrappy}}, treat {{t|Normal}} and {{t|Fighting}}'s type matchups against {{t|Ghost}} as 1.
** If the target is under the effect of {{m|Foresight}}, {{m|Odor Sleuth}} or {{m|Miracle Eye}}, and the target is of a type that would otherwise grant immunity to the used move, treat that particular type matchup as 1.
** If the used move is {{m|Freeze-Dry}}, treat the move's type's matchup against {{t|Water}} as 2.
** If the used move is {{m|Flying Press}}, consider both the move's type effectiveness and the {{t|Flying}} type's against the target, and multiply them together.
** If [[strong winds]] are in effect and the used move would be super effective against {{t|Flying}}, treat the type matchup against Flying as 1 instead.
** If the target is under the effect of {{m|Tar Shot}} and the used move is {{type|Fire}}, multiply ''Type'' by 2.
* ''Burn'' is 0.5 if the attacker is {{status|burned}}, its Ability is not {{a|Guts}}, and the used move is a [[physical move]] (other than {{m|Facade}} from [[Generation VI]] onward), and 1 otherwise.
* ''other'' is 1 in most cases, and a different multiplier when specific interactions of moves, Abilities, or items take effect, in this order (and if multiple moves, Abilities, or items take effect, they do so in the order of the out-of-battle {{stat|Speed}} stats of the Pokémon with them):
{| class="roundy expandable" style="background:#{{White color}}; border: 3px solid #{{Red color}}"
!Effect
!Value
!Detail
|-
|{{m|Behemoth Blade}}, {{m|Behemoth Bash}}, and {{m|Dynamax Cannon}}
|2
|If the target is [[Dynamax]]ed and the used move is one of these three
|-
|Moves interacting with {{m|Minimize}}
|2
|If the target has used {{m|Minimize}} and the used move is one listed [[Minimize (move)#Vulnerability to moves|here]]
|-
|{{m|Earthquake}} and {{m|Magnitude}}
|2
|If the target is in the semi-invulnerable turn of {{m|Dig}} and the used move is one of these two
|-
|{{m|Surf}} and {{m|Whirlpool}}
|2
|If the target is in the semi-invulnerable turn of {{m|Dive}} and the used move is one of these two
|-
|{{m|Reflect}}, {{m|Light Screen}}, and {{m|Aurora Veil}}
|0.5 {{tt|*|2703/4096 (Gen 5) or 2732/4096 (Gen 6+) (~0.66) if the battle is a Double Battle, Triple Battle, or Battle Royal}}
|If in effect on the target's side, the used move is physical (Reflect), special (Light Screen), or either (Aurora Veil), the move is not a [[critical hit]], and the user's Ability is not {{a|Infiltrator}}. Does not stack, even if e.g. Light Screen and Aurora Veil are active at the same time.
|-
|{{m|Collision Course}} and {{m|Electro Drift}}
|5461/4096 (~1.3333)
|If either of these are the used move and it is super effective
|-
|{{a|Multiscale}} and {{a|Shadow Shield}}
|0.5
|If the target has this Ability and is at full health
|-
|{{a|Fluffy}}
|0.5
|If the target has this Ability and the used move makes [[contact]]
|-
|{{a|Punk Rock}}
|0.5
|If the target has this Ability and the used move is [[Sound-based move|sound-based]]
|-
|{{a|Ice Scales}}
|0.5
|If the target has this Ability and the used move is a special move
|-
|{{a|Friend Guard}}
|0.75
|If an ally of the target has this Ability
|-
|{{a|Filter}}, {{a|Prism Armor}} and {{a|Solid Rock}}
|0.75
|If the target has this Ability and the used move is super effective (''Type'' > 1)
|-
|{{a|Neuroforce}}
|1.25
|If the user has this Ability and the used move is super effective (''Type'' > 1)
|-
|{{a|Sniper}}
|1.5
|If the attacker has this Ability and the move lands a critical hit
|-
|{{a|Tinted Lens}}
|2
|If the attacker has this Ability and the used move is not very effective (''Type'' < 1)
|-
|{{a|Fluffy}}
|2
|If the target has this Ability and the used move is {{type|Fire}}
|-
|{{cat|Damage-reducing Berries|Type-resist Berries}}
|0.5 {{tt|*|0.25 if the holder's Ability is Ripen}}
|If held by the target, the move is of the corresponding type, and is super effective (''Type'' > 1); for the Chilan Berry, the used move must simply only be {{type|Normal}}
|-
|[[Expert Belt]]
|4915/4096 (~1.2)
|If held by the attacker and the move is super effective (''Type'' > 1)
|-
|[[Life Orb]]
|5324/4096 (~1.3)
|If held by the attacker
|-
|{{i|Metronome}}
|Varies
|1 + (819/4096 (~0.2) per successful consecutive use of the same move) if held by the attacker, but no more than 2
|}
:If multiple effects influence the ''other'' value, their values stack multiplicatively, in the order listed above. This is done by starting at 4096, multiplying it by each number above in the order listed above, and rounding to the nearest integer whenever the result is not an integer (rounding up at 0.5). When the final value is obtained, it is divided by 4096, and this becomes ''other''. For example, if both {{a|Multiscale}} and a [[Chilan Berry]] take effect, ''other'' is <math>\frac{4096 \times 0.5 \times 0.5}{4096}</math> = 0.25.
* ''ZMove'' is 0.25 if the move is a [[Z-Move]] or [[Max Move]] and the target would be [[Protection|protected]] from that move (e.g. by {{m|Protect}}), and 1 otherwise. (If this multiplier is applied, a message is displayed that the target "couldn't fully protect" itself.)
* ''TeraShield'' is applied in [[Tera Raid Battle]]s when the Raid boss's shield is active. It is 0.2 if the player's Pokémon is not [[Terastal phenomenon|Terastallized]], 0.35 if it is but the used move is not of its Tera Type, and 0.75 if it is and the used move is of its Tera Type. The result is subject to standard rounding (rounding up at 0.5).


===Other===
In the first four generations, during the calculation, all operations are carried out on integers internally—this means that all division operations are [[wp:Rounding#Rounding to integer|truncated integer division]] (i.e. rounding down if the result is not an integer), and the results of multiplication operations are rounded down afterwards (truncating any fractional part). From [[Generation V]] onward, there are three different types of rounding; a {{wp|Floor (function)|flooring}} (the same as previous generations), rounding to the nearest integer while rounding down at 0.5, and rounding to the nearest integer while rounding up at 0.5.
A number of other variables can affect the amount of damage caused by an attack.


* If the attacker is {{status|burned}} and their Ability is not {{a|Guts}}, their [[physical move|physical damage]] will be decreased by half.
If the calculation yields 0, the move will deal 1 HP damage instead (unless ''Type'' is equal to 0, in which case damage calculation is skipped entirely); however, in Generation V, a move may deal 0 damage when ''other'' is less than 1, because the routine to prevent 0 damage is erroneously performed before applying the ''other'' factor.
* In a [[Double Battle]], moves that hit multiple targets do 75% of the damage they do in one-on-one battles.
* {{m|Reflect}} and {{m|Light Screen}} decrease opponents' physical and special attacks, respectively, by 50% in a one-on-one battle and 33% in a Double Battle.


====Randomization adjustment====
===Example===
Every time a regular attack is executed, the actual damage caused is adjusted by a random multiplier - an integer percentage between 85% and 100%.
Imagine a [[level]] 75 {{p|Glaceon}} that does not suffer a {{status|burn}} and holds no [[item]] with an effective Attack stat of 123 uses {{m|Ice Fang}} (an {{type|Ice}} [[physical move]] with a [[power]] of 65) against a {{p|Garchomp}} with an effective Defense stat of 163 in [[Generation VI]], and does not land a [[critical hit]]. Then, the move will receive {{STAB}}, because Glaceon's Ice type matches the move's: ''STAB'' = 1.5. Additionally, Garchomp is {{2t|Dragon|Ground}}, and therefore has a double weakness to the move's Ice type: ''Type'' = 4. All other (non-random) modifiers will be 1. This effectively gives


In [[Generation]]s {{gen|I}} and {{gen|II}}, the random modifier is not an integer percentage. Instead of selecting a 4-bit integer, the game selects a random byte (that is, a value up to 255), repeatedly selecting a new one until the selected value is 217 or greater; the game afterwards multiplies the pre-adjustment damage by this number and divides it by 255. As a result, the randomization adjustment in these two generations goes between 217/255 (roughly 85.1%) and 255/255 (100%) in steps of 1/255, giving each value a uniform 1 in 39 chance of being selected (as opposed to 1 in 15 in later generations).
:<math>
\begin{align}
Damage &= \left(\frac{\left( \frac{2 \times 75}{5} + 2\right) \times 65 \times 123 / 163}{50} + 2\right) \times 1 \times 1 \times 1 \times 1 \times (rand \in [0.85,1.00]) \times 1.5 \times 4 \times 1 \times 1\\
& = rand \in [168,196]
\end{align}
</math>


In all subsequent games, the random adjustment is determined by generating a 4-bit integer (0 through 15). The computer then subtracts it from 100, and then divides the result by 100 to get the final adjustment. This results in an integer percentage between 85% and 100%, with a uniform distribution.
That means Ice Fang will do between 168 and 196 HP damage, depending on luck.


==Damage formula==
If the same Glaceon holds a [[Muscle Band]] and its Ice Fang lands a [[critical hit]] against Garchomp, Ice Fang's effective power will be boosted by the Muscle Band by (approximately) 10% to become 71, and it will also be ''Critical'' = 1.5:
The damage dealt when a Pokémon uses a damaging move depends on its Attack or Special Attack [[Stats|stat]], the opponent's corresponding Defense or Special Defense stat, and the move's base power. In addition, the various factors of [[damage modification]] will also affect the damage dealt.


The damage formula is
:<math>
 
\begin{align}
<!-- That above text is invalid as of June 26, 2010. The new formula text is as below:
Damage &= \left(\frac{\left( \frac{2 \times 75}{5} + 2\right) \times 71 \times 123 / 163}{50} + 2\right) \times 1 \times 1 \times 1 \times 1.5 \times (rand \in [0.85,1.00]) \times 1.5 \times 4 \times 1 \times 1 \\
<math>
&= rand \in [268,324]
\mathrm{Damage} = \left ( \frac{2 \times \mathrm{Level} + 10}{250} \times \frac{\mathrm{Attack}}{\mathrm{Defense}} + 2 \right ) \times \mathrm{Modifier}
\end{align}
\\
\mathrm{Modifier} = \mathrm{STAB} \times \mathrm{Type} \times \mathrm{other} \times \frac{\left ( 100 - (\mathrm{rand} \in [0, 15]) \right )}{100}
</math>
</math>
-->
[[File:DamageCalc.png]]
where


* ''Level'' is the level of the attacking Pokémon.
That means Ice Fang will now do between 268 and 324 HP damage, depending on luck.
* ''Attack'' and ''Defense'' are the working Attack and Defense stats of the attacking and defending Pokémon, respectively. If the attack is Special, the Special Attack and Special Defense stats are used instead. Some moves like {{m|Psystrike}} use stats other than what moves of this category would usually use (in case of Psystrike, it uses Special Attack and Defense).
* ''Base'' is the base power of the attack.


and ''Modifier'' is
===Pokémon Legends: Arceus===
In [[Pokémon Legends: Arceus]], a new damage calculation method<ref>https://twitter.com/Sibuna_Switch/status/1553954748809764864</ref> is used:
All multiplications and divisions are rounded down to the nearest integer unless specified.


[[File:ModifierCalc.png]]
:<math>Damage = \left(\frac{\left(\left(100+A + \left(15 \times Level\right)\right) \times Power\right) / \left(D+50\right)}{5} \right) \times \left(AtkMod \times DefMod\right) \times random \times Type \times OtherMods</math>
:<math>OtherMods = Weather \times Critical \times STAB \times BurnFrostbite \times Drowsy \times FixatedOffense \times FixatedDefense \times Primed</math>


where
where
* <math>Level</math> is the [[level]] of the attacking Pokémon.
* <math>A</math> is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]]<!-- (ignoring all<sup>Gen.&nbsp;II</sup>/negative<sup>Gen.&nbsp;III+</sup> stat stages for a [[critical hit]])-->.
** If the attacker is under {{a|Slow Start}}, then the physical Attack stat will be halved at this step of the calculation.
** If the attacker is filled with Wild Might or Terrible Might, both Attack stats will be multiplied by 1.5.
* <math>D</math> is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special Defense of the target if the used move is an other [[special move]]<!-- (ignoring all<sup>Gen.&nbsp;II</sup>/positive<sup>Gen.&nbsp;III+</sup> stat stages for a [[critical hit]])-->.
** If the target is filled with Wild Might or Terrible Might, both Defense stats will be multiplied by 1.5.
* <math>Power</math> is the [[power]] of the used move.
* <math>AtkMod</math> is 1.5 if the attacker's offensive stats are boosted, 1 if they are neutral, or 0.66 if they are lowered. If the attacker and target have the same "stage" of offensive and defensive stats, both this and ''DefMod'' are 1. This is applied by first multiplying ''AtkMod'' by ''DefMod'', then multiplying the result by the calculated damage thus far and rounding down to the nearest integer.
* <math>DefMod</math> is 1.5 if the target's defensive stats are lowered, 1 if they are neutral, or 0.66 if they are boosted.
* <math>random</math> is realized as a multiplication by a random integer between 85 and 100 (inclusive), and divided by 100.
** Splinter damage (from {{m|Ceaseless Edge}}, {{m|Pin Missile}}, {{m|Spikes}}, {{m|Stealth Rock}} and {{m|Stone Axe}}) is not subject to this factor.<!--Works like Gen I's Bind-->
* <math>Type</math> is the {{DL|Type|type effectiveness}}. This can be 0.4, 0.5 (not very effective); 1 (normally effective); 2, or 2.5 (super effective), depending on both the move's and target's [[type]]s.
* <math>Weather</math> is 0.75 if a Fire-type move is used during rain, and 1 otherwise. The result is rounded to the nearest integer (rounding down at 0.5).
* <math>Critical</math> is 1.5 for a critical hit, and 1 otherwise.
* <math>STAB</math> is the [[same-type attack bonus]]. This is equal to 1.25 if the move's [[type]] matches any of the user's types, and 1 otherwise. The result is rounded to the nearest integer (rounding down at 0.5).
* <math>BurnFrostbite</math> is 0.5 if the attacker is {{status|burn}}ed and the used move is [[physical move|physical]], or if the attacker is {{status|frostbite|frostbitten}} and the used move is [[special move|special]], and 1 otherwise.
* <math>Drowsy</math> is 1.33 if the target is {{status|drowsy}}, and 1 otherwise.
* <math>FixatedOffense</math> is 1.5 if the attacker is fixated, and 1 otherwise.
* <math>FixatedDefense</math> is 1.33 if the target is fixated, and 1 otherwise.
* <math>Primed</math> is 1.5 if the attacker is primed, and 1 otherwise.


* ''STAB'' is the [[same-type attack bonus]]. This is equal to 1.5 if the attack is of the same type as the user, and 1 if otherwise.
===Pokémon GO===
* ''Type'' is the type effectiveness. This can be either 0, 0.25, 0.5, 1, 2, or 4 depending on the type of attack and the type of the defending Pokémon.
In {{g|GO}}, damage is calculated differently due to different variables existing in the game.
* ''Critical'' is 2 for a critical hit in Generations I-V, 1.5 for a critical hit in Generation VI, and 1 otherwise.
* ''other'' counts for things like [[held item]]s, {{Abilities}}, field advantages, and whether the battle is a [[Double Battle]] or [[Triple Battle]] or not.
* ''random'' is a random number from 0.85 to 1.00.


The result is rounded down as remainders are not kept. It is possible to do zero damage [http://www.youtube.com/watch?&v=qPPTz0sDZzU], but this is no longer the case effective Generation VI [http://www.youtube.com/watch?v=oo4WbC4T4PY]. This is due to the fact that the "make sure it's 1 when it would be 0 outside outright immunity" rule didn't apply to {{m|Reflect}}/{{m|Light Screen}} and {{a|Multiscale}} in B/W because of programmers' oversight, which was fixed in Generation VI.
:<math>Damage = \Biggl\lfloor 0.5 \times Power \times \frac{Attack}{Defense} \times Modifier \Biggr\rfloor + 1</math>


=====Example=====
where
Imagine a [[level]] 75 {{p|Glaceon}} that has the following [[stats]]:


''HP:'' 201<br>
* <math>Power</math> is the power of the {{OBP|move|GO}} used
''Attack:'' 123<br>
* <math>Attack</math> is the Attack {{OBP|stat|GO}} of the attacking Pokémon
''Defense:'' 181
* <math>Defense</math> is the Defense stat of the Pokémon being attacked
* For {{OBP|Shadow Pokémon|GO}}:
** <math>\times \tfrac{6}{5}</math> is applied to <math>Attack</math>
** <math>\times \tfrac{5}{6}</math> is applied to <math>Defense</math>


It uses the move {{m|Ice Fang}} ({{t|Ice}}, physical, base power 65) against a level 78 {{p|Garchomp}}:
and


''HP:'' 270<br>
:<math>Modifier = Type \times STAB \times Weather \times Friendship \times Dodged \times Mega \times Trainer \times Charge</math>
''Attack:'' 210<br>
''Defense:'' 163


Garchomp is {{t|Dragon}}/{{t|Ground}}, so it has a double weakness to {{t|Ice}}. Thus, ''Type'' = 4. Additionally, Glaceon, being an Ice-type, receives {{STAB}}, so ''STAB'' = 1.5.
where


[[File:ModifierCalcExample.png]]
* <math>Type</math> is the {{DL|Type|Pokémon GO|type effectiveness}}, which is calculated differently in GO, using multipliers of base 1.6 instead of 2.
* <math>STAB</math> is the [[same-type attack bonus]]. This is equal to 1.2 if the move's [[type]] matches any of the user's types, and 1 if otherwise.
* The following variables are applied in {{OBP|Gym|GO}} and {{OBP|Raid Battle|GO}}s only, and are 1 otherwise.
** <math>Weather</math> is 1.2 if the move used has a [[Weather#Pokémon GO|weather-boosted]] type, and <math>1</math> otherwise.
** <math>Friendship</math> is applied when battling with {{OBP|Friends|GO}} and varies depending on the Friendship level.
*** 1.03 if Good Friends
*** 1.05 if Great Friends
*** 1.07 if Ultra Friends
*** 1.1 if Best Friends
*** 1 otherwise
** <math>Dodged</math> is <math>0.25</math> if the attack was successfully dodged, and <math>1</math> if otherwise.
*** Gym defenders and Raid Bosses will never dodge a player's attacks
** <math>Mega</math> is greater than 1 when there is one or more [[Mega Evolution|Mega-Evolved]] Pokémon on the battlefield.
*** 1.1 if none of the Mega-Evolved Pokémon have the same type as the move
*** 1.3 if one or more Mega-Evolved Pokémon have the same type as the move
* The following variables are applied in {{OBP|Trainer Battle|GO}}s only, and are 1 otherwise.
** <math>Trainer</math> is <math>1.3</math> for all attacks used in a Trainer Battle.
** <math>Charge</math> is applied only for Charged Attacks, and its value depends on the player's score during the minigame. The possible ranges are
*** <math>Charge = 1</math> if ''"Excellent!"''
*** <math>Charge \in [0.75, 1)</math> if ''"Great!"''
*** <math>Charge \in [0.5, 0.75)</math> if ''"Nice!"''
*** <math>Charge \in [0.25, 0.5)</math> otherwise


''Modifier'' is then plugged into the rest of the formula:
By the damage formula, moves that have a power of 0 such as {{m|Splash}} and {{m|Yawn}} will always do 1 HP damage.


[[File:DamageCalcExample1.png]]
===[[Pokémon Masters EX]]===
:[[File:DamageCalcExample2.png]]
{{incomplete|section|needs=The damage formula is broken down in full [https://docs.google.com/document/d/1f5jJSZx4vkGIle2oiVWdbwQ82fl7RqYi84jPgaWbIKE/edit#heading=h.bxpx4fbvbhhl here], just needs to be condensed/formatted for our purposes}}
 
So depending on luck, {{p|Glaceon}} will do damage in the range 170-200 HP. Despite {{p|Garchomp}}'s double weakness to {{t|Ice}}, Glaceon's {{m|Ice Fang}} will not defeat it in a single hit.
 
Garchomp is up next. Garchomp gets a critical hit (''Critical'' = 2) on Earthquake, a physical {{t|Ground}} move with 100 base power. With its Ice type, Glaceon is neither weak nor resistant to Garchomp's attack, so ''Type'' = 1. Garchomp is Dragon/'''Ground''', so it receives STAB, making ''STAB'' = 1.5. Say that Garchomp is also holding an Earth Plate, which powers up Ground-type moves by 20%. Then ''Other'' = 1.2.
 
[[File:ModifierCalcExample2.png]]
 
Inserting the stats and ''Modifier'' in the formula yields:
 
[[File:DamageCalcExample3.png]]
:[[File:DamageCalcExample4.png]]
 
Garchomp's attack will do anywhere from 241 to 284 damage, which is more than enough to take the Glaceon out in one hit.


==Trivia==
==Trivia==
* The highest potential damage dealt in a single attack can be achieved by {{p|Shuckle}} using {{m|Ice Ball}}.<!--with two Helping Hands, holding Metronome, after Power Trick, Skill Swap to Pure Power, conversion to Ice type, and 6 stages of positive Attack stat changes, with Flower Gift partners in sunny weather. 5th turn of Defense Curl-boosted Ice Ball (learned via Mimic), if used against level 1 Noibat with minimum Defense stats and -6 Defense with Forest's Curse, can deal up to 721,899,685 damage with critical hit.-->
* In {{game|Ruby and Sapphire|s}}, if the player's Pokémon deals over 33037 HP damage, the Pokémon will faint, but the HP bar will not be drained; if it deals exactly 33037 HP, the HP bar will be drained automatically.
* In [[Generation V]] onward, the amount of damage that can be dealt in a single attack is capped at 65535. In addition, an overflow can occur during the calculation of very high damage amounts, causing the actual damage dealt to be much lower than expected.<ref>https://www.smogon.com/forums/threads/ultra-sun-ultra-moon-battle-mechanics-research-read-post-2.3620030/page-9#post-7760159</ref>
** Likewise, in {{g|FireRed and LeafGreen}} and {{game|Emerald}} specifically, the maximum amount of damage that can be dealt in one hit is 10000.<ref>https://github.com/pret/pokefirered/blob/master/src/battle_script_commands.c#L1726</ref><ref>https://github.com/pret/pokeemerald/blob/aa9ccbf1940d28c2342eccad77b8a6a44f592794/src/battle_script_commands.c#L1821</ref>
* In [[Pokémon Battle Revolution]], the HP bar will change with a different animation depending on the move's type (recovery, recoil damage and indirect damage use the Normal-type animation), as shown below.
* In [[Pokémon Battle Revolution]], the HP bar will change with a different animation depending on the move's type (recovery, recoil damage and indirect damage use the Normal-type animation), as shown below.
{| class="expandable"
<div class="mw-collapsible mw-collapsed">
|
{| class="roundy" style="margin:auto; text-align:center; background: #{{physical color light}}; border: 2px solid #{{physical color dark}}" cellpadding="5" cellspacing="3"
|-
|
{| style="margin:auto; text-align:center; background: #{{physical color light}}; {{roundy|10px}}; border: 2px solid #{{physical color dark}}" cellpadding="5" cellspacing="3"
|-
| style="background: #FFF; {{roundytl|10px}}"| [[File:PBR HP change Normal.png|256px]]
| style="background: #FFF; {{roundytl|10px}}"| [[File:PBR HP change Normal.png|256px]]
| style="background: #FFF| [[File:PBR HP change Fighting.png|256px]]
| style="background: #FFF| [[File:PBR HP change Fighting.png|256px]]
Line 219: Line 385:
|-
|-
! style="background: #{{physical color}}; {{roundybl|10px}}" | {{color|FFF|Dark}}
! style="background: #{{physical color}}; {{roundybl|10px}}" | {{color|FFF|Dark}}
! style="background: #{{physical color light}}; {{roundybr|10px}}" rowspan="3" |  
! style="background: #{{physical color light}}; {{roundybr|10px}}" rowspan="3" |
|}
|}
|}
</div>


==In other languages==
==In other languages==
{{langtable|color={{physical color}}|bordercolor={{physical color light}}
{{langtable|color={{physical color}}|bordercolor={{physical color light}}
|zh_yue=傷害 / 伤害 ''{{tt|Shānghài|Damage}}''
|zh_yue=傷害 ''{{tt|Sēunghoih|Damage}}''
|zh_cmn=傷害 / 伤害 ''{{tt|Shānghài|Damage}}''
|cs=Poškození
|cs=Poškození
|da=Skade
|fi=Vahinko
|fi=Vahinko
|fr=Dégâts
|fr_ca=Tort{{tt|*|Blue Rescue Team manual}}
|fr_eu=Dégâts
|de=Schaden
|de=Schaden
|hu=Sebzés
|hu=Sebzés
|it=Danno
|it=Danno
|ko=데미지 ''Damage''
|ko=데미지 ''Damage''
|no=Skade
|pt_br=Dano
|pt_br=Dano
|es=Daño
|es=Daño
|sv=Skada
|pt_eu=Dano
}}
}}


==Links==
==External links==
* [http://www.smogon.com/bw/articles/bw_complete_damage_formula The Complete Damage Formula for Black & White (Smogon University)]
* [http://www.smogon.com/bw/articles/bw_complete_damage_formula The Complete Damage Formula for Black & White (Smogon University)]
* [https://www.trainertower.com/dawoblefets-damage-dissertation/ DaWoblefet’s Damage Dissertation- A Complete Guide to the Damage Formula]
==References==
<references />


{{-}}
{{Project Games notice|game mechanic}}
{{Project Games notice|game mechanic}}
[[Category:Game mechanics]]
[[Category:Game mechanics]]


[[de:Schaden]]
[[de:Schaden]]
[[es:Daño]]
[[it:Danno]]
[[it:Danno]]
[[ja:ダメージ]]
[[zh:伤害]]
[[zh:伤害]]

Latest revision as of 13:33, 3 August 2024

Ash's Pokémon injured after a battle

Damage (Japanese: ダメージ damage) is a loss of a Pokémon's HP that happens as the result of a physical or special attack used against it by another Pokémon.

Damage calculation

050Diglett.png This section is incomplete.
Please feel free to edit this section to add missing information and complete it.
Reason: Anything that may have potentially been missed or inaccurate

Except for moves that deal direct damage, the damage dealt when a Pokémon uses a damaging move depends on its level, its effective Attack or Special Attack stat, the opponent's effective Defense or Special Defense stat, and the move's effective power. In addition, various factors of damage modification may also affect the damage dealt.

More precisely, damage is calculated in each Generation as:

Generation I

where:

  • Level is the level of the attacking Pokémon.
  • Critical is 2 for a critical hit, and 1 otherwise.
  • A is the effective Attack stat of the attacking Pokémon if the used move is a physical move, or the effective Special stat of the attacking Pokémon if the used move is a special move (for a critical hit, all modifiers are ignored, and the unmodified Attack or Special is used instead). If either this or D are greater than 255, both are divided by 4 and rounded down.
  • D is the effective Defense stat of the target if the used move is a physical move, or the effective Special stat of the target if the used move is an other special move (for a critical hit, all modifiers are ignored, and the unmodified Defense or Special is used instead). If the move is physical and the target has Reflect up, or if the move is special and the target has Light Screen up, this value is doubled (unless it is a critical hit). If the move is Explosion or Selfdestruct, this value is halved (rounded down, with a minimum of 1). If either this or A are greater than 255, both are divided by 4 and rounded down. Unlike future Generations, if this is 0, the division is not made equal to 0; rather, the game will try to divide by 0 and softlock, hanging indefinitely until it is turned off.
  • Power is the power of the used move.
  • STAB is the same-type attack bonus. This is equal to 1.5 if the move's type matches any of the user's types, and 1 if otherwise. Internally, it is recognized as an addition of the damage calculated thus far divided by 2, rounded down, then added to the damage calculated thus far.
  • Type1 is the type effectiveness of the used move against the target's type that comes first in the type matchup table, or only type if it only has one type. This can be 0.5 (not very effective), 1 (normally effective), 2 (super effective).
  • Type2 is the type effectiveness of the used move against the target's type that comes second in the type matchup table. This can be 0.5 (not very effective), 1 (normally effective), 2 (super effective). If the target only has one type, Type2 is 1. If this would result in 0 damage, the calculation ends here and the move is stated to have missed, even if it would've hit.
  • random is realized as a multiplication by a random uniformly distributed integer between 217 and 255 (inclusive), followed by an integer division by 255. If the calculated damage thus far is 1, random is always 1.

Generation II

where:

  • Level is the level of the attacking Pokémon. If the used move is Beat Up, L is instead the level of the Pokémon performing the strike.
  • A is the effective Attack stat of the attacking Pokémon if the used move is a physical move, or the effective Special Attack stat of the attacking Pokémon if the used move is a special move (for a critical hit, if the target's Defense or Special Defense stat stage is greater than or equal to the attacker's Attack or Special Attack stat stage, all modifiers are ignored, and the unmodified Attack or Special is used instead). If the used move is Beat Up, A is instead the base Attack of the Pokémon performing the strike.
  • D is the effective Defense stat of the target if the used move is a physical move, or the effective Special stat of the target if the used move is a special move (for a critical hit, all modifiers are ignored, and the unmodified Defense or Special is used instead). If the move is physical and the target has Reflect up, or if the move is special and the target has Light Screen up, this value is doubled (unless it is a critical hit). If the move is Explosion or Selfdestruct, this value is halved (rounded down, with a minimum of 1). If the used move is Beat Up, D is instead the base Defense of the target.
  • Power is the power of the used move.
  • Item is 1.1 if the attacker is holding an type-enhancing held item corresponding to the attack type (for instance, the Magnet for an Electric-type move). Otherwise, this value is simply 1.
  • Critical is 2 for a critical hit, and 1 otherwise. It is always is 1 if the used move is Flail, Reversal, or Future Sight.
  • TK is 1, 2, or 3 for each successive hit of Triple Kick, or always 1 if the used move is not Triple Kick.
  • Weather is 1.5 if a Water-type move is being used during rain or a Fire-type move during harsh sunlight, and 0.5 if a Water-type move is used during harsh sunlight or SolarBeam or any Fire-type move during rain, and 1 otherwise.
  • Badge is 1.125 if the attacking Pokémon is controlled by the player and if the player has obtained the Badge corresponding to the used move's type, and 1 otherwise. This bonus is not applied in link battles or the Battle Tower.
  • STAB is the same-type attack bonus. This is equal to 1.5 if the move's type matches any of the user's types, and 1 if otherwise.
  • Type is the type effectiveness. This can be 0.25, 0.5 (not very effective), 1 (normally effective), 2, or 4 (super effective), depending on both the move's and target's types. If the used move is Struggle, Future Sight, or Beat Up, Type is always 1.
  • MoveMod can be (and if the used move is not any of these, MoveMod is 1):
    • If Rollout is used, , where n is the amount of successful and consecutive hits of the move, up to 4 (for the fifth hit), and d is 1 if Defense Curl was used beforehand and 0 otherwise.
    • If Fury Cutter is used, , where n is the number of successful and consecutive uses of the move, up to 4.
    • If Rage is used, an integer value corresponding to the Rage counter, i.e. the number of times the user of Rage has been damaged by an attack while using Rage.
  • random is realized as a multiplication by a random uniformly distributed integer between 217 and 255 (inclusive), followed by an integer division by 255. random is always 1 if Flail or Reversal is used.
  • DoubleDmg is 2 if the used move is Pursuit and the target is attempting to switch out, Stomp and the target has previously used Minimize, Gust or Twister and the target is in the semi-invulnerable turn of Fly, or Earthquake or Magnitude and the target is in the semi-invulnerable turn of Dig, and 1 otherwise.

Generation III

where:

  • Level is the level of the attacking Pokémon. If the used move is Beat Up, L is instead the level of the Pokémon performing the strike.
  • A is the effective Attack stat of the attacking Pokémon if the used move is a physical move, or the effective Special Attack stat of the attacking Pokémon if the used move is a special move (for a critical hit, negative Attack or Special Attack stat stages are ignored). If the used move is Beat Up, A is instead the base Attack of the Pokémon performing the strike.
  • D is the effective Defense stat of the target if the used move is a physical move, or the effective Special Defense stat of the target if the used move is a special move (for a critical hit, positive Defense or Special Defense stat stages are ignored). If the used move is Beat Up, D is instead the base Defense of the target.
  • Power is the effective power of the used move.
  • Burn is 0.5 if the attacker is burned, its Ability is not Guts, and the used move is a physical move, and 1 otherwise.
  • Screen is 0.5 if the used move is physical and Reflect is present on the target's side of the field, or special and Light Screen is present. For a Double Battle, Screen is instead 2/3, and 1 otherwise or if the used move lands a critical hit. However, if, in a Double Battle, when the move is executed, the only Pokémon on the target's side is the target, Screen remains as 0.5.
  • Targets is 0.5 in Double Battles if the move targets both foes (unless it targets all other Pokémon, like Earthquake, and only if there is more than one such target when the move is executed, regardless of whether the move actually hits or can hit all the targets), and 1 otherwise.
  • Weather is 1.5 if a Water-type move is being used during rain or a Fire-type move during harsh sunlight, and 0.5 if a Water-type move is used during harsh sunlight, any Fire-type move during rain, or SolarBeam during any non-clear weather besides harsh sunlight, and 1 otherwise or if any Pokémon on the field have the Ability Cloud Nine or Air Lock.
  • FF is 1.5 if the used move is Fire-type, and the attacker's Ability is Flash Fire that has been activated by a Fire-type move, and 1 otherwise.
  • Stockpile is 1, 2, or 3 if the used move is Spit Up, depending on how many Stockpiles have been used, or always 1 if the used move is not Spit Up.
  • Critical is 2 for a critical hit, and 1 otherwise. It is always 1 if Future Sight, Doom Desire, or Spit Up is used, if the target's Ability is Battle Armor or Shell Armor, or if the battle is the first one against PoochyenaRS/ZigzagoonE or the capture tutorial where Wally catches a Ralts.
  • DoubleDmg is 2 if the used move is (and 1 if the used move is not any of these moves):
  • Charge is 2 if the move is Electric-type and Charge takes effect, and 1 otherwise.
  • HH is 1.5 if the attacker's ally in a Double Battle has used Helping Hand on it, and 1 otherwise.
  • STAB is the same-type attack bonus. This is equal to 1.5 if the move's type matches any of the user's types and 1 if otherwise.
  • Type1 is the type effectiveness of the used move against the target's first type (or only type, if it only has a single type). This can be 0.5 (not very effective), 1 (normally effective), or 2 (super effective). If the used move is Struggle, Future Sight, Beat Up, or Doom Desire, both Type1 and Type2 are always 1.
  • Type2 is the type effectiveness of the used move against the target's second type. This can be 0.5 (not very effective), 1 (normally effective), or 2 (super effective). If the target only has a single type, Type2 is 1.
  • random is realized as a multiplication by a random uniformly distributed integer between 85 and 100 (inclusive), followed by an integer division by 100. random is always 1 if Spit Up is used.

Generation IV

where:

  • Level is the level of the attacking Pokémon. If the used move is Beat Up, L is instead the level of the Pokémon performing the strike.
  • A is the effective Attack stat of the attacking Pokémon if the used move is a physical move, or the effective Special Attack stat of the attacking Pokémon if the used move is a special move (for a critical hit, negative Attack or Special Attack stat stages are ignored). If the used move is Beat Up, A is instead the base Attack of the Pokémon performing the strike.
  • D is the effective Defense stat of the target if the used move is a physical move, or the effective Special Defense stat of the target if the used move is a special move (for a critical hit, positive Defense or Special Defense stat stages are ignored). If the used move is Beat Up, D is instead the base Defense of the target.
  • Power is the effective power of the used move.
  • Burn is 0.5 if the attacker is burned, its Ability is not Guts, and the used move is a physical move, and 1 otherwise.
  • Screen is 0.5 if the used move is physical and Reflect is present on the target's side of the field, or special and Light Screen is present. For a Double Battle, Screen is instead 2/3; however, if in a Double Battle when the move is executed, the only Pokémon on the target's side of the field is the target (for moves with only one target), or there is only one target when the move is executed (for moves with more than one target), Screen remains as 0.5. Screen is 1 otherwise or if the used move lands a critical hit.
  • Targets is 0.75 in Double Battles if the used move has more than one target (provided there is more than one such target when the move is executed, regardless of whether the move actually hits or can hit all the targets), and 1 otherwise.
  • Weather is 1.5 if a Water-type move is being used during rain or a Fire-type move during harsh sunlight, and 0.5 if a Water-type move is used during harsh sunlight or a Fire-type move during rain, or SolarBeam during any non-clear weather besides harsh sunlight, and 1 otherwise or if any Pokémon on the field have the Ability Cloud Nine or Air Lock.
  • FF is 1.5 if the used move is Fire-type, and the attacker's Ability is Flash Fire that has been activated by a Fire-type move, and 1 otherwise.
  • Critical is 2 for a critical hit, 3 if the move lands a critical hit and the attacker's Ability is Sniper, and 1 otherwise. It is always 1 if Future Sight or Doom Desire is used, the target's Ability is Battle Armor or Shell Armor, the target is under the effect of Lucky Chant, or if the battle is the first one against StarlyDP.
  • Item is 1.3 if the attacker is holding a Life Orb, if the attacker is holding a Metronome, where n is the amount of times the same move has been successfully and consecutively used, up to 10, and 1 otherwise.
  • First is 1.5 if the used move was stolen with Me First.
  • random is realized a random integer from 85 to 100, inclusive, divided by 100. random is always 1 if Spit Up is used.
  • STAB is the same-type attack bonus. This is equal to 1.5 if the move's type matches any of the user's types, 2 if the user of the move additionally has Adaptability, and 1 if otherwise.
  • Type1 is the type effectiveness of the used move against the target's first type (or only type, if it only has a single type). This can be 0.5 (not very effective), 1 (normally effective), or 2 (super effective). If the used move is Struggle, Future Sight, Beat Up, or Doom Desire, both Type1 and Type2 are always 1.
  • Type2 is the type effectiveness of the used move against the target's second type. This can be 0.5 (not very effective), 1 (normally effective), or 2 (super effective). If the target only has a single type, Type2 is 1.
  • SRF is 0.75 if the used move is super effective, the target's Ability is Solid Rock or Filter, and the attacker's Ability is not Mold Breaker, and 1 otherwise.
  • EB is 1.2 if the used move is super effective and the attacker is holding an Expert Belt, and 1 otherwise.
  • TL is 2 if the used move is not very effective and the attacker's Ability is Tinted Lens, and 1 otherwise.
  • Berry is 0.5 if the used move is super effective and the target is holding the Berry that weakens it, or Normal-type and the target is holding a Chilan Berry, and 1 otherwise.

Generation V onward

Unless otherwise specified, all divisions and multiplications past the initial base damage calculation are rounded to the nearest integer if the result is not an integer (rounding down at 0.5).

where

  • Level is the level of the attacking Pokémon.
  • A is the effective Attack stat of the attacking Pokémon if the used move is a physical move, or the effective Special Attack stat of the attacking Pokémon if the used move is a special move (ignoring negative stat stages for a critical hit).
  • D is the effective Defense stat of the target if the used move is a physical move or a special move that uses the target's Defense stat, or the effective Special Defense of the target if the used move is an other special move (ignoring positive stat stages for a critical hit).
  • Power is the effective power of the used move.
  • Targets is 0.75 (0.5 in Battle Royals) if the move has more than one target when the move is executed, and 1 otherwise.
  • PB is 0.25 (0.5 in Generation VI) if the move is the second strike of Parental Bond, and 1 otherwise.
  • Weather is 1.5 if a Water-type move is being used during rain or a Fire-type move or Hydro Steam during harsh sunlight, and 0.5 if a Water-type move (besides Hydro Steam) is used during harsh sunlight or a Fire-type move during rain, and 1 otherwise or if any Pokémon on the field have the Ability Cloud Nine or Air Lock.
  • GlaiveRush is 2 if the target used the move Glaive Rush in the previous turn, or 1 otherwise.
  • Critical is 1.5 (2 in Generation V) for a critical hit, and 1 otherwise. Decimals are rounded down to the nearest integer. It is always 1 if the target's Ability is Battle Armor or Shell Armor or if the target is under the effect of Lucky Chant.
  • random is a random factor. Namely, it is recognized as a multiplication from a random integer between 85 and 100, inclusive, then divided by 100.
  • STAB is the same-type attack bonus. This is equal to 1.5 if the move's type matches any of the user's types, 2 if the user of the move additionally has Adaptability, and 1 otherwise or if the attacker and/or used move is typeless. If the used move is a combination Pledge move, STAB is always 1.5 (or 2 if the user's Ability is Adaptability). When Terastallized, STAB is (if not 1):
    • 1.5 if the move's type matches either the Pokemon's original type(s) or a different Tera Type from its original types, and the attacker's Ability is not Adaptability.
    • 2 if the move's type matches the same Tera Type as one of the Pokemon's original types and the attacker's Ability is not Adaptability, or the situation above, if the attacker's Ability is Adaptability.
      • However, if STAB only applies from the attacker's original type(s), not its Tera Type, STAB will always be 1.5, even if the attacker's Ability is Adaptability.
    • 2.25 if the move's type matches the same Tera Type as one of the Pokemon's original types and the attacker's Ability is Adaptability.
  • Type is the type effectiveness. This can be 0.125, 0.25, 0.5 (not very effective); 1 (normally effective); 2, 4, or 8 (super effective), depending on both the move's and target's types. The 0.125 and 8 can potentially be obtained on a Pokémon under the effect of Forest's Curse or Trick-or-Treat. If the used move is Struggle or typeless Revelation Dance, or the target is typeless, Type is always 1. Decimals are rounded down to the nearest integer. Certain effects can modify this, namely:
    • If the target is an ungrounded Flying-type that is not being grounded by any other effect and is holding an Iron Ball or under the effect of Thousand Arrows, Type is equal to 1.
    • If the target is a grounded Flying-type (unless grounded by an Iron Ball or Thousand Arrows, as above), treat Ground's matchup against Flying as 1.
    • If the target is holding a Ring Target and the used move is of a type it would otherwise be immune to, treat that particular type matchup as 1.
    • If the attacker's Ability is Scrappy, treat Normal and Fighting's type matchups against Ghost as 1.
    • If the target is under the effect of Foresight, Odor Sleuth or Miracle Eye, and the target is of a type that would otherwise grant immunity to the used move, treat that particular type matchup as 1.
    • If the used move is Freeze-Dry, treat the move's type's matchup against Water as 2.
    • If the used move is Flying Press, consider both the move's type effectiveness and the Flying type's against the target, and multiply them together.
    • If strong winds are in effect and the used move would be super effective against Flying, treat the type matchup against Flying as 1 instead.
    • If the target is under the effect of Tar Shot and the used move is Fire-type, multiply Type by 2.
  • Burn is 0.5 if the attacker is burned, its Ability is not Guts, and the used move is a physical move (other than Facade from Generation VI onward), and 1 otherwise.
  • other is 1 in most cases, and a different multiplier when specific interactions of moves, Abilities, or items take effect, in this order (and if multiple moves, Abilities, or items take effect, they do so in the order of the out-of-battle Speed stats of the Pokémon with them):
If multiple effects influence the other value, their values stack multiplicatively, in the order listed above. This is done by starting at 4096, multiplying it by each number above in the order listed above, and rounding to the nearest integer whenever the result is not an integer (rounding up at 0.5). When the final value is obtained, it is divided by 4096, and this becomes other. For example, if both Multiscale and a Chilan Berry take effect, other is = 0.25.
  • ZMove is 0.25 if the move is a Z-Move or Max Move and the target would be protected from that move (e.g. by Protect), and 1 otherwise. (If this multiplier is applied, a message is displayed that the target "couldn't fully protect" itself.)
  • TeraShield is applied in Tera Raid Battles when the Raid boss's shield is active. It is 0.2 if the player's Pokémon is not Terastallized, 0.35 if it is but the used move is not of its Tera Type, and 0.75 if it is and the used move is of its Tera Type. The result is subject to standard rounding (rounding up at 0.5).

In the first four generations, during the calculation, all operations are carried out on integers internally—this means that all division operations are truncated integer division (i.e. rounding down if the result is not an integer), and the results of multiplication operations are rounded down afterwards (truncating any fractional part). From Generation V onward, there are three different types of rounding; a flooring (the same as previous generations), rounding to the nearest integer while rounding down at 0.5, and rounding to the nearest integer while rounding up at 0.5.

If the calculation yields 0, the move will deal 1 HP damage instead (unless Type is equal to 0, in which case damage calculation is skipped entirely); however, in Generation V, a move may deal 0 damage when other is less than 1, because the routine to prevent 0 damage is erroneously performed before applying the other factor.

Example

Imagine a level 75 Glaceon that does not suffer a burn and holds no item with an effective Attack stat of 123 uses Ice Fang (an Ice-type physical move with a power of 65) against a Garchomp with an effective Defense stat of 163 in Generation VI, and does not land a critical hit. Then, the move will receive STAB, because Glaceon's Ice type matches the move's: STAB = 1.5. Additionally, Garchomp is Dragon/Ground, and therefore has a double weakness to the move's Ice type: Type = 4. All other (non-random) modifiers will be 1. This effectively gives

That means Ice Fang will do between 168 and 196 HP damage, depending on luck.

If the same Glaceon holds a Muscle Band and its Ice Fang lands a critical hit against Garchomp, Ice Fang's effective power will be boosted by the Muscle Band by (approximately) 10% to become 71, and it will also be Critical = 1.5:

That means Ice Fang will now do between 268 and 324 HP damage, depending on luck.

Pokémon Legends: Arceus

In Pokémon Legends: Arceus, a new damage calculation method[1] is used: All multiplications and divisions are rounded down to the nearest integer unless specified.

where

  • is the level of the attacking Pokémon.
  • is the effective Attack stat of the attacking Pokémon if the used move is a physical move, or the effective Special Attack stat of the attacking Pokémon if the used move is a special move.
    • If the attacker is under Slow Start, then the physical Attack stat will be halved at this step of the calculation.
    • If the attacker is filled with Wild Might or Terrible Might, both Attack stats will be multiplied by 1.5.
  • is the effective Defense stat of the target if the used move is a physical move, or the effective Special Defense of the target if the used move is an other special move.
    • If the target is filled with Wild Might or Terrible Might, both Defense stats will be multiplied by 1.5.
  • is the power of the used move.
  • is 1.5 if the attacker's offensive stats are boosted, 1 if they are neutral, or 0.66 if they are lowered. If the attacker and target have the same "stage" of offensive and defensive stats, both this and DefMod are 1. This is applied by first multiplying AtkMod by DefMod, then multiplying the result by the calculated damage thus far and rounding down to the nearest integer.
  • is 1.5 if the target's defensive stats are lowered, 1 if they are neutral, or 0.66 if they are boosted.
  • is realized as a multiplication by a random integer between 85 and 100 (inclusive), and divided by 100.
  • is the type effectiveness. This can be 0.4, 0.5 (not very effective); 1 (normally effective); 2, or 2.5 (super effective), depending on both the move's and target's types.
  • is 0.75 if a Fire-type move is used during rain, and 1 otherwise. The result is rounded to the nearest integer (rounding down at 0.5).
  • is 1.5 for a critical hit, and 1 otherwise.
  • is the same-type attack bonus. This is equal to 1.25 if the move's type matches any of the user's types, and 1 otherwise. The result is rounded to the nearest integer (rounding down at 0.5).
  • is 0.5 if the attacker is burned and the used move is physical, or if the attacker is frostbitten and the used move is special, and 1 otherwise.
  • is 1.33 if the target is drowsy, and 1 otherwise.
  • is 1.5 if the attacker is fixated, and 1 otherwise.
  • is 1.33 if the target is fixated, and 1 otherwise.
  • is 1.5 if the attacker is primed, and 1 otherwise.

Pokémon GO

In Pokémon GO, damage is calculated differently due to different variables existing in the game.

where

  • is the power of the move used
  • is the Attack stat of the attacking Pokémon
  • is the Defense stat of the Pokémon being attacked
  • For Shadow Pokémon:
    • is applied to
    • is applied to

and

where

  • is the type effectiveness, which is calculated differently in GO, using multipliers of base 1.6 instead of 2.
  • is the same-type attack bonus. This is equal to 1.2 if the move's type matches any of the user's types, and 1 if otherwise.
  • The following variables are applied in Gym and Raid Battles only, and are 1 otherwise.
    • is 1.2 if the move used has a weather-boosted type, and otherwise.
    • is applied when battling with Friends and varies depending on the Friendship level.
      • 1.03 if Good Friends
      • 1.05 if Great Friends
      • 1.07 if Ultra Friends
      • 1.1 if Best Friends
      • 1 otherwise
    • is if the attack was successfully dodged, and if otherwise.
      • Gym defenders and Raid Bosses will never dodge a player's attacks
    • is greater than 1 when there is one or more Mega-Evolved Pokémon on the battlefield.
      • 1.1 if none of the Mega-Evolved Pokémon have the same type as the move
      • 1.3 if one or more Mega-Evolved Pokémon have the same type as the move
  • The following variables are applied in Trainer Battles only, and are 1 otherwise.
    • is for all attacks used in a Trainer Battle.
    • is applied only for Charged Attacks, and its value depends on the player's score during the minigame. The possible ranges are
      • if "Excellent!"
      • if "Great!"
      • if "Nice!"
      • otherwise

By the damage formula, moves that have a power of 0 such as Splash and Yawn will always do 1 HP damage.

Pokémon Masters EX

050Diglett.png This section is incomplete.
Please feel free to edit this section to add missing information and complete it.
Reason: The damage formula is broken down in full here, just needs to be condensed/formatted for our purposes

Trivia

  • In Pokémon Ruby and Sapphire, if the player's Pokémon deals over 33037 HP damage, the Pokémon will faint, but the HP bar will not be drained; if it deals exactly 33037 HP, the HP bar will be drained automatically.
  • In Generation V onward, the amount of damage that can be dealt in a single attack is capped at 65535. In addition, an overflow can occur during the calculation of very high damage amounts, causing the actual damage dealt to be much lower than expected.[2]
  • In Pokémon Battle Revolution, the HP bar will change with a different animation depending on the move's type (recovery, recoil damage and indirect damage use the Normal-type animation), as shown below.
PBR HP change Normal.png PBR HP change Fighting.png PBR HP change Flying.png PBR HP change Poison.png
Normal Fighting Flying Poison
PBR HP change Ground.png PBR HP change Rock.png PBR HP change Bug.png PBR HP change Ghost.png
Ground Rock Bug Ghost
PBR HP change Steel.png PBR HP change Fire.png PBR HP change Water.png PBR HP change Grass.png
Steel Fire Water Grass
PBR HP change Electric.png PBR HP change Psychic.png PBR HP change Ice.png PBR HP change Dragon.png
Electric Psychic Ice Dragon
PBR HP change Dark.png
Dark

In other languages

Language Title
Chinese Cantonese 傷害 Sēunghoih
Mandarin 傷害 / 伤害 Shānghài
The Czech Republic Flag.png Czech Poškození
Denmark Flag.png Danish Skade
Finland Flag.png Finnish Vahinko
French Canada Flag.png Canada Tort*
France Flag.png Europe Dégâts
Germany Flag.png German Schaden
Hungary Flag.png Hungarian Sebzés
Italy Flag.png Italian Danno
South Korea Flag.png Korean 데미지 Damage
Norway Flag.png Norwegian Skade
Portuguese Brazil Flag.png Brazil Dano
Portugal Flag.png Portugal Dano
Spain Flag.png Spanish Daño
Sweden Flag.png Swedish Skada

External links

References


Project Games logo.png This game mechanic article is part of Project Games, a Bulbapedia project that aims to write comprehensive articles on the Pokémon games.