What Does a Bitcoin Miner Actually Do?
One library, searched since 2009
Bitcoin's ledger is a book, and every ~10 minutes one more page gets written. Earning the right to write a page works like this: each machine assembles its draft of the page, and that draft defines a library of numbered drawers — pull a drawer and it shows a fingerprint. Somewhere in the library are drawers whose fingerprints start with a wall of zeros. No map exists — whichever machine on Earth pulls a zero-stamped drawer first writes the page, and the drawer's number goes on it so everyone can pull the same drawer and check. That's the whole job. The counter above is how many pages exist so far, no pauses since January 3, 2009. Watch the finds land, live.
What the machine literally computes
The miner assembles a draft of the next page: a batch of waiting transactions plus a compact ~80-byte summary of them called the block header. Then, in a loop: run the summary through SHA-256 — a fingerprint function: any input in, a 64-character fingerprint out. (Bitcoin runs it twice back-to-back — a quirk that changes nothing here.) Then one check: is the fingerprint, read as a number, below the network's target — a bar the whole network agrees on? Almost always no. So the machine bumps a small counter in the draft — the nonce, which is exactly the drawer number it pulls next — and the fingerprint changes completely. A single try takes nanoseconds and involves no hard math. We take the fingerprint machine apart in the next lesson.
Why searching, not “complex math”
You've probably read that miners “solve complex mathematical problems.” They don't. There is no equation, no cleverness, and no publicly known shortcut — pulling drawers one by one is the only known way to search, and no pulled drawer teaches the machine anything about the next. Most explanations fumble the next part: nobody knows where the zeros are. Not the winner, not the pools, not anyone — the zeros aren't hidden by a person, they're wherever the mathematics happens to put them, and if anyone could know in advance, the whole system would be broken. That's not an inefficiency; it is the security. The only way to find more is to pull more drawers — with real hardware built for exactly this one job and real electricity. Every pulled drawer costs watts.
Billions of times a second — what is the machine actually doing?
What “finding a block” means
A winning fingerprint is one that lands at or below the target number — which in practice means it starts with a long run of zeros: about 20 of its 64 characters at today's difficulty (recomputed live; fallback dated 2026-09-25). The winner publishes the page with the working drawer number (the nonce) written on it, and every node on the network pulls that one drawer itself — recomputes the fingerprint, checks every transaction — in a fraction of a second. Sextillions of drawers to search, one to verify. Then the block becomes the newest page, and every machine on Earth starts pulling drawers on the next one.
What the winner gets
The prize is written into the block itself, as its first transaction: 3.125 BTC of brand-new coin — $262,344 at $83,950 (2026-09-25) — plus every transaction fee that block's users paid. The new-coin part of the prize halves on a fixed schedule. Where the money actually comes from, and why the fee half matters more every four years, is lesson 3's job.
Why the search secures the ledger
Every page's summary includes the previous page's fingerprint — that is the chain. So rewriting an old page changes its fingerprint, which breaks the page after it, and the one after that, all the way to today. A cheater would have to redo that page's search and every search since — faster than the entire honest network keeps adding new pages. Nodes follow whichever chain has the most drawers pulled behind it, so a rewrite that can't keep up is simply ignored. Old transactions don't sit protected by a password; they sit buried under sextillions of pulled drawers that nobody can fake and nobody can skip. History hardens as blocks pile on.
How often does anyone win?
Someone, somewhere, about every 10 minutes on average — by design, not coincidence. When new machines flood in and winners start coming too fast, the network raises the bar until the average drags back to 10. The re-tune happens on a fixed schedule — every 2,016 blocks, roughly two weeks — and the difficulty page tells that story. Individual gaps still swing from seconds to over an hour. It's a long-run average, not a metronome.
Before the winning drawer was pulled — who knew where the zeros were?
Your rig has pulled drawers for six straight hours with no find. The odds on its next pull?
A winner publishes a block with its drawer number on it. What does it cost your node to check the claim?
FAQ
- What are Bitcoin miners actually calculating?
- Nothing clever — a fingerprint of the next page's draft, checked against a target, over and over, drawer after drawer. No equation, no shortcut, no map to the zeros; a brute-force search, on purpose.
- Is Bitcoin mining just guessing?
- Effectively yes — a search with no map, where no pulled drawer hints at the next. That's the security, not a flaw: the only way to win blocks — or rewrite old ones — is to pull more drawers with real hardware and electricity.
- What happens when a block is mined?
- The winner broadcasts it, every node re-checks it in under a second, the block becomes the ledger's newest page, and the reward — new coins plus that block's fees — is spendable after 100 more blocks.
- How often does someone win a block?
- About every ten minutes on average, held there by a difficulty re-tune every 2,016 blocks. Individual gaps swing from seconds to over an hour.