> For the complete documentation index, see [llms.txt](https://ucon-social.gitbook.io/ucon-whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ucon-social.gitbook.io/ucon-whitepaper/mining-subscription-packages/mining-token-calculation.md).

# Mining Token Calculation

{% hint style="success" %}
UCON offers a mining package that allows users to maximize their investment by calculating their mining index based on actions and subscription package ratio every hour. The formula takes into account the quantity of blocks generated per hour, the proportion of coins allocated for rewards, the total mining index of all users, and the individual mining index for each user. This ensures that tokens earned within the block are evenly distributed among users, promoting fair rewards and active participation in the network.
{% endhint %}

<figure><img src="https://2728163588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F63ffUjawXSWsfDKrBqov%2Fuploads%2Fnf1Jwm0HMRtidQ4cRiIV%2FUnveiling%20UCON%20Mining%20Token%20Reward%20Algorithm.jpg?alt=media&amp;token=cbc72c11-9686-4e58-9c3a-a004a8bfe1df" alt=""><figcaption></figcaption></figure>

\
The mining token calculation is based on a formula that determines each user's mining index every hour according to their actions and subscription package. Here's a breakdown of the formula:

**Mining Index = Action Count x Subscription Package Ratio**\
The formula for calculating the amount of earned coins for each user every hour is

**Amount of Earned Coins=(Quantity of Block per Hour×78%/Total Mining Index of All Users per Hour)×Individual Mining Index per Hour**\
\
**Description**\
\
**Quantity of Block per Hour:** Refers to the number of blocks generated per hour. 78%: Represents the proportion of coins allocated for rewards payment. \
\
**Total Mining Index of All Users per Hour:** Sum of the mining indices of all users within the same timeframe. \
\
**Individual Mining Index per Hour:** Calculated mining index for a specific user based on their subscription package and actions. \
\
For example, <mark style="color:purple;">if there are 1,000,000 tokens distributed among 10,000 users (each user runs mining action that is equivalent to 100 points), and assuming there are 117 tokens generated per hour.</mark>

<mark style="color:purple;">Amount of Earned Coins=(10,000×78%/1,000,000)×30,000=117 tokens</mark>

<figure><img src="https://2728163588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F63ffUjawXSWsfDKrBqov%2Fuploads%2FpRNHpnlp2T8FtsIqTBHW%2Fimage.png?alt=media&amp;token=19868002-deb7-4227-aaa0-c99218e33fee" alt=""><figcaption><p>Example of the mining calculation</p></figcaption></figure>

The formula ensures that every hour, the tokens mined within the block are evenly distributed among users based on their individual mining indices, encouraging active participation and fair rewards within the network.
