I assume that IV and EV calculation share the same formula.
Also, state each formula from each generation, if they have different formulas per gen.
Pleaselog inorregisterto add a comment.
The formulas for working out your stats are:
So to work out an IV or EV for a stat, it’s a matter of simply reversing the calculation. If you’re not good at algebra it can be a little difficult so here they are. For HP:
For the other stats:
These formulas have been the same since Generation 3, and as far as I know haven’t changed in X/Y. The Nature modifier is 1.1 for positive nature, 1 for neutral, 0.9 for negative nature.
Note: I’m using the normal mathematical “order of operations” to make the formulas clearer, multiplication/division comes first, so for exampleIV + 2Base + EV/4 + 100is the same asIV + (2Base) + (EV/4) + 100.