Blockchain technology · · 6 min read
Where does Bitcoin's 21 million supply cap come from?
Bitcoin's total supply is capped at roughly 21 million BTC, and that cap is a mathematical consequence of the reward schedule that governs how new bitcoin is created. Every full node on the network checks the rule independently, so no single person, company or miner can break it on their own.
In this article we look at how the 21 million figure is calculated, how the rule is enforced in practice, why the usable supply ends up below that number, and whether the cap could ever be changed.
Where does the 21 million figure come from?
New bitcoin enters circulation only through the block reward, the payment that goes to the miner who adds a new block to the chain. The reward started at 50 BTC per block and is cut in half every 210,000 blocks. This cut is called the halving, and because the network produces a block roughly every 10 minutes, it happens about every four years.
Total supply is simply the sum of what each period produces:
- First period: 210,000 × 50 = 10,500,000 BTC
- Second period: 210,000 × 25 = 5,250,000 BTC
- Third period: 210,000 × 12.5 = 2,625,000 BTC
Each period adds half as many new coins as the one before. That is a geometric series that starts at 10.5 million and halves at every step. The sum of such a series approaches twice its first term, 21 million, but never exceeds it. Picture someone who walks half of the remaining distance at every step: they keep getting closer to the finish line, but never cross it.
| End of period | Block height | Total supply | Share of 21 million |
|---|---|---|---|
| 1st period | 210,000 | 10,500,000 BTC | 50% |
| 2nd period | 420,000 | 15,750,000 BTC | 75% |
| 3rd period | 630,000 | 18,375,000 BTC | 87.5% |
| 4th period | 840,000 | 19,687,500 BTC | 93.75% |
| 5th period | 1,050,000 | 20,343,750 BTC | about 96.9% |
The table highlights an important feature: most of the supply was created in the early years. The small remaining share is added over more than a century, ever more slowly. The reward shrinks with each halving and is expected to reach zero around 2140.
Who enforces the cap, and how?
There is no central body managing Bitcoin's supply. The first transaction in every block is a special one in which the miner pays the reward to itself (the coinbase transaction). In it, the miner may claim at most the current block reward plus the fees from the transactions in the block.
Full nodes, computers that keep a copy of the chain and check the rules for themselves, verify every block they receive. If a miner claims even 1 satoshi (one hundred-millionth of a bitcoin) too much, nodes treat the block as invalid and reject it, and the energy spent finding it is wasted. Breaking the rule is both pointless and expensive.
The 21 million value also appears in the software as a sanity check: a transaction's outputs cannot exceed that amount. But what actually limits supply is the reward schedule, not this constant.
The rule was put to the test in 2010. A software bug allowed a single transaction to create more than 184 billion bitcoin. The bug was spotted quickly, a fixed version of the software was released within hours, and the network moved forward on a chain that did not include that transaction. The episode shows that the supply rule draws its strength not just from being written in code, but from nodes constantly checking it.
You don't have to trust anyone to verify the supply, either. Anyone running a full node can have their own computer add up all unspent transaction outputs (UTXOs) and see the circulating supply directly.
Why is the usable supply below 21 million?
"21 million" is a round number. The real maximum is slightly lower, and the amount that can actually be spent is lower still:
- Rounding: Rewards are calculated in satoshis, and fractions are dropped at each halving. The theoretical maximum is therefore about 20,999,999.9769 BTC.
- The first block: The 50 BTC reward in Bitcoin's first block (the genesis block) cannot be spent because of how the software is built.
- Under-claimed rewards: Some miners, through buggy software or carelessness, paid themselves less than they were entitled to. The unclaimed part can never be claimed later.
- Burned coins: Bitcoin sent on purpose to provably unspendable outputs leaves circulation permanently.
- Lost keys: Coins in wallets whose private key (the secret number that authorizes spending) or recovery phrase has been lost are still visible on the chain but can never be spent again. Estimates of this amount vary widely between sources, and none of them is definitive.
So "maximum supply", "circulating supply" and "actually usable supply" are three different numbers. When you look at a data source, it is worth checking which one it shows.
Can the cap be changed?
Technically, any software rule can be changed. In Bitcoin, though, changing a rule is not up to the developers who write the code but to the users who run it. A change that increased supply would be rejected as invalid by nodes still enforcing the old rules. Those who adopted the new rules would continue on a separate chain, and the network would split in two.
In such a split, what matters is which chain exchanges, wallets, miners and users accept as "Bitcoin". Because most users see the supply cap as Bitcoin's most fundamental property, a proposal to change it is widely considered very unlikely to win broad support. The cap draws its strength not only from math but from this social consensus.
What a fixed supply does and does not mean
- Divisibility: 1 BTC splits into 100 million satoshis. The total supply comes to roughly 2.1 quadrillion satoshis, so the 21 million cap does not mean people have to transact in whole coins.
- Not a price forecast: A fixed supply does not mean the price will rise. Price is set by supply and demand together, and nobody can know in advance how demand will develop.
- Security shifts to fees: As new issuance shrinks, miners' income, and with it the network's security, depends more and more on transaction fees.
- Every cryptocurrency has its own rules: Some have no fixed cap at all, and in others supply can change through governance decisions. Bitcoin's rule should not be generalized to other assets.
Key takeaways
- Bitcoin's supply is the sum of block rewards that started at 50 BTC and halve every 210,000 blocks; that sum approaches 21 million but never exceeds it.
- The rule is enforced not by a central authority but by full nodes that check every block independently.
- Rounding, the unspendable genesis reward, under-claimed rewards and lost keys keep the usable supply below 21 million.
- Changing the cap would risk splitting the network and would require broad social consensus.
- A fixed supply is not a price forecast; price is set by supply and demand together.