Say I have a Stoutland with Sand Rush in Sand. That doubles the Speed.

Then I add 252 Speed EV's to it, and slap on a Choice Scarf. My question is, what order are these added on in?

>For example: Base Speed + 252 Speed EV's x1.5 (Scarf boost) x2 (Sand Rush)? Base Speed + 252 Speed EV's x2 (Sand Rush) x1.5 (Scarf boost)?

My question is, what order are they added on in? Thanks in advance :D

The values are multiplicative, so because of the commutative property, you get the same value regardless of which one is done first. The order makes no difference when you multiply the values.

This big part determines the Pokemon's stat before it even enters the battle. This is the (Base Speed+252 Speed EVs) part you have here, though the whole thing is collectively one number being multiplied.

From there, you just multiply by anything else like stat boosts/drops, items, abilities, etc.