<p>To create a new block, miners have to construct a block and, from that block, calculate a number using a mathematical function called a hashing function. The calculated number is called a hash. If the hash is bigger than the current network target, the miner changes the constructed block, for example by choosing a different number for  a part called a nonce, and recalculates.</p>
<p>The hashrate is the number of hashes that can be calculated in one second. There is a hashrate for each mining device and a total hashrate for the whole bitcoin network</p>
<p>If there is too much mining power, new blocks could be calculated too fast for the other bitcoin wallets to keep up. So the difficulty is increased by making the target smaller</p>
<p>To find a block whose hash is less than the target you might need to try hashing 9223372036854775807 different blocks on average or you might get lucky on the first try.</p>

CC BY-SA 4.0
2021-08-16T14:09:17.087Z
@claris: The current difficulty corresponds to a hashrate of 111.3 EH/s, which should put the average count of hashes per block at about 66.7*10^21.
Murch
CC BY-SA 4.0
2021-08-16T17:08:24.110Z
@Murch thank you, that was a very useful comment
noobie
CC BY-SA 4.0
2021-08-16T13:00:20.043Z
2021-08-16T18:37:58.663Z
2021-08-16T18:37:58.663Z
RedGrittyBrick
<p>I understand that there are multiple terms for the idea of how hard it is to successfully mine BTC. The terms I have seen are &quot;difficulty&quot;, &quot;network hashrate&quot; and &quot;hashrate&quot;. I am not entirely sure what the differences between these are.</p>
<p>On my computer, I can call SHA256 on a string. How many such input strings would I need to try right now before I would get lucky enough to successfully propose a block? And this number of tries, how is it related to &quot;difficulty&quot;, &quot;network hashrate&quot; and &quot;hashrate&quot;?</p>

<difficulty><hashpower><terminology>
How do difficulty, hashrate, and network hashrate fit together?
noobie
# How do difficulty, hashrate, and network hashrate fit together?

(Asked by: username_0 on 2021-08-16)

I understand that there are multiple terms for the idea of how hard it is to successfully mine BTC. The terms I have seen are "difficulty", "network hashrate" and "hashrate". I am not entirely sure what the differences between these are.

On my computer, I can call SHA256 on a string. How many such input strings would I need to try right now before I would get lucky enough to successfully propose a block? And this number of tries, how is it related to "difficulty", "network hashrate" and "hashrate"?

**Tags:** difficulty, hashpower, terminology


---

## 1 answers

### Answer by username_1 on 2021-08-16. Score: 0 | Accepted answer

To create a new block, miners have to construct a block and, from that block, calculate a number using a mathematical function called a hashing function. The calculated number is called a hash. If the hash is bigger than the current network target, the miner changes the constructed block, for example by choosing a different number for a part called a nonce, and recalculates.

The hashrate is the number of hashes that can be calculated in one second. There is a hashrate for each mining device and a total hashrate for the whole bitcoin network

If there is too much mining power, new blocks could be calculated too fast for the other bitcoin wallets to keep up. So the difficulty is increased by making the target smaller

To find a block whose hash is less than the target you might need to try hashing 9223372036854775807 different blocks on average or you might get lucky on the first try.

> **Comments:**
> **username_2**: @claris: The current difficulty corresponds to a hashrate of 111.3 EH/s, which should put the average count of hashes per block at about 66.7*10^21.  
> **username_0**: @username_2 thank you, that was a very useful comment  

---

