# 📝 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="https://2590070446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuTEuKr5rs8NalqZiIQQ1%2Fuploads%2FyDRmQ4IphPY8P5dJ7VMZ%2F(Ti%E1%BA%BFng%20Anh)%20(61).png?alt=media&#x26;token=3029349b-b950-4683-ae18-c0f19907972c" 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>
