[Decryption] Calculation method of mining income

[Decryption] Calculation method of mining income

Mining revenue has always been the most core indicator of mining.

How to evaluate the daily income of mining a certain coin with a mining machine? What are the factors that affect mining income? There are numerous income calculators and mining income prediction tools for various coins on the market. What methods do these tools use to estimate the daily mining income?

The author takes BTC and ETH, two typical crypto assets, as examples to briefly introduce the calculation method of mining income.

Before calculating mining revenue, we must first understand several concepts: Difficulty, Hashrate, Block Reward, and 24h Estimated mining revenue.


Knowledge Points
Difficulty is a measure of the difficulty of mining, that is, the difficulty of finding a HASH value lower than a given target.
In simple terms, mining difficulty refers to the difficulty of finding a legitimate new block .


Hashrate refers to the number of times a mining machine performs hash calculations on relevant mining data according to the hash algorithm per unit time. It can also be simply understood as the number of mining results (shares) submitted by a mining machine per unit time.


Block Reward refers to the encrypted asset reward given by the blockchain to miners after mining a new block. It is the main source of income for miners.


The 24h Estimated mining revenue is the estimated time it takes for a miner to mine a block based on the miner's computing power and mining difficulty, and is calculated by dividing the block reward by the number of days.
This value does not take into account the influence of factors such as luck. It is a theoretical value and is also the most important indicator for evaluating miners' mining income .



In order to obtain mining profits, miners need to mine legal new blocks and obtain corresponding block rewards.

At present, mining of major currencies is too difficult. According to the computing power of most miners, it may take one year or even several years to mine a legal new block .


Therefore, miners can connect their computing power to the mining pool, pool mining, and share block rewards, so that even with lower computing power, they can obtain mining income every day.


Before estimating this “mining income”, let’s define a few parameters:

Define several parameters

P : Theoretical mining income per day

D : Current mining difficulty

H : The computing power of the miner, in hash/s, that is, the miner can submit "H" mining task calculation results per second

R : Block Reward


The calculation method of mining income is as follows:


1

Calculation method of BTC mining income



The mining difficulty displayed by Bitcoin has undergone multiple transformations. To put it simply , under the mining difficulty corresponding to "1", about 2 32 hash operations are required to theoretically obtain the random number required for a legal new block, which means that theoretically a legal new block can be mined .


Therefore, it can be inferred that when the mining difficulty is D, ( 232 ) hash operations are required to mine a legal new block and obtain R BTC as a block reward. If the miner's computing power is H , then the time required for him to complete ( 232 ) hash operations = (D×232)/H seconds.


Theoretically, the mining income per second of a miner = (D× 2 32 )/H BTC. There are 24 hours in a day, and there are 24×60×60 seconds. The estimated mining income of BTC per day is:



Example:

Current BTC difficulty D = 12720005267390.51

(You can get the current difficulty through http://blockexplorer.com/q/getdifficulty)

Each BTC block reward R=12.5 BTC

1Ph/s computing power

So : P = 0.01976863 BTC




2

ETH mining revenue calculation method



The mining difficulty of ETH is relatively straightforward. It means that when the difficulty is D, theoretically D hash operations are required to obtain a legal new block.


Therefore, the estimated daily mining revenue of ETH is:


Example:

Current ETH difficulty D=2504 T

Each ETH block reward R=2 ETH

1Gh/s computing power

We can get : P = 0.069 ETH


BTC and ETH are two typical POW currencies. The mining revenue calculation methods of other currencies are similar to those of BTC and ETH. Interested miners can try to calculate them by themselves.


<<:  【Cold Knowledge】Joint Mining Principles and Benefits

>>:  [Decryption] Introduction to mining revenue model and its applicable scenarios (revised)

Recommend

Palmistry and physiognomy show who will have sufficient wealth in life

Palmistry and physiognomy show who will have suff...

The way out for the “mining tyrants”

In China's cryptocurrency field, there are th...

Russia's Central Bank tests blockchain messaging system

Russia’s Central Bank is testing blockchain techn...

What are the characteristics of a woman with a fox face?

Physiognomy refers to the features of the facial ...

What kind of person is suitable for doing business?

1. High and wide forehead In physiognomy, the for...

These types of people are best at doing business

These types of people are best at doing business ...

The central bank has gone too far this time! Your banknotes may be in danger...

“I won’t accept any gifts this year, but if I do,...

Men with these facial features are more likely to marry a good wife

1. Full forehead Men have full and broad forehead...

Analysis of the face of men with droopy eyes and bad luck with children

What does a man with droopy eyes look like? In li...

Knowledge of Zhouyi Palmistry

I believe many people know that palmistry can pee...

Litecoin founder: Charlie Lee, Engineering Director of Coinbase

Golden Finance News - The founder of Litecoin, Ch...

People with this face are the most filial to their parents and have thick lips

Although not every parent deserves filial piety, ...