The Elo rating system explained: expected score and K-factor
Elo predicts the result from the rating gap, then corrects itself.
Expected score
The expected score of player A against B is 1 / (1 + 10^((Rb − Ra) / 400)). Equal ratings give 50%, a 100 point edge gives 64%, 200 points give 76% and 400 points give 90.9%.
Updating ratings
After a game the rating changes by K × (result − expected), where a win counts 1, a draw 0.5 and a loss 0. If both players use the same K, the points one gains are exactly the points the other loses.
Choosing K
A higher K moves ratings faster and suits new players, while a lower K gives stable ratings for established ones. With K = 20 and a 200 point gap, the favourite gains 4.8 for a win but loses 15.2 for a defeat.
What Elo does not say
Expected score includes draws as half a point, so it is not strictly the chance of winning. Ratings only compare players inside one pool, and different sites use their own scales and starting values.