İçeriğe atla

Dilinizi seçin

Türkçe
What Actually Happens When a Bitcoin Miner Hashes? Nonce, Target and Difficulty in Plain English

What Actually Happens When a Bitcoin Miner Hashes? Nonce, Target and Difficulty in Plain English

Michal BenoMichal Beno
4 November 2026 · Hashing 101
Short answer
A Bitcoin miner takes a summary of the next block, called the block header, changes one small number in it, the nonce, and runs it through SHA-256 to get a hash. If that hash is lower than the network's target, the block is won. Because a good hash is pure luck, miners make trillions of tries per second, and the difficulty setting keeps the average win at about one block every 10 minutes.
~1,000 EH/s
network hashrate (public data, 30 Oct 2026)
10 min
average time between blocks
2,016
blocks between difficulty changes

1The one-sentence version

Bitcoin mining is a giant guessing game. Every Bitcoin miner on Earth is trying to find a number that, when mixed with the next block of transactions, produces a result below a certain line. The first to find it adds the block to the chain and collects the reward: 3.125 BTC of new Bitcoin plus the transaction fees inside the block.

That is it. The rest of this guide explains the four words that make the game work: hash, nonce, target and difficulty. No maths degree needed.

Bitcoin miner shooting dice toward a target ring
Every hash is a roll of the dice; only a roll under the target wins the block.

2Step 1: the hash, a digital fingerprint

A hash function takes any input and turns it into a fixed-length string that looks random. Bitcoin uses one called SHA-256. Three facts about it matter:

  • Same input, same output, every time.
  • Change one character of the input and the output changes completely.
  • There is no shortcut. The only way to find an input with a certain kind of output is to try inputs one by one.

That last point is the whole idea of proof of work. A low hash is proof that someone did a huge number of tries, because there is no other way to get one. For more background, read proof of work explained.

3Step 2: the block header and the nonce

A miner does not hash the whole block. It hashes a short summary called the block header. The header holds a few fields: a link to the previous block, a fingerprint of all the transactions in the new block, a timestamp, the current target, and one free field called the nonce. Nonce means 'number used once'.

Everything in the header is fixed except the nonce. So the miner changes the nonce, hashes the header, checks the result, changes the nonce again, and repeats. Each try is one hash.

Worked example
Worked example: how fast an Antminer S21 burns through the nonce
Possible nonce values 4,294,967,296 (about 4.3 billion)
S21 hashrate 188 TH/s = 188 trillion hashes per second
Time to try every nonce (4.3 billion / 188 trillion) about 22.8 millionths of a second
Hashes per day (188 trillion x 86,400) about 16.2 quintillion
The S21 runs out of nonces tens of thousands of times per second. When it does, it nudges another part of the header, such as the timestamp or an extra field in the reward transaction, and starts the nonce over.
Antminer S21 Bitcoin miner In the catalogue
Antminer S21
Hashrate 188 TH/s
Power 3,290 W
Efficiency 17.5 J/TH
See specs and live price →

4Step 3: the target, or the dice game

Picture a dice game. A referee says: 'Roll a number below 5 on a 100-sided die and you win.' Every roll has a 4 in 100 chance. Nothing you did before changes the next roll. Rolling faster is the only way to win more often.

Bitcoin works the same way. The die is SHA-256, each roll is a hash, and the 'below 5' line is the target. A winning hash must be smaller than the target. In practice the winning hash, written in hexadecimal, starts with about 19 zeros. Almost every hash misses.

Bitcoin term Dice game version Plain meaning
Hash One roll of the die One guess by the miner
Nonce Shaking the die before the roll The number changed for each guess
Target 'Roll below this number' The line a winning hash must beat
Difficulty How small the winning number is How hard it is to win right now
Hashrate Rolls per second Guessing speed
Block reward The prize 3.125 BTC plus fees

5Step 4: difficulty keeps the clock at 10 minutes

If more miners join, rolls per second go up and blocks would come faster. To stop that, Bitcoin resets the target every 2,016 blocks, which is about two weeks. If blocks arrived too fast, the target gets smaller and difficulty rises. If too slow, the target grows and difficulty falls. The aim is always one block every 10 minutes on average.

The difficulty adjustment rule
new difficulty = old difficulty x (14 days / actual time for the last 2,016 blocks)
2,016 blocks x 10 minutes = 20,160 minutes = 14 days. The change is capped so it can never move more than four times in one step.
Worked example
Worked example: the last +5.5% adjustment
Target time for 2,016 blocks 14 days
Difficulty change (public data, 30 Oct 2026) +5.5%
Actual time implied (14 / 1.055) about 13.27 days
Average block time implied (10 / 1.055) about 9.48 minutes
Blocks came about half a minute early on average, so the network raised the bar by 5.5% to pull the pace back to 10 minutes. See what that adjustment means for miners.

6What are the odds for one Bitcoin miner?

Here the numbers get fun. With the network at about 1,000 EH/s, which is 1,000,000,000 TH/s, the whole planet makes roughly 600 sextillion hashes for every block found. A single miner's chance of winning the next block is simply its share of all the guessing.

Your chance of finding the next block
chance per block = miner hashrate / network hashrate
Antminer S21: 188 TH/s / 1,000,000,000 TH/s = about 1 in 5.3 million per block.

With 144 blocks per day, the S21's expected wait to find a block alone is about 36,900 days. That is roughly 101 years. Bigger miners shorten the wait, but not by enough.

How many years would each miner wait, on average, to find a block alone?
Longer bar = longer average wait in years at about 1,000 EH/s network hashrate
Antminer S19 XP
135 years
Antminer S21
101 years
Antminer S23 Hyd
33.8 years
Whatsminer M79S
18.2 years
A single miner with an hourglass beside a large connected pool of miners
Alone, one miner waits decades for a block; in a pool it earns a slice every day.

7Why miners join pools

No one wants to wait a century for a prize. So miners join a mining pool, which combines thousands of miners into one huge roller. The pool finds blocks often and splits the reward by how much work each member did. Each member proves its work by sending 'shares': hashes that beat an easier, pool-set target. Shares cannot win a block on their own, but they show the pool how hard each miner is rolling.

Instead of a 1 in 5.3 million shot per block, an S21 owner gets a small, steady slice every day. Using about 3.5 cents per TH per day as a hashprice estimate, that is about $6.63 a day for 188 TH/s. More on that trade-off in solo mining vs mining pools.

How many trillion guesses per second does each miner make?
Longer bar = higher hashrate in TH/s
Whatsminer M79S
1,048 TH/s
Antminer S23 Hyd
563 TH/s
Sealminer A2 Pro Air
255 TH/s
Antminer S21
188 TH/s
Antminer S19 XP
141 TH/s
Whatsminer M79S Bitcoin miner In the catalogue
Whatsminer M79S
Hashrate 1,048 TH/s
Power 14,502 W
Efficiency 13.8 J/TH
See specs and live price →

8Common myths about hashing

MYTH: Miners solve hard maths puzzles.
FACT: They make simple guesses at huge speed. The 'puzzle' is pure trial and error.
MYTH: A miner gets closer to a win the longer it runs.
FACT: Every hash is a fresh roll. There is no progress bar, only odds.
MYTH: Higher difficulty means mining is broken.
FACT: It means more hashrate joined. Difficulty is how Bitcoin keeps its 10-minute rhythm.
MYTH: Faster chips always win more.
FACT: They win a bigger share, but power cost per terahash decides what is left over.
The OneMiners view
Since every hash is a roll of the dice, the winners over time are the miners that roll the most for the least power, and stay online. OneMiners hosts Bitcoin miners on fixed 7-year prepaid power from 3.6 cents/kWh in Nigeria and 4.4 cents/kWh in Finland or Norway (rates as listed on 30 October 2026; check the hosting page for current rates), with 98%+ average uptime and pool setup handled by the hosting team.

See all sites on the hosting page and test any miner in the profitability calculator. For the unit behind all of this, read hashrate explained.

9Frequently asked questions

What does a Bitcoin miner actually compute?
It runs the SHA-256 hash function on the block header over and over, changing the nonce each time, looking for a hash below the network target.
What is the nonce?
A number field in the block header that the miner changes for each guess. It has about 4.3 billion possible values, which a modern miner exhausts in microseconds.
Who sets the difficulty?
No person does. The Bitcoin software recalculates it every 2,016 blocks, about every two weeks, so blocks keep arriving every 10 minutes on average.
Can a small miner ever find a block alone?
It can, but the odds are tiny. An Antminer S21 has about a 1 in 5.3 million chance per block at today's network size, which is why nearly every miner uses a pool.
Does more difficulty mean less Bitcoin for me?
If your hashrate stays the same while the network grows, your share shrinks. Low power cost and high uptime are the best ways to protect what is left.
Own the Bitcoin miner. Let OneMiners power, cool and watch it.
Hosting sites across five continents, power from 3.6 cents/kWh on the 7-year prepaid tier (as listed on 30 October 2026) and a 7-year warranty.
Browse Bitcoin minersSee hosting sites

This article is for education only and is not financial advice. Mining revenue depends on the Bitcoin price, network difficulty, fees, power costs and uptime, all of which change. Figures are estimates based on public network data and rates listed on oneminers.com on 30 October 2026; check the live pages for current rates and prices.

Sepet 0

Sepetiniz şu anda boş.

Alışverişe Başla