Bitcoin Difficulty Adjustment Calculator
Every 2,016 blocks Bitcoin resets its mining difficulty so blocks keep coming about every 10 minutes. Enter the current difficulty and how fast blocks have been found to estimate the next difficulty and the change, with the same rule and limits Bitcoin Core uses.
- Estimated next difficulty
- –
- Change
- –
- Period time used
- –
- Limit applied
- –
Assumptions
- The average block time you enter holds for the whole 2,016-block period.
- Bitcoin's retarget rule, with the change limited to ×4 or ÷4.
Estimate Checked Bitcoin Core: src/pow.cpp, CalculateNextWorkRequired (retarget rule and ×4 limits; two-week target time in src/kernel/chainparams.cpp) All sources
How it is calculated
- Next difficulty = current difficulty × 1,209,600 seconds (two weeks) ÷ actual time of the period
- Actual time = average block time × 2,015 (the time from the first to the last of the 2,016 blocks)
- The actual time is limited to between 3.5 days and 8 weeks, so difficulty can change at most ×4 or ÷4 at once
Worked example: Bitcoin Core's own test (2009)
Bitcoin Core's own test (blocks 30,240 to 32,255, December 2009): difficulty 1, period time 1,022,578 seconds.
| You enter | |
|---|---|
| Current difficulty | 1 |
| Or: exact period time | 1,022,578 seconds |
| You get | |
| Estimated next difficulty | 1.182893 |
| Change | 18.29% |
| Period time used | 11.8354 days |
| Limit applied | No |
The next difficulty would be about 1.182893, up 18.29%.
Questions
Why does difficulty rise when blocks are fast?
Faster blocks mean more hash power joined. Raising the difficulty brings the average back toward 10 minutes, so new coins keep their planned schedule.
Why 2,015 and not 2,016?
Bitcoin measures from the first block to the last block of the 2,016-block period, which is 2,015 gaps. So even at exactly 10 minutes a block, difficulty rises by about 0.05%: a known quirk of the original code.
What does this mean for miners?
A higher difficulty means each unit of hash power finds fewer coins. The Mining Profitability tool shows the effect on earnings.
Sources and checks
- Bitcoin Core: src/pow.cpp, CalculateNextWorkRequired (retarget rule and ×4 limits; two-week target time in src/kernel/chainparams.cpp)
- Bitcoin Core: src/test/pow_tests.cpp (its get_next_work cases are tests here)
Last checked: 23 October 2026. This tool passes 6 automatic tests before every release. How we check our tools
Your numbers never leave your device: the calculation runs in your browser and nothing you type is sent or stored.
An estimate: the real change is set by the timestamps of the period's first and last blocks, and the average so far can still move before the period ends. Difficulty is shown here as a plain number; explorers often abbreviate it (T = trillion). This is not investment advice. Results are estimates for information only and are not financial, investment, tax or legal advice. Crypto prices move fast and leveraged trading can lose more than you expect. Check figures on your exchange or wallet before you act.