Ranked Game Points

tmaritote

Tichuant
What's the formula that determines how many points you win or lose at the end of a ranked game? It seems to vary wildly. Sometimes I win by a large margin and gain almost nothing, other times I barely win see upwards of 70 points.
 
Oben