icon New mining location added: Finland More information

Shape Shape Shape

Market Insights

How Does Bitcoin Mining Actually Work? (Step-by-Step Process)

Mitchell Weijerman

May 23, 2026

Bitcoin mining is often described in vague terms: “computers solve math problems.” That explanation is technically true but practically useless. Here is exactly what happens inside a mining machine, step by step, in plain language.

What Problem Are Bitcoin Miners Actually Solving?

Bitcoin miners are searching for a specific number. That is it. The entire process boils down to trying billions of numbers per second until one of them, when combined with the block’s data and run through a cryptographic function called SHA-256, produces a result that starts with enough zeros to meet the network’s current target.

There is no equation to solve, no formula to apply, and no shortcut to find. The only way to find the right number is to guess and check. A modern ASIC miner performs 200 trillion guesses per second. The entire network performs over 660 quintillion guesses per second. And still, it takes approximately 10 minutes on average for anyone in the world to find the right answer.

What Is SHA-256 and Why Does Bitcoin Use It?

SHA-256 (Secure Hash Algorithm 256-bit) is a cryptographic hash function. It takes any input (a word, a sentence, an entire book, or a block of transaction data) and produces a fixed-length output: a 64-character hexadecimal string called a hash. The same input always produces the same hash, but even the tiniest change to the input produces a completely different hash.

Key properties of SHA-256: You cannot reverse it (knowing the output does not reveal the input). You cannot predict it (changing one character in the input completely changes the output). You cannot fake it (there is no known way to produce a specific hash without actually running the calculation). These properties are what make Proof of Work possible and what make the blockchain tamper-proof.

What Is the Step-by-Step Mining Process?

Step 1: Transactions Enter the Mempool

When someone sends Bitcoin, their transaction is broadcast to the network and enters the mempool (memory pool), a waiting area for unconfirmed transactions. Every node on the network maintains its own mempool. At any given moment, there may be thousands of transactions waiting to be included in a block.

Step 2: Miners Build a Candidate Block

Each miner selects transactions from the mempool and assembles them into a candidate block. Miners typically prioritize transactions with higher fees, since they keep all fees from the transactions they include. A block can contain up to approximately 4,000 transactions (limited by the 4 MB block weight limit).

Step 3: The Block Header Is Constructed

The miner creates a block header containing six pieces of information.

Field What It Contains Purpose
Version Block format version number Signals which protocol rules apply
Previous block hash Hash of the last confirmed block Links this block to the chain (creates the “chain” in blockchain)
Merkle root Hash representing all transactions in the block Ensures no transactions can be changed without detection
Timestamp Current time Records when the block was created
Difficulty target The number the hash must be below Controls how hard the puzzle is
Nonce A variable number the miner changes This is what miners iterate through to find a valid hash

Step 4: The Hashing Race Begins

The miner hashes the block header through SHA-256 (actually, twice: SHA-256 applied to the SHA-256 output). If the resulting hash is below the difficulty target, the block is valid. If not, the miner increments the nonce by one and tries again. And again. And again. Billions of times per second.

When the nonce space is exhausted (4.3 billion possible values), the miner changes other variables in the block header (like the timestamp or the order of transactions) and starts over. This process continues until a valid hash is found or another miner solves the block first.

660+ EH/s
The entire Bitcoin network makes over 660 quintillion guesses per second and still needs ~10 minutes to find a valid block

Step 5: A Valid Block Is Found

When a miner finds a nonce that produces a hash below the target, they have found a valid block. The miner immediately broadcasts this block to the rest of the network. Other nodes verify the solution (which takes milliseconds, since checking a hash is trivial even though finding it is hard) and add the block to their copy of the blockchain.

Step 6: The Miner Gets Paid

The winning miner receives two forms of payment. First, the block reward: 3.125 BTC of newly created Bitcoin (worth over $300,000 at current prices). Second, all the transaction fees from every transaction included in the block (typically an additional $5,000-50,000 depending on network congestion). These payments are included in a special “coinbase transaction” at the beginning of the block.

Step 7: The Cycle Restarts

As soon as a new block is confirmed, every miner on the network starts building the next candidate block on top of it. The race begins again. This cycle repeats approximately every 10 minutes, 144 times per day, every day of the year.

What Is the Difficulty Adjustment and How Does It Work?

The difficulty adjustment is Bitcoin’s self-regulating mechanism. Every 2,016 blocks (approximately every two weeks), the network automatically adjusts the difficulty target to keep the average block time at 10 minutes.

If blocks are being found faster than every 10 minutes (because more miners have joined), difficulty increases, making the target harder to hit. If blocks are slower (because miners have left), difficulty decreases. This ensures that Bitcoin’s issuance schedule remains predictable regardless of how much mining power is on the network.

Why 10 minutes? The 10-minute target is a design choice by Satoshi Nakamoto that balances speed and security. Faster blocks would confirm transactions sooner but would increase the risk of competing blocks (forks) and reduce security. Slower blocks would be more secure but impractical for a payment network. Ten minutes is the sweet spot that has proven reliable for 17 years.

What Is Proof of Work and Why Does It Matter?

Proof of Work is the consensus mechanism that makes all of this possible. When a miner presents a valid block, they are proving that they expended real computational work (and therefore real electricity) to find it. This proof is embedded in the block hash itself and can be verified by anyone instantly.

The brilliance of Proof of Work is that it ties the security of the blockchain to physical reality. Energy, once spent, cannot be recovered. The work embedded in each block is irreversible, which makes the blockchain itself practically irreversible. This is why Bitcoin has never been hacked: attacking it would require outspending all the energy that every miner in the world has invested. Learn more about this security model in how mining secures the network.

How Do Mining Pools Fit Into This Process?

A single miner with one ASIC machine has an incredibly small chance of finding a block on their own. At 200 TH/s against a network of 660+ EH/s, you would expect to find a block approximately once every 38 years. That is not a viable business.

Mining pools solve this problem. Thousands of miners combine their hash power and work together to find blocks. When the pool finds a block, the reward is distributed proportionally based on each miner’s contribution. Instead of one large payout every 38 years, you receive small daily payments. Read our comparison of solo mining vs pool mining for more detail.

Frequently Asked Questions

Why does mining use so much electricity?

Mining uses electricity because finding a valid block hash requires trillions of SHA-256 calculations per second. Each calculation consumes energy. The more computing power on the network, the harder the puzzle becomes, and the more energy is required. This energy expenditure is what makes the blockchain secure: reversing it would require re-spending all that energy.

What happens if two miners find a block at the same time?

Occasionally, two miners find valid blocks within seconds of each other, creating a temporary fork. The network resolves this naturally: whichever chain gets the next block added to it first becomes the longest chain, and the other block is orphaned. Miners always follow the longest chain. This is why merchants wait for multiple confirmations before considering a payment final.

Can mining difficulty go down?

Yes. If miners leave the network (due to low prices, equipment failure, or regulatory changes), blocks are found slower than every 10 minutes. At the next difficulty adjustment, the target becomes easier. This happened dramatically in mid-2021 when China banned mining and difficulty dropped approximately 28% over several adjustment periods.

How much Bitcoin is created per day?

At the current block reward of 3.125 BTC and approximately 144 blocks per day, roughly 450 BTC is created daily. This amounts to approximately $45 million per day in new Bitcoin at $100,000 per coin. This rate will halve again around 2028 to approximately 225 BTC per day.

Keep Reading

Last updated: 2026-05-09

Previous

What Is Bitcoin Mining? A Complete Explanation for Beginners

Get the Bitcoin Mining Playbook for FREE

Join 100,000+ subscribers getting actionable tips, ROI breakdowns, and expert strategies delivered straight to their inbox.

No spam. Just high-value insights from real Bitcoin miners.

Video Reveals: The Reason Smart Investors Mine Bitcoin in Finland

Cheap power, cold climate, fully managed. The trifecta most miners dream about.

Over 850+ investors are already using this exact system.

REAL PEOPLE. REAL RESULTS

How One Client Earns $2,000/Day With Plug-and-Play Bitcoin Mining
No tech skills. No hype. Just a smart setup.