Skip to main content

HomeAll guides

How Bitcoin Mining Works and What It Costs

What Bitcoin mining is and why it happens

Bitcoin mining is the process of solving complex mathematical puzzles to validate transactions on the Bitcoin network and create new Bitcoin. Miners compete to solve these puzzles, and the first one to solve it gets to add a new block of transactions to the blockchain — the permanent record of all Bitcoin transfers. In return, the miner receives newly created Bitcoin plus transaction fees from the block they added.

Mining serves two purposes at once: it secures the network by making it computationally expensive to alter past transactions, and it distributes new Bitcoin into circulation. Without miners, the Bitcoin network would not function. Every transaction you see on the blockchain was validated by a miner somewhere.

The puzzle difficulty adjusts automatically every two weeks so that a new block is added roughly every ten minutes, no matter how many miners are competing. This means that as more miners join, each individual miner's chances of solving the puzzle first decrease — but the total work done by the network stays predictable.

Key Takeaways

  • Bitcoin mining requires specialized hardware called ASICs (process-specific integrated circuits) that cost hundreds to thousands of dollars and consume significant electricity.
  • Miners earn newly created Bitcoin and transaction fees when they solve a puzzle and add a block, but the amount of new Bitcoin created per block decreases by half every four years.
  • Mining profitability depends on hardware cost, local electricity rates, and the current Bitcoin price — all three must be favorable for mining to generate income.
  • Solo mining (competing alone) is extremely unlikely to produce results for an individual; most miners join mining pools where they share work and split rewards.
  • The environmental cost of Bitcoin mining is substantial because ASICs consume continuous high-voltage power, making it economically viable only in regions with cheap electricity.

Hardware requirements and what miners actually use

Bitcoin mining requires ASIC miners — specialized computers built solely to solve Bitcoin's puzzle algorithm. These are not regular computers or graphics cards. Common ASIC models include the Antminer S19 Pro, Whatsminer M30S, and Avalon A1246, each costing between $500 and $2,000 depending on the model and current market conditions.

An ASIC miner is a box roughly the size of a desktop tower that draws between 1,000 and 3,500 watts of electricity continuously. To put that in perspective, a typical home refrigerator draws 150 to 800 watts. Running an ASIC miner 24 hours a day for a month consumes as much electricity as running a refrigerator for several months.

Older ASIC models become unprofitable as newer, more efficient models enter the market. A miner from five years ago uses roughly twice as much electricity to perform the same work as a current model. This means hardware becomes obsolete not because it breaks, but because it costs too much in electricity to operate.

How mining pools work and why most miners use them

Solo mining — running an ASIC miner alone and keeping all rewards — is theoretically possible but practically unlikely to produce income. The odds of a single miner solving the puzzle before thousands of competitors is extremely low. At current network difficulty, a solo miner with a single modern ASIC might wait months or years before solving one block.

Mining pools solve this problem by combining the computing power of many miners. A pool operator coordinates thousands of miners, combines their work, and when any miner in the pool solves a block, the pool distributes the reward among all participants based on the work each contributed. Major pools include Foundry USA, AntPool, and Stratum V2.

When you join a pool, you connect your ASIC miner to the pool's server using mining software. The pool assigns you work, your miner solves it, and you send results back to the pool. The pool handles the actual block submission to the Bitcoin network. In return, the pool takes a fee — typically 1 to 3 percent of rewards — and distributes the rest to miners based on their contribution.

Pool mining produces smaller, more frequent payouts instead of rare large ones. A miner in a large pool might receive a payout every few days or weeks rather than waiting months for a solo block.

Electricity costs and profitability calculations

Electricity is the largest ongoing cost of mining. An ASIC miner drawing 2,500 watts running 24 hours a day for 30 days uses 1,800 kilowatt-hours (kWh). At $0.10 per kWh, that costs $180 per month. At $0.20 per kWh, it costs $360 per month. At $0.30 per kWh, it costs $540 per month.

Profitability depends on three variables: the cost of your hardware, your local electricity rate, and the current Bitcoin price. A miner that costs $1,500 and runs in a region where electricity costs $0.05 per kWh might generate income. The same miner in a region where electricity costs $0.25 per kWh will likely lose money.

Mining calculators (available from pool operators and third-party sites) estimate monthly revenue by taking your hardware's hash rate — the number of puzzles it can attempt per second — and comparing it against current network difficulty and Bitcoin price. These calculators show gross revenue before electricity costs. Subtracting electricity costs gives net profit or loss.

Bitcoin price volatility affects profitability significantly. If Bitcoin price drops 30 percent, mining revenue drops 30 percent even though your electricity costs stay the same. Many miners shut down operations when Bitcoin price falls below the point where electricity costs exceed revenue.

Mining difficulty and the halving cycle

The Bitcoin network adjusts mining difficulty every 2,016 blocks (roughly two weeks) to keep block time at an average of ten minutes. When more miners join the network, difficulty increases. When miners leave, difficulty decreases. This adjustment is automatic and built into the Bitcoin protocol.

Every four years, the amount of new Bitcoin created per block is cut in half — an event called the halving. The first block created in 2009 produced 50 Bitcoin. After the first halving in 2012, new blocks produced 25 Bitcoin. After the second halving in 2016, 12.5 Bitcoin. After the third halving in 2020, 6.25 Bitcoin. The next halving is scheduled for 2024, reducing the reward to 3.125 Bitcoin per block.

Halvings reduce miner income directly. A miner earning 6.25 Bitcoin per block will earn 3.125 Bitcoin per block after the halving, assuming difficulty and transaction fees stay the same. This forces less efficient miners to shut down, which eventually reduces difficulty and allows remaining miners to maintain profitability.

Environmental impact and electricity sourcing

Bitcoin mining consumes substantial electricity. Estimates vary, but the Bitcoin network uses between 100 and 150 terawatt-hours (TWh) of electricity annually — roughly equivalent to the annual electricity consumption of Argentina or Norway. This consumption is continuous and does not fluctuate with demand the way most industries do.

The environmental impact depends on the electricity source. Mining powered by renewable energy (hydroelectric, wind, solar) has a lower carbon footprint than mining powered by coal or natural gas. Some miners locate operations in regions with abundant hydroelectric power, such as Iceland or parts of Central Asia, where electricity costs are low and renewable energy is plentiful.

Other miners operate in regions where electricity comes primarily from fossil fuels. The carbon emissions from these operations are substantial. This is why mining profitability is geographically concentrated — it only makes economic sense in places where electricity is both cheap and abundant.

Getting started: software, wallets, and pool setup

Once you have an ASIC miner, you need three things: mining software, a Bitcoin wallet, and a pool account. Mining software connects your hardware to a mining pool and manages the work distribution. Common software includes CGMiner, BFGMiner, and pool-specific software provided by operators.

A Bitcoin wallet is where mining rewards are sent. You can use a wallet provided by your mining pool, or you can set up your own wallet using software like Electrum or a hardware wallet like Ledger. Pool-provided wallets are convenient but mean the pool holds your Bitcoin until you withdraw it. Self-hosted wallets give you direct control but require you to manage security yourself.

To join a mining pool, you create an account on the pool's website, configure your miner with the pool's server address and your account credentials, and start the mining software. The pool assigns work to your miner, and your miner begins solving puzzles. Payouts are sent to your wallet according to the pool's payout schedule — typically daily or weekly once you reach a minimum threshold.

Frequently Asked Questions

Can I mine Bitcoin on a regular computer or laptop?

No. Regular computers and laptops are millions of times slower at solving Bitcoin's puzzle than ASIC miners. You would spend far more on electricity than you would ever earn. ASIC miners are the only hardware that makes mining economically viable.

What happens to Bitcoin miners when all 21 million Bitcoin have been created?

Bitcoin's total supply is capped at 21 million coins. When all are created (estimated around 2140), miners will no longer earn newly created Bitcoin. They will earn only transaction fees paid by users who want their transactions included in blocks. Whether transaction fees alone will be enough to sustain mining is an open question.

Do I need to pay taxes on mining income?

Tax treatment of mining income varies by country and jurisdiction. In most countries, mining income is treated as ordinary income and subject to income tax. The fair market value of Bitcoin at the time you receive it is typically your taxable income. Consult a tax professional in your jurisdiction for specific guidance.

How long does it take to break even on a mining operation?

Breakeven time depends on hardware cost, electricity rate, and Bitcoin price. A miner costing $1,500 in a region with $0.10 per kWh electricity might break even in 6 to 12 months. The same miner in a region with $0.25 per kWh electricity might never break even. Use a mining calculator with your specific numbers to estimate payback period.

What is the difference between Bitcoin mining and other cryptocurrencies?

Different cryptocurrencies use different puzzle algorithms. Bitcoin uses SHA-256, which requires ASIC miners. Other cryptocurrencies like Ethereum historically used algorithms that could run on graphics cards, making them more accessible to individual miners. However, Ethereum switched to proof-of-stake in 2022 and no longer uses mining at all.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.