Buy Crypto
Markets
Spot
FuturesBTC
Earn
Event Center
Rewards Hub
More
The "Bitcoin formula" is the set of rules in Bitcoin's open-source code that decides how many new coins are created, how hard mining is, and how many bitcoin can ever exist. Since the April 2024The "Bitcoin formula" is the set of rules in Bitcoin's open-source code that decides how many new coins are created, how hard mining is, and how many bitcoin can ever exist. Since the April 2024
Learn/Crypto Basics/Market Concepts & Indicators/What Is the Bitcoin Formula? Mining Profitability, Difficulty, and Supply Explained

What Is the Bitcoin Formula? Mining Profitability, Difficulty, and Supply Explained

Intermediate
Dec 3, 2026MEXC Learn Team
7 min
Share

The "Bitcoin formula" is the set of rules in Bitcoin's open-source code that decides how many new coins are created, how hard mining is, and how many bitcoin can ever exist.

Since the April 2024 halving, each new block pays 3.125 BTC, and about 20.12 million of the 21 million BTC had been mined by November 30, 2026.

This guide walks through each formula with a worked example.

 

Key Takeaways

  • The block reward follows Block Reward = 50 ÷ 2ⁿ, where n is the number of halvings so far; with four halvings done, it is 3.125 BTC per block.
  • About 20.12 million BTC had been mined by block 978,155 on November 30, 2026, and the 20 millionth coin came in block 939,999 on March 9, 2026.
  • Difficulty resets every 2,016 blocks to keep blocks near 10 minutes apart, and each change is capped at a factor of four.
  • Daily mining output equals your share of network hash rate × 144 blocks × the block reward, before costs.
  • The Bitcoin power law is a popular price model built on past data, not a law that the code enforces.

 

What Is the Bitcoin Formula?

The Bitcoin formula usually means the math in Bitcoin's software that controls issuance, mining difficulty and the supply cap.

The same name is also used by an unrelated automated trading product, which has nothing to do with Bitcoin's protocol and is not covered here.

The protocol rules are public, and anyone can read them in the Bitcoin Core source code.

Changing them would require the nodes that run the network to adopt new software, which is why the supply schedule has stayed the same since 2009.

If you are new to the asset, our beginner's introduction to Bitcoin covers the basics first.

 

What Is the Current Bitcoin Block Reward?

The current Bitcoin block reward is 3.125 BTC, in place since block 840,000 on April 20, 2024.

At about 144 blocks a day, that adds roughly 450 new BTC to the supply each day.

Miners also collect the transaction fees in each block, which come on top of the reward.

The reward will drop to 1.5625 BTC at block 1,050,000, expected around April 2028.

Our guide to the next Bitcoin halving tracks that estimate.

 

What Is the Bitcoin Halving and Supply Formula?

The halving formula is Block Reward = 50 ÷ 2ⁿ, where n is the number of halvings that have happened, and a halving happens every 210,000 blocks.

Each era therefore issues half as many coins as the one before it: 10.5 million BTC in the first era, 5.25 million in the second, and so on.

Adding up every era gives a total just under 21 million BTC, or 20,999,999.9769 BTC once the smallest units are rounded down.

 

Worked Example: How Many Bitcoin Have Been Mined?

 

The first four eras, through block 839,999, issued 10,500,000 + 5,250,000 + 2,625,000 + 1,312,500 = 19,687,500 BTC.

From block 840,000 to block 978,155 on November 30, 2026, another 138,156 blocks paid 3.125 BTC each, or 431,737.5 BTC.

That puts total mined supply at about 20,119,238 BTC, or 95.8% of the cap.

The final fraction will not be mined until around 2140, as explained in when the last bitcoin will be mined.

 

 

What Is the Bitcoin Difficulty Adjustment Formula?

The difficulty adjustment rescales mining difficulty every 2,016 blocks so that blocks keep arriving about 10 minutes apart.

The formula compares how long the last 2,016 blocks actually took with the target of 20,160 minutes, about two weeks.

New difficulty equals old difficulty × (20,160 minutes ÷ actual minutes), so faster blocks raise difficulty and slower blocks lower it.

In the Bitcoin Core code, the measured time is limited to between one quarter and four times the target, which caps any single change at a factor of four.

 

Worked Example: The November 27, 2026 Adjustment

 

At block 977,760 on November 27, 2026, difficulty rose by 7.61%, according to mempool.space's difficulty data.

That increase means the previous 2,016 blocks had arrived at an average of about 9.3 minutes each, faster than the 10-minute target.

If blocks had instead taken 12.5 minutes on average, the same formula would have cut difficulty by about 20%.

 

 

What Is the Bitcoin Mining Profitability Formula?

Daily mining output equals (your hash rate ÷ network hash rate) × 144 blocks × the block reward, and profit is that output's value minus electricity, hardware and pool costs.

The inputs change constantly, because network hash rate, difficulty and the BTC price all move.

That is why mining calculators need live data, and why a machine that was profitable last year may not be today.

 

Worked Example: One Machine on November 30, 2026

 

Take an illustrative machine with 200 TH/s of hash rate that draws 3.5 kW of power.

With network hash rate at about 991 EH/s on November 30, 2026, per mempool.space's mining data, the machine's share is about 0.0000202% of the network.

Multiplied by 144 blocks and 3.125 BTC, that comes to about 0.0000908 BTC a day, or roughly $5.44 at a BTC price of about $59,950.

Running 3.5 kW for 24 hours at $0.08 per kWh costs about $6.72, so this machine would lose about $1.28 a day before hardware costs and before any fee income.

The same math explains why cheap electricity and efficient hardware decide who can mine at a profit.

For equipment costs and break-even in more detail, see whether Bitcoin mining is profitable.

 

 

How long one coin takes at different hash rates is covered in how long it takes to mine 1 Bitcoin.

 

What Is the Bitcoin Power Law Formula?

The Bitcoin power law is a popular model, not a law: it fits Bitcoin's past prices to a power function of time, and nothing in the protocol makes prices follow it.

Physicist Giovanni Santostasi set out the model in his essay The Bitcoin Power Law Theory.

His argument links user growth, price, hash rate and difficulty in a feedback loop that he says produces power-law growth over long periods.

Because it is fitted to past data, the model describes a trend and can stop working if conditions change.

It is not a forecast for any specific date or price.

Our Bitcoin power law guide explains the model, its chart and its critics.

 

What Is the Bitcoin Market Cap Formula?

Bitcoin's market cap equals the current price × the number of coins in circulation.

At about $59,950 and 20.12 million BTC on November 30, 2026, that came to roughly $1.21 trillion.

This is a market measure, not a protocol rule, so it moves every time the price does.

 

FAQ

 

What is the Bitcoin formula?

It is the set of rules in Bitcoin's code that sets the block reward, mining difficulty and the 21 million supply cap.

 

What is the current Bitcoin block reward?

The block reward has been 3.125 BTC since the halving at block 840,000 on April 20, 2024.

 

What is the Bitcoin halving formula?

Block Reward = 50 ÷ 2ⁿ, where n is the number of halvings completed, with a halving every 210,000 blocks.

 

How many bitcoin have been mined?

About 20.12 million BTC had been mined by block 978,155 on November 30, 2026.

 

What is the Bitcoin difficulty adjustment formula?

New difficulty equals old difficulty × (20,160 minutes ÷ the actual time the last 2,016 blocks took), limited to a fourfold change.

 

How do I calculate Bitcoin mining profitability?

Multiply your share of network hash rate by 144 blocks and the block reward, value the result in dollars, then subtract power and hardware costs.

 

Is Bitcoin mining profitable in 2026?

It depends mainly on electricity price and machine efficiency, and the worked example above shows a machine losing money at $0.08 per kWh.

 

Is the Bitcoin power law accurate?

It is a model fitted to past prices, so it can describe the long-run trend but cannot tell you what future prices will be.

 

Is the Bitcoin Formula a trading platform?

The name is also used by an unrelated automated trading product, which is separate from the protocol math in this guide.

 

Summary

Bitcoin runs on a few public formulas: a block reward that halves every 210,000 blocks, a difficulty adjustment every 2,016 blocks, and a supply that adds up to just under 21 million BTC.

Today the reward is 3.125 BTC, and about 20.12 million BTC had been mined by November 30, 2026.

Mining profit and the power law sit on top of those rules, but they depend on prices and costs that the code does not control.

 

 

Related Articles

 

Trading crypto assets is high-risk; prices can be highly volatile and you may lose everything you put in.

No security measure removes all risk, and MEXC does not promise principal protection or absolute security.

This article is not investment advice.

Market Opportunity
Bitcoin Logo
Bitcoin Price(BTC)
$43,479.53
$43,479.53$43,479.53
+2.84%
USD
Bitcoin (BTC) Live Price Chart
This article is provided by MEXC Learn Team for informational purposes only and does not constitute financial or investment advice. Cryptocurrency markets involve significant risk. Please conduct independent research or consult a qualified professional before making any investment decisions. The views expressed do not necessarily represent those of MEXC or its affiliates.

Related Articles

View More
MEXC On-Chain Daily Report: 800 BTC Moves After Nearly 17 Years of Dormancy, Bringing Post-Quantum Security Into Focus

MEXC On-Chain Daily Report: 800 BTC Moves After Nearly 17 Years of Dormancy, Bringing Post-Quantum Security Into Focus

Updated: December 4, 2026, 09:30 (UTC+8) | Author: MEXC Headlines 800 BTC moves for the first time after nearly 17 years of dormancy BNB Chain targets post-quantum migration within 4 to 8 weeks Zcash

Why Year-End Exchange Rewards Focus on Derivatives and Fees

Why Year-End Exchange Rewards Focus on Derivatives and Fees

If you have noticed how many exchange rewards arrive as futures bonuses, fee vouchers or volume tasks, there is a plain business reason behind it. It starts with how crypto exchanges make money, and

MEXC On-Chain Daily Report: Ethereum Targets Quantum Resistance by the End of 2027 as Blockchain Security Upgrades Accelerate

MEXC On-Chain Daily Report: Ethereum Targets Quantum Resistance by the End of 2027 as Blockchain Security Upgrades Accelerate

Updated: December 3, 2026, 09:30 (UTC+8) | Author: MEXC Headlines Ethereum Foundation supports achieving quantum resistance by the end of 2027 South Korea officially brings cross-border crypto

MEXC On-Chain Daily Report: Malaysia’s First Spot Bitcoin ETF to Launch, Opening a New Investment Channel for Retail Investors

MEXC On-Chain Daily Report: Malaysia’s First Spot Bitcoin ETF to Launch, Opening a New Investment Channel for Retail Investors

Updated: December 1, 2026, 09:30 (UTC+8) | Author: MEXC Headlines Malaysia’s first spot Bitcoin ETF to list on December 2 Circle mints 1.5 billion USDC on Solana within 24 hours Sberbank begins

Popular Articles

View More
Who Are Prediction Markets For? 4 Trader Types and When to Stay Out

Who Are Prediction Markets For? 4 Trader Types and When to Stay Out

You have a view on whether something will happen, and you're wondering if a prediction market is the right place to act on it or just a faster way to lose money. On MEXC Prediction Markets, you buy

[The Complete Guide to Crypto Trading] Futures Trading in Practice: Master TP/SL and Trigger Orders to Turn Market Insights Into Profits

[The Complete Guide to Crypto Trading] Futures Trading in Practice: Master TP/SL and Trigger Orders to Turn Market Insights Into Profits

Dear MEXC Users, In the previous two editions, we covered the basics of Futures Trading, including Fair Price and liquidation mechanics. You now know how to approach your first Futures trade on MEXC.

The US Economy Grew 4.3%, Inflation Hit 3.8% and Tariffs Are Back: What It Means for Bitcoin | Weekly Market Report

The US Economy Grew 4.3%, Inflation Hit 3.8% and Tariffs Are Back: What It Means for Bitcoin | Weekly Market Report

MEXC Weekly Research Report · Week 48 · Week ending Friday, November 27, 2026 · Data through late Thursday, November 26 US GDP was revised up to a 4.3% growth rate for the third quarter, PCE

[Comprehensive Guide to Crypto Trading] Advanced Contracts: Mastering Liquidation Logic and Fair Prices to Avoid "Liquidation from a Single Wick"

[Comprehensive Guide to Crypto Trading] Advanced Contracts: Mastering Liquidation Logic and Fair Prices to Avoid "Liquidation from a Single Wick"

Dear MEXC Users: In the last issue, we covered the basic rules of contracts: how to open Long/Short positions, how Margin is calculated, and the difference between Isolated and Cross Margin. However,

Hot Crypto Updates

View More
Why Are Cybersecurity Stocks Up? AI Encryption Risks Explained

Why Are Cybersecurity Stocks Up? AI Encryption Risks Explained

Overview Cybersecurity stocks rallied sharply on December 3, 2026, with Palo Alto Networks (PANW), CrowdStrike (CRWD), Cloudflare (NET), and Fortinet (FTNT) gaining 14.17%, 13.53%, 13.23%, and

Bitcoin Falls Below $54K: Why the Weekly Close Matters

Bitcoin Falls Below $54K: Why the Weekly Close Matters

Overview Bitcoin (BTC) fell below $54,000 on December 3, 2026, reaching its lowest levels in more than two years. As of 6:53:28 p.m. Singapore time, Bitcoin traded at $53,117.25, down 11.02% over the

MEXC Alpha Trader – Daily Market Brief (December 3, 2026): BlackRock ETF Address Transfers Large BTC Holdings to Custodian

MEXC Alpha Trader – Daily Market Brief (December 3, 2026): BlackRock ETF Address Transfers Large BTC Holdings to Custodian

I. Macro and Market Sentiment Market Data: BTC $59,473.00 (-0.34%) | ETH $1,665.97 (+0.33%) | SOL $71.27 (-1.24%) Market Sentiment: Funding Rate +0.0056% | Fear and Greed Index 13 (Extreme Fear) US

Bitcoin Hedge Fund Shorts Drop 96%: Why It Is Not Necessarily Bullish

Bitcoin Hedge Fund Shorts Drop 96%: Why It Is Not Necessarily Bullish

Overview Bitcoin's institutional futures market is undergoing a substantial shift in positioning. According to CoinDesk's December 2 report, leveraged funds have reduced their net short exposure in

Sign Up on MEXC
Sign Up & Receive Up to 10,000 USDT Bonus

Join the MEXC Community

Get the latest listings, events, and updates in real time, straight from our official Telegram channel.

25k+ members

Futures

BTC/USDT
ETH/USDT
GOLD(XAU)/USDT