> For the complete documentation index, see [llms.txt](https://whitepaper.educhain.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.educhain.tech/mining-policy/mining-formula.md).

# 📝 Mining Formula

EduChain provides a mining package to help users maximize investment profits. The system calculates each user's "mining index" based on their activities and subscription package.

<figure><img src="/files/GeSSxWhKgshjARKEPUoK" alt=""><figcaption></figcaption></figure>

The formula for calculating the "mining index": Mining Index = Action x Subscription Package Ratio<br>

The formula for calculating the number of coins received per hour for each user: Number of coins received = (Number of blocks per hour x 80% / Total mining index of all users per hour) x Individual mining index per hour<br>

Explanation of the factors in the formula:

* Number of blocks per hour: The number of blocks created in one hour.
* 80%: The percentage of coins allocated for rewards.
* Total mining index of all users per hour: The total mining points of all users at the same time.
* Individual mining index per hour: The mining points calculated for each user based on their subscription package and activities.

Example of calculating EduChain mining profits:&#x20;

Assume:

* Mining speed: 20,000 Tokens/hour
* Reward distribution rate: 80%
* Total number of users: 10,000 users
* Each user mines 100 points/hour

Total mining points: Total mining points: : 20.000 ( Token/h ) x 80% / 1.000.000 ( 10.000 user mỗi người đào 100 điểm) X 20.000 = 400 Token

<br>
