> For the complete documentation index, see [llms.txt](https://docs.dein.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dein.fi/governance/voting/voting-calculations.md).

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