Mining difficulty math: what the next adjustment implies
Difficulty is the network's throttle: it adjusts so blocks keep arriving on schedule no matter how much hashpower joins or leaves. Understanding the adjustment window is the difference between planning around a revenue change and being surprised by it.
How the adjustment actually works
Bitcoin retargets difficulty every 2016 blocks, roughly two weeks. The protocol compares the time the last 2016 blocks actually took against the intended interval, then scales difficulty proportionally, capped at a 20% change per adjustment. When hashpower grows fast, difficulty climbs toward the cap; when machines shut off, it falls — also capped.
Read the signal, not the number
- Difficulty estimates project the next adjustment from current hashrate. They move constantly and are often wrong by the final hour.
- Hashprice — revenue per unit of hashrate — tells you what your machines earn after the adjustment lands, before it lands.
- Marginal operators decide the direction. When price rises, retired machines come back online and difficulty rises with them. When price falls, high-cost machines switch off and difficulty can drop.
Plan revenue in steps, not lines
Difficulty does not drift smoothly; it steps every two weeks. A site that budgets on a flat daily revenue curve overestimates income in rising-difficulty periods. Model each adjustment as a step down in per-terahash earnings, then ask whether your power cost still clears the new floor. If it only clears at the old difficulty, the site is one adjustment from breakeven.
The takeaway
Difficulty is a two-week clock on your revenue per terahash. Watch hashprice and adjustment estimates, treat every retarget as a step change, and keep power costs low enough to survive two or three consecutive upward adjustments.