Proof of Work Explained: How Bitcoin Mining Works

Proof of Work (PoW) is the consensus mechanism that secures Bitcoin. Miners compete to solve a cryptographic puzzle — finding a number that makes a block's hash meet a difficulty target. The winner adds the next block and earns newly created bitcoin. The energy expended is the security.

How the puzzle works

A Bitcoin block contains a header with the previous block's hash, the Merkle root of pending transactions, a timestamp, and a nonce (a 32-bit number). Miners hash the header using SHA-256 and check whether the result is below a target value. If not, they increment the nonce and try again — up to four billion times before trying a different transaction set.

The target value determines difficulty. Bitcoin automatically adjusts the target every 2,016 blocks so that the average time between blocks stays near 10 minutes, regardless of how much total computing power is applied.

Why energy expenditure is the security

To rewrite Bitcoin's history — to invalidate a confirmed transaction — an attacker must redo all blocks from the target transaction onward faster than the honest network continues adding new blocks. This requires more than 50% of the global hash rate.

At current scale, Bitcoin miners spend billions of dollars on hardware and electricity annually. This cost is not wasted — it is the physical anchor that makes the ledger trustworthy. An attacker would need to acquire that same physical infrastructure, spend that electricity, and execute the attack before the price of BTC collapsed in response to the obvious attack, making the attack economically irrational.

PoW vs. Proof of Stake

Ethereum switched from PoW to Proof of Stake in September 2022 (the Merge), reducing its energy consumption by ~99.95%. PoS replaces physical mining hardware with staked capital: validators lock ETH as collateral and risk losing it (slashing) for misbehavior.

Bitcoin's community has deliberately rejected PoS, arguing that the physical costs of PoW create a more objective, harder-to-game security model that is not subject to plutocratic control by large token holders.

Projects on ChainClarity

Browse all Layer 1 blockchains →


Frequently asked questions

What is Proof of Work?

Proof of Work (PoW) is a consensus mechanism where nodes (miners) compete to solve a computationally intensive puzzle to earn the right to add the next block to the blockchain. The puzzle requires finding a number (a nonce) such that when combined with the block data and hashed, the result starts with a required number of zeros. This is hard to solve but trivial to verify.

Why does Proof of Work use so much energy?

The energy expenditure is the security mechanism, not a bug. PoW makes it expensive to attack the network: to rewrite history, an attacker would need to redo all subsequent blocks faster than the honest network. At Bitcoin's scale, this requires controlling more than 50% of the global mining hashrate — an attack that would cost billions of dollars in hardware and electricity, with the attack itself likely destroying the value of any Bitcoin gained.

What is hash rate?

Hash rate is the total computational power being applied to mining a blockchain, measured in hashes per second. Higher hash rate means more miners are competing, which means higher difficulty and greater security against 51% attacks. Bitcoin's hash rate is measured in exahashes per second (EH/s) — quintillions of hash computations per second. It is the most direct measure of Bitcoin's security budget.

What is mining difficulty adjustment?

Bitcoin automatically adjusts mining difficulty every 2,016 blocks (approximately every two weeks) to maintain an average block time of 10 minutes. If more miners join the network, difficulty increases so blocks don't come faster. If miners leave, difficulty decreases. This ensures predictable issuance regardless of how much mining power is applied.

Is Proof of Work better or worse than Proof of Stake?

The tradeoffs differ: PoW has the longer security track record, ties security to real-world physical costs (hardware and electricity) that can't be conjured out of thin air, and is argued to be more Sybil-resistant. PoS is far more energy efficient, allows slashing of misbehaving validators, and enables faster finality. Bitcoin will remain PoW; Ethereum switched to PoS in 2022. Both are considered secure at scale.

New whitepapers explained, weekly

Plain-English breakdowns of new crypto projects, delivered when they drop. No price predictions, no hype — just clear analysis you can actually use.

First look

Each whitepaper we add to the library lands in your inbox before it goes live.

Reader picks

See which projects the ChainClarity community is reading and discussing each week.