[Ethereum] How calculate mining hash rate from JUST difficulty and change in block creation times

difficultyhashratemining

How calculate mining hash rate (H) from just difficulty (D) and change in block creation times (ΔT) ?

I think

H = ΔT / D

but I'm having trouble confirming that.

Part of the difficulty is that the values fluctuate so much that if different people take different averages they'll get different answers.

Take block 4,000,000 (4M) as an example…

D = 1,096,303,811,407,388
ΔT = 4 seconds between block #(4M + 1) and block #4M

So H = 4 / 1,096,303,811,407,388 = 3.6E-15 ?

Best Answer

I think you mean:

D = H * ΔT

In which case:

H = D / ΔT

Which gives you:

1,096,303,811,407,388 / 4 => 274,075,952,851,847

Or 274,075.95 GH/s (Or thereabouts. It looks in the right ball park.)

Related Topic