4 min read

Proof of Work vs Proof of Stake: How Blockchains Agree

Every blockchain has to settle one question over and over, every few seconds or minutes: whose turn is it to write the next page of the ledger?

If anyone could write whenever they liked, two people could add conflicting pages at once, or a cheater could slip in a fake one. So each network uses a consensus mechanism, a set of rules for picking who adds the next block and making it expensive to lie. Proof of work and proof of stake are the two most common answers. (If “block” and “ledger” are new words, start with how blockchain works.)

Side by side#

Proof of workProof of stake
Who adds blocksMinersValidators
What earns the rightSolving a guessing puzzle with computing powerBeing picked from those who locked up coins
What it costs to take partHardware and electricityCoins locked as a deposit (32 ETH to run your own Ethereum validator)
Penalty for cheatingWasted electricity on a rejected blockPart or all of the deposit can be destroyed (“slashing”)
Energy useHighFar lower; Ethereum’s dropped about 99.95% after switching
Well-known exampleBitcoinEthereum (since Sep 15, 2022)
Main attack worrySomeone controlling most of the mining powerSomeone controlling most of the staked coins

Sources: the Bitcoin whitepaper and ethereum.org’s pages on proof of work, proof of stake and The Merge.

Proof of work: a lottery you pay into with electricity#

Picture a raffle where you can’t buy tickets with money. You can only earn them by rolling dice. Each roll is a ticket. Whoever rolls the winning combination first gets to write the next page and collect a reward.

That’s mining. Computers run a block’s data through a hash function again and again, changing one number each time, until the result falls below a target. ethereum.org’s proof-of-work page says the best way to find the answer is trial and error. Checking an answer, though, takes everyone else a split second.

Why is that secure? Because rewriting history means redoing all that work, faster than the honest network keeps adding to it. The Bitcoin whitepaper says the system stays secure as long as honest nodes together control more computing power than any group of attackers.

The trade-offs, per ethereum.org: proof of work has a long track record and is relatively simple, but it uses a lot of energy, needs specialized and expensive equipment, and can drift toward large mining pools.

Proof of stake: a security deposit instead of a power bill#

Now picture a landlord who asks every tenant for a deposit. Behave, and you get your deposit back plus a little interest. Trash the place, and you lose it.

Proof of stake works like that. Validators lock up coins in a smart contract. ethereum.org’s proof-of-stake documentation says Ethereum splits time into 12-second slots, picks one validator at random to propose each block, and has committees of other validators vote on it. Once enough of the staked ETH (at least two-thirds) backs a checkpoint, it becomes final, meaning it can’t change without a large amount of ETH being destroyed.

Cheating is punished directly. Proposing two blocks for the same slot or casting contradictory votes can get a validator slashed, losing anywhere from a small amount to the whole deposit, depending on how many validators misbehave at the same time.

ethereum.org lists the upsides as lower energy use, lower hardware barriers, and easier participation through staking pools. The downsides: proof of stake is younger and less battle-tested, and more complex to build.

What it takes to attack each one#

Both systems share a weak spot: the majority.

  • In proof of work, ethereum.org says an attacker would need more than half the network’s mining power.
  • In proof of stake, an attacker would need 51% of the staked ETH. ethereum.org argues this is riskier for the attacker, because the community can coordinate to ignore the attacker’s version of the chain and destroy their stake.

Neither is impossible in theory. Both are designed so that attacking costs more than playing fair.

What the difference means for you as a holder#

Day to day, not much. Sending bitcoin or ether feels the same either way. Your wallet, your keys and your seed phrase matter far more to your safety than the consensus mechanism does.

It starts to matter if someone offers to let you earn rewards. With proof of work, that means buying mining hardware or joining a mining pool. With proof of stake, it means staking, either running a validator yourself or handing coins to a service that does. The staking lesson covers how that works.

What could go wrong: Staking rewards are not like bank interest. Your coins may be locked for a period, a validator’s mistakes can trigger slashing, and if a company stakes on your behalf, you also carry the risk of that company failing or freezing withdrawals. Mining has its own traps: equipment that becomes unprofitable, electricity costs, and “cloud mining” offers that promise fixed daily returns. The FTC’s crypto scam warnings are blunt on that point: only scammers guarantee profits. And whichever system a coin uses, its price can still fall sharply.

This comparison describes how the two systems work. It isn’t a view on which coins to own or whether to stake.

For the coins behind each model, see how Bitcoin works and what Ethereum is.