user8662: I'm looking this informations for new app to calculating ELO (FIDE) rank after games (live tournament etc.). So you can predict your future rank before it is pbulished on FIDE site. 

user4362: Here is a blog post about elo calculation.
You can find the rules for determining the correct K-factor on this site, which also contains an official Fide rating calculator to check your results against.
Here is the official description of the rating calculation (based on tables instead of formulas).

8662: <p>I'm looking this informations for new app to calculating ELO (FIDE) rank after games (live tournament etc.). So you can predict your future rank before it is pbulished on FIDE site. </p>
 4362: <p><a href="https://metinmediamath.wordpress.com/2013/11/27/how-to-calculate-the-elo-rating-including-example/" rel="nofollow">Here is a blog post</a> about elo calculation.</p>

<p>You can find the rules for determining the correct K-factor <a href="https://ratings.fide.com/calculator_rtd.phtml" rel="nofollow">on this site</a>, which also contains an official Fide rating calculator to check your results against.</p>

<p><a href="https://www.fide.com/fide/handbook.html?id=172&amp;view=article" rel="nofollow">Here is the official description</a> of the rating calculation (based on tables instead of formulas).</p>
