[Ethereum] Calculate Mining Time of a Block for a Given Hash Rate

go-ethereumminingsolo-mining

In my laptop i've a graphic card that has more or less 10Mh/s rate for ethereum (Nvidia Geforce GTX 950M)

From the following link i've found a formula that gives me a 1.57 day for find a block.

The link –> How can I calculate the average time to mine a block?

Instead from the tool from etherscan.io I get a result of more o less 345 days.

Which is the right formula to extimate the time for me to find a block?

If can be usefull, I will use geth

Best Answer

I'm not sure how you got 1.57 days :)

  • Current network hash rate is 19678.50 GH/s, or 19678500000000 H/s.
  • Your current hash rate is 10 MH/s, or 10000000 H/s.
  • Block time is ~14.91 seconds.

Plugging these into the calculation:

network hashrate / personalrate * blocktime         = time to find a block
(19678.5 GH/s / 10 MH/s * 14.91 s)                  = 29340643.5 seconds

(19678500000000 H/s / 10000000 H/s * 14.91 s) / (24h * 60m * 60s) = 339.6 days

So ~340 days, equivalent to Etherscan's 345 days.

Related Topic