How does Bitcoin mining work? In one sentence: specialised computers all over the world race to solve a numerical puzzle, and roughly every ten minutes one of them wins the right to add the next page of transactions to Bitcoin’s public ledger and collect newly created bitcoin as payment. That race is what keeps Bitcoin running without a bank in the middle, and it is also a real business with real costs.
This guide explains the whole process in plain English, from blocks and hashing to the difficulty adjustment and mining pools. Then it shows what actually decides profitability: how efficient your Bitcoin miners are, what you pay for electricity, and the going market rate for computing power. We use live numbers from 5 October 2026 and a worked example from the OneMiners catalogue, the Antminer S21 Pro, so you can see the maths in practice and understand why professional hosting sites exist.
Table of Contents
Key takeaways (October 2026)
· Mining is a guessing contest: Bitcoin miners make trillions of guesses per second, and the first to find a valid answer earns the block reward of 3.125 BTC plus fees.
· A new block arrives about every 10 minutes, about 144 a day, which releases roughly 450 new BTC daily.
· Every 2,016 blocks (about two weeks) the network resets the puzzle’s difficulty so blocks keep arriving on schedule, however much computing power joins.
· At today’s numbers an Antminer S21 Pro earns about $9.75 a day before costs, while its power bill ranges from $4.23 to $15.00 a day depending on the electricity price.
· Profit comes down to three numbers: efficiency (J/TH), power price and hashprice. Power price is the one you control most.
What is Bitcoin mining? Blocks and the public ledger
Bitcoin is a shared record of who owns what, called a blockchain. Instead of one bank keeping the books, thousands of independent computers, called nodes, each hold a full copy. New transactions are bundled into a block, which works like a page in the ledger holding a few thousand payments. Each block contains a unique fingerprint of the block before it, so the pages are chained together in order, all the way back to the first block created on 3 January 2009.
Someone has to decide which block comes next, and the network needs a way to choose that someone without trusting anyone. Mining is that method. Miners are the participants who compete to write the next block, and they do it with purpose-built computers called ASICs (application-specific integrated circuits). An ASIC Bitcoin miner does one job only: it runs Bitcoin’s puzzle as quickly as possible on as little power as possible. The winner of each round earns new bitcoin, which is how every bitcoin in circulation came into existence.
How does hashing work? SHA-256 and the guessing game
The puzzle is built on a hash function called SHA-256. A hash function takes any input, such as a word, a file or a block of transactions, and turns it into a fixed-length string of 64 characters that looks completely random. Change a single comma in the input and the output changes beyond recognition. Crucially, there is no shortcut: the only way to find an input that produces a particular kind of output is to try inputs one by one.
Here is the game. A miner takes the block it wants to publish, adds a small changeable number called a nonce, and hashes the lot. The network sets a target, and the hash only counts if it is a number lower than that target, which in practice means it starts with a long run of zeros. If the result misses, the miner changes the nonce and tries again. Think of rolling a die with trillions of sides and needing a number below a very low line.
Today the whole network makes about 970 quintillion guesses every second, written as 970 EH/s (exahashes per second). A single Antminer S21 Pro makes 245 trillion guesses per second, or 245 TH/s. When one miner finds a winning hash, it broadcasts the block, every node checks it in a fraction of a second, and everyone moves on to the next block. Finding the answer is hard; checking it is easy. That imbalance is the whole trick.
· Hash: the fixed-length output of SHA-256.
· Nonce: the number a miner changes on every guess.
· Target: the threshold a winning hash must fall below.
· Hashrate: guesses per second, measured in TH/s, PH/s or EH/s.
What does a Bitcoin miner earn? Block reward, fees and hashprice
The winner of each block receives two things. First, the block subsidy: brand-new bitcoin, currently 3.125 BTC per block since the April 2024 halving. The subsidy halves every 210,000 blocks, roughly every four years, and the next halving is expected around block 1,050,000 in spring 2028. Second, transaction fees: users attach a small fee to get their payment included, and the winning miner keeps the fees in its block. Today fees are a small extra on top of the subsidy.
With about 144 blocks a day, the network releases roughly 450 new BTC daily. About 20.09 million of the 21 million bitcoin that will ever exist have already been mined, and the last fraction of a coin is expected around the year 2140. After that, miners will be paid by fees alone.
To compare equipment, the industry uses hashprice: expected revenue per unit of hashrate per day. At a BTC price of about $85,700 and a network hashrate of about 970 EH/s, hashprice is about $0.040 per TH/s per day, or $40 per PH/s per day, before fees. That gives a simple formula: daily revenue equals your TH/s multiplied by 0.0398. For the 245 TH/s Antminer S21 Pro that is about $9.75 a day. The other side of the ledger is power. The S21 Pro draws 3,675 watts, which is 88.2 kWh a day. The table below shows how much of that $9.75 survives at three different power prices.
What is the difficulty adjustment, and why every 2,016 blocks?
If more equipment switches on, the network finds answers faster. Without a correction, blocks would arrive every few minutes and new coins would be issued too quickly. Bitcoin fixes this with the difficulty adjustment. Every 2,016 blocks, about two weeks, every node looks at how long those blocks actually took. If they came faster than ten minutes on average, the target is lowered and the puzzle gets harder. If they came slower, it gets easier. No company or committee makes this decision; it is written into the software every node runs.
The current difficulty is about 132.7 T, and the next adjustment is estimated at roughly +2.4%. For anyone running equipment, this is the key to understanding earnings. Your Bitcoin miner’s speed never changes, but your share of the network does. When global hashrate rises, each TH/s earns slightly less bitcoin, which is why efficiency and power price matter so much over a miner’s working life.
What is a mining pool and why does almost everyone use one?
With 970 EH/s competing, a single S21 Pro mining alone would find a block on average about once every 75 years. That is a lottery ticket, not a business. Mining pools fix this. A pool combines the hashrate of thousands of participants, finds blocks regularly, and splits each reward according to how much work every member contributed, minus a small pool fee. Members prove their contribution by submitting shares: easier near-miss answers that show they are genuinely hashing.
The result is a steady, predictable income that closely tracks hashprice. Almost all professional mining runs through pools today. The choice of pool mostly affects fees and payout method rather than how much you earn over time.
What decides Bitcoin mining profit? Three numbers
Strip away the jargon and mining comes down to revenue minus running costs. Three numbers drive both sides.
· Efficiency (J/TH): the joules of energy used per terahash. Lower is better. The S21 Pro uses 15.0 J/TH, the newest S23 Hyd models reach 9.5 J/TH, and older designs around 17 to 18 J/TH spend more of every dollar on power.
· Power price: the biggest running cost by far. As the table shows, the same S21 Pro moves from a strong margin to a daily loss purely because of the price per kWh.
· Hashprice: revenue per TH/s per day, driven by the BTC price, network hashrate and fees. You cannot control it, but efficient equipment on cheap power stays in the black through more of its swings.
A useful shortcut is the breakeven power price. The S21 Pro earns about $9.75 a day and uses 88.2 kWh, so at today’s hashprice it covers its power bill at any rate below roughly $0.11 per kWh. Then there is the upfront cost: an S21 Pro sells for $2,299 today. At a margin of about $5.52 a day, that is roughly 417 days to recover the hardware at today’s numbers, before fees. Difficulty usually rises over time, so real payback periods tend to be longer, and that is exactly why the cheapest reliable power wins.
Can you mine Bitcoin at home, or should you use hosting?
You can plug a Bitcoin miner in at home, but at a typical US home rate of about $0.17 per kWh an S21 Pro costs more to run than it earns, and full-size units are loud and produce a lot of heat. Hobby devices such as the Bitaxe Gamma (1.2 TH/s, 17 W, $63) are a quiet, low-cost way to learn how mining works, essentially a tiny lottery ticket on finding a block solo.
Serious mining goes where power is cheap and cooling is built in. With hosting, you own the equipment and a professional facility runs it for you for a per-kWh fee. OneMiners runs 15 hosting locations, including Nigeria, Ethiopia (hydro), Norway (100% hydro), Paraguay (Itaipu hydro), Canada (hydro), Brazil (hydro), Dubai, Texas and Georgia USA, with rates from $0.048 per kWh at our cheapest site in Nigeria. Hosted miners come with a 7-year warranty that covers defects, not normal wear.
Frequently asked questions
How long does it take to mine one bitcoin?
Nobody mines exactly one bitcoin: blocks pay 3.125 BTC plus fees and pools split the reward. At today’s numbers a single S21 Pro earns about 0.000114 BTC a day, so producing one full bitcoin would take that one unit well over 20 years.
Is Bitcoin mining still profitable in 2026?
It can be, at today’s numbers, when efficient equipment runs on cheap power. An S21 Pro clears about $5.52 a day before fees at $0.048 per kWh but loses money at a typical US home rate, so the power price is usually the deciding factor.
What happens when all 21 million bitcoin are mined?
Around the year 2140 the subsidy reaches zero and miners are paid by transaction fees only. Because halvings shrink the subsidy gradually, fees take over slowly rather than overnight.
Do miners solve a hard maths problem?
Not in the textbook sense. Mining is brute-force guessing: the computer hashes the block with different nonces until one result falls below the target. There is no skill or shortcut, only more guesses per second.
What does a hashprice of $40 per PH/s mean?
It means one petahash per second of mining power, which is 1,000 TH/s, earns about $40 a day before costs at today’s BTC price and difficulty.
Compare Bitcoin miners and hosting from $0.048 per kWh at OneMiners, then run your own numbers in our profitability calculator.
