Voici la formule qui permet de calculer le elo :

var = 20*(res-1/(1+pow(10,0-elodiff/400)))

var : la variation elo
res : le résultat 0(perte ) ou 1( gain )
pow : puissance
Elodiff = Votre elo - le elo de votre adversaire
ElodiffGainPerte
5001.1-18.9
4901.1-18.9
4801.2-18.8
4701.3-18.7
4601.3-18.7
4501.4-18.6
4401.5-18.5
4301.6-18.4
4201.6-18.4
4101.7-18.3
4001.8-18.2
3901.9-18.1
3802-18
3702.1-17.9
3602.2-17.8
3502.4-17.6
3402.5-17.5
3302.6-17.4
3202.7-17.3
3102.9-17.1
3003-17
2903.2-16.8
2803.3-16.7
2703.5-16.5
2603.7-16.3
2503.8-16.2
2404-16
2304.2-15.8
2204.4-15.6
2104.6-15.4
2004.8-15.2
1905-15
1805.2-14.8
1705.5-14.5
1605.7-14.3
1505.9-14.1
1406.2-13.8
1306.4-13.6
1206.7-13.3
1106.9-13.1
1007.2-12.8
907.5-12.5
807.7-12.3
708-12
608.3-11.7
508.6-11.4
408.9-11.1
309.1-10.9
209.4-10.6
109.7-10.3
010-10
-1010.3-9.7
-2010.6-9.4
-3010.9-9.1
-4011.1-8.9
-5011.4-8.6
-6011.7-8.3
-7012-8
-8012.3-7.7
-9012.5-7.5
-10012.8-7.2
-11013.1-6.9
-12013.3-6.7
-13013.6-6.4
-14013.8-6.2
-15014.1-5.9
-16014.3-5.7
-17014.5-5.5
-18014.8-5.2
-19015-5
-20015.2-4.8
-21015.4-4.6
-22015.6-4.4
-23015.8-4.2
-24016-4
-25016.2-3.8
-26016.3-3.7
-27016.5-3.5
-28016.7-3.3
-29016.8-3.2
-30017-3
-31017.1-2.9
-32017.3-2.7
-33017.4-2.6
-34017.5-2.5
-35017.6-2.4
-36017.8-2.2
-37017.9-2.1
-38018-2
-39018.1-1.9
-40018.2-1.8
-41018.3-1.7
-42018.4-1.6
-43018.4-1.6
-44018.5-1.5
-45018.6-1.4
-46018.7-1.3
-47018.7-1.3
-48018.8-1.2
-49018.9-1.1
-50018.9-1.1