# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.walken.io/pvp-duels/formula.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
