Skip to article
Degrees of SatoshiFollow the connections.
Degrees of Satoshi/ Encyclopedia

Encyclopedia Supply, markets and the chain · Entry 418

How many bitcoins are there? The 21 million cap, explained

Theme
Supply, markets and the chain
Sources
7 cited records
Reading time
About 9 minutes
Automated verification
Substantive update
In this article

At a glance

Key facts

Key facts for How many bitcoins are there? The 21 million cap, explained
FactDetailSource
Maximum supply20,999,999.9769 BTC: the sum of scheduled maximum subsidies, not an exact circulating balance[1][3]
Starting reward50 BTC per block from 3 January 2009[1][2]
Halving intervalEvery 210,000 blocks, roughly four years[1][3]
Scheduled at the fourth halving boundary19,687,500 BTC scheduled through block 839,999; block 840,000 adds up to 3.125 BTC[1][2]
Supply at end of 2025About 19.97 million BTC, by Coin Metrics’ count on 31 December 2025[4]
Final nonzero subsidyOne satoshi per block from 6,720,000 through 6,929,999; zero from 6,930,000[1][3]
Provably stuckThe 50 BTC genesis reward, which the software cannot spend[6]
01

The 21 million cap is a rule every node enforces, not a promise

New bitcoin comes into existence in exactly one way. Each block, the miner who builds it may include a special first transaction that pays a reward, called the block subsidy, to an address of their choosing. The size of that reward is fixed by a short function in Bitcoin Core, the reference software most of the network runs. The function, GetBlockSubsidy, divides the block height by 210,000 to work out how many halvings have happened, starts from 50 BTC, and cuts that in half once for each halving. A comment in the code says it plainly: the subsidy is cut in half every 210,000 blocks, which will occur approximately every four years.

That is the whole mechanism. There is no committee, no annual mint report, and no way for a miner to award themselves more. Every node, meaning every computer running the software and checking blocks for itself, recomputes the permitted subsidy and rejects any block whose reward transaction claims more than the subsidy plus the fees paid by the transactions inside it. Our dossier on halvings and supply reproduces the function line by line and lists the exact boundary blocks.

Because the reward halves at a block height rather than on a calendar date, the familiar “every four years” is an outcome of the ten-minute block target, not a rule. The halving arrives when block 210,000, 420,000, 630,000 and so on is mined, whatever the date happens to be. So far those dates have been 28 November 2012, 9 July 2016, 11 May 2020 and 20 April 2024.

02

Why the true maximum is 20,999,999.9769, not 21 million

Add up the schedule and you get a familiar geometric series: 10.5 million coins in the first 210,000 blocks, 5.25 million in the next, then 2.625 million, and so on, approaching 21 million without ever quite reaching it. That is where the round number comes from. The code, though, does not deal in fractions of a coin. It counts in satoshis, the smallest unit, of which there are 100 million in a bitcoin, and it halves by shifting an integer one bit to the right. Once the subsidy becomes an odd number of satoshis, the shift throws away the leftover half.

Summed under the current function, the most that can ever be created is 2,099,999,997,690,000 satoshis, or 20,999,999.9769 BTC. The Bitcoin Wiki gives the same figure and notes that the shortfall is a consequence of the integer storage type, not a design goal. The difference is about two hundredths of a coin. It matters only when someone asks for precision, but it is a useful reminder that “21 million” describes a calculation rather than a number typed into the code.

One more guard sits in the function. Once the halving count reaches 64, the subsidy is forced to zero. BIP 42, a proposal by Pieter Wuille dated 1 April 2014, explained that the original code relied on undefined behavior in C++ for very large shifts, and that on the hardware people actually use the reward would have wrapped around and started again after 64 halvings. The fix makes the schedule genuinely finite, centuries before it could have mattered.

03

How many have been issued so far

The schedule tells you the most that could have been created by any block height. Through block 839,999, just before the fourth halving block on 20 April 2024, the schedule allowed 19,687,500 BTC. Block 840,000 itself adds a maximum subsidy of 3.125 BTC. The pre-halving total is 93.75 percent of the rounded 21 million cap. By the end of the era that begins at block 1,050,000 the figure reaches 20,671,875 BTC, more than 98 percent. Almost all of the supply, in other words, was created in Bitcoin’s first fifteen years, and the remaining sliver trickles out over more than a century.

Actual issuance runs a hair below the schedule, because a miner may claim less than the permitted reward, and some have. Coin Metrics, the data firm whose figures this site uses for price and supply, put the outstanding supply at about 19.69 million BTC on the day of the fourth halving and about 19.97 million BTC on 31 December 2025. That halving cut the reward to 3.125 BTC per block, which is about 450 new coins a day at the target pace of 144 blocks, down from 7,200 a day in 2009.

You can watch the total grow yourself: the reward transaction in every block is public, and our guide to reading a block explorer shows where to find it. What no explorer can tell you is how many of those coins anyone can still spend, which is the last question below.

04

The final nonzero subsidy is one whole satoshi per block

Because each era pays half the previous one, the subsidy keeps halving until it is a single satoshi per block, and then, at the 33rd halving, it becomes zero. That boundary is block 6,930,000. At ten minutes per block, the Bitcoin Wiki projects the last new satoshi somewhere in the year 2140; its estimates land on different days of that year depending on assumptions about mining pace, which is the honest way of saying nobody can name the date. What is fixed is the height.

After that, miners are paid only by transaction fees, which the white paper anticipated from the start. Whether fees alone will buy enough security is a real question that the code does not answer, and our dossier treats it as an open economic one rather than a missing line of code. For readers today it is mostly a curiosity. The era of meaningful new issuance is the one we are living through, and it is already mostly over.

05

Issued, lost and liquid are three different numbers

The maximum is a rule. The issued total is a fact you can read from the chain. From there the numbers get softer. Some coins exist on the ledger but can never move. The clearest case is the 50 BTC reward in the genesis block: the original software hard-coded that block but never entered its reward into the database of spendable coins, so no node will accept a transaction that spends it. Some scripts, such as outputs beginning with OP_RETURN, are provably unspendable. Addresses deliberately constructed without a known private key rely instead on the computational difficulty of finding a key; that is a different basis from the genesis database rule.

Then there are coins whose keys have simply been lost, on discarded hard drives, behind forgotten passwords, in wallets whose owners died without leaving instructions. The ledger cannot distinguish a lost coin from a patiently held one, so every figure for lost bitcoin is an estimate built on assumptions about behavior. Subtract the estimate from the issued total and you get something like the spendable supply.

“Liquid” supply narrows further still, to coins that actually trade rather than sit in long-term storage, and it depends even more on definitions. So when someone quotes a single number for how many bitcoins there are, it is worth asking which of the four they mean. The cap is just under 21 million. The number issued at a given height is below that maximum. The number anyone can spend is smaller, and the number that changes hands is smaller again.

Direct answers

Questions people ask

Will there ever be more than 21 million bitcoin?

Not under the current rules. The subsidy function halves the reward every 210,000 blocks and forces it to zero after 64 halvings, and every node rejects a block that claims more. Changing the cap would mean changing the software that people run and persuading them to accept it, which is what our article on soft forks and hard forks is about.

How many bitcoins are left to mine?

By the fourth halving in April 2024 the schedule had allowed 19,687,500 BTC, leaving about 1.3 million to be created over the following century or so. Because each era pays half the last, most of that remainder arrives in the next few eras and the tail is tiny.

What happens when all the bitcoins are mined?

Miners keep building blocks but are paid only by the fees users attach to transactions. The white paper anticipated this shift. Whether fees will fund enough mining to keep the network secure is an open economic question, not something the code settles.

How many satoshis are in one bitcoin?

One hundred million. The software counts every amount in satoshis, which is why the halving arithmetic eventually discards fractions and why the exact cap is a little under 21 million. Our explainer on the satoshi has more.

Inspect the evidence

The answer and key facts have stable claim links. These records retain the scope and qualification when reused.

Under Bitcoin mainnet’s current subsidy schedule, the sum of permitted block subsidies is 20,999,999.9769 BTC. Actual issued and spendable supply are smaller because rewards can be underclaimed and some outputs are unspendable or have lost keys. The subsidy halves every 210,000 blocks, reaches one satoshi per block in its final nonzero era, and becomes zero at block 6,930,000, conventionally estimated around 2140.

Scope: Bitcoin · data through 2025-12-31. Verification: verified · 2026-10-02T16:01:48.343Z.

Link to this claim
Maximum supply: 20,999,999.9769 BTC: the sum of scheduled maximum subsidies, not an exact circulating balance

Scope: Bitcoin · data through 2025-12-31. Verification: verified · 2026-10-02T16:01:48.343Z.

Link to this claim
Starting reward: 50 BTC per block from 3 January 2009

Scope: Bitcoin · data through 2025-12-31. Verification: verified · 2026-10-02T16:01:48.343Z.

Link to this claim
Halving interval: Every 210,000 blocks, roughly four years

Scope: Bitcoin · data through 2025-12-31. Verification: verified · 2026-10-02T16:01:48.343Z.

Link to this claim
Scheduled at the fourth halving boundary: 19,687,500 BTC scheduled through block 839,999; block 840,000 adds up to 3.125 BTC

Scope: Bitcoin · data through 2025-12-31. Verification: verified · 2026-10-02T16:01:48.343Z.

Link to this claim
Supply at end of 2025: About 19.97 million BTC, by Coin Metrics’ count on 31 December 2025

Scope: Bitcoin · data through 2025-12-31. Verification: verified · 2026-10-02T16:01:48.343Z.

Link to this claim
Final nonzero subsidy: One satoshi per block from 6,720,000 through 6,929,999; zero from 6,930,000

Scope: Bitcoin · data through 2025-12-31. Verification: verified · 2026-10-02T16:01:48.343Z.

Link to this claim
Provably stuck: The 50 BTC genesis reward, which the software cannot spend

Scope: Bitcoin · data through 2025-12-31. Verification: verified · 2026-10-02T16:01:48.343Z.

Link to this claim
Revision history
  1. — Initial Bitcoin encyclopedia entry at this permanent URL.
  2. — Revised direct answer to preserve source scope and qualifications. Corrected key fact: Maximum supply Corrected key fact: Scheduled at the fourth halving boundary Corrected key fact: Final nonzero subsidy Corrected scope or wording: The last coin arrives around 2140, and it is a fraction of a satoshi Corrected scope or wording: By the fourth halving, at block 840,000 on 20 April 2024, it allowed a cumulative 19, Corrected scope or wording: Coins deliberately sent to burn addresses, which have no known private key, are stuck Corrected scope or wording: The number in existence is a little under that.
  3. — Added reusable claims, explicit source locators, and matching Markdown and JSON. This publishing change does not itself establish factual verification.

Source register

Sources and references

Retrieval dates and locators are recorded individually.
  1. GetBlockSubsidy in validation.cpp (pinned commit)Bitcoin Core, GitHub

    The consensus function: height divided by the 210,000-block interval, a guard that forces the reward to zero after 64 halvings, a 50 BTC start and a right shift per halving, with the code comment about roughly four years.

    Locator: The consensus function: height divided by the 210,000-block interval, a guard that forces the reward to zero after 64 halvings, a 50 BTC start and a right shift per halving, with the code comment about roughly four years. · Version / scope: 128456b62d5e38abea031f97f823d5b28aef9357 · Retrieved: 2026-10-02T14:50:00.609820+00:00Open source
  2. Bitcoin Halvings and the 21 Million Supply: Code, Blocks and Data2026-08-08Degrees of Satoshi

    The exact maximum of 2,099,999,997,690,000 satoshis, the four boundary blocks with dates, the zero-subsidy boundary at height 6,930,000, daily issuance per era, and the distinction between maximum, issued, spendable and liquid supply.

    Locator: The exact maximum of 2,099,999,997,690,000 satoshis, the four boundary blocks with dates, the zero-subsidy boundary at height 6,930,000, daily issuance per era, and the distinction between maximum, issued, spendable and liquid supply. · Retrieved: 2026-10-02T14:49:59.657636+00:00Open source
  3. Controlled supplyBitcoin Wiki

    The 20,999,999.9769 figure, the cumulative supply table by era (19,687,500 BTC at block 840,000 and 20,671,875 BTC after the era beginning at block 1,050,000), and projections placing the last new coin in 2140.

    Locator: The 20,999,999.9769 figure, the cumulative supply table by era (19,687,500 BTC at block 840,000 and 20,671,875 BTC after the era beginning at block 1,050,000), and projections placing the last new coin in 2140. · Retrieved: 2026-10-02T14:49:59.692737+00:00Open source
  4. Coin Metrics community network data for Bitcoin, btc.csv (pinned commit)Coin Metrics, GitHub

    Daily current-supply values: about 19,687,699 BTC on 20 April 2024 and about 19,969,601 BTC on 31 December 2025.

    Locator: Daily current-supply values: about 19,687,699 BTC on 20 April 2024 and about 19,969,601 BTC on 31 December 2025. · Version / scope: f1a36afb962731c387bb03982758ab0103063da5 · Retrieved: 2026-10-02T15:14:09.049051+00:00Open source
  5. BIP 42: A finite monetary supply for BitcoinPieter Wuille · 2014-04-01Bitcoin Improvement Proposals

    Explains that the original subsidy code relied on undefined C++ shift behavior that would have restarted the reward after 64 halvings, and the fix that keeps the supply finite.

    Locator: Explains that the original subsidy code relied on undefined C++ shift behavior that would have restarted the reward after 64 halvings, and the fix that keeps the supply finite. · Retrieved: 2026-10-02T14:50:00.061140+00:00Open source
  6. Block 0: The Coinbase Bitcoin’s Own Code Will Never Spend2026-08-06Degrees of Satoshi wallet library

    The genesis reward was never entered into the spendable-output database, so no node will validate a transaction spending it; whether that was deliberate is not established.

    Locator: The genesis reward was never entered into the spendable-output database, so no node will validate a transaction spending it; whether that was deliberate is not established. · Retrieved: 2026-10-02T14:50:00.217519+00:00Open source
  7. Bitcoin Core script rulesBitcoin Core

    CScript::IsUnspendable checks scripts beginning with OP_RETURN and oversized scripts; this differs from an address whose key is merely unknown.

    Locator: CScript::IsUnspendable checks scripts beginning with OP_RETURN and oversized scripts; this differs from an address whose key is merely unknown. · Version / scope: 69142eacd1374925cc9e4ea736c21fcec16307d0 · Retrieved: 2026-10-02T15:14:08.884805+00:00Open source
How this article was made

Research and drafting use AI assistance. A separate automated review checks claims against primary sources; no external expert or named human review is implied. Publication, substantive editing, source retrieval and verification are recorded separately. This version was independently checked by an automated reviewer on 2 October 2026.

Editorial method and corrections

Degrees of Satoshi editorial project. “How many bitcoins are there? The 21 million cap, explained.” Published 2026-09-23; updated 2026-10-02. https://degreesofsatoshi.com/encyclopedia/how-many-bitcoins-are-there/