Hidden Power

Hidden Power (めざめるパワー Awakening Power) is a -type attack introduced in Generation II. Hidden Power's type and power varies. Unown always know Hidden Power. All Pokémon (except Magikarp) can learn this move through TM.

Effects
Hidden Power always varies from Pokémon to Pokémon and may or may not give the Pokémon STAB. There are certain protocols that determine the type, effect, and damage.

It can be easy to find the type of the Hidden Power when battling a Kecleon.

The formula used to determine the type number is:

$$\frac{5a+10b+20c+40d+160e+80f}{21}$$
 * a depends on the HP IV.
 * b and c depend on the Attack and Defense IV's respectively.
 * d depends on the Speed IV.
 * e and f depend on the Special Attack and Special Defense IV's respectively

The formula used to determine the power is:

$$\frac{40u+80v+160w+320x+640y+1,280z}{63}+30$$

The variables u through z (the "damage bits") represent the second to last bit of each IV. If a variable has a remainder of 2 or 3 when divided by 4, this bit is 1. Otherwise, the bit is zero.
 * u depends on the HP stat.
 * v and w depend on the Attack and Defense stats respectively.
 * x depends on the Speed stat.
 * y and z depend on the Special Attack and Special Defense stats respectively.

TM10
All (Except for Magikarp, who can't learn any TMs)

TM10
All (Except for Magikarp, who can't learn any TMs)

TM10
All (Except for Magikarp, who can't learn any TMs)

Trivia

 * Prior to Generation IV, it was the only move that could be Physical and Special.
 * The man to the left of the arena in southern Driftveil City can teach your Pokémon Hidden Power.