Bitcoin mining
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.
See also
- Proof of workProof of work is how Bitcoin decides who adds the next block: miners spend electricity on guessing, and a correct guess is easy for everyone to check but expensive to produce.
- Bitcoin hashrateHashrate is how many guesses per second all Bitcoin miners make together. More hashrate means more energy protecting the network.
- Difficulty adjustmentEvery 2,016 blocks (about two weeks) Bitcoin makes mining harder or easier so that a block still arrives about every ten minutes on average.
- HalvingEvery 210,000 blocks, roughly every four years, the number of new bitcoins paid to miners per block is cut in half. This is how Bitcoin's supply is capped at 21 million.
- 21 million supply capThere will never be more than 21 million bitcoins. Over 95% are already issued; the rest trickles out with each block until about 2140.
- Mining poolA mining pool is a service that combines the hashrate of many Bitcoin miners. Together they find blocks far more often than any one of them would alone, and the pool splits each block reward by the shares every miner submitted, so members get small, regular payouts instead of waiting years for a whole block.
- Public PoolPublic Pool is a free, open-source pool for solo Bitcoin mining. It charges no fee and needs no account: your miner connects over Stratum and uses your Bitcoin address as the username. If your miner finds a block, the reward goes to that address. A shared PPLNS mode is also offered. It is popular with Bitaxe and home miners.
- Stratum V2Stratum V2 is the newer protocol between miners and pools. It encrypts the connection, uses compact binary messages and, optionally, lets the miner rather than the pool choose which transactions go into a block.
References
- Satoshi Nakamoto, Bitcoin: A Peer-to-Peer Electronic Cash System (2008) bitcoin.org
- Bitcoin developer guide: mining developer.bitcoin.org
- mempool.space mining dashboard mempool.space