Proof of work is a consensus mechanism where miners expend computational energy to solve a cryptographic puzzle, proving they did real work before they can add a new block to the blockchain. It prevents spam and double-spending without a central authority.

What Is Proof of Work?

2 min read

The short version

Imagine a lottery where the ticket price is electricity instead of money. Miners run billions of calculations per second trying to find a winning number. The winner gets to write the next page of the transaction ledger and earns a reward. Because cheating would cost more energy than playing honestly, the system stays secure.

How It Works

In proof of work, miners take pending transactions from the mempool, assemble them into a candidate block, and repeatedly hash the block header with different nonce values. They are searching for a hash output that falls below a target number set by the difficulty. The SHA-256 hash function produces unpredictable outputs, so the only strategy is brute-force trial. On Bitcoin, the network adjusts difficulty every 2,016 blocks (~2 weeks) so that the average time between blocks stays near 10 minutes regardless of how much total hash power joins or leaves. The miner who finds a valid hash first broadcasts the block; other nodes verify it in milliseconds and append it to their chain copy.

A miner finds block 840,001

A mining pool with 50 PH/s (petahashes per second) assembles 4,200 pending transactions into a candidate block. Their ASICs cycle through nonces at 50 quadrillion guesses per second. After approximately 8 minutes, one machine finds a nonce that produces a block hash starting with 19 leading zeros (meeting the current difficulty target). The pool broadcasts the block, all nodes verify the hash and transactions within 2 seconds, and the pool earns the 3.125 BTC block reward plus ~0.15 BTC in transaction fees, roughly $197,000 at $60,000/BTC.

What People Get Wrong

  • Miners solve complex math problems

    Miners don't solve equations, they make trillions of guesses looking for a hash below a target. It's computationally intensive but conceptually simple.

  • More miners means faster blocks

    The difficulty adjusts to keep block time constant at ~10 minutes. More miners means more security, not faster blocks.

  • Proof of work is outdated

    PoW remains the most battle-tested consensus mechanism. Bitcoin's security model depends on its physical energy cost, this is a design choice, not a limitation.

Sources & Further Reading

Questions People Also Ask

How much electricity does Bitcoin mining use?
Bitcoin mining uses an estimated 150-200 TWh annually, comparable to a small country. Approximately 50-60% now comes from renewable or stranded energy sources.
What happens when all Bitcoin is mined?
Miners will earn only transaction fees after the last Bitcoin is mined (~2140). The expectation is that fees alone will sufficiently incentivize mining by then.
Why not just use proof of stake?
Proof of stake has different security tradeoffs. PoW provides objective, physics-based security that doesn't require trust in token distribution. Each model suits different design goals.

More in Bitcoin & Base-Layer Fundamentals

See all →
Was this page helpful?

Page last checked