Why only 21 million bitcoin? An educated guess, locked in, and short by 2,310,000 satoshis
The 21 million cap isn't written down as one number. It falls out of two rules: start at 50 bitcoin per block and halve every 210,000 blocks. Satoshi Nakamoto called the choice an educated guess, and because the code drops fractions of a satoshi, the real total ends slightly below 21 million.
The village holds a meeting about the notebook. Grandma Rosa raises her hand. "Why 21 million coins? Why not 20, or a nice round 100?"
Ben has an answer ready. "Make it 22. The extra million can be mine." Nobody laughs, and nobody writes it down.
The honest answer to Rosa is less mystical than the internet makes it. The person who chose it called it a guess. What makes it matter isn't the number. It's that once the village started copying the notebook, nobody could change it alone.
What it is
Bitcoin's supply cap isn't a single line saying "21,000,000". It's the result of two rules in the software: the first blocks pay 50 new bitcoin each, and that amount halves every 210,000 blocks (Bitcoin Core, validation.cpp; Bitcoin Core, chainparams.cpp). Add up every reward that schedule will ever pay, and you land just under 21 million.
Satoshi Nakamoto announced the total on 8 January 2009, when the first version of the software came out: "Total circulation will be 21,000,000 coins." The same message said the coins would be paid "to network nodes when they make blocks, with the amount cut in half every 4 years" (Nakamoto, 2009).
Why that number: Satoshi's own answer
Three months later, the developer Mike Hearn asked where the number came from. Satoshi's reply of 12 April 2009, later published by Hearn, is the closest thing we have to an explanation (Satoshi to Hearn, 2009).
- It was a guess. "My choice for the number of coins and distribution schedule was an educated guess."
- It was hard to undo. "It was a difficult choice, because once the network is going it's locked in and we're stuck with it."
- It aimed for familiar prices. "I wanted to pick something that would make prices similar to existing currencies", which, he added, is very hard without knowing the future. "I ended up picking something in the middle."
No numerology, no secret code. A designer picking a size for the pie, knowing he couldn't recut it later.
Why four years? Bitcoin aims for one block every ten minutes, written in the code as 10 * 60 seconds (Bitcoin Core). 210,000 blocks at ten minutes each is 1,458 days: four years, give or take a leap day.
How it works: the sum in satoshis
"Digital scarcity explained" adds up the rewards in whole bitcoin. Here's the same schedule at the level the software works at: satoshis, where one bitcoin is 100,000,000 (Bitcoin Core).
- The start. The code begins with
50 * COIN, which is 5,000,000,000 satoshis per block. - The halving. It then applies
nSubsidy >>= halvings(Bitcoin Core). That's a computer's way of halving a whole number: any half satoshi left over is simply dropped. Satoshis can't be split. - The first time it bites. For nine halvings, everything divides cleanly. At the tenth, from block 2,100,000, the reward should be 4,882,812.5 satoshis. The code pays 4,882,812. Half a satoshi, lost on each of 210,000 blocks: 105,000 satoshis that will never exist.
- The last satoshi. The reward keeps halving and keeps losing crumbs until it reaches 1 satoshi per block, for blocks 6,720,000 to 6,929,999. From block 6,930,000, halving 1 gives 0. New coins stop.
- The total. Add up all 33 reward periods and you get 2,099,999,997,690,000 satoshis. A clean 21 million would be 2,100,000,000,000,000. The difference is 2,310,000 satoshis, or 0.0231 bitcoin.
You can check this yourself with a spreadsheet: 210,000 times 5,000,000,000, halved and rounded down, 33 times. That's the full audit of bitcoin's money supply. Try asking for the same from a central bank.
Why it matters
- The size is arbitrary. The fixedness isn't. 21 million could have been 10 or 100. What matters is that every node enforces the same schedule, so nobody can add a million for themselves.
- The unit is cosmetic. A smaller pie cut into 100,000,000 slices per coin works much like a bigger pie cut into fewer. Price per coin tells you little on its own.
- It was a judgement call. Satoshi said so himself. Treat anyone who claims the number is perfect, or sacred, with care.
Where people get it wrong
- "Exactly 21 million bitcoin will exist." 2,310,000 satoshis fewer, from rounding alone. Coins lost to forgotten keys reduce the usable amount further.
- "21 million is hidden maths." It's two rules and an educated guess, in Satoshi's own words.
- "The cap can never change." It can't change on anyone's say-so. A different cap would need the network to run different software, and those who refuse would keep the old rules.
- "A small supply means a high price." Supply is fixed. Demand isn't, and the code says nothing about it.
Ask for the sum, not the slogan
For any coin, ask the seller to show you the supply rule in the code and do the sum with you. For bitcoin it takes two lines and a spreadsheet.
The stranger at the gate will tell you his coin is "capped" too. Ask him at which block it stops, and who can change that. If the answer is "the team", you've found the extra million Ben wanted.
Frequently asked questions
Why is the bitcoin supply 21 million?
Because of two rules in the software: each block first paid 50 bitcoin, and the reward halves every 210,000 blocks. Added up, that comes to just under 21 million. Satoshi Nakamoto called the choice "an educated guess" in an email of 12 April 2009.
Will there ever be exactly 21 million bitcoin?
No. The software rounds each reward down to a whole satoshi, so the schedule pays 2,099,999,997,690,000 satoshis in total. That's 2,310,000 satoshis, or 0.0231 bitcoin, short of 21 million.
Did Satoshi Nakamoto explain the 21 million limit?
Partly. In an email to developer Mike Hearn in April 2009, Satoshi wrote that it was an educated guess, aimed at prices similar to existing currencies, and that once the network was running the choice was locked in.
When will the last bitcoin be created?
New coins stop at block 6,930,000, when the halved reward drops below one satoshi. At about ten minutes per block, that's well over a century away, so any calendar date is an estimate.
Can the 21 million cap be raised?
Not by any single person or company. Every node checks the reward in each block and rejects blocks that pay too much. Raising the cap would need the network to switch to different software, and anyone who refused would stay on the old rules.
Sources
- Satoshi Nakamoto, Bitcoin v0.1 released, Cryptography mailing list (8 January 2009)
- Satoshi Nakamoto, email to Mike Hearn (12 April 2009), published by Mike Hearn
- Bitcoin Core source code, src/validation.cpp (GetBlockSubsidy)
- Bitcoin Core source code, src/consensus/amount.h (COIN)
- Bitcoin Core source code, src/kernel/chainparams.cpp (nSubsidyHalvingInterval, nPowTargetSpacing)

