LearnBitcoin

Rabbit Hole · Money · 12 min

The Supply Schedule

21 million, forever. Here's how the math works, and why it is so hard to change.

Where you're going: You'll understand exactly where the 21 million number comes from, why the real ceiling is 20,999,999.9769 BTC instead of a clean 21M, and why every full node on the network enforces the schedule.

1. The 21 Million Number

If Bitcoin had a slogan, "21 million, forever" would be it. The cap is mentioned in every introductory article, plastered on every conference t-shirt, and tattooed on a non-trivial number of forearms.

It's also the easiest claim to verify and one of the hardest claims to actually break. Most people who repeat it don't know where the number comes from. Let's fix that.

The cap comes from a rule every Bitcoin node applies to every block. The new coins a block may create depend only on its height, and that allowance halves on a fixed schedule. Add up every block's allowance and you get a geometric series. Because each reward is rounded down to whole satoshis, the total lands just short of 21 million.

If a miner tried to issue more than the schedule allows, every other node would reject the block. The math is in the code, the code runs on tens of thousands of computers, and changing it would require near-universal coordination across people who genuinely don't want it changed.

It's the most boring kind of scarcity. It's also the most reliable kind ever invented.

2. Where It Comes From

The supply schedule is defined in GetBlockSubsidy, a function in Bitcoin Core's source code. The math:

  • First block reward: 50 BTC
  • Halving interval: every 210,000 blocks (about every 4 years at 10-minute average block time)
  • Halving rule: the reward halves at each interval and rounds toward zero in satoshi precision

That's it. Two numbers and one rule. The cap is what falls out.

3. The Issuance Curve

Each "era" between halvings produces a fixed amount of new bitcoin:

Era 0:  50 BTC x 210,000 blocks   = 10,500,000 BTC
Era 1:  25 BTC x 210,000 blocks   =  5,250,000 BTC
Era 2:  12.5 BTC x 210,000 blocks =  2,625,000 BTC
Era 3:  6.25 BTC x 210,000 blocks =  1,312,500 BTC
Era 4:  3.125 BTC x 210,000 blocks =   656,250 BTC
Era 5:  1.5625 BTC x 210,000 blocks =  328,125 BTC
...

Adding these up gives you a geometric series:

S = 50 x 210,000 x (1 + 1/2 + 1/4 + 1/8 + 1/16 + ...)
S = 10,500,000 x 2
S = 21,000,000

The series converges to exactly 21 million in the mathematical limit. In practice the reward is counted in whole satoshis and every halving rounds down, so the most the rules can ever issue is 20,999,999.9769 BTC, which is exactly 2,099,999,997,690,000 satoshis.

The "missing" 0.0231 BTC comes from that rounding. The first nine halvings divide evenly. The 10th (block 2,100,000, around 2048) is the first that doesn't, and from then on every era pays a fraction of a satoshi per block less than the pure math says. Those fractions add up to about 0.0207 BTC.

The other 0.0024 BTC is the tail that never gets paid once the reward would fall below 1 satoshi. Block 6,929,999 is the last one with a subsidy (1 satoshi). From block 6,930,000, expected around 2140, the subsidy is zero and no more bitcoin will ever be issued.

4. The Halving Schedule

We covered this briefly in Chapter 2 of the Journey. Here it is in full detail:

HalvingBlockDateNew rewardCumulative supply
Genesis0Jan 3, 200950 BTC0
1st210,000Nov 28, 201225 BTC10,500,000
2nd420,000Jul 9, 201612.5 BTC15,750,000
3rd630,000May 11, 20206.25 BTC18,375,000
4th840,000Apr 20, 20243.125 BTC19,687,500
5th1,050,000~20281.5625 BTC20,343,750
6th1,260,000~20320.78125 BTC20,671,875
7th1,470,000~20360.390625 BTC20,835,937.5
...............
32nd6,720,000~21361 sat20,999,999.9748
33rd6,930,000~21400 (half of 1 sat rounds down to 0)20,999,999.9769

Each halving cuts the new supply rate in half. By the 4th halving in April 2024, 19,687,500 BTC had been issued, 93.75% of the eventual total. The last 6.25% trickles out over the 29 eras after that, until around 2140.

This is what people mean when they say Bitcoin is front-loaded and disinflationary. Most of the supply is already out. New issuance keeps shrinking toward zero, and total supply creeps up toward its ceiling.

5. The 20,999,999.9769 Ceiling

The slightly-less-than-21M number is worth pausing on, because it gets at something interesting about Bitcoin's design.

Bitcoin tracks balances in satoshis, not BTC. One satoshi is the smallest representable unit: 1 / 100,000,000 of a BTC. (See the Bitcoin Units rabbit hole for a full walk through the scale.)

When you halve a reward, you halve the satoshi count. 50 BTC = 5,000,000,000 satoshis. After 1 halving: 2,500,000,000. After 2: 1,250,000,000. And so on.

Eventually you reach a halving where the reward is below 1 satoshi. At that point, integer division by 2 produces 0. There's nothing smaller than a satoshi (on the base layer, anyway), so the subsidy becomes zero and stays there.

This happens at halving 33 (block 6,930,000), somewhere around the year 2140. The total issued at that moment is 20,999,999.9769 BTC. That's the real ceiling, and "21 million" is the rounded version.

Zero stays zero for good because of BIP 42, a rule added in 2014 that makes the code return zero outright once 64 halvings have passed. The code halves the reward by shifting its binary digits one place to the right for each halving so far, and C++ leaves a shift of 64 places or more undefined. Without BIP 42, on every platform Bitcoin Core supported at the time, the reward would have jumped back to 50 BTC at halving 64 (around the year 2263) and started the cycle over.

The coins people can actually spend will end up a little below the ceiling. The 50 BTC in the genesis block was never spendable. In November 2010, blocks 91,842 and 91,880 repeated the transaction IDs of two earlier coinbase transactions and overwrote them, which made another 100 BTC unspendable. BIP 30, the rule that now forbids such duplicates, had to make an exception for those two blocks.

Some miners have also claimed less than they were allowed. The miner of block 501,726, in December 2017, claimed none of its 12.5 BTC subsidy. Other coins have been sent to outputs nobody can ever spend. Bitcoin Core's source code even says that its hard-coded 21 million limit, MAX_MONEY, is only a sanity check and not the total money supply, which "currently happens to be less than 21,000,000 BTC for various reasons."

6. Bitcoin's Inflation Rate vs. Gold

Bitcoin's annual inflation rate is the new supply issued in a year divided by the supply that already exists. Here is the math for era 4 (the fifth era, since the count in section 3 starts at era 0), which runs from block 840,000 (April 2024) to block 1,049,999 (around April 2028):

  • Subsidy in era 4: 3.125 BTC per block
  • Blocks per year: ~52,560 (144 a day at the 10-minute target; 52,221 blocks were actually mined between October 1, 2025 and October 1, 2026)
  • Annual issuance: 3.125 x 52,560 = 164,250 BTC per year
  • Supply issued through block 969,999 (mined October 5, 2026): 20,093,750 BTC
  • Annual inflation: 164,250 / 20,093,750 = ~0.82%

The rate drifts down a little within the era as supply grows: about 0.83% right after the April 2024 halving, when 19,687,500 BTC had been issued, and about 0.81% just before the 5th halving, at 20,343,750 BTC. By the schedule, the 20 millionth bitcoin was issued in block 939,999, on March 9, 2026. ChainQuery's supply report runs the same math on live numbers: the circulating supply as its Bitcoin Core node counts it, the share of the ceiling mined so far and the annual inflation rate, refreshed every six hours.

For comparison:

  • Gold: about 1.5-1.7% in 2025. Mines produced roughly 3,300 to 3,670 tonnes that year (USGS and World Gold Council estimates). About 222,600 tonnes had been mined in all of history as of mid-2026.
  • US dollar M2: grew about 6.8% a year on average from 1971 to 2024. It jumped 24.5% in 2020 and 12.5% in 2021, then shrank slightly in 2022 and 2023.
  • Other currencies: broad money growth varies a lot by country and year. In 2024 the World Bank recorded 0.1% for Japan, 2.6% for the UK and 6.6% for Australia, against 36.9% for Turkey and 123.1% for Argentina.

After the 5th halving (block 1,050,000, around 2028), Bitcoin's annual issuance will drop to ~82,125 BTC, and its inflation rate will halve to roughly 0.4%.

As of October 2026, Bitcoin's supply is growing about 0.82% a year, roughly half the pace of gold's (1.5-1.7% in 2025).

Live supply

Connecting to node...
Loading...

Circulating is the total of all unspent outputs (gettxoutsetinfo on a live Bitcoin node, served via ChainQuery.com). It runs a little below the amount issued because some coins can never be spent, starting with the 50 BTC genesis reward. The bar is drawn against the true ceiling of 20,999,999.9769 BTC (rounding leaves 0.0231 BTC unminable), not a clean 21M.

7. The Social Contract Argument

The 21 million cap is enforced by code, not by promise. But code can be changed. So the deeper question is: why won't it be?

Three reasons, in order of importance:

1. Enforcement is distributed. Every full node checks that each block's new coins stay within the schedule. To raise the cap, developer agreement would not be enough. Node operators would each have to choose to run the new software, and every node that doesn't would keep rejecting the bigger payouts as invalid. Node operators are, by definition, people who care enough about Bitcoin to validate it themselves. They are the least likely group to accept a supply increase.

2. The cap is the value proposition. Many people hold bitcoin precisely because the supply is fixed. Raising the cap would undercut the main reason they hold it, and they are exactly the people a cap change would need to win over.

3. There's no one to ask. Bitcoin has no CEO, no board, no foundation in charge and no Satoshi. Even if someone wanted to raise the cap, there is no central party with the authority to propose it credibly. Any proposal would mean a fork. When Bitcoin Cash split off in 2017, the chain that stuck with the existing rules kept the name and most of the market value (see the block size war).

None of this is a guarantee. The cap is a Schelling point, a rule everyone expects everyone else to defend, and nobody has seriously tried to move it. As of October 2026, no proposal to raise the cap or add a permanent "tail emission" has been assigned a BIP number. The only BIP that changes how many coins can ever be issued is BIP 42, which made the cap stricter.

Tail emission does have supporters. Developer Peter Todd argued in a 2022 essay that a fixed reward per block would not be inflationary in the long run, because the supply would level off where the coins lost each year match the new ones. He also noted that adding one to Bitcoin would take a hard fork.

Through October 2026, every real threat to the supply came from a bug. In August 2010 a transaction created 184 billion BTC; a patched release came out within hours, and the chain carrying those coins was abandoned the next day (see The Inflation Bug Postmortem). In September 2018 Bitcoin Core disclosed CVE-2018-17144, a flaw in versions 0.15.0 to 0.16.2 that could have let a miner create coins out of thin air. It was patched, and nobody is known to have exploited it.

Even the biggest fight over Bitcoin's rules, the 2015-2017 block size war, was only about how big blocks could be. The side opposing a hard-fork size increase won. SegWit replaced the 1 MB limit with a 4 million weight unit limit in August 2017, and the SegWit2x hard fork was called off that November.

8. After Block 6,930,000

When the last satoshi is mined around the year 2140, miners stop receiving any new bitcoin. From that point forward, their entire revenue comes from transaction fees - the small amounts users attach to transactions to incentivize inclusion.

This is sometimes posed as a worry: will miners still mine if there's no subsidy? Nobody knows for sure yet. The bet is that people will still pay enough in fees to make mining worth the electricity. Researchers have pointed out real risks in a fee-only world, such as miners being tempted to re-mine a recent block to grab its fees (Carlsten et al., 2016). The subsidy doesn't reach zero until around 2140, but it halves about every four years, so the question starts to matter long before then.

Fees have not taken over yet. They jump when block space is in demand (about 13% of miner revenue across 2017, and about 6.5% in both 2023 and 2024) and fall back when it isn't. Over the 52,560 blocks (roughly a year) up to October 9, 2026, fees were about 0.6% of what miners earned. After block 6,929,999, fees will be all of it.

This is also why scaling Bitcoin matters. On-chain batching lets many payments share a small amount of block space, and so do the Lightning Network and other second-layer tools. The hope is that more people using Bitcoin this way keeps block space in demand, so fees stay high enough to pay miners. Whether that works out is still an open question.

After 2140, Bitcoin's security will rest on the fee market, which no schedule controls. Fees will be whatever users are willing to pay for limited block space.

9. What This Buys Us

The 21M cap is the single most boring fact about Bitcoin, and the single most consequential.

It means:

  • Nobody can dilute your savings beyond the published schedule. New coins still come out (about 0.82% a year as of 2026, shrinking at every halving), but no one can print extra bitcoin to fund a war, a stimulus or a bailout.
  • The schedule is known all the way to 2140. You can plan around it across human lifetimes.
  • There is no "growth target." The Federal Reserve aims for 2% inflation over the longer run, measured by the PCE price index. Bitcoin has no target at all; it just follows the schedule.

That's the deal. Boring, fixed, verifiable, durable. A monetary system without a steering wheel.

Pro tip: When someone tells you "Bitcoin's 21M cap could change," ask them which specific change they think would pass, and who would run it. Then check the BIP index. As of October 2026, no proposal to raise the cap has ever been given a number.

More in Money

Corrected

  • Was: The chapter gave the supply in the middle of the current era as 19,867,581 BTC, which does not match the schedule (about 20,015,625 BTC at that point), and said fees had been growing as a share of miner revenue for years. It also said the economics work out "as long as Bitcoin is being used at all".

    Now: The schedule had issued 20,093,750 BTC through block 969,999 (October 5, 2026), for an inflation rate of about 0.82 percent a year. Fees were about 0.6 percent of miner revenue in the year to October 2026, and the chapter treats fee-funded security as an open question and adds the BIP 30 and BIP 42 history. Details

Sources

← All rabbit holes