What Is Crypto Mining? How Miners Earn Coins and Secure a Network

Updated

The short answer

Crypto mining is the process of using computing power to validate transactions and add new blocks to a proof of work blockchain, such as Bitcoin. Miners compete to solve a hard puzzle, and the winner earns newly created coins plus transaction fees. A crypto miner is the person, company or machine doing this work.

Mining is how some blockchains decide who adds the next block, and how new coins enter circulation. It is the “work” in proof of work. Not every cryptocurrency is mined: networks that use proof of stake, such as Ethereum, have no miners. See proof of stake vs proof of work for the difference.

How mining works

  1. Transactions queue up. People send crypto, and nodes check each transaction is valid.
  2. A miner builds a block. It collects waiting transactions, usually favoring those with higher fees.
  3. The miner searches for a valid hash. It runs the block’s data through a hash function again and again, changing a number each time, until the result falls below the network’s target. The only way to find one is to guess, which takes huge computing power.
  4. The winner broadcasts the block. Other nodes check the answer instantly. If it is valid, they add the block to their copy of the blockchain.
  5. The miner is paid. It receives the block reward plus the fees from the transactions inside.
  6. The network adjusts. Bitcoin changes the puzzle’s difficulty about every 2,016 blocks so that blocks keep arriving about every 10 minutes, however much mining power joins or leaves.

Mining at a glance

Term Meaning
Miner A person, company or machine doing the work
Hash rate How many guesses per second a miner or the whole network makes
Difficulty How hard the puzzle currently is
Block reward New coins paid for each valid block. For Bitcoin it is 3.125 BTC since the April 2024 halving and halves every 210,000 blocks.
ASIC A chip built to do one kind of mining calculation very efficiently
Mining pool A group that combines its power and shares the rewards

Types of mining hardware

  • ASIC miners dominate Bitcoin mining. They are fast and efficient for that one job but cannot do much else, and become outdated as newer models arrive.
  • GPUs (graphics cards) were used for some coins, but many of those networks moved away from mining, and the ones that remain are small.
  • Ordinary computers can run mining software but earn little on large networks.

What is a crypto miner, in practice?

Today most Bitcoin mining is done by companies that run large warehouses of ASICs near cheap electricity. Individuals usually join a mining pool, because solo miners rarely find a block. Some people also use cloud mining contracts, which carry a high scam risk; see below. For more background, see which coins are easiest to mine, which covers hardware, running costs and the risks of small coins. For more background, see what a hash is, which covers block hashes, transaction hashes and how they are used.

What mining costs and risks

  • Electricity and hardware are the main costs. Rewards in coin terms are fixed by the protocol, while their value in your currency goes up and down.
  • Competition. As more miners join, each earns a smaller share unless prices rise.
  • Halvings. Bitcoin’s reward drops by half roughly every four years, so income per machine can fall sharply if prices do not compensate.
  • Hardware becomes obsolete, and machines are hot, loud and need cooling.
  • Rules and tax. Mining income may be taxable, and some places restrict or ban mining. Check your local rules.
  • Scams. Be cautious of cloud mining offers, “guaranteed” returns and apps that claim to mine on your phone for real income. Mining is not a reliable way to make money.

A worked example: does a miner cover its costs?

The numbers are round and hypothetical, not real hardware or prices. Suppose a machine would earn 0.0002 coin a day if the network conditions stay the same, uses 3 kilowatts of power and electricity costs $0.08 per kilowatt-hour.

  1. Daily electricity: 3 kW × 24 hours = 72 kWh. At $0.08 that is 72 × $0.08 = $5.76 a day.
  2. If the coin is worth $60,000, daily income is 0.0002 × $60,000 = $12.
  3. Before the machine’s purchase price, daily margin is $12 − $5.76 = $6.24.
  4. If the coin price halves to $30,000, income is $6 and the margin is only $0.24.
  5. If the price falls further, or more miners join and the machine’s share shrinks, the margin turns negative and the miner loses money on every day it runs.

Pool fees, cooling, hosting and the cost of buying the machine all come on top. The example shows why miners with cheap power and efficient machines survive downturns while others stop.

Solo mining versus a pool

Solo mining Pool mining
How often you are paid Rarely, only if you find a block Regularly, in small shares
Size of each payment The whole block reward A share based on your contribution, minus the pool’s fee
Variance Very high Lower
Who it suits Large operations, or hobby miners accepting luck Most small miners
Main risk Months with no income Trusting the pool to pay as it says

What can go wrong for a new miner

Situation What to do
A seller offers “guaranteed daily returns” Treat it as a scam warning. Mining returns depend on price, difficulty and costs.
The machine arrives and earns far less than advertised Compare the advertised figure with a calculator that uses current difficulty and your power cost.
The room overheats Mining machines are hot and loud. Plan for ventilation before you plug one in.
Income is taxable Keep records of each payout and its value on the day.
Your power bill is higher than expected Use the real tariff, including any peak rates, in your own calculation.

What it means for you

If you just want Bitcoin or another coin, buying it is far simpler than mining. See how to buy Bitcoin and, if you still want to try, how to mine crypto. Background on the first mined coin is in what Bitcoin is. Our page on what Kaspa is goes into its BlockDAG design, mining and risks.

Common questions

In many countries it is, but laws and tax rules differ, and some places restrict it. Check where you live.

Can I mine on my phone or laptop?

You can run software, but on major networks the earnings would likely not cover the electricity and wear. Treat claims of easy phone mining with suspicion.

What is a crypto miner?

A crypto miner is a person, company or machine that does the mining work. Most often the word means the specialized hardware, such as an ASIC, that runs the calculations on a proof of work network.

Is mining still profitable?

It depends on the coin price, network difficulty, hardware efficiency and electricity cost. The same machine can earn a profit in one market and a loss in another, so check with a current calculation rather than a past one.

Does mining create new coins from nothing?

Yes, within limits set by the protocol. Bitcoin’s supply is capped at 21 million, and new coins arrive only as block rewards.

Sources

  1. bitcoin.org supports: Proof of work, block creation and mining incentives
  2. github.com supports: BIP 42: subsidy halves every 210,000 blocks; total supply limited to 21 million