21 BTC

Bitcoin mining

Updated Reviewed articleRandom article
In plain words

Bitcoin mining is finding a valid Proof of work for the next block. Miners who succeed earn the block subsidy (currently 3.125 BTC per block in this Halving era) plus transaction fees. Difficulty retargets every 2,016 blocks so blocks stay about ten minutes apart; live hashrate and difficulty are in the infobox and on mining power.

Short definition

Using computing power to find valid blocks; secures the network and issues new coins.

What miners do

A miner takes waiting transactions from the Mempool, builds a block template with a coinbase paying itself, and hashes the header until it finds a Proof of work below the target. A valid block is broadcast and every node checks it before accepting it.

Revenue = subsidy + fees. The subsidy halves every 210,000 blocks (Halving), so fees are expected to matter more over time. Revenue per unit of hashrate per day is called hashprice. Countdown to the next cut: halving countdown.

Hardware

CPUs mined the first blocks; the first public GPU miner appeared in 2010, and since 2013 almost all hashing is done by ASICs, chips that only compute SHA-256. Efficiency is measured in joules per terahash (J/TH). Profitability depends mostly on the price of electricity.

What mining earns

Payback depends on four inputs you control or observe: the device hashrate, your electricity price, the pool fee, and network difficulty (live in the infobox). Plug those into the mining calculator for an estimate; we do not invent profitability figures here. Hardware and cooling context: mining power.

Pools

A single machine might wait years for a block, so most miners join a Mining pool that splits rewards by contributed work using a payout scheme. Pools also choose which transactions go into blocks; Stratum V2 and DATUM let miners build their own templates. Compare live shares and fees on mining pools, then read Mining pool, Public Pool, AntPool, F2Pool, Pool payout schemes (PPS, PPLNS, FPPS, TIDES) and Stratum V2.

FAQ

What is Bitcoin mining in plain words?
It is a race to find a number that makes a block's hash hard enough. The winner adds the block to the chain and is paid the subsidy plus fees; every node checks the work before accepting it.
Can you mine Bitcoin at home?
Home CPUs and GPUs almost never earn a block on today's network. Small ASICs such as Bitaxe can join a solo or tiny pool like Public Pool; payback still depends on your electricity price. See the calculator.
How many bitcoin does a miner get per block?
The block subsidy for this era plus the fees of the transactions in that block. The live subsidy is in the infobox (protocol schedule); fees change every block. Next cut: the Halving.
What happens to mining after the last halving?
After about 33 halvings (around 2140) the subsidy reaches zero. Miners would then earn only transaction fees. See Halving and 21 million supply cap.
Mining calculator Mining power and cooling Mining pools compared ASIC miners Glossary on the Learn page

See also

References

  1. Satoshi Nakamoto, Bitcoin: A Peer-to-Peer Electronic Cash System (2008) bitcoin.org
  2. Bitcoin developer guide: mining developer.bitcoin.org
  3. mempool.space mining dashboard mempool.space