Difficulty Target
The number a block’s hash must fall below to be valid, stored in the header in a compact four-byte form. Difficulty is a human-friendly ratio derived from it, not a value the protocol uses.
The header carries the target encoded as `nBits`, a compact floating-point-like format packing a 256-bit threshold into four bytes. A block is valid only if its hash, read as a number, is smaller than that threshold — so a lower target means fewer valid hashes and more work to find one.
The figure people quote as difficulty is a derived convenience: the ratio between the easiest permitted target and the current one. It exists because a 256-bit threshold is unreadable and a multiple of the genesis difficulty is not. No consensus rule mentions it.
Every node computes the expected target independently at each retarget and rejects a header that claims a different one. That is why a miner cannot simply declare an easier target: the value is in the block, and it is checked.
The limit of what a target proves is probabilistic. A hash below it is evidence that a large number of attempts were made, not proof — a lucky first attempt is possible and indistinguishable. Only accumulated work across many blocks makes the evidence strong.
Where this comes up
Used in
Nearby terms
- UTXO
- Private Key
- Digital Signature
- Full Node
- Mempool
- Confirmation
- Fee Market
- Hash Rate
- Difficulty Adjustment
- Consensus Rules
- Lightning Network
- Multisignature
- Proof of Work
- Output Descriptor
- Partially Signed Transaction
- Coinbase Transaction
- Reorganisation
- Dust
- Weight Unit
- Replace-by-Fee
- Witness
- Taproot
- Schnorr Signature
- Soft Fork
- Hard Fork
- Merkle Root
- Derivation Path
- Cold Storage
- Block Header
- Segregated Witness
- Stale Block
- Watch-Only Wallet
- Coin Control
- Pruning
- Nonce
- Change Output
- Address Reuse
- Light Client
- Mining Pool
- Script
- Assumeutxo
- Seed Phrase
- Timelock
- Covenant
- Sidechain
- Fee Rate
- Signature Hash
- Inscription
- Hot Wallet
Reviewed Nov 2026