BA-08 · LESSON 03

Difficulty adjustment

Bitcoin retargets periodically to keep average block production near ten minutes despite changing hash rate.

Key terms in this lesson 2 definitions
Hash rate
The number of mining hash attempts performed per second.
Proof-of-work target
The maximum header-hash value accepted for a block; lowering it makes valid hashes harder to find.
Self-paced Advanced Not started

Loading lesson visuals...

01

Learn the idea

Bitcoin adjusts proof-of-work difficulty every 2,016 blocks. Nodes compare the period's actual timestamp span with the two-week target span, clamp extreme adjustment, and derive a new target. The rule aims for a long-run average near ten minutes per block, not an exact schedule for each block.

GUIDED EXPLANATION1/5 ideas inspected
1

Complete an adjustment period

The target normally remains constant within a 2,016-block interval, subject to network-specific exceptions.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinction“Difficulty changes after every slow or fast block to force the next block to take ten minutes.”

Mainnet retargets every 2,016 blocks. Individual block times remain highly variable even at the correct expected rate.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.