Cryptocurrency mining is the process of adding new transactions to a blockchain and creating new coins. Miners use specialized computers to solve complex math problems. The first miner to solve the problem gets to add a block of transactions to the chain and receives a reward in the form of new cryptocurrency plus transaction fees.
Think of it as a global competition where thousands of computers race to be the first to find a valid solution. The solution is a number called a nonce. When combined with the block's data and run through a hash function, it produces a result that meets a specific target. The target is set by the network to keep the average time between blocks steady, roughly 10 minutes for Bitcoin.
The core mechanism: proof of work
Bitcoin and many other cryptocurrencies use a system called proof of work. The "work" is the electricity and computing power spent searching for the valid nonce. Finding it is pure luck based on hashing power. A miner with 1% of the network's total hashing power will find roughly 1% of the blocks.
Once a miner finds a valid block, they broadcast it to the network. Other nodes verify the block's transactions and the solution. If everything checks out, the block is added to the chain. The miner collects the block reward, currently 3.125 Bitcoin plus fees. That reward halves roughly every four years in an event called the halving.
What miners actually do
Miners don't just run software on a laptop. Early on you could mine Bitcoin with a CPU. That stopped being profitable around 2011. Today Bitcoin mining requires ASICs, application specific integrated circuits. These are machines built solely to run the SHA-256 hashing algorithm as fast as possible with minimal electricity.
An Antminer S19 Pro, a common model, does about 110 terahashes per second. A terahash is one trillion hashes. Your laptop might do a few million. The network's total hashrate is around 600 exahashes per second, 600 million trillion hashes per second. The difficulty adjusts every 2016 blocks to keep block times near 10 minutes. If more miners join and hashrate rises, the target gets harder. If miners leave, it gets easier.
Where mining happens
Mining is now an industrial business. Large facilities house thousands of ASICs in warehouses with cheap electricity, often near hydroelectric dams, natural gas flares, or wind farms. Electricity is the biggest cost, often 60-80% of operating expenses. Miners negotiate power prices directly with utilities or build their own substations.
Some miners join pools. A mining pool combines hashrate from many participants and splits rewards proportionally. Solo mining with a single ASIC is essentially a lottery ticket. Pool mining gives steady, smaller payouts. The pool takes a small fee, usually 1-3%.
What happens when a block is mined
A block contains a list of pending transactions. Miners select which transactions to include, prioritizing those with higher fees. The block also contains the previous block's hash, linking it to the chain. Changing any transaction in a past block would change that block's hash, breaking the link. To alter a past block, an attacker would need to re-mine that block and all subsequent blocks, which requires more hashing power than the rest of the network combined. That is why the chain is secure.
Other mining methods
Not all cryptocurrencies use proof of work. Ethereum switched to proof of stake in 2022. In proof of stake, validators lock up coins as collateral and are randomly selected to propose blocks. No mining hardware is needed. But Bitcoin, Litecoin, Dogecoin, and Monero still use proof of work.
Some coins use different hash functions. Litecoin uses Scrypt, which was designed to be ASIC resistant. ASICs for Scrypt now exist anyway. Monero uses RandomX, optimized for CPUs, which makes ASIC development harder.
The economics of mining
A miner's profit depends on four things: the coin's price, the block reward, the electricity cost, and the machine's efficiency. At $60,000 Bitcoin and $0.05 per kWh electricity, an S19 Pro might earn about $8 per day after power costs. At $30,000 Bitcoin and $0.10 per kWh, the same machine loses money. Miners hedge by selling futures or holding inventory. Many miners also sell their coins immediately to cover operating costs.
Risks and realities
Mining is not passive income. Machines break. Difficulty rises. Prices drop. Governments change rules. China banned Bitcoin mining in 2021, forcing a massive relocation of hashrate to the US, Kazakhstan, and Russia. Electricity prices can spike. Supply chains for ASICs are controlled by one company, Bitmain, which creates its own risks.
For an individual, buying and holding cryptocurrency is usually simpler and less risky than mining. Mining only makes sense with access to very cheap electricity and capital for hardware that may become obsolete in 18 months. The halving cuts block rewards in half, so miners need the price to double roughly every four years just to keep revenue flat.
One practical example
Say a miner buys an S19 Pro for $2,000. It draws 3250 watts. At $0.05 per kWh, power costs $3.90 per day. At current difficulty and $60,000 Bitcoin, the machine earns about $12 per day in block rewards and fees. Gross profit is $8.10 per day. That pays off the hardware in 247 days. After that, every day is profit until the halving or a price drop. But if Bitcoin falls to $30,000, daily revenue drops to $6, and the machine loses $1.80 per day. The miner either turns it off or hopes for a rebound.
A quick checklist for evaluating a mining operation
Electricity cost per kWh. Below $0.05 is competitive. Above $0.10 is tough.
Machine efficiency in joules per terahash. Lower is better. The S19 Pro is around 30 J/TH. Newer models are under 25.
Pool fees and payout structure. PPS pays per share. FPPS includes transaction fees. PPLNS pays based on the pool's luck over a window.
Cooling method. Immersion cooling allows higher density and longer hardware life but costs more upfront.
Regulatory risk. Some jurisdictions tax mined coins as income at the time of receipt. Others ban mining outright.
The bottom line
Mining is the engine that secures proof of work blockchains. It turns electricity into digital scarcity. For most people, it is not a practical way to earn cryptocurrency. The industry is dominated by large, professional operators with access to cheap power and scale. Understanding how mining works helps explain why Bitcoin has value and how its supply schedule operates. But buying coins on an exchange is simpler, cheaper, and less risky for the average person. Trading and holding cryptocurrency carries significant risk of loss.
Prepared with AlphaScala editorial tooling, examples, and risk-context checks against our education standards. General education only, not personalized financial advice.