Module 6 of 19 · Part 2: How it works
Issuance and the halving
New bitcoin enters the world on a schedule written in code, not decided in a meeting. In this module you read that schedule straight from Bitcoin Core, the most widely used Bitcoin software, and see why the total supply ends just under 21 million instead of exactly 21 million.
By the end you will
- Explain where new bitcoin comes from
- Say when and why the reward halves
- Work out today's block reward from the code
- Explain why the cap is 20,999,999.9769 BTC
- Name coins that exist on the record but can never be spent
Saved in this browser only. Nothing is sent to us.
Lessons
1Lesson 1 of 6Where new bitcoin comes fromBasics6 min
Each new block's first payment creates new bitcoin and pays it to the miner who made the block. This is called the block subsidy. When Bitcoin started, the subsidy was 50 BTC per block (Bitcoin Core GetBlockSubsidy). The first block, the genesis block, was made on January 3, 2009 (mempool.space).
The miner also collects the fees on every payment in the block. The subsidy is new money; the fees are existing bitcoin moving from senders to the miner. The blockchain, Bitcoin's shared public record of balances, shows both.
- Open any recent block on mempool.space and find its first payment, the one paying the miner.
- Split its total into subsidy and fees.
- Open the supply page and find the total issued so far.
2Lesson 2 of 6The halving, about every four yearsBasics8 min
Every 210,000 blocks, the subsidy is cut in half (Bitcoin Core chainparams.cpp). At about one block every 10 minutes, 210,000 blocks take roughly four years (210,000 × 10 minutes = 2,100,000 minutes, about 4 years). Blocks don't arrive on an exact clock, so halving dates drift.
The fourth halving came at block 840,000 in April 2024 (mempool.space), cutting the subsidy from 6.25 to 3.125 BTC (50 halved four times). The next is at block 1,050,000. On November 22, 2026, the chain was near block 977,100 (mempool.space), about 72,900 blocks short. At 10 minutes a block that is roughly 506 days, which points to spring 2028.
- Check the current block height on the supply page or mempool.space.
- Subtract it from 1,050,000 and multiply by 10 minutes for a rough date.
- Remember that real block times vary, so treat it as an estimate.
3Lesson 3 of 6Satoshi math: the halving is a bit shiftGo deeper · optional10 min
Bitcoin Core counts in satoshis, whole numbers with no fractions. One bitcoin is 100,000,000 satoshis. The code starts at 50 × 100,000,000 satoshis and halves it with a right shift, a computer operation that divides by two and drops any remainder (Bitcoin Core GetBlockSubsidy).
Because remainders are dropped, each era's subsidy is rounded down to a whole satoshi. Those tiny losses add up, which is the subject of the next lesson.
- Open GetBlockSubsidy in validation.cpp and find the line `nSubsidy >>= halvings`.
- Halve 5,000,000,000 satoshis by hand five times and note when a remainder first appears.
- Write down why rounding down shrinks the total.
4Lesson 4 of 6Why the cap is not exactly 21 millionGo deeper · optional10 min
Add up every era: 210,000 blocks times each era's rounded-down subsidy. There are 33 eras with a subsidy above zero, and the total comes to 20,999,999.9769 BTC (Bitcoin Core GetBlockSubsidy). People say "21 million" as shorthand.
The last block with any subsidy is block 6,929,999, around the year 2140 (33 eras × 210,000 blocks = 6,930,000 blocks; the count starts at block 0). After that, miners earn only fees.
- Multiply 33 by 210,000 to get 6,930,000.
- Explain why the last subsidy block is 6,929,999 rather than 6,930,000.
- Look at the end of the curve on the supply chart.
5Lesson 5 of 6Coins that can never be spentAdvanced · optional10 min
Some bitcoin is on the record but can never move. The genesis block's 50 BTC can't be spent, because Bitcoin Core skips its payments when building the list of spendable coins (Bitcoin Core validation.cpp).
Blocks 91,842 and 91,880 reused earlier miner payment IDs, overwriting those outputs; BIP 30 was added so it can't happen again (BIP 30). BIP means Bitcoin Improvement Proposal, a numbered public document describing a change. Miners may also claim less than allowed; consensus only rejects claiming too much, so unclaimed satoshis never come into existence (GetBlockSubsidy). Lost private cryptographic keys, the numbers that prove you can spend, add more coins that exist but will likely never move; the supply page charts estimates.
- Read BIP 30's motivation section.
- Write down three ways bitcoin can become permanently unspendable.
- Compare known unspendable coins with estimated lost coins on the supply page.
6Lesson 6 of 6Shrinking new supply, not shrinking supplyBasics6 min
Each halving cuts the rate of new supply. The total keeps growing, more and more slowly, until it stops. That is called disinflation. People sometimes call bitcoin deflationary, but the supply itself never shrinks under the rules; only lost coins reduce what can actually be spent.
Scarcity measures like stock-to-flow compare existing supply with new supply. Bitcoin's new supply is fixed by the schedule above, so anyone can calculate it ahead of time.
- On the supply page, compare the yearly new-supply rate before and after the 2024 halving.
- Explain disinflation vs deflation in one sentence each.
- Read the stock-to-flow page if you want the scarcity lens.
⚠ Common mistakes
- Saying the supply is exactly 21 million
- Expecting halvings on an exact calendar date
- Thinking miners can vote to raise the subsidy
- Calling bitcoin's supply shrinking when only the rate of new coins shrinks
Quick check: 5 questions
1. How often is the block subsidy cut in half?
2. What did the April 2024 halving cut the subsidy to?
3. Why is the cap just under 21 million?
4. Which coins can never be spent?
5. What happens to new supply after block 6,929,999?
Next on the trail · available now
Module 7: The difficulty adjustment
Explain exactly how and when difficulty retargets and where the edge cases are.
Start Module 7 →Educational only. Nobody from ClearSats will ever ask for your seed words.