βοΈ Proof of Work Proof of Work (PoW)
Computers called miners race to solve a hard math puzzle. The first to crack it adds the next block of transactions and earns a reward β and everyone else can check the answer in a second. That race is how the network agrees on one true history without a boss.
π° The simple version β a guess-the-number lottery
Picture a giant lottery where the only way to win is to keep guessing numbers as fast as you can. Miners feed the block's data plus a changing number (a nonce) into a one-way scrambler called a hash, over and over, until the result lands below a target. There's no shortcut: you just guess billions of times, which burns electricity. But once someone finds a winning ticket, anyone can check it in a second. That asymmetry (brutal to produce, trivial to verify) is what makes Proof of Work work.
π€ What problem does it actually solve?
The hard part of digital money is getting strangers who don't trust each other to agree on one shared list of who owns what β with no bank in charge. Proof of Work answers that: whoever did the most work gets to write the next page, and the longest chain of work is the one everyone follows. This stops double-spending (trying to spend the same coin twice) and stops anyone from quietly rewriting old history.
π‘οΈ Why is it secure? The 51% attack
To rewrite past blocks, an attacker would have to re-do all their proof of work and out-run the entire honest network β which means controlling more than half of all mining power (a 51% attack). On a big network like Bitcoin, that would cost an absurd amount in machines and electricity. The security isn't a clever lock; it's raw economics: cheating costs more than it's worth.
π° Where do miners' rewards come from?
| Source | How it works |
|---|---|
| π Block reward | The network mints new coins for whoever adds the block β on Bitcoin this is 3.125 BTC after the April 2024 halving |
| π§Ύ Transaction fees | The miner who adds the block also collects the fees attached to the transactions inside it |
π The puzzle's difficulty auto-adjusts: if more miners join and blocks come too fast, the puzzle gets harder to keep the pace steady.
π± The energy debate, in plain terms
Proof of Work uses a lot of electricity, and that's a fair thing to question. The key point beginners miss: the energy isn't a side effect, it's the product β it's what makes attacking the chain physically expensive. That's also why many newer networks chose a different design. Ethereum ran on Proof of Work from launch, then switched to Proof of Stake in 2022 (an event called the Merge), cutting its energy use by about 99.9%.
π¨ Things beginners should know
- π₯ Bitcoin started it β PoW is the original crypto consensus, launched by Bitcoin in 2009
- βοΈ Mining is the verb β when people say "Bitcoin mining," they mean doing this puzzle race
- π Hash rate = security β more total computing power on the network makes a 51% attack harder
- πͺ Not all coins use it β many use Proof of Stake instead, so don't assume "crypto = mining"
β FAQ
- Is the electricity that mining uses just wasted?
- No β the energy is the security. Because rewriting the chain would mean repeating all that work, an attacker would have to spend a fortune on hardware and electricity. The cost is what keeps the ledger honest.
- What is a 51% attack?
- If one party controlled more than half of all mining power, they could out-race everyone and rewrite recent history. On a large network like Bitcoin this is wildly expensive, so it stays unlikely β but smaller PoW coins are more exposed.
- Does every cryptocurrency use Proof of Work?
- No. Many networks now use Proof of Stake instead. Ethereum ran on Proof of Work from launch until it switched to Proof of Stake in 2022 (the Merge), which cut its energy use by about 99.9%.