# Voting calculations

## How is the reputation calculated?

$$Voter\_x$$ - Voter for which the current calculation is done​\
$$Rep\_x$$ - Vote&#x72;**\_**&#x78; reputation before the calculation\
$${Rep\_x}*n$$  - Voter\_x reputation after the calculation\
$$V*{min}$$ - % of voters voting in the minority\
$$V\_{maj}$$  - % of voters voting in the majority

If the user has voted in the majority:

$$
{Rep}*{x\_n}=Rep\_x-{\frac {V*{maj}} {20}}
$$

If the user has voted in the minority:

$$
{Rep}*{x\_n}=Rep\_x-{\frac {({1}-(V*{min}\*2))^2} {2}}
$$

## How are the rewards calculated?

$${Voter}\_x$$ - Voter for which the current calculation is done​\
$$Share\_x$$  - % of the Voter\_x participation in the rewards distribution  \
$$VP$$  **-** Voting Power

$$
Share\_x = \frac {{VP}*x} {\sum*{1}^n{VP}\_1+{VP\_n}}
$$

## **How is the Voting Power calculated?**

$$VP$$ **-** User's Voting Power\
$$S$$ - DEIN tokens Staked in the DEIN Native Staking NFT\
$$M\_2$$ - Dein Native Staking NFT's Voting Multiplier\
$$R$$ **-** Reputation

$$
VP = \sqrt{(\sum^n\_1{S\_n\*{M\_2}\_n})\*R}
$$

{% hint style="info" %}
&#x20;$$S\*M\_2$$ is also known as the individual DEIN Native Staking NFT's Voting Power
{% endhint %}


---

# 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.dein.fi/governance/voting/voting-calculations.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.
