Skip to main content

How Is a Change in Bitcoin’s Difficulty Calculated and Implemented?

Bitcoin's difficulty adjusts every 2,016 blocks, which is approximately every two weeks, assuming a 10-minute block time. The adjustment algorithm compares the actual time taken to mine the previous 2,016 blocks against the target time (20,160 minutes).

If the blocks were mined faster, difficulty increases; if slower, it decreases. This ensures a consistent issuance schedule regardless of the total hash power on the network.

How Does the Difficulty Target Adjust over Time in Bitcoin?
What Is a “Difficulty Bomb” and Which Cryptocurrency Uses It?
How Can a Large, Sudden Drop in Hash Rate Lead to a Temporary Mining ‘Windfall’?
How Does the Difficulty Adjustment Mechanism Relate to SHA-256’s Output?