# Formula

To **calculate the winner** of a duel, the following formula is applied:

<mark style="background-color:purple;">**(V\***</mark>*<mark style="background-color:purple;">**Kv+F\***</mark>*<mark style="background-color:purple;">**Kf+S\*Ks)\***</mark>*<mark style="background-color:purple;">**10000+Steps\***</mark>*<mark style="background-color:purple;">**2**</mark>

**V** is the Speed stat

**Kv** is the Speed coefficient.

**F** is the Strength

**Kf** is the Strength coefficient.

**S** is the Stamina

**Ks** is the Stamina coefficient.

Depending on the discipline, the **coefficients** are as follows:

<table><thead><tr><th width="223">Discipline / Coefficient</th><th width="130" align="center">Sprint</th><th width="135" align="center">Urban Run</th><th align="center">Marathon</th></tr></thead><tbody><tr><td>Speed coefficient</td><td align="center">1</td><td align="center">0.5</td><td align="center">0.25</td></tr><tr><td>Strength coefficient</td><td align="center">0.5</td><td align="center">1</td><td align="center">0.25</td></tr><tr><td>Stamina coefficient</td><td align="center">0.25</td><td align="center">0.5</td><td align="center">1</td></tr></tbody></table>
