Summarize with AI
How does crypto mining work? Miners collect unconfirmed transactions into a block, then race to find a number that makes the block’s SHA-256 hash fall below a target set by the network. The winner adds the block to the blockchain and earns newly issued coins plus the transaction fees. This guide follows that process on a real Bitcoin block, then covers halving, difficulty, hardware, pools, profit math, taxes, and legal limits.
It uses data checked on December 3, 2026 and explains how crypto mining works. It does not tell you to mine or to buy any coin.
Last updated: December 3, 2026. Information verified as of December 3, 2026. Sources are listed in Sources and Methodology at the end. Prices, hashrate, difficulty, and legal status change often.
Disclosure: Swapzone is an independent aggregator, not an exchange, a miner, or a wallet provider. It compares swap offers from partner exchangers, and the partner you choose performs the swap. Swapzone earns a fixed affiliate commission from partners, at the same rate whichever one you pick. This article is general information, not financial advice.
Key takeaways
- How crypto mining works: Bitcoin miners change one number in an 80-byte block header and hash it again and again. On average it takes about 6.2 × 10²³ hashes to find one valid block (our calculation from current difficulty).
- Reward: The block subsidy has been 3.125 BTC since block 840,000 on April 20, 2024. The next halving is at block 1,050,000, which we estimate for April to May 2028.
- Network size: Bitcoin’s hashrate was about 973 EH/s on December 3, 2026, below its 2026 peak of about 1,242 EH/s on February 16 (mempool.space).
- Profit: At a Bitcoin price of $54,080, one petahash earns about $25 a day before costs. An Antminer S21 XP breaks even at about $0.078 per kWh, and an S21 Pro at about $0.070 (our calculation).
- Time to 1 BTC: One S21 XP would take about 22 years to earn one bitcoin at today’s network size, before electricity costs. Solo, its chance of finding a block in a year is about 1.5%.
- Tax: In the United States, mined coins count as income at their fair market value on the day you receive them.
How Does Crypto Mining Work? The Short Answer
Crypto mining is the work that keeps a proof-of-work blockchain running without a central operator. Miners choose which waiting transactions go into the next block and spend computing power to prove they did the work. The proof is cheap for everyone else to check and expensive to fake, so rewriting history costs an attacker real money.
This solves the double-spending problem that Satoshi Nakamoto’s Bitcoin paper describes: how to stop one coin being spent twice when no bank keeps the books. Miners do not decide what is valid. Every full node checks each block against the rules, and rejects it if it breaks them. Mining decides which valid block comes next.
A miner earns the block subsidy plus the fees of every transaction in the block. That is how crypto mining works on Bitcoin, and it is not limited to it: Litecoin, Bitcoin Cash, Monero, and other proof-of-work coins work in a similar way with different algorithms. Ethereum no longer uses mining.
- Why people do it: the reward is new coins paid without buying them, and a larger network is harder to attack.
- Why it is hard: electricity is the main cost, specialized hardware loses value quickly, and each halving cuts the reward.
How Crypto Mining Works Step by Step
Bitcoin’s developer documentation describes the same cycle that repeats about every ten minutes:
- A user signs a transaction and broadcasts it to the peer-to-peer network, where nodes pass it along.
- Valid but unconfirmed transactions wait in the mempool. Miners usually pick those that pay the highest fee per byte.
- A miner builds a candidate block: a list of transactions, a special first transaction (the coinbase) that pays the miner, and a header that summarizes the block.
- The miner hashes the header with double SHA-256 and changes the nonce, over and over, until the hash is lower than the target.
- The miner broadcasts the block. Nodes check the proof of work and every transaction, and accept the block if it follows the rules.
- The coinbase transaction pays the subsidy plus all fees to the miner’s address, and the next block builds on top of this one.
Every other miner stops working on the old candidate and starts on a new block that builds on the winner’s. That is why the chain grows one block at a time, and why a block buried under several others is hard to reverse: an attacker would have to redo all of that work and outrun the honest miners.
A Real Block Header: Block 840,000
The header is only 80 bytes, and it is the one thing miners hash. Here are the fields of block 840,000, the block that began the current 3.125 BTC era on April 20, 2024:
- The winning nonce: with 3,932,395,645 in the nonce field, the header hashes to 0000000000000000000320283a03…1cda83a5. That begins with 19 zeros, and it is below the target.
- The same header with nonce 0: the hash is d2a270be…db86143e11, far above the target. It is rejected.
- The same header with nonce 1: the hash is b8b87ea8…c2bdb1c98c, also rejected, and unrelated to the previous result.
A hash function gives no hint about which input comes closer, so the only strategy is to try numbers fast. A chip that makes 270 trillion attempts a second runs through all 4.3 billion possible nonces in about 16 microseconds, then changes a field in the coinbase transaction to produce a new Merkle root and starts again. Our calculation from current difficulty puts the average cost of one valid block at about 6.2 × 10²³ hashes.
Halving: Why the Block Reward Keeps Shrinking
The block subsidy halves every 210,000 blocks, roughly every four years. The fourth halving took place at block 840,000, cutting the subsidy from 6.25 BTC to 3.125 BTC. The schedule is part of Bitcoin’s rules, and the Bitcoin wiki explains that the last coin will be mined around 2140, after which only fees pay miners.
Each halving changes how crypto mining works economically. It cuts the miners’ main income in half overnight, so only the more efficient operators stay profitable unless the price rises. That is one reason the price matters so much to mining. For a price view, see our Bitcoin price prediction and Bitcoin vs Gold guides.
Mining Difficulty: How the Network Keeps a 10-Minute Pace
Bitcoin aims for one block every 10 minutes. Every 2,016 blocks, nodes compare how long those blocks actually took with the 20,160 minutes they should have taken, and scale the target. If blocks came too fast, mining gets harder, and if they came too slow, it gets easier. A single adjustment cannot move the difficulty by more than a factor of four.
- Last adjustment: at block 977,760 on November 27, 2026, difficulty rose 7.6% to about 145.1 trillion. The one before it, on November 14, fell 9.1%.
- This period: blocks are arriving every 10.5 minutes on average so far. mempool.space estimates the next change at about −5.3%, in roughly 8 to 9 days.
- After the 2020 halving: miners with the oldest machines switched off, and at block 631,008 on May 20, 2020 difficulty fell 6.0%, from 16.1 trillion to 15.1 trillion.
How crypto mining works on a changing network comes down to this: difficulty follows hashrate with a delay. When the price falls and weaker miners unplug, blocks slow down until the next adjustment makes mining easier for those who remain. This feedback loop is why crypto mining works without any government or company setting the pace.
How Crypto Mining Works on Hardware: CPUs, GPUs, and ASICs
Hardware decides how crypto mining works in practice, because it decides who can compete. Early Bitcoin miners used CPUs, then graphics cards, and in 2013 the first application-specific integrated circuits (ASICs) arrived. An ASIC does only one thing, double SHA-256, so it does that thing with far less energy than a general-purpose chip. Today CPUs and GPUs cannot earn money on Bitcoin.
Which ASICs Are on Sale in 2026?
Efficiency, measured in joules per terahash (J/TH), is the number to compare, because electricity is the main running cost. Air-cooled machines suit a garage or a hosting site, while hydro-cooled models target industrial farms.
Prices move with Bitcoin. The Hashrate Index ASIC Price Index tracks them, and our reading of late-2026 listings is roughly $15 to $19 per terahash for efficient air-cooled machines. On that range a 270 TH/s unit costs about $4,000 to $5,000, plus shipping, duties, a 220 to 240 V circuit, and a place that can handle the heat and noise. Check the ASIC Price Index before you buy.
Does Crypto Mining Work on a Phone, Laptop, or GPU?
Not for Bitcoin. A phone or laptop makes a tiny fraction of the hashes of an ASIC, many orders of magnitude fewer, and burns battery and heat for nothing. Apps that promise “free Bitcoin mining on Android” do not contribute real hashrate to the network. They are usually referral schemes, cloud-mining trials, or fraud.
- No public blockchain address that shows payouts from the app.
- A fee or a deposit is needed before you can withdraw an “earned” balance.
- Earnings depend on inviting other users.
- The developer is anonymous or has no verifiable company.
- Ratings arrive in bursts, which suggests purchased reviews.
If you only want to try mining on a computer you own, Monero is the practical choice, as the next sections explain.
How Crypto Mining Works in a Pool vs. Solo
How crypto mining works for a solo miner is simple: the miner keeps the whole block reward but must find a block alone. A pool combines the hashrate of many miners, shares the reward in proportion to the work each one submits, and pays out smaller amounts more often. Mining in a pool reduces variance. It does not raise the expected income, and the pool charges a fee.
Take a 270 TH/s Antminer S21 XP. It holds about 2.8 × 10⁻⁷ of the network, so it expects 0.0146 blocks a year. The chance of finding at least one in 12 months is about 1.5%, and the average wait is roughly 68 years (our calculation at 973 EH/s). The prize would be about 3.1 BTC. A solo win is a lottery ticket, not a business plan, and a pool turns that lottery into a steady, small income.
Bitcoin Mining Pools: Who Finds the Blocks
A few pools find most blocks. In the seven days to December 3, 2026, mempool.space attributed 940 blocks like this:
The top three pools found 64% of the blocks, but a pool is not one company. The hashrate behind each belongs to thousands of separate miners, who can switch pools at any time. Pools differ in payout model:
How Long Does It Take to Mine One Bitcoin?
To see how crypto mining works for one machine, start with supply. The network issues about 450 BTC a day in subsidy (3.125 × 144 blocks), plus about 3 BTC of fees. Your share of that equals your share of the hashrate. At 973 EH/s and 453 BTC a day in total, a machine earns about 0.000000466 BTC per day for each terahash. That gives:
In practice difficulty keeps rising or falling, so the true time is never fixed. But the order of magnitude is the answer to the question: a single home-sized machine earns a bitcoin in decades.
How Crypto Mining Works Beyond Bitcoin
How crypto mining works on other chains depends on the algorithm. SHA-256 coins need ASICs, and some other coins are built to be mined on ordinary computers.
Ethereum Mining After the Merge
Ethereum completed the Merge on September 15, 2022 and switched from proof of work to proof of stake. ETH can no longer be mined. Ethereum Classic still uses proof of work, and many GPU miners moved there. To take part in Ethereum’s security now, you stake ETH: running your own validator needs 32 ETH, and staking services accept smaller amounts.
Monero: CPU Mining With RandomX
Monero uses RandomX, an algorithm designed to run well on ordinary CPUs and to resist ASICs. That keeps small miners in the game, but rewards are modest and depend on your electricity price, CPU, and the XMR price. Our guide to how to mine Monero has the steps, and Monero vs Bitcoin compares the two coins.
Litecoin, Dogecoin, and Bitcoin Cash
Litecoin and Dogecoin use Scrypt, and today Scrypt ASICs mine them. They support merged mining (AuxPoW), so the same work can earn rewards on both chains through a compatible pool. Bitcoin Cash uses the same SHA-256 algorithm as Bitcoin, so the same ASICs can mine either. A Scrypt ASIC cannot mine Bitcoin.
Does Crypto Mining Work as a Business? A Profitability Breakdown
To see how crypto mining works as a business, start with hashprice: the revenue a unit of hashrate earns per day. On December 3, 2026, the network paid about 453 BTC a day, or $24.5 million at a Bitcoin price of $54,080 (CoinGecko), across 973 EH/s. That works out to about $0.0252 per terahash per day, or $25 per petahash per day. Fees were about 0.7% of that revenue.
Costs per day are power in kilowatts, times 24, times your price per kWh. Here is what it means for two air-cooled machines, before pool fees, cooling, hosting, and hardware cost:
The result is plain. At $0.10 per kWh, both air-cooled machines lose money. At $0.04 the S21 XP earns about $3.30 a day. If it cost about $4,900 (about $18 per TH, our estimate), it would need around four years to pay back, if the price and difficulty stayed the same. Most of the profitable capacity sits where power is cheap and cooling is built in.
How to Invest in Crypto Mining Without Buying Hardware
There are three indirect routes, each with its own risks.
- Cloud mining contracts: you pay for a share of someone else’s hashrate. Fraud is common. Avoid guaranteed or fixed returns, anonymous operators, referral-driven income, dashboards with no on-chain payouts, withdrawal fees or freezes, and companies with no verifiable facility.
- Hosted mining: you buy a machine and a data center runs it for a fee. You hold the hardware risk, and the contract terms matter.
- Mining company shares: listed miners such as Riot Platforms, CleanSpark, MARA Holdings, Hut 8, and Cipher Mining trade on public markets. Many are moving capacity to AI and high-performance computing hosting, according to S&P Global and CoinDesk, so a mining stock is no longer a pure bet on Bitcoin. Shares also fall when Bitcoin does.
This is not a recommendation to buy any of them. Each carries the risk of a total loss.
How Crypto Mining Income Works for Taxes
In the United States, here is how crypto mining works for tax purposes: the IRS treats mined coins as income. IRS Notice 2014-21 says that when a taxpayer successfully mines virtual currency, its fair market value on the date of receipt is included in gross income. If mining is a trade or business and you are not an employee, the net earnings are subject to self-employment tax. Notice 2023-34 changed only the background wording and left these answers in place.
- Receiving coins: you record income at the dollar value on the day the coins reach you. Pool payouts are normally many small receipts.
- Business or hobby: this changes which forms and deductions apply. Ordinary income from virtual currency goes on Schedule 1 of Form 1040 unless it is business income, according to the IRS FAQ.
- Selling later: a gain or loss arises when you sell or swap the coins, measured against the value you already reported as income.
- Records: keep electricity bills, hardware invoices, pool statements, and the price at each payout.
Other countries have their own rules, and exchanges may report accounts to tax authorities. A qualified tax professional can say how this applies to you.
Need to swap mined coins?
Swapzone compares offers from 18+ exchange partners and does not hold your funds. For example, you can compare BTC to USDT offers. Each partner sets its own rates, fees, and verification rules.
Is Crypto Mining Legal? How the Rules Work by Country
How crypto mining works in law differs by country. Mining is legal in most places, but energy and tax rules are changing it. Here is how some governments handle it in late 2026:
In practice, the question is often electricity policy rather than the coin itself. A farm can be legal and still blocked by a grid operator or a tax ruling.
Can Crypto Mining Be Traced?
Yes. Because of how crypto mining works on a public chain, Bitcoin’s ledger is open, so every payout and every later transfer from a mining address is visible. Addresses are pseudonymous, not anonymous: they carry no name, but an analyst can follow the movements of coins and link an address to a person when it touches a service that checks identity, such as a regulated exchange.
That means mining income should be treated as reportable, not private. If privacy matters to you for lawful reasons, read our guide to the anonymous Bitcoin wallet, and keep your keys in a wallet you control, as this wallet setup guide and our explainer on non-custodial wallets describe.
How Much Energy Does Crypto Mining Use?
Energy is the other side of how crypto mining works. The best-known academic estimate comes from the Cambridge Centre for Alternative Finance. Its Digital Mining Industry Report, published on April 28, 2025, put Bitcoin’s electricity use at about 138 TWh a year, around 0.5% of global electricity use, with 39.8 million tonnes of CO₂ equivalent. It found that 52.4% of the energy used came from sustainable sources (42.6% renewables and 9.8% nuclear), 38.2% from natural gas, and 8.9% from coal, down from 36.6% in 2022.
The study is based on a survey of 49 mining firms that cover 48% of global mining activity, so the network-wide figures are extrapolated. Other trackers give different totals. Mining firms say they use stranded, curtailed, or surplus power. The picture changes yearly, so look for the latest edition of the report.
The Bottom Line: Should You Start Mining?
Now you know how crypto mining works, and Bitcoin mining works as an industry, not a hobby. It pays when power costs about $0.07 to $0.09 per kWh or less, when hardware is the latest and efficient, and when you can run many machines. Outside those conditions, buying crypto or swapping into the asset you want is usually more practical. For a smaller experiment, mine Monero on a computer you already own.
Remember three numbers: hashprice (about $25 per petahash per day today), your electricity price, and your machine’s joules per terahash. Together they tell you in minutes whether a deal makes sense.
Sources and Methodology
Network data (block height, hashrate, difficulty, adjustments, fees, pool shares, block 840,000 header) come from the mempool.space API on December 3, 2026. Prices come from CoinGecko the same day. Hardware figures come from Bitmain and Hashrate Index. Legal and tax data come from the IRS, the Cambridge Judge Business School, and the other publications listed here. Figures marked “our calculation” are derived from those inputs with the assumptions stated under each table. This article describes publicly reported data and is not financial advice. Sources:
- Bitcoin protocol: Bitcoin white paper; Bitcoin developer guide, mining; Bitcoin wiki, controlled supply
- Network data: mempool.space; block 840,000; CoinGecko
- Hardware: Hashrate Index, Antminer S21 Pro; Hashrate Index, top 10 ASICs for 2026; Hashrate Index, ASIC Price Index
- Tax: IRS Notice 2014-21; IRS Notice 2023-34; IRS virtual currency FAQ
- Energy and legal: Cambridge Judge Business School, 2025 mining report release; Schjødt, Norway data centres
- Other coins: Ethereum, the Merge; Monero, RandomX
This information is not financial, investment, or legal advice. Cryptocurrencies are volatile and carry the risk of total loss of funds. Please do your own research (DYOR) before making any decisions. Swapzone is a non-custodial aggregator: it does not hold user funds and does not control partners’ rates or commissions, which may change without prior notice.
Frequently Asked Questions
Miners bundle waiting transactions into a block and hash its header with SHA-256 again and again, changing a nonce each time, until the hash is below the network target. The first valid block is added to the chain, and its miner receives the block subsidy plus transaction fees.
It depends on electricity price, machine efficiency, and the Bitcoin price. At $54,080, we calculate break-even at about $0.070 per kWh for an Antminer S21 Pro and $0.078 for an S21 XP. At $0.10 per kWh both lose money.
At today’s network size, one Antminer S21 XP would take about 22 years in a pool, before electricity costs. Solo, its chance of finding a block in a year is about 1.5%.
Mining is legal in most countries, including the United States, where mined coins are taxable income. Some countries restrict or ban it, and energy rules are tightening. Check local law before you buy hardware.
For Bitcoin, an ASIC miner, a power supply that can handle 3,500 W or more, cooling, a pool account, and a wallet address for payouts. CPUs and GPUs cannot mine Bitcoin profitably, but a CPU can mine Monero.
