All Learn Topics
Mining

Bitcoin Mining

Mining is the process that secures Bitcoin, creates new blocks, and issues new coins. Understanding it is essential to understanding why Bitcoin works.

Fundamentals

What Is Bitcoin Mining?

Bitcoin mining is the process by which transactions are bundled into blocks and permanently added to the blockchain. Miners compete to solve a computationally intensive puzzle — the first to solve it earns the right to add the next block and collect the block reward plus transaction fees.

Mining serves two critical functions: it secures the network by making it prohibitively expensive to rewrite history, and it issues new bitcoin in a provably fair, decentralized way with no central authority deciding who gets paid.

“One CPU, one vote.”

— Satoshi Nakamoto, Bitcoin Whitepaper (2008)

Consensus Mechanism

Proof of Work & SHA-256

Bitcoin uses a consensus mechanism called Proof of Work (PoW). Miners repeatedly hash block data using the SHA-256 algorithm, tweaking a value called the nonce until the resulting hash falls below the current difficulty target. This is computationally expensive to do but trivially easy for anyone to verify — a key asymmetry that makes Bitcoin work.

🎲

The Nonce

A 32-bit number miners increment with each guess. Combined with block data to produce a unique hash.

🎯

Difficulty Target

A threshold the hash must fall below. Lower target = harder puzzle. Adjusts automatically every ~2 weeks.

🔐

SHA-256

A one-way cryptographic hash function. Even a single character change in the input produces a completely different output.

Network Health

Hashrate & Difficulty Adjustment

Hashrate is the total computational power pointed at the Bitcoin network — measured in exahashes per second (EH/s). As more miners join and hardware improves, hashrate grows. Bitcoin automatically adjusts mining difficulty every 2,016 blocks (approximately every two weeks) to keep the average block time near 10 minutes regardless of how much hashrate is on the network.

What if blocks are coming too fast?

Difficulty increases — the puzzle gets harder, slowing miners down back toward the 10-minute target.

What if miners leave and blocks slow down?

Difficulty decreases — the puzzle gets easier, so remaining miners can still find blocks every ~10 minutes.

Why does this matter?

It means Bitcoin's issuance schedule is predictable and immune to sudden changes in mining participation. The network is self-regulating.

Issuance

Block Rewards & The Halving

When a miner successfully adds a block, they earn a block reward — newly created bitcoin — plus all transaction fees from the transactions in that block. The block reward started at 50 BTC in 2009 and halves every 210,000 blocks (~4 years). This halving continues until the last bitcoin is mined around the year 2140, after which miners earn only transaction fees.

Block RangeRewardApproximate Dates
Genesis – 209,99950 BTC2009–2012
210,000 – 419,99925 BTC2012–2016
420,000 – 629,99912.5 BTC2016–2020
630,000 – 839,9996.25 BTC2020–2024
840,000 – 1,049,9993.125 BTCCurrent2024–~2028
1,050,000+1.5625 BTC~2028–2032

Hardware

Mining Hardware Evolution

01
💻

CPUs (2009–2010)

Satoshi and early cypherpunks mined on ordinary laptop and desktop CPUs. Profitable until more participants joined the network.

02
🖥️

GPUs (2010–2012)

Graphics cards proved far faster at the SHA-256 hashing needed for mining. GPU farms made CPU mining obsolete overnight.

03

FPGAs (2011–2012)

Field-programmable gate arrays offered better efficiency than GPUs. A short-lived transitional era quickly overtaken by ASICs.

04
🏭

ASICs (2013–present)

Application-Specific Integrated Circuits built solely to mine Bitcoin. Billions of times more efficient than CPUs. Today's standard.

Strategy

Solo Mining vs Pool Mining

Pool mining combines hashrate from many miners to find blocks more consistently and share the reward proportionally. Solo mining means competing alone for the full block reward.

FactorSolo MiningPool Mining
Reward frequencyRare — only when you find a blockRegular — proportional to your hashrate contribution
Reward sizeFull block reward (3.125 BTC + fees)Small, consistent payouts
VarianceExtremely high — could be years between rewardsLow — predictable income stream
PrivacyHigher — no pool operator sees your dataLower — pool knows your hashrate and payouts
Setup complexityLow to mediumLow — point your miner at pool URL
Best forLarge hashrate operators or philosophical reasonsMost home miners

Note on solo pools: Services like CKPool Solo let you mine solo while still connecting through a pool — you keep the full reward if you find a block, with no pool fee, but still face the same high variance.

Home Mining

Home Mining Options

Home mining ranges from hobby-scale open-source hardware to near-industrial ASICs in your garage. Profitability depends heavily on your electricity rate — anything above ~$0.07–0.10/kWh makes it very difficult to profit with current network difficulty.

🔩

Bitaxe

Entry

Hashrate

~500 GH/s – 4 TH/s

Power Draw

5–15W

Open-source, single-chip ASIC miner. Quiet, efficient, desktop-friendly. Great for learning and supporting the network with minimal electricity cost. Not profitable at scale but excellent educational hardware.

Learn more
⚙️

Antminer S19 / S21 series

Home Pro

Hashrate

90–200+ TH/s

Power Draw

3,000–3,500W

Industrial-grade ASICs from Bitmain. Significant heat and noise — requires a dedicated space, proper ventilation, and a 240V circuit. Profitability depends entirely on electricity cost.

Learn more
🏠

Immersion / DIY builds

Advanced

Hashrate

Varies

Power Draw

Varies

Overclocked ASICs submerged in dielectric fluid for cooling. Maximizes efficiency and reduces noise significantly. Complex setup — popular among dedicated home miners.

Learn more

Home Mining Considerations

  • Electricity cost is the dominant factor — know your rate in $/kWh
  • Industrial ASICs produce significant heat and 70–80 dB of noise
  • Many home miners repurpose ASIC heat for space or water heating
  • Mining for philosophical reasons (supporting decentralization) is valid even if not profitable

Profitability

Mining Economics

Mining profitability is a function of four variables: hashrate (your machine's speed), power consumption (your machine's energy draw), electricity cost (your rate in $/kWh), and network difficulty (competition from other miners). Bitcoin price matters but is outside your control.

Break-even electricity rate

Use a profitability calculator (linked below) with your exact hardware specs and current network difficulty. At current difficulty levels, most home miners need electricity below $0.07/kWh to break even. Industrial miners in low-cost regions (hydro, flare gas, stranded energy) operate at $0.02–0.04/kWh.

Long-term view: Many serious home miners view it as a form of dollar-cost-averaging into Bitcoin with the bonus of earning transaction fees and supporting the network's decentralization — not purely as a profit play.

Go Deeper

Mining Resources