Bitcoin VerityOpen comparator

Level 5 · How Bitcoin works

Proof of work: why a block needs computational work

How repeated hashing ties the creation of a block to a measurable cost, and why the result is much easier to verify than to find.

Article
49
Reading time
16 minutes
Reviewed
8 September 2026

In a nutshell

Proof of work demonstrates that finding a block header whose hash is below a required target was expected to take many attempts. A successful result is costly to find but quick for every node to verify. Because each header refers to the previous block, the work accumulates and raises the cost of rewriting history.

01

A miner is not solving a secret formula

A block header contains, among other fields, the previous block hash, the transactions' Merkle root, a timestamp, the target encoded as bits and a nonce. The miner changes the nonce and other adjustable data and repeatedly hashes the header. A valid result must be numerically less than or equal to the target required by the network rules.

A cryptographic hash behaves unpredictably after even a small input change. There is no known shortcut that reveals a successful nonce in advance; the miner tests a great many possibilities. Once one is found, however, a node hashes the submitted header and checks the condition directly. This asymmetry between expensive search and cheap verification is the core of the mechanism.

02

Work anchors a new block to history

The hash of the previous header is part of the next header. Changing an older transaction would change its Merkle root, the block hash and the references in every later block. An attacker would have to recreate the proof of work for the changed block and catch up with the work the rest of the network continues to add.

Proof of work therefore does not make the past mathematically immutable. It makes alteration measurably expensive, and the chance of catching up falls as more work accumulates after a confirmed transaction, provided the honest part of the network retains the advantage. Confirmation count is a practical indicator of accumulated protection, not an absolute guarantee.

  • changing a transaction changes the commitment in its block header
  • changing an old block requires rebuilding the following branch as well
  • nodes compare accumulated work only among chains that satisfy their validity rules
03

Proof of work resists a cheaply fabricated majority

In an open network, one person can create thousands of identities or nodes. Counting IP addresses or usernames would therefore make a weak voting system. Proof of work ties the production of history to real computational resources that cannot be multiplied merely by copying an identity.

Work does not decide who is morally right, and it does not define the validity rules of a transaction. A miner could find a hash for a block containing unauthorized inflation, yet full nodes would reject it. Proof of work addresses ordering and the cost of competing histories; node validation determines whether a block follows the agreed rules at all.

04

Energy is both a feature of the mechanism and a subject of dispute

Hashing attempts consume electricity and require hardware. It is inaccurate to say that proof of work is costless or that consumption automatically proves Bitcoin's social value. The mechanism deliberately makes a competing history expensive, and security arises precisely because the required resources have a price.

Whether that price is justified cannot be settled by describing the protocol alone. A sound assessment must compare consumption, energy sources, emissions, security benefits and available alternatives. The narrower technical fact is that a node can verify the required work from a header without repeating the search.

Level 5 · How Bitcoin works

Terms to know

Proof of work
Evidence that a block-header hash meets a target that is expected to require many computational attempts to reach.
Target
A threshold value; a valid block-header hash must be less than or equal to it.
Nonce
A field in the block header that a miner changes while searching for a new hash result.

Common misconception

Miners solve increasingly complex mathematical equations, and the fastest one discovers the correct answer.

A more accurate explanation

The basic task is to hash changing headers repeatedly and find a result below the target. Each attempt is simple and probabilistic; more computing power increases attempts per second, not the intelligence of the solution.

A more accurate explanation

Is work that computes nothing else simply waste?

The hashing does not produce a secondary scientific calculation. Its purpose is to create a publicly verifiable cost for proposing history without a central operator. That does not settle the environmental or value objection: society may conclude that the benefit does not justify the price. An accurate comparison must nevertheless include actual consumption, energy mix, emissions and the security service, rather than a slogan alone.

49

Key takeaways

  1. 01A successful hash is hard to find but easy to verify.
  2. 02Work accumulates through links between blocks and raises the cost of rewriting the past.
  3. 03Proof of work selects among valid histories; it does not replace consensus-rule validation.
  4. 04Energy use is a real cost of the mechanism, not automatic proof that it is valuable or worthless.

A child-friendly recap

In very simple terms

Miners try enormous numbers of combinations until one finds a hash that follows the rules. Searching takes a great deal of work, but everyone else can check the result quickly. Each new block therefore adds another costly layer of protection to older payments.

Reviewed: 8 September 2026

Sources and further reading

Sources support particular facts and definitions; listing one does not mean the editors endorse every view of its author.

01
Bitcoin Developer Guide: proof of workBitcoin Developer Guide
developer.bitcoin.org
02
The original Bitcoin white paperBitcoin.org
bitcoin.org
03
Bitcoin Core: proof-of-work verificationBitcoin Core source code
github.com

Educational material, not an investment recommendation.