<p>Difficulty is a measure of how difficult it is to find a hash below a given target.</p>

<p>Target is a 256-bit number (extremely large) that all Bitcoin clients share. The SHA-256 hash of a block's header must be lower than or equal to the current target for the block to be accepted by the network.</p>

<p>Target = current difficulty = output by Bitcoin's getDifficulty RPC call
(Difficulty is basically a different representation of the target to make it easier for normal humans to understand it.)</p>

<p>Hashrate is computed hashes per second.</p>

<pre><code>difficulty = hashrate / (2^256 / max_target / intended_time_per_block)
             = hashrate / (2^256 / (2^208*65535) / 600)
             = hashrate / (2^48 / 65535 / 600)
             = hashrate / 7158388.055
</code></pre>

<p>Sources:<a href="https://bitcoin.stackexchange.com/questions/5556/relationship-between-hash-rate-and-difficulty">Relationship between Hash-Rate and Difficulty</a> &amp;&amp; <a href="https://en.bitcoin.it/wiki/Difficulty" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Difficulty</a></p>

CC BY-SA 3.0
2018-02-10T08:30:44.357Z
2018-02-10T08:30:44.357Z
Preet
<p>Can anybody explain relations and formulas between mining share difficulty, target and hashrate?</p>

<p>Thank you.</p>

<mining-pools><difficulty><mining-pool-shares>
Share difficulty and hashrate
Andrei Kandratovich
# Share difficulty and hashrate

(Asked by: username_0 on 2018-02-09)

Can anybody explain relations and formulas between mining share difficulty, target and hashrate?

Thank you.

**Tags:** mining-pools, difficulty, mining-pool-shares


---

## 1 answers

### Answer by username_1 on 2018-02-10. Score: 3

Difficulty is a measure of how difficult it is to find a hash below a given target.

Target is a 256-bit number (extremely large) that all Bitcoin clients share. The SHA-256 hash of a block's header must be lower than or equal to the current target for the block to be accepted by the network.

Target = current difficulty = output by Bitcoin's getDifficulty RPC call
(Difficulty is basically a different representation of the target to make it easier for normal humans to understand it.)

Hashrate is computed hashes per second.

```
difficulty = hashrate / (2^256 / max_target / intended_time_per_block)
             = hashrate / (2^256 / (2^208*65535) / 600)
             = hashrate / (2^48 / 65535 / 600)
             = hashrate / 7158388.055

```

Sources:[Relationship between Hash-Rate and Difficulty](https://bitcoin.stackexchange.com/questions/5556/relationship-between-hash-rate-and-difficulty) && <https://en.bitcoin.it/wiki/Difficulty>


---

