Skip to Main Content

What is Bitcoin mining and how does it work?

Written by Edited by
Published on October 21, 2024 | 5 min read

Bankrate is always editorially independent. While we adhere to strict , this post may contain references to products from our partners. Here's an explanation for . Our is to ensure everything we publish is objective, accurate and trustworthy.

Cryptocurrency mining rigs sit on racks at a facility in Quebec, Canada.
Bloomberg Creative Photos/Getty Images

Bitcoin mining is the process of creating new bitcoins by solving extremely complicated math problems that verify transactions in the currency. When a bitcoin is successfully mined, the miner receives a predetermined amount of bitcoin.

Bitcoin is a cryptocurrency that’s gained a wide following due to its wild price swings and surging value since it was first created in 2009.

As prices of cryptocurrencies and Bitcoin in particular have skyrocketed in recent years, it’s understandable that interest in mining has picked up as well. But for most people, the prospects for Bitcoin mining are not good due to its complex nature and high costs. Here are the basics on how Bitcoin mining works and some key risks to be aware of.

Bitcoin mining statistics

  • A miner currently earns 3.125 Bitcoin (about $193,750 as of early October 2024) for successfully validating a new block on the Bitcoin blockchain.
  • Creating Bitcoin consumes 166.75 terawatt-hours of electricity each year, more than is used by the Netherlands or the Philippines, according to the Cambridge Bitcoin Electricity Consumption Index.
  • It would take nine years of household-equivalent electricity to mine a single bitcoin as of August 2021.
  • The price of Bitcoin has been extremely volatile over time. In 2020, it traded as low as $4,107 and reached an all-time high of $73,750 in March 2024. As of October , it traded for about $62,000.
  • While it depends on your computing power and that of other miners, the odds of a modestly powered solo miner solving a Bitcoin hash were about 1 in 26.9 million in January 2023.
  • The United States (37.8 percent), Mainland China (21.1 percent) and Kazakhstan (13.2 percent) were the largest bitcoin miners as of January 2022, according to the Cambridge Electricity Consumption Index.

The basics of Bitcoin, explained

Bitcoin is one of the most popular types of cryptocurrencies, which are digital mediums of exchange that exist solely online. Bitcoin runs on a decentralized computer network or distributed ledger that tracks transactions in the cryptocurrency. When computers on the network verify and process transactions, new bitcoins are created, or mined. These networked computers, or miners, process the transaction in exchange for a payment in Bitcoin.

Bitcoin is powered by blockchain, which is the technology that powers many cryptocurrencies. A blockchain is a decentralized ledger of all the transactions across a network. Groups of approved transactions together form a block and are joined to create a chain. Think of it as a long public record that functions almost like a long running receipt. Bitcoin mining is the process of adding a block to the chain.

How Bitcoin mining works

In order to successfully add a block, Bitcoin miners compete to solve extremely complex math problems that require the use of expensive computers and enormous amounts of electricity. To complete the mining process, miners must be first to arrive at the correct or closest answer to the question. The process of guessing the correct number (hash) is known as proof of work. Miners guess the target hash by randomly making as many guesses as quickly as they can, which requires major computing power. The difficulty only increases as more miners join the network.

The computer hardware required is known as application-specific integrated circuits, or ASICs, and can cost up to $10,000. ASICs consume huge amounts of electricity, which has drawn criticism from environmental groups and limits the profitability of miners.

If a miner is able to successfully add a block to the blockchain, they will receive 3.125 bitcoins as a reward. The reward amount is cut in half roughly every four years, or every 210,000 blocks. As of early October 2024, Bitcoin traded at around $62,000, making 3.125 bitcoins worth $193,750.

Is Bitcoin mining profitable?

It depends. Even if Bitcoin miners are successful, it’s not clear that their efforts will end up being profitable due to the high upfront costs of equipment and the ongoing electricity costs. 

Worldwide, bitcoin mining uses more electricity than Poland, a nation of 36.8 million people, according to the University of Cambridge’s Bitcoin Electricity Consumption Index. Bitcoin mining is so energy intensive that a bitcoin miner in Texas made more in energy credits ($31 million) for not mining than from actual mining this summer.

As the difficulty and complexity of Bitcoin mining has increased, the computing power required has also gone up. Bitcoin mining consumes about 166.75 terawatt-hours of electricity each year, more than most countries, according to the Cambridge index. You’d need nine years’ worth of the typical U.S. household’s electricity to mine just one bitcoin as of August 2021.

One way to share some of the high costs of mining is by joining a mining pool. Pools allow miners to share resources and add more capability, but shared resources mean shared rewards, so the potential payout is less when working through a pool. The volatility of Bitcoin’s price also makes it difficult to know exactly how much you’re working for.

How to start Bitcoin mining

Here are the basics you’ll need to start mining Bitcoin.

  • Wallet: This is where any Bitcoin you earn as a result of your mining efforts will be stored. A wallet is an encrypted online account that allows you to store, transfer and accept Bitcoin or other cryptocurrencies. Companies such as Coinbase, Trezor and Exodus all offer wallet options for cryptocurrency.
  • Mining software: There are a number of different providers of mining software, many of which are free to download and can run on Windows and Mac computers. Once the software is connected to the necessary hardware, you’ll be able to mine Bitcoin.
  • Computer equipment: The most cost-prohibitive aspect of Bitcoin mining involves the hardware. You’ll need a powerful computer that uses an enormous amount of electricity in order to successfully mine Bitcoin. It’s not uncommon for the hardware costs to run around $10,000 or more.

Risks of Bitcoin mining

  • Regulation: Very few governments have embraced cryptocurrencies such as Bitcoin, and many are more likely to view them skeptically because the currencies operate outside government control. There is always the risk that governments could outlaw the mining of Bitcoin or cryptocurrencies altogether as China did in 2021, citing financial risks and increased speculative trading.
  • Price volatility: Bitcoin’s price has varied widely since it was introduced in 2009. Since just January 2023, Bitcoin at times has traded for less than $18,000 and more than $73,000. This kind of volatility makes it difficult for miners to know if their reward will outweigh the high costs of mining.

​​

Taxes on Bitcoin mining

It’s important to remember the impact that taxes can have on Bitcoin mining. The IRS has been looking to crack down on owners and traders of cryptocurrencies as the asset prices have ballooned in recent years. Here are the key tax considerations to keep in mind for Bitcoin mining.

  • Are you a business? If Bitcoin mining is your business, you may be able to deduct expenses you incur for tax purposes. Revenue would be the value of the bitcoins you earn. But if mining is a hobby for you, it’s not likely you’ll be able to deduct expenses.
  • Mined bitcoin is income. If you’re successfully able to mine Bitcoin or other cryptocurrencies, the fair market value of the currencies at the time of receipt will be taxed at ordinary income rates.
  • Capital gains. If you sell bitcoins at a price above where you received them, that qualifies as a capital gain, which would be taxed the same way it would for traditional assets such as stocks or bonds.

Check out Bankrate’s cryptocurrency tax guide to learn about basic tax rules for Bitcoin, Ethereum and more.

Bottom line

While Bitcoin mining sounds appealing, the reality is that it’s difficult and expensive to actually do profitably. The extreme volatility of Bitcoin’s price adds more uncertainty to the equation.

Keep in mind that Bitcoin itself is a speculative asset with no intrinsic value, which means it won’t produce anything for its owner and isn’t pegged to something like gold. Your return is based on selling it to someone else for a higher price, and that price may not be high enough for you to turn a profit.

Up next

Part of Introduction to Cryptocurrency Investing