Mining is the process by which new transactions are verified and added to the blockchain, and new coins are created. It’s the backbone of Proof of Work blockchains like Bitcoin.
Despite the name, cryptocurrency mining has nothing to do with pickaxes or caves! Mining is the process of using computer power to:
“Think of mining like a giant, global math competition. Thousands of computers race to solve a puzzle. The winner gets to add the next page to the ledger and earns a prize.”
When users send cryptocurrency, their transactions go into a waiting area called the mempool (memory pool). Miners pick transactions from here.
The miner selects transactions (usually prioritizing those with higher fees) and assembles them into a candidate block. The block includes:
The miner must find a hash for the block that starts with a certain number of leading zeros. This is controlled by the difficulty target.
For example, the miner needs to find a hash that looks like:
Target: 00000000000000000007a2b3... (must start with many zeros)
Attempt 1: nonce = 0 → hash = 8f3a2b1c... ❌ (doesn't start with enough zeros)
Attempt 2: nonce = 1 → hash = 4e7c9d2f... ❌ (nope)
Attempt 3: nonce = 2 → hash = a1b2c3d4... ❌ (nope)
...
Attempt 4,291,842: nonce = 4291841
→ hash = 0000000000000000000712f4... ✅ FOUND IT!
The miner keeps changing the nonce and recalculating the hash until they find one that meets the difficulty requirement. This requires trillions of attempts!
Once a miner finds a valid hash, they broadcast the new block to the network. Other nodes verify that the hash is correct and the transactions are valid.
If the network accepts the block, it’s permanently added to the chain. The successful miner receives the block reward (currently 3.125 BTC for Bitcoin) plus all the transaction fees from the included transactions.
Mining hardware has evolved dramatically since Bitcoin’s early days:
| Era | Hardware | Hash Rate | Power Usage | Era Years |
|---|---|---|---|---|
| 💻 CPU Mining | Regular computer processors | ~10 MH/s | Low | 2009–2010 |
| 🎮 GPU Mining | Graphics cards (gaming GPUs) | ~800 MH/s | Medium | 2010–2013 |
| ⚡ FPGA Mining | Field-Programmable Gate Arrays | ~1 GH/s | Medium | 2011–2013 |
| 🔥 ASIC Mining | Application-Specific Integrated Circuits | ~100+ TH/s | High | 2013–present |
MH/s = Mega hashes per second | GH/s = Giga hashes per second | TH/s = Tera hashes per second
An ASIC is a microchip designed for one specific task—in this case, mining cryptocurrency. Unlike a CPU or GPU that can do many things, an ASIC does only one thing but does it incredibly fast. A single modern ASIC can perform over 100 trillion hash calculations per second!
As mining became more competitive, individual miners found it nearly impossible to win the block reward alone. The solution? Mining pools!
| Aspect | Solo Mining | Pool Mining |
|---|---|---|
| Chance of reward | Very low (but full reward if lucky) | Regular small payouts |
| Required hardware | Massive (impractical for most) | Can start with less |
| Income stability | Highly unpredictable | Steady and predictable |
| Fees | None | Pool charges 1-3% fee |
Miners earn money from two sources:
| Factor | Impact |
|---|---|
| Electricity cost | The biggest expense – cheaper power = more profit |
| Hardware efficiency | Better ASICs use less power per hash |
| Bitcoin price | Higher price = more value per block reward |
| Network difficulty | More miners = harder puzzles = less chance of winning |
| Cooling costs | Mining hardware generates significant heat |
The Bitcoin network automatically adjusts how hard the mining puzzle is every 2,016 blocks (~2 weeks). If miners are finding blocks too fast (under 10 minutes average), difficulty increases. If too slow, it decreases. This ensures blocks are found roughly every 10 minutes, regardless of how much computing power is on the network.
One of the biggest criticisms of Proof of Work mining is its energy consumption. Bitcoin mining uses more electricity than some entire countries.
| Entity | Annual Energy Use (TWh) |
|---|---|
| 🇳🇴 Norway | ~124 TWh |
| ⛏ Bitcoin Network | ~150 TWh |
| 🇦🇷 Argentina | ~130 TWh |
| 🇳🇱 Netherlands | ~110 TWh |
| ✅ Arguments For Mining | ❌ Arguments Against Mining |
|---|---|
| Securing a trillion-dollar network | Enormous carbon footprint |
| Incentivizes renewable energy | E-waste from outdated hardware |
| Uses otherwise wasted energy | Drives up energy costs locally |
| Most decentralized consensus method | More efficient alternatives exist (PoS) |
Proof of Stake (PoS) is an alternative consensus mechanism that doesn’t require mining at all. Instead of solving puzzles, validators lock up (stake) their coins as collateral.
Learn more about consensus mechanisms on our How It Works page.