Skip to content
Mining

How Does Bitcoin Mining Work?

The short answer

Miners bundle transactions into a block and race to find a hash below a target by guessing. The winner is paid new bitcoin plus fees. Every 2,016 blocks the network resets difficulty so blocks stay about 10 minutes apart.

As of 2026-11-26 16:47 UTC, mempool.space's 3-day estimate is about 1,052 EH/s, and the subsidy at block 977,696 is 3.125 BTC.

mempool.space mining dashboard

Mining in one picture

  1. 1
    Transactions wait
  2. 2
    The miner guesses
  3. 3
    Someone finds it
  4. 4
    The chain grows
  5. 5
    The race starts again
  1. Transactions wait. A payment sits in the mempool until a miner includes it in a candidate block on the current tip.
  2. The miner guesses. The miner hashes the header over and over, changing a nonce, looking for a hash under the target.
  3. Someone finds it. The first valid hash wins. The block is broadcast, and nodes check it. Checking is cheap. Finding the hash was the expensive part.
  4. The chain grows. Nodes that accept the block build on it. That block is the tip until the next one.
  5. The race starts again. Miners build a new candidate on the new tip. The target stays until the next difficulty change.

Why it is guessing, not math homework

A hash is a fingerprint of the block header. Change one bit of the header and the fingerprint is a new, unpredictable number. There is no shortcut that lands you under the target. You try, and you try again.

That is proof of work, as section 4 of the Bitcoin whitepaper describes it. The work is hard to produce and cheap to check. Rewriting an old block means redoing that work, and redoing every block after it, while the rest of the network keeps moving forward.

Bitcoin.org's how it works is the short official overview. This page is the longer walk for a first reading.

What miners earn: subsidy and fees

A found block pays two things. The subsidy is new bitcoin, written into the block's first transaction. Fees are what the included transactions offered to be picked. The winner receives both.

The subsidy is 3.125 BTC in the era that began at block 840,000 in April 2024. GetBlockSubsidy cuts that number in half every 210,000 blocks. The interval is set in chainparams.cpp. The next cut is block 1,050,000, and the subsidy there is 1.5625 BTC. The year people attach to that block, around 2028, assumes blocks keep averaging about 10 minutes.

How many coins are still to be issued, and why the last ones land near 2140, is on how many bitcoin are left. The halving countdown tracks the blocks until the next cut. What the winner does in the seconds after a find is on what happens when you find a block.

Difficulty: how bitcoin keeps the 10-minute beat

Difficulty is how hard the target is. A harder target means fewer hashes qualify, so the race takes longer if the amount of guessing stays the same.

Every 2,016 blocks, the network looks at how long those blocks actually took. If they came in fast, the next stretch gets harder. If they came in slow, it gets easier. The aim is to pull the average back toward 10 minutes. The rule is in the software nodes run. It is not a vote and it is not a forecast.

A live estimate of the next change sits on the mempool.space mining dashboard. This page links that estimate rather than copying a number that will be stale by tomorrow.

Hashrate, ASICs, and why a PC cannot compete

Hashrate is guesses per second. A terahash is a trillion guesses a second. An exahash is a million terahashes. When this page can fetch it, the network figure is the mempool.space 3-day estimate, with the time of the fetch next to it.

Electricity estimates for the whole network are published by the Cambridge Bitcoin Electricity Consumption Index. This page does not pick a side past pointing at that index. Noise is easier to cite: Bitmain rates the S21 XP at 76 dBA with the fans at full speed, which fills a room. A small open board is closer to a desk fan.

Phones, laptops, and graphics cards used to be part of the story. They are not, for bitcoin, anymore. The guessing is now done by ASICs, chips built to hash SHA-256 and nothing else. A general-purpose computer spends almost all of its effort on work those chips skip.

A full-size example with a maker spec is the Antminer S21 XP. Bitmain rates that machine at about 270 TH/s. A small open board is a different class. The Bitaxe Gamma notes describe one chip from an S21 Pro hashboard, and they put that board at about 1.2 TH/s. Read the spec for the board in front of you. Later boards differ.

Pools and solo mining

A pool joins many miners and splits the reward by the work each one showed. Your hashrate still does the guessing. The difference is that a find pays the group, and you get a slice, instead of waiting for a whole block of your own.

Solo mining keeps the whole block, minus any fee the solo service charges, and pays nothing on the misses. With a small share of the network that is a lottery. The odds are your hashrate divided by the network's. Lottery mining walks through that, and the solo mining calculator will run the number for a hashrate you type. You choose the solo pool. Galaxy Mind isn't affiliated with any pool.

Miners and nodes

A node checks the rules. It checks signatures, the subsidy, the block size, and that the new block points at a parent it already accepted. A miner proposes blocks. Plenty of nodes never mine, and a miner that skips the checks can produce a block nobody will build on.

You can run a node at home without owning an ASIC. You can point an ASIC at a pool without running your own node, and then you are trusting that pool's block template. Both setups are common. They are not the same job.

How people get started

At home you need a unit whose watts fit the circuit, a wallet address, and a room that can live with the fan. Heat and noise limit you before hashrate does. The mining heater guide is the watt and BTU side. A full-size ASIC can sit at your place or with a host. Whether the cash works is is bitcoin mining worth it. Time to 1 BTC in a pool is how long to mine 1 bitcoin.

You can also rent hashrate for a few hours and point it at a pool you choose. Galaxy Mind's own machines are US-based. A rental is a short test or a lottery ticket, not an income plan. Start at the hashrate page and how to rent. Fees and ports are on the solo pool list. The learn hub, the glossary, and the arcade hold the rest.

Frequently asked

Is bitcoin mining legal in the United States?

This page isn't legal advice. Federal law doesn't ban bitcoin mining. Cities and utilities can still set rules for noise, wiring, and commercial power.

Can I mine bitcoin on a phone or a PC?

Not in any way that competes. SHA-256 guessing is done by ASICs now. A phone app isn't adding your phone's hashes to a block you can check here.

What is a nonce?

A nonce is the number a miner changes so the block header hashes to something new. Most of the search is trying nonces until one hash falls under the target.

What happens when all the bitcoin is mined?

The subsidy falls to zero and miners are paid the fees in the blocks they find. Nodes keep checking the same rules. The supply page doesn't guess future fees.

Is cloud mining the same as renting hashrate?

A rental you point at your own pool, with a payout address you set, isn't the same as a contract that only shows a dashboard. This page doesn't rate those contracts.

This page is educational. It is not financial advice or tax advice.