Skip to content

Bitcoin Prime is a data desk, not a trading platform. We take no deposits.

Bitcoin Prime is an independent editorial data desk. It is not a trading platform, robot or investment service, takes no deposits, never asks for money or wallet keys, and is not affiliated with any product, app or scheme that uses the same or a similar name.

Bitcoin Prime
EN RU
BTC$60,326−4.20% 24h Block977,381 Next-block fee3 sat/vB Halving in72,619 blocks
Glossary

Difficulty

Difficulty states how hard a valid block is to find, relative to the easiest target.

Difficulty is a number that expresses how hard it is to find a valid Bitcoin block, relative to the easiest target the protocol allows. A higher difficulty means each hash attempt is less likely to succeed.

How it works

The protocol stores a threshold, the target, in the compact nBits field of every block header. A block is valid only if its hash, read as a number, is below that target. Difficulty is the easiest allowed target divided by the current target, so it moves in the opposite direction: a smaller target means a larger difficulty.

At a difficulty of D, a block takes about D x 2^32 hash attempts on average. Because the network keeps trying at its own pace, the difficulty is reset every 2,016 blocks to bring the average block interval back toward ten minutes. That reset is the difficulty adjustment.

A simple example shows the link to timing: with the same hashrate, doubling the difficulty doubles the average time per block, from ten minutes to twenty. That is why the rule that resets difficulty is needed at all, and why the number matters even though it is just a ratio.

Where you see it

Difficulty is quoted as a plain number, with no unit. Bitcoin Core reports it through the getdifficulty call, and our network hub shows it with its source and fetch time.

Every node derives the same value from the headers, so unlike hashrate it is an exact figure rather than an estimate.

Common confusions

  • Difficulty is not hashrate. It sets how hard each attempt is. Hashrate counts how many attempts are made. Over many periods the two travel together because the adjustment ties one to the other.
  • It does not change every block. It stays constant within a 2,016-block period.
  • It does not measure profitability. Higher difficulty raises the work needed per block, but revenue also depends on fees, the subsidy and the price of electricity.

The full calculation, with a worked example, is in how difficulty retargeting works. This entry is educational and is not financial advice.

Sources

  1. RPC getdifficulty · Bitcoin developer documentation
  2. src/pow.cpp · Bitcoin Core

Educational data only. Not financial, investment or tax advice; no licence is claimed. Bitcoin Prime publishes no forecasts, targets or trading signals.