Skip to content

Bitcoin Mining Explained: How It Works and What It Costs

By Vault Capital Team·Published on ·Updated on ·8 min read·Also available in Português

Bitcoin mining is how the network creates new blocks and issues new coins. Specialised machines race to find a hash below a target, and the winner earns newly minted bitcoin plus the block's fees. The race is deliberately expensive: the energy spent is what makes rewriting bitcoin's history impractical. This post explains, from bitcoin's developer documentation, network data, energy estimates and official cases read on 26/11/2026, how mining works, how much the network consumes, what shapes the cost of mining and which scams borrow the name.

In short

  • A block is found roughly every 10 minutes and pays the miner 3.125 BTC in new coins, plus fees. On 26/11/2026, about 20.12 million bitcoin had been mined, 95.8% of the total.
  • The network ran at about 1,000 EH/s, a unit of computing power in hashes per second, and the University of Cambridge estimated its consumption at 159 TWh a year, within a range of 87 to 277 TWh.
  • Fees were only 0.77% of miner revenue in the 30 days to 26/11/2026; almost all income still comes from the block subsidy.
  • Mining is done with ASICs, machines built only for mining, and small miners join pools: in the last month, the three largest pools found 62.5% of blocks.
  • Rules differ by country. China ordered mining to be phased out in 2021. Offers of "mining shares" with guaranteed returns are the pattern in documented fraud cases.
Figure (26/11/2026) Value Source
Block height 977,699 mempool.space
Reward per block 3.125 BTC plus fees Since the halving of 20/04/2024
Bitcoin mined so far About 20.12 million (95.8%) Protocol math on the block height
Network hashrate About 1,000 EH/s mempool.space
Fees as share of miner revenue, 30 days 0.77% Our calculation on mempool.space data
Estimated consumption 159 TWh a year (87 to 277) Cambridge (CBECI)

How bitcoin mining works

bitcoin.org defines it: "Mining is the act of creating valid Bitcoin blocks, which requires demonstrating proof of work". A miner builds a block from pending transactions and hashes its header, changing a number with each attempt, until the result falls below the network's target. The function used is SHA-256, explained in What Is SHA-256? The Hash Function Behind Bitcoin Explained.

Ten minutes, on average. The code of Bitcoin Core, the network's reference software, sets the target at 10 minutes per block. Every 2,016 blocks, about two weeks, the network compares the time taken with the time expected and adjusts the difficulty: if blocks came too fast, difficulty rises; if too slowly, it falls. In the documentation's words, this keeps "the average time to find a block remains equal to 10 minutes" even as more people start mining.

The reward. The first record in each block is the coinbase transaction, which creates new coins for the miner. The reward is the block subsidy, currently 3.125 BTC, plus the fees of the transactions in the block. The subsidy halves every 210,000 blocks, the halving, explained in Bitcoin halving explained: what changes, what it does not. Today almost everything comes from the subsidy: in the 30 days to 26/11/2026, fees were 0.77% of miner revenue, by our calculation on mempool.space data.

Pools and machines. Bitcoin is mined with ASICs, machines that do nothing else. The developer documentation says difficulty has risen to the point where "the only cost-effective method of mining today is using specialized hardware". For scale, in our own illustrative calculation: a hypothetical 100 TH/s machine, 100 trillion hashes a second, would hold about 0.00001% of the network's power on 26/11/2026 and, mining alone, would find a block on average once every 196 years or so. That is why miners join pools, which split the reward according to each member's proofs of work. In the last month, the three largest pools found 62.5% of blocks, according to mempool.space. The general explanation, across all coins, is in What Is Crypto Mining? How It Works and Which Coins Use It.

How much energy mining uses

The University of Cambridge's Bitcoin Electricity Consumption Index (CBECI) estimated, on 26/11/2026, consumption of about 159 TWh a year, within a range of 87 to 277 TWh, assuming electricity at US$ 0.05 per kWh. The International Energy Agency calculated that all cryptocurrencies together used about 110 TWh in 2022, 0.4% of global electricity demand.

Alerts on Investing in crypto

An e-mail when something changes on this topic: new rules, deadlines, scams going around and Vault news.

What shapes the cost of mining

Whether mining pays depends on numbers that change every day, and this post does not do the sum for you. bitcoin.org warns that mining "is not an easy way to make money". The variables are:

  1. Electricity: usually the deciding cost. Cambridge's own estimate assumes US$ 0.05 per kWh; compare that with the rate you actually pay.
  2. The machine: its price, its efficiency and how quickly newer models make it obsolete.
  3. Difficulty: it rises as more miners join, cutting each machine's share.
  4. The bitcoin price: revenue is paid in bitcoin.
  5. Pool fees and upkeep: cooling, noise, internet and repairs.

Because the subsidy halves every four years or so, each halving cuts revenue per block unless fees or the price make up for it.

Where mining is restricted

There is no global rule. China is the best-known case: in a notice dated 24/09/2021, its National Development and Reform Commission listed virtual currency mining among industries to be eliminated and barred power connections for new mining projects. Elsewhere, the answer depends on each country's own rules, so check where you live.

Even where mining is legal, plugging machines into the grid without paying for the power is theft.

Scams that use mining

Mining "shares" and fake cloud mining. In 2019, the US regulators SEC and CFTC warned about fraudsters claiming to invest customers' money in "mining" farms with guaranteed returns of 20% to 50%. In the case of HashFlare, a cloud mining company, according to the US Department of Justice on 13/02/2025, the company sold more than US$ 577 million in contracts and "did not possess the requisite computing capacity" for the mining it claimed to do; the dashboard showing profits displayed falsified data.

The pattern is the promised return. Real mining revenue moves with the bitcoin price, difficulty and energy costs, and no honest mining business guarantees a fixed yield.

What to check

  1. If you are thinking of mining, do the sum with your own electricity rate, today's difficulty and the machine's price, and remember that ASICs age.
  2. Only connect machines under a regular electricity contract.
  3. If someone sells mining shares with a guaranteed return, treat it as the pattern in fraud cases.
  4. Keep receipts for machines and power bills; tax rules for mined coins vary and are not always written down.
  5. If your goal is to hold bitcoin, compare the cost of mining with simply buying and holding it.

What happens when the subsidy reaches zero is covered in When Will the Last Bitcoin Be Mined? What Happens After. The other topics in the series are in Crypto Technology Glossary: x402, NFTs, Lightning and More.

Crypto assets carry high risk, including significant volatility and the possibility of losing the capital invested, and no form of custody changes that. Vault Capital is a securities consultancy authorized by the CVM under CVM Resolution 19/2021 and works on the principle of advice, never custody: assets stay on the client's own exchanges and wallets. If you want to set up your own wallet with hands-on guidance, the Self-Custody Immersion is built for that, and the FAQ explains how Vault works without custody of client assets.

The power, machine and difficulty math with 2026 numbers is covered in Is Bitcoin Mining Profitable in 2026? The Power Math, and the Paraguay case in Bitcoin Mining in Paraguay: Power, Rules and Real Costs.

Frequently asked questions

How does bitcoin mining work?

Specialised machines try billions of hashes a second until one falls below the network's target. Whoever finds it first publishes the block and earns 3.125 BTC in new coins plus fees. Difficulty adjusts every 2,016 blocks to keep the average at one block every 10 minutes.

How much energy does bitcoin mining use?

The University of Cambridge's central estimate was about 159 TWh a year on 26/11/2026, within a range of 87 to 277 TWh. The International Energy Agency estimated that all cryptocurrencies used about 110 TWh in 2022.

Can you mine bitcoin at home?

Technically yes, with an ASIC, but the numbers rarely work. In an illustrative calculation, a 100 TH/s machine mining alone would find a block about once every 196 years, which is why miners join pools. Your electricity rate usually decides the outcome.

It depends on the country. China ordered mining to be phased out in 2021; other countries set their own rules. Wherever you are, running machines on electricity you do not pay for is theft.

Is cloud mining a scam?

Not always, but documented cases share a pattern: guaranteed returns and mining capacity that does not exist. According to the US Department of Justice, HashFlare sold more than US$ 577 million in contracts without the promised mining.

No Brazilian law bans mining; Law 14,478/2022, the crypto framework, does not mention it. What police target is electricity theft: the Federal District government reported three phases of an operation in 2026 that seized hundreds of machines plugged illegally into the grid, and since May 2026 aggravated theft carries 2 to 8 years in prison.

Let's talk

Mining is a business of energy and machines; keeping the bitcoin you already own safe is what depends most on you. If you want to learn to set up and test your own wallet safely, Vault's Self-Custody Immersion teaches the process hands-on, in person, with the setup validated by a specialist.

Want to hold your crypto safely, on your own?

Vault's Self-Custody Immersion teaches wallets, seed backups and succession planning, hands on.

Learn about the Immersion

Path · Investing in crypto

Start the Investing in crypto path

How Much Bitcoin Should Be in a Portfolio? A Sizing Method

Published references (BlackRock 1% to 2%, Itaú Asset 1% to 3%), 2026 volatility and a four-step method to size bitcoin against total wealth, from Brazil.