How is mining difficulty calculated?

Difficulty Adjustments At the beginning of every epoch the Bitcoin network recalculates the Current Target. The network does this by summing the total minutes it took to mine the last 2,016 blocks . It then compares this total to a desired rate of 20,160 minutes (10 minutes times 2,016 blocks).

Read more

Why is mining difficult?

Miners compete against each other for limited block rewards. With more participants and more computing power, the so-called “hashpower” of the entire network increases accordingly. … An adjustment of difficulty upwards or downwards depends on the number of participants in the mining network and their combined hashpower.

Read more