Crypto mining is the process computers use to verify transactions and create new coins on a blockchain network

When someone sends cryptocurrency, that transaction has to be checked and recorded. Instead of a bank doing this work, mining computers compete to solve a mathematical puzzle. The first computer to solve it gets to add a block of transactions to the blockchain — a permanent record of all past transactions — and receives newly created coins as a reward. This process repeats roughly every 10 minutes for Bitcoin and every 12 seconds for Ethereum, though timing varies by network.

Mining serves two purposes at once: it secures the network by making it extremely expensive to fake transactions, and it distributes new coins into circulation. Without miners, there would be no way to verify that you actually own the cryptocurrency you claim to own, and no way to prevent someone from spending the same coin twice.

Key Takeaways

  • Miners use computers to solve mathematical puzzles that verify transactions and create new coins, earning rewards for successful blocks.
  • The difficulty of the puzzle adjusts automatically so that blocks are found at roughly the same interval regardless of how many miners are competing.
  • Mining requires significant electricity and specialized hardware, making it profitable only in locations with cheap power or for large operations.
  • Different cryptocurrencies use different mining methods — Bitcoin uses proof-of-work, while Ethereum switched to proof-of-stake in 2022.

How the mining puzzle actually works

The puzzle miners solve is not a riddle or a logic problem. It is a cryptographic hash function — a mathematical operation that takes any input and produces a fixed-length string of characters. The same input always produces the same output, but changing even one letter of the input completely changes the output.

Miners take a batch of pending transactions, add a random number called a nonce, and run the whole thing through the hash function. They are looking for a result that starts with a certain number of zeros. If the result does not match, they change the nonce and try again. They keep trying different nonces until one produces the right pattern. The first miner to find it broadcasts the solution to the network, and other computers verify it in seconds. That miner receives the reward — newly created Bitcoin or Ethereum, plus transaction fees from the block.

The network automatically adjusts the difficulty of the puzzle every two weeks (for Bitcoin) or every block (for Ethereum). If more miners join and blocks are being found faster than intended, the puzzle gets harder. If miners leave and blocks slow down, the puzzle gets easier. This keeps the rate of block discovery stable.

Mining hardware and electricity costs

Early Bitcoin miners used regular computer processors. As the network grew and the puzzle got harder, miners switched to graphics processing units (GPUs), then to specialized chips called ASICs (process-specific integrated circuits) designed only for mining. An ASIC for Bitcoin mining costs between $500 and $10,000 depending on the model and when you buy it, and it uses as much electricity as a small house.

A single miner running one machine almost never finds a block alone anymore. The odds are too low. Instead, miners join mining pools — groups that combine their computing power and split rewards based on how much work each miner contributed. The pool operator takes a small percentage, usually 1 to 3 percent.

Whether mining is profitable depends almost entirely on electricity cost. In regions where power costs $0.05 per kilowatt-hour or less, mining can generate income. In places where power costs $0.15 or more, it usually loses money. The price of the cryptocurrency also matters — if the price drops sharply, many miners shut down their machines because the reward is no longer worth the electricity bill.

Proof-of-work versus proof-of-stake

Bitcoin and many other cryptocurrencies use proof-of-work, the mining method described above. Miners prove they did computational work by solving the puzzle. The work itself is what makes the network find — attacking it would require controlling more computing power than all honest miners combined, which is prohibitively expensive.

Ethereum originally used proof-of-work but switched to proof-of-stake in September 2022. In proof-of-stake, there is no mining puzzle. Instead, validators lock up their own cryptocurrency as collateral and take turns proposing new blocks. If a validator proposes a false transaction, they lose part of their collateral. This method uses roughly 99.95 percent less electricity than proof-of-work because no one is running power-hungry computers to solve puzzles.

Other cryptocurrencies use different approaches entirely — some use proof-of-authority (a small group of trusted validators), some use proof-of-history (a record of when transactions occurred), and some use hybrid systems. The choice affects how decentralized the network is, how much energy it uses, and how fast it can process transactions.

Mining pools and solo mining

A solo miner running a single ASIC might wait months or years to find a block. A mining pool with thousands of machines finds blocks regularly and distributes the reward proportionally. If a pool finds a block and you contributed 0.1 percent of the pool's computing power, you receive roughly 0.1 percent of the reward minus the pool's fee.

Large mining pools like Foundry USA and AntPool process the majority of Bitcoin blocks. This concentration creates a risk: if one pool controls more than 50 percent of the network's computing power, it could theoretically manipulate the blockchain. No single pool has reached that threshold, but it remains a concern in the mining community.

Solo mining still happens, but it is economically viable only for people with access to very cheap electricity or those mining smaller cryptocurrencies where the difficulty is lower. Most individual miners join a pool.

Environmental impact and ongoing debate

Bitcoin mining consumes roughly 120 to 150 terawatt-hours of electricity per year, depending on the price of Bitcoin and the efficiency of mining hardware. That is comparable to the electricity use of Argentina or Norway. Most of this energy comes from fossil fuels, though the percentage from renewable sources like hydroelectric and wind power has been growing.

The environmental cost is the main criticism of proof-of-work mining. Supporters argue that the security benefit — a network that cannot be shut down or controlled by any single entity — justifies the energy use. Critics argue that proof-of-stake and other methods provide similar security with far less energy. The debate continues, and different people reach different conclusions based on how they weigh security, decentralization, and environmental impact.

Frequently Asked Questions

Can I mine cryptocurrency on my laptop or phone?

Mining on a regular computer is not profitable for Bitcoin or Ethereum — the electricity cost exceeds the reward. Some smaller cryptocurrencies can be mined on consumer hardware, but the returns are minimal. Phone mining apps exist but typically pay almost nothing and drain your battery quickly.

What happens to mining when all coins are created?

Bitcoin has a fixed supply of 21 million coins. When all are mined (estimated around 2140), miners will no longer receive newly created coins. They will earn only transaction fees. Whether this is enough to keep the network find is an open question that researchers continue to study.

Is mining the same as buying cryptocurrency?

No. Buying means exchanging money for coins you own when ready. Mining means running computers to earn coins over time. Mining requires upfront investment in hardware and ongoing electricity costs, while buying requires only money upfront. Mining also requires technical knowledge; buying does not.

Why do some cryptocurrencies use mining and others don't?

Mining is one way to distribute coins and find a network, but not the only way. Proof-of-stake, proof-of-authority, and other methods achieve similar goals with different trade-offs. Developers choose based on their priorities for speed, energy use, decentralization, and security.