Glossary · Technology

Nonce

A 4-byte number in the block header that miners change over and over during proof of work until the hash of the block header is less than or equal to the target. Each new value is a new attempt.

Alsonumber used oncenonce fieldextra nonce

Updated 28 September 20261 sourcesMore terms starting with N

On the learning path: Stage 1 · Step 3 – How does Bitcoin work?

The nonce (usually explained as ‘number used once’) is a 4-byte field in the header of every Bitcoin block. In GlossaryProof of workThe method by which miners prove that they have done real computing work for a new block. It lets the network agree on the valid chain without a central authority, and makes rewriting old blocks extremely expensive.On the learning path: Stage 1 · Step 3 – How does Bitcoin work? →In the glossary →, it is the dial that miners turn.

What the nonce is for

A block is only valid if the GlossaryHash (hash value)A fixed-length digital fingerprint that a hash function calculates from any data. Even the tiniest change produces a completely different value, and the original data can’t be worked out from the hash.On the learning path: Stage 1 · Step 3 – How does Bitcoin work? →In the glossary → of its header is less than or equal to a target. So miners change the nonce and compute the hash again: each value gives a completely different hash, and therefore a new attempt.[1]

The right nonce can’t be predicted, only found by trial and error. The more a miner computes, the better their chances – but there’s no guarantee. Checking a find, on the other hand, takes any node a single hash calculation.

When the values run out

4 bytes are 32 bits, or around 4.3 billion possible values. A mining device with an assumed 200 TH/s (200 trillion hashes per second) would run through them in about 21 microseconds (own calculation). Miners then change the timestamp or a free field in the block’s first transaction (the ‘extra nonce’), which changes the Merkle root in the block header. After that, the search starts again.[1]

More under Mining & proof of work.

Related terms

These terms are closely connected.

Explained in depth

These articles go into more detail:

More from „Technology“

Sources1 sources · 1 publishers

The superscript numbers in the text refer to these sources.

  1. Developer Reference: Block Chain (Block Headers) – bitcoin.org Developer Documentation (accessed 28/09/2026)

This entry is for education only and is not investment, tax or legal advice.

Keyboard shortcuts

⌘K /
Open search
`
Open Bitcoin terminal
T
Toggle light/dark
?
This help

Tip: type “help” in the terminal.

Pre-launch

We’re still building – block by block.

Blockchain21 is already open, and you’re welcome to look around. We haven’t officially launched yet, though: some details are still missing, may change or don’t quite fit together yet.

Not finished yet

  • Email Messages to support@blockchain21.net don’t arrive yet. Until then, you can reach us by post – the address is in the legal notice.
  • Newsletter Sign-up opens once our mailbox is running.
  • Reader account Coming later. Until then, your browser keeps your progress.
  • Partners No partnership is active yet – providers are listed without ads.
  • Info pages The privacy policy still lacks some details.

Already in place: learning path, articles, glossary, calculators and live data.

Block 0 · Genesis — Bitcoin, too, began with block 0 As of 5 October 2026