logo
  • menu
  • Markets
  • ETFs
  • Live
  • Spot
  • Futures
  • Learn
  • Sign In
  • Sign Up
  • Downloads
  • English
  • |
  • USD
  • |
Sign Up
Crypto PricesLearnLatest NewsDownloadsMarketsSpotAnnouncements
Home/
Learn/
Crypto Basics

What is Crypto Mining and How Does Mining Work

By Cornell Rachel
Aug 23, 2022
4.6 
★
★
★
★
★
★
★
★
★
★
 371 User Rating
Share

Mining is the process in which cryptocurrency transactions between users are verified and added to the blockchain public ledger. The mining operations are also responsible for introducing new coins into the existing circulating supply. It is one of the key elements that allow the Bitcoin blockchain to work as a distributed ledger.

So how does mining work? All transactions are recorded in a peer-to-peer network without the need for a central authority. In this article, we will discuss mining as it happens on the Bitcoin network, but the process is similar in altcoins that adopt the same mining mechanism.

What is Crypto Mining?

Cryptocurrency mining refers to the process of verifying and validating blockchain transactions. It’s also the process that creates new units of cryptocurrencies. The work done by miners requires intensive computational resources, but it’s what keeps a blockchain network secure. Honest and successful miners are rewarded for their work with newly created cryptocurrencies plus transaction fees.

How Does Mining Work?

As new blockchain transactions are made, they are sent to a pool called a memory pool. The job of a miner is to verify the validity of these pending transactions and organize them into blocks. You can think of a block as a page of the blockchain ledger, in which several transactions are recorded (along with other data).

More specifically, a mining node is responsible for collecting unconfirmed transactions from the memory pool and assembling them into a candidate block. After that, the miner will try to convert this candidate block into a valid, confirmed block. But to do so, they need to find a solution for a complex mathematical problem. This requires a lot of computational resources, but every successfully mined block will give the miner a block reward, consisting of newly created cryptocurrencies plus transaction fees. Let’s take a closer look at the mining process.

Step 1 - Hashing transactions

The first step of mining a block is to take pending transactions from the memory pool and submit them, one by one, through a hash function. Every time we submit a piece of data through a hash function, we will generate an output of fixed size called a hash. In the context of mining, the hash of each transaction consists of a string of numbers and letters that works as an identifier. The transaction hash represents all the information contained within that transaction.

Apart from hashing and listing each transaction individually, the miner also adds a custom transaction, in which they send themselves the block reward. This transaction is referred to as the coinbase transaction and is what creates brand new coins. In most cases, the coinbase transaction is the first to be recorded in a new block, followed by all the pending transactions that they want to validate.

Step 2 - Creating a Merkle Tree

After every transaction is hashed, the hashes are then organized into somETHing called a Merkle Tree. Also known as a hash tree, the Merkle Tree is formed by organizing the transaction hashes into pairs and then hashing them. The new hash outputs are then organized into pairs and hashed once again, and the process is repeated until a single hash is created. This last hash is also called a root hash (or Merkle root) and is basically the hash that represents all the previous hashes that were used to generate it.

Step 3 - Finding a valid block header (block hash)

A block header works as an identifier for each individual block, meaning that each block has a unique hash. When creating a new block, miners combine the hash of the previous block with the root hash of their candidate block to generate a new block hash. But apart from these two elements, they also need to add an arbitrary number called nonce.

So, when trying to validate their candidate block, a miner needs to combine the root hash, the previous block’s hash, and a nonce and submit them all through a hash function. Their goal is to create a hash that is considered valid.

The root hash and the previous block’s hash can’t be changed, so miners need to change the nonce value several times until a valid hash is found. In order to be considered valid, the output (block hash) must be less than a certain target value, which is determined by the protocol. In Bitcoin mining, the block hash must start with a certain number of zeros. This is what we call mining difficulty.

Step 4 - Broadcasting the mined block

As we’ve just seen, miners need to hash the block header over and over again, with different nonce values. They repeat this work until they find a valid block hash. The miner that found it will then broadcast his block to the network. All other nodes will check if the block and its hash are valid and, if so, add the new block into their copy of the blockchain.

At this point, the candidate block becomes a confirmed block, and all miners move on to mining the next one. All miners that couldn’t find a valid hash on time discard their candidate block, and the mining race starts over.

Can all Cryptocurrencies be Mined?

Bitcoin is the most popular and well-established example of a mineable cryptocurrency, but not all cryptocurrencies are mineable. Bitcoin mining is based on a consensus algorithm called Proof of Work (PoW).

Proof of Work (PoW)

Proof of Work (PoW) is the original blockchain consensus mechanism created by Satoshi Nakamoto. It was introduced in the Bitcoin whitepaper, back in 2008. In a nutshell, PoW determines how a blockchain network reaches consensus across all the distributed participants without third-party intermediaries. It does this by requiring significant computing power to disincentivize bad actors.

As we’ve seen, transactions on a PoW network are verified by miners. In order to win the right to mine the next block, miners compete by solving complex cryptographic puzzles with specialized mining hardware. The first miner to find a valid solution can then broadcast their block of transactions to the blockchain, and receive the block reward.

The amount of crypto in a block reward varies across different blockchains. For example, on the Bitcoin blockchain, miners can get 6.25 BTC in block reward back in December 2021. The amount of BTC in a block reward decreases by half every 210,000 blocks (approximately every four years) due to its halving mechanism.

Cryptocurrency Mining METHods

There is no single mETHod for mining cryptocurrencies. The equipment and process changes as new hardware and consensus algorithms emerge. Typically, miners use specialized computer units to solve the complicated cryptographic equations. Let’s take a look at how some of the most common mining methods work.

CPU mining

Central Processing Unit (CPU) mining involves using a computer’s CPU to perform the hash functions required by PoW. In the early days of Bitcoin, the cost and barrier to entry for mining was low. The difficulty of mining could be handled by a regular CPU, so anyone could try to mine BTC and other cryptocurrencies.

However, as more people began to mine and the network’s hashrate increased, profitable mining became more and more difficult. On top of that, the rise of specialized mining hardware with greater computational power eventually made CPU mining nearly impossible. Today, CPU mining is no longer a viable option, as all miners use specialized hardware.

GPU mining

Graphics Processing Units (GPU) are designed for processing a wide range of applications in parallel. While they’re typically used for video games or rendering graphics, they can also be used for mining.

GPUs are relatively cheap and more flexible than the popular ASIC mining hardware. Some altcoins can be mined with GPUs, but the efficiency depends on the mining difficulty and algorithm.

ASIC mining

An Application-Specific Integrated Circuit (ASIC) is designed to serve a single specific purpose. In crypto, It refers to specialized hardware developed for mining. ASIC mining is highly efficient but expensive.

Mining is a competition. To mine profitably, you need competitive mining hardware. As ASIC miners are at the cutting-edge of mining technology, the cost of a unit is much higher than CPUs or GPUs. Also, continuous advancements in ASIC technology quickly render older ASIC models unprofitable, meaning that they often need to be replaced. This makes ASIC mining one of the most expensive ways to mine, even without including electricity costs.

Mining Pools

As a block reward is granted to the first successful miner, the probability of finding the correct hash is extremely small. Miners with a small percentage of the mining power stand a very small chance of discovering the next block on their own. Mining pools offer a solution to this problem.

Mining pools are groups of miners who pool their resources (hash power) to increase the probability of winning block rewards. When the pool successfully finds a block, miners will split the reward equally among everyone in the pool, according to the amount of work contributed.

Mining pools can benefit individual miners in terms of hardware and electricity costs, but their domination in mining raises concerns for a 51% attack on the network.

Closing Thoughts

Cryptocurrency mining is a crucial part of Bitcoin and other PoW blockchains. It’s one of the things that keep the network secure and the issuance of new coins steady. Mining has certain benefits and drawbacks, the most obvious being the potential earnings you get from the block rewards.

However, mining profits can be affected by a number of factors, including electricity costs and market prices. There is no guarantee that you will make profits despite having learnt how does mining work. So before you jump into crypto mining, you should DYOR and evaluate all potential risks.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of BitKan. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. BitKan shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. Products mentioned in this article may not be available in your region.

Related Articles

  • What Are Short Liquidations? How Can Traders Prevent Them in Crypto?

    What Are Short Liquidations? How Can Traders Prevent Them in Crypto?

    A short liquidation is a mandatory event within derivatives markets where a cryptocurrency exchange automatically closes a leveraged short position.
    Cornell Rachel
    Jun 22, 2026
  • What Is Rehypothecation Risk in Crypto? How to Protect Yourself

    What Is Rehypothecation Risk in Crypto? How to Protect Yourself

    Rehypothecation is a practice where a lending platform takes collateral pledged by its clients and uses it for its own purposes.
    James Dean
    Jun 17, 2026
  • What Is pERC20? How Does This Ethereum Token Standard Work?

    What Is pERC20? How Does This Ethereum Token Standard Work?

    The pERC-20 framework is an experimental Ethereum Improvement Proposal designed to fundamentally alter how standard tokens operate on public networks,
    Jun 12, 2026

Latest Articles

Crypto Basics

Tutorials

Currencies

Investing

  • What Are Short Liquidations? How Can Traders Prevent Them in Crypto?

    What Are Short Liquidations? How Can Traders Prevent Them in Crypto?

    A short liquidation is a mandatory event within derivatives markets where a cryptocurrency exchange automatically closes a leveraged short position.
    Cornell Rachel
    Jun 22, 2026
  • What Is Rehypothecation Risk in Crypto? How to Protect Yourself

    What Is Rehypothecation Risk in Crypto? How to Protect Yourself

    Rehypothecation is a practice where a lending platform takes collateral pledged by its clients and uses it for its own purposes.
    James Dean
    Jun 17, 2026
  • What Is pERC20? How Does This Ethereum Token Standard Work?

    What Is pERC20? How Does This Ethereum Token Standard Work?

    The pERC-20 framework is an experimental Ethereum Improvement Proposal designed to fundamentally alter how standard tokens operate on public networks,
    Jun 12, 2026
  • What Are Crypto Prediction Markets? A Complete Guide for Beginners

    What Are Crypto Prediction Markets? A Complete Guide for Beginners

    Crypto prediction markets are peer-to-peer decentralized financial platforms where participants trade contracts tied to the outcomes of real-world events, such as elections, sports, or economic data releases.
    Jun 12, 2026
  • What is the MSX X Card? Understanding the New Crypto Card

    What is the MSX X Card? Understanding the New Crypto Card

    The MSX X Card is a financial instrument launched by the MSX Maitong platform that functions as a payment gateway for digital assets
    James Dean
    Jun 8, 2026
View more data 

Content

BTCBTC(BTC)
$0
--(Last 24h)
SpotFutures

Top

View more
  1. 1How To Sign Up For A BitKan Account (Web)?
  2. 2When Is Bitcoin Halving 2024? What Does Bitcoin Halving Do?
  3. 3What is Etherscan Used For and How to Find Token Decimal on Etherscan
  4. 4What is USDC used for? Why is USDC used?

Top Gainers

View more
Solstice
SolsticeSLX

$0.2851

+45.91%
Heima
HeimaHEI

$0.1245

+40.20%
Audiera
AudieraBEAT

$2.3039

+33.36%
Sahara AI
Sahara AISAHARA

$0.0139

+20.83%
Gravity
GravityG

$0.003220

+20.60%

Top Trending

View more
dYdX
dYdXDYDX

$0.1495

+13.65%
Avalanche
AvalancheAVAX

$6.3980

+4.44%
Monero
MoneroXMR

$329.470

+3.99%
Audiera
AudieraBEAT

$2.3030

+33.31%
Heima
HeimaHEI

$0.1244

+40.09%

Recently added

View more
Arcium
ArciumARX

$0.3041

-24.71%
Ambire AdEx
Ambire AdExADX

$0.0555

+1.28%
Re
ReRE

$0.7328

-9.45%
o1 exchange
o1 exchangeO

$0.5450

-9.18%
SpaceX
SpaceXSPCXB

$157.090

+5.31%

Latest News

View more
  1. 1Uniswap Soars 22% as Altcoins Rally While Bitcoin Stalls
  2. 2HYPE Surges 6%: Suspected Insider Whale Nabs $34M in Gains
  3. 3SpaceX Prices Record $75B IPO at $135, Hits $1.8T Valuation
  4. 4Stablecoin Secondary Market Rules Pit Banks Against Crypto
  5. 5Bitcoin and Gold Tumble Amid Rising Inflation and Rate Bets
About Us
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
English
About Us
+
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
+
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
+
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
+
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
+
  • Twitter
  • Facebook
  • Telegram
  • YouTube
  • Instagram
  • Medium
  • Linkedin
@2012-2026 BITKAN.com