Image for Part 7: Introduction to Mining. From Concept to First Hash
Technology Jun 02, 2026 • 16 min read

Part 7: Introduction to Mining. From Concept to First Hash

Learn how crypto mining actually works. From hardware choices and pool strategies to real costs and profitability. And mine your first hash today.

Share:
Lee Foropoulos

Lee Foropoulos

16 min read

Continue where you left off?
Text size:

Contents

Part 6 walked you through wallets: how they work, why your private key is the only thing that actually matters, and what happens when you lose it. If you skipped it, go back. This part assumes you understand that a transaction is a signed message broadcast to a network, not a bank transfer. That context matters here.

Now the obvious question: who actually processes those transactions? Who checks them, bundles them, and writes them permanently into the blockchain? The answer is miners. And the way they do it is stranger, more clever, and more interesting than the word "mining" suggests.

This part covers what mining actually is, how the math works, what hardware does the job, and whether any of it makes financial sense for a regular person in 2026. There are real costs, real calculations, and one genuinely elegant piece of computer science hiding underneath all the noise about electricity bills and GPU shortages. Let's get into it.

What Mining Actually Is (Hint: It's Not Digging)

The word "mining" is a metaphor that has done more harm than good. It conjures images of pickaxes and gold veins, of scarcity and physical extraction. None of that is what happens. The metaphor was chosen because miners receive newly created coins as a reward, and "creating new coins" sounds like finding gold. But the actual activity is something else entirely.

The Auditor Analogy

Think of a mining operation as a distributed auditing firm. Thousands of independent auditors around the world receive the same pile of pending transactions. Each one independently checks: are these transactions valid? Does the sender have enough funds? Are the digital signatures correct? Once satisfied, the auditor bundles those transactions into a block and tries to earn the right to submit that block to the permanent record.

That last part is where proof-of-work comes in. To submit a block, a miner must solve a cryptographic puzzle. The puzzle is hard to solve and trivially easy to verify. First one to solve it gets to add their block to the chain and collect the block reward: freshly minted coins plus transaction fees from everyone in that block.

Mining isn't digging for treasure. It's getting paid to do math homework for the internet, and the homework is what keeps the whole system honest.
Server racks with glowing lights representing mining infrastructure
Mining infrastructure at scale: thousands of processors running the same cryptographic puzzle simultaneously.

Why the Network Needs Miners

Without miners, there's no one to validate transactions, and without validation, fraud becomes trivial. Anyone could claim to send coins they don't own. The proof-of-work requirement makes fraud expensive: to rewrite history, an attacker would need to redo all the computational work for every block they want to change, faster than the honest network is adding new blocks. That's not theoretically impossible, but it's practically prohibitive at scale.

Miners are, in the bluntest terms, the security budget of the network. The more miners competing, the harder the network is to attack. The block reward is how the network pays for that security, and it works because the reward has real monetary value.

The Math Homework: Understanding Hashing

The puzzle miners solve is built on a hash function. Understanding hash functions is the key to understanding why proof-of-work actually works.

What Is a Hash Function?

A hash function takes any input, a word, a sentence, an entire novel, a block of transactions, and produces a fixed-length output called a hash or digest. Feed in slightly different input and you get a completely different output. There's no pattern, no gradient, no way to reverse-engineer the input from the output.

Bitcoin uses SHA-256 (Secure Hash Algorithm 256-bit). Every input produces a 64-character hexadecimal string. The same input always produces the same output. Change one character in the input and the output looks nothing like the previous one.

Abstract visualization of data flowing through a cryptographic function
SHA-256 in concept: any input produces a fixed 256-bit fingerprint. The relationship between input and output is deliberately unpredictable.

"A hash function is a one-way street. You can always verify you arrived at the right destination, but you can't drive backwards to find where you started."

The practical implication: there's no shortcut to finding a hash that meets specific criteria. You just have to try inputs until you get lucky.

The Nonce and the Target

Here's where the puzzle becomes concrete. A block contains a list of transactions, a reference to the previous block, a timestamp, and one special field called a nonce (number used once). Miners change the nonce, hash the whole block, and check the result. If the result doesn't meet the target, they change the nonce and try again.

The target is expressed as a leading-zeros requirement. A valid hash might need to start with 19 zeros. Finding a hash that starts with 19 zeros requires, on average, an astronomical number of attempts because each attempt is essentially random.

~600,000,000,000,000,000,000
Approximate SHA-256 hashes computed per second across the entire Bitcoin network

That's the hashrate of the network. Each individual hash takes microseconds. The network collectively tries quintillions of them per second. And yet, on average, someone finds a valid block every ten minutes. That consistency is maintained by the difficulty adjustment: every 2,016 blocks (roughly two weeks), the protocol automatically recalibrates the target based on how fast blocks were found. More miners join, difficulty rises. Miners leave, difficulty drops. The ten-minute average holds.

Verification, by contrast, takes milliseconds. Any node on the network can hash the proposed block once and confirm the answer is valid. Hard to find, instant to check. That asymmetry is the entire foundation of proof-of-work security.

Hardware 101: CPUs, GPUs, and ASICs

Mining has gone through three distinct hardware eras, and understanding each one explains a lot about which coins are worth mining today and which ones are already locked up by industrial operations.

CPUs: The Swiss Army Knife

When Bitcoin launched in 2009, miners used ordinary computer processors, CPUs (central processing units). A CPU is designed to handle a wide variety of tasks: running an operating system, executing code, managing memory. It's fast and flexible, but it runs a small number of operations at a time.

For hashing, flexibility is a liability. You don't need a Swiss Army knife. You need one blade, sharpened to an edge, swung as fast as possible. CPUs were quickly outclassed as the network grew and competition intensified. CPU mining Bitcoin today would be like entering a Formula 1 race on a bicycle.

Some smaller, newer coins still support CPU mining, often deliberately, to keep the barrier to entry low and the network decentralized.

GPUs: The Parallel Processing Powerhouse

GPUs (graphics processing units) were originally built to render thousands of pixels simultaneously. That parallel architecture turns out to be excellent for hashing: instead of one hash at a time, a GPU can run hundreds or thousands of hash attempts simultaneously.

Multiple graphics cards mounted in a mining rig frame
A GPU mining rig: multiple graphics cards working in parallel, each one running thousands of hash attempts simultaneously.
100x
Approximate hashrate improvement of a GPU over a CPU for SHA-256 mining at peak GPU-mining era

GPU mining drove the first major wave of mining professionalization around 2010 and 2011. It also drove a GPU shortage that frustrated PC gamers for years. Many altcoins (alternative cryptocurrencies) were designed with GPU-friendly hashing algorithms specifically to prevent the next hardware generation from taking over.

ASICs: Built for One Job

ASICs (application-specific integrated circuits) are chips designed to do exactly one thing. A Bitcoin ASIC does nothing but compute SHA-256 hashes. It can't run a browser or play a video. It can't even mine a different coin that uses a different algorithm. What it can do is compute SHA-256 hashes thousands of times faster than a GPU, while consuming far less electricity per hash.

Modern Bitcoin ASICs operate in the range of 100 to 300 terahashes per second. A high-end GPU manages perhaps 1 gigahash per second on SHA-256. The gap is not close.

ASIC Resistance: A Design Choice

Some coins, including Monero and Vertcoin, use hashing algorithms specifically designed to be difficult or impossible to implement efficiently in an ASIC. The goal is to keep mining accessible to GPU and CPU miners, which distributes the network more broadly and prevents industrial consolidation. Whether ASIC resistance is achievable long-term is genuinely debated, but the intent is real and the design choices reflect it.

For Bitcoin and most major proof-of-work coins, ASIC dominance is total. If you're mining Bitcoin with a GPU in 2026, you're not competing. You're donating electricity.

Solo Mining vs. Pool Mining: The Lottery Analogy

You understand the hardware. You understand the puzzle. Now the question is whether you try to solve that puzzle alone or join forces with other miners. The answer depends on how much hardware you have and how much income variance you can tolerate.

Solo Mining: Buying a Single Lottery Ticket

Solo mining means your hardware competes directly against the entire network. If you find a valid block, you keep the entire block reward. On Bitcoin, that's 3.125 BTC plus transaction fees. The problem is probability. If your hardware represents 0.0001% of the network's total hashrate, you'll find a block roughly once every few decades on average. You might get lucky tomorrow. You might wait a century. The expected value is the same either way, but the variance is brutal.

Solo mining makes sense only if you control enough hashrate to find blocks at a reasonable frequency, meaning industrial-scale operations.

Aerial view of lottery tickets spread across a surface, representing chance
Solo mining is one lottery ticket. Pool mining is buying tickets with a group: smaller individual prize, but wins happen regularly.

Pool Mining: Joining a Lottery Syndicate

Mining pools aggregate hashrate from thousands of individual miners. When the pool collectively finds a block, the reward is distributed among all contributors proportionally to how much work they contributed. Instead of one massive payout every few decades, you receive small, regular payouts that reflect your share of the pool's output.

A mining pool doesn't improve your expected earnings. It smooths them. You trade the jackpot for a steady paycheck, and for most miners, that's the only trade that makes sense.
1-3%
Typical mining pool fee, deducted from all payouts before distribution

How Pool Rewards Are Split

Different pools use different payout schemes. PPS (Pay Per Share) pays a fixed amount for every valid share you submit, regardless of whether the pool finds a block that round. It's predictable but usually carries a higher fee. PPLNS (Pay Per Last N Shares) only pays out when the pool finds a block, distributing rewards based on your recent contributions. It rewards miners who stay loyal to the pool. FPPS (Full Pay Per Share) extends PPS to include transaction fees in the calculation, not just the block subsidy.

Pool selection also matters for network health. When a small number of large pools control most of the network's hashrate, the decentralization that makes proof-of-work trustworthy starts to erode. Supporting smaller pools with competitive fees is a real way individual miners contribute to network resilience.

The Real Costs Nobody Talks About

The profitability calculators make mining look clean. Plug in your hashrate, your electricity rate, the current coin price, and a number comes out. What those calculators don't capture is everything that happens in the physical world when you run mining hardware around the clock.

Electricity: The Silent Killer of Profits

Electricity is not a secondary cost. It is the cost. Hardware is a one-time purchase. Electricity is forever, or at least for as long as the rig is running.

$0.10โ€“$0.14
Typical residential electricity cost per kilowatt-hour in the US, which determines whether most home mining operations break even

A single modern ASIC miner might draw 3,000 watts continuously. Running it for a month costs roughly 2,160 kilowatt-hours. At $0.12 per kWh, that's $259 per month in electricity for one machine. Industrial miners in regions with cheap hydroelectric or stranded natural gas power might pay $0.02 to $0.04 per kWh, which changes the math entirely. Location is not a minor variable. It's often the deciding variable.

Calculate Before You Buy

Before purchasing any mining hardware, find your actual electricity rate on your utility bill. Use the exact wattage of the hardware you're considering, not the manufacturer's "typical" figure. Run the numbers at current coin prices and then at 50% of current coin prices. If the operation isn't profitable at half today's price, you're speculating on price appreciation, not mining.

Heat Management and Cooling

Mining hardware converts electricity into two things: hashes and heat. The heat has to go somewhere. A single GPU mining rig running six cards produces enough thermal output to noticeably warm a small room. A rack of ASICs generates heat comparable to a commercial kitchen.

Open-air rigs in well-ventilated spaces work for small GPU operations. Dedicated rooms with intake and exhaust fans work for larger setups. Industrial operations use evaporative cooling, immersion cooling (submerging hardware in dielectric fluid), or purpose-built facilities with industrial HVAC. Each step up in cooling infrastructure adds capital cost and ongoing maintenance.

Sustained high temperatures shorten hardware lifespan. A GPU running at 85 degrees Celsius continuously will degrade faster than one running at 65 degrees. Cooling isn't optional. It's part of the operating cost.

Noise: Living With a Mining Rig

An ASIC miner in a home office isn't background noise. It's a jet engine in a box. Plan accordingly before it arrives.

GPU rigs are loud. A six-GPU rig under load produces somewhere between 55 and 70 decibels, comparable to a vacuum cleaner running continuously. You can tolerate it in a garage or basement. You cannot work next to it.

ASICs are worse. Many commercial ASIC miners operate at 75 to 85 decibels. Some exceed that. At 85 dB, continuous exposure over an eight-hour workday reaches OSHA's threshold for hearing protection requirements. Running an ASIC in a living space is not a quality-of-life decision anyone makes twice. Dedicated space with acoustic treatment, or at minimum a closed door and distance, is not optional.

Calculating Profitability: The Formula That Matters

Everything up to this point has been qualitative. Now the math.

The Core Equation: Hashrate ร— Reward โˆ’ Costs

The profitability formula is straightforward in structure, even if the inputs are volatile:

Daily Profit = (Your Hashrate / Network Hashrate) ร— Daily Block Rewards ร— Coin Price โˆ’ Daily Electricity Cost โˆ’ Pool Fee โˆ’ Daily Hardware Depreciation

Walk through a realistic example. Suppose you're mining a coin where the network produces 144 blocks per day, each worth 2 coins, and the coin trades at $50. Network hashrate is 100 petahashes per second. Your ASIC contributes 100 terahashes per second, which is 0.1% of the network.

Your daily coin earnings: 0.001 ร— 288 coins = 0.288 coins = $14.40. Your ASIC draws 3,000 watts. At $0.10 per kWh, daily electricity cost is $7.20. Pool fee at 1% takes $0.14. Hardware depreciation on a $3,000 machine over a two-year lifespan is roughly $4.11 per day. Daily profit: $14.40 โˆ’ $7.20 โˆ’ $0.14 โˆ’ $4.11 = $2.95.

Mountain landscape at sunrise representing the horizon of break-even and profitability
Profitability projections look clear from a distance. The closer you get, the more variables you find hiding in the terrain.

Tools and Calculators to Use

Three tools are worth bookmarking. WhatToMine lets you input your hardware specs and electricity cost, then shows estimated profitability across dozens of mineable coins. NiceHash's profitability calculator is oriented toward their marketplace but gives useful benchmarks for common hardware. **

Choosing What to Mine: Coins and Algorithms

Not every coin is worth mining on every machine. A GPU that crushes Ravencoin will waste its potential on a coin designed for CPUs. A CPU miner pointed at Bitcoin will earn essentially nothing. Hardware compatibility isn't optional advice; it's the starting point for every mining decision you make.

Three coins stand out for beginners because their algorithms match widely available hardware and their communities actively support new miners.

Litecoin uses Scrypt, a memory-hard algorithm originally designed to resist the ASIC takeover that consumed Bitcoin mining. ASICs now exist for Scrypt too, but GPU miners can still participate meaningfully, especially through merge mining with Dogecoin.

Monero uses RandomX, an algorithm deliberately engineered to favor CPUs over specialized hardware. That design choice is a philosophical statement: Monero's community believes mining should be accessible to anyone with a standard computer, not just warehouses full of custom silicon.

Ravencoin uses KawPow, a GPU-friendly algorithm that resists ASICs through memory-intensive computation. It's a solid entry point for anyone with a mid-range gaming GPU sitting idle.

Algorithm Compatibility With Your Hardware

The major algorithms each have a personality. SHA-256 is Bitcoin's algorithm; it's fast, simple, and so thoroughly dominated by ASICs that CPU or GPU mining it is pointless. Scrypt is more memory-intensive. Ethash was Ethereum's algorithm before the 2022 merge to proof-of-stake; some coins still use it. RandomX is CPU-native. KawPow is GPU-native and ASIC-resistant.

Check Before You Mine

Before committing to a coin, run your hardware specs through WhatToMine. Enter your GPU model or CPU, your electricity rate in dollars per kilowatt-hour, and let it calculate estimated daily profit across dozens of coins simultaneously.

The trade-off between established coins and speculative newer ones is real. Established coins offer predictable difficulty and liquidity. Newer coins sometimes offer higher early rewards, but the price can collapse before you convert a single payout. Merge mining, where one mining effort simultaneously earns two compatible coins, is worth learning once you're comfortable. Litecoin and Dogecoin merge mining is the most accessible example available right now.


Getting Started: Pick a Coin, Pick a Pool, Run the Software

Mining has four moving parts: a wallet to receive funds, a pool to coordinate your work, software to perform the hashing, and a monitor to confirm everything is running. Get these four things right and your first accepted share is a matter of hours.

Step 1. Set Up a Wallet

Start with a non-custodial wallet for the specific coin you're mining. Non-custodial means you hold the private keys; no exchange or service can freeze your funds or require identity verification to access them. For Monero, the official Monero GUI Wallet is the standard choice. For Ravencoin, Ravencoin Core or a compatible light wallet works well. Write down your seed phrase on paper. Store it somewhere that isn't your computer.

Your Wallet Address Is Your Payout Destination

The address you generate here goes directly into your mining software config. Any mistake in that address means your payouts disappear permanently. Triple-check it before you start the miner.

Step 2. Choose and Join a Pool

Solo mining a major coin is statistically equivalent to buying a lottery ticket every ten minutes. Pools aggregate hashrate from thousands of miners and distribute proportional rewards. When choosing a pool, look at four things: fee percentage (1-2% is standard), payout method (PPLNS rewards loyal miners; PPS pays a fixed rate per share), uptime history, and pool size.

Size matters in both directions. A pool controlling 40% of a network's hashrate is a centralization problem. A pool with three active miners pays out so rarely that you'll question whether your miner is working. Aim for a pool in the 5-15% range of total network hashrate.

Step 3. Install and Configure Mining Software

XMRig is the standard for Monero CPU mining. T-Rex is widely trusted for NVIDIA GPU mining. lolMiner handles both NVIDIA and AMD. CGMiner is older but still functional for certain setups. Download from the official GitHub repository or the developer's verified site. Nowhere else.

The config file is straightforward. You need three things: the pool URL (provided by your pool's setup page), your wallet address, and a worker name you choose yourself. The worker name is just a label so you can identify individual machines on the pool dashboard.

json
1{
2  "pool": "pool.supportxmr.com:3333",
3  "wallet": "YOUR_WALLET_ADDRESS_HERE",
4  "worker": "rig01"
5}

Step 4. Monitor Your First Hash

Your first accepted share is the moment mining stops being theory. The pool confirmed your work. The blockchain noticed you exist.

When you start the miner, watch the console output for two things: hashrate and accepted shares. Hashrate tells you how fast your hardware is working. Accepted shares tell you the pool is receiving and validating your work. If you see accepted shares within the first ten minutes, everything is configured correctly.

Every reputable pool provides a web dashboard. Enter your wallet address into the pool's search bar and you'll see your worker status, hashrate over time, estimated earnings, and pending balance. Set up any available email or hashrate-drop alerts. Your first payout typically arrives after you cross the pool's minimum threshold, which varies but often sits around 0.1 XMR for Monero pools.

Start small. One machine, one coin, one pool. Understand the full cycle before you add hardware or complexity.


Common Mistakes Beginners Make (And How to Avoid Them)

The gap between "this looks profitable" and "this is actually profitable" is where most new miners lose money. These mistakes are predictable, which means they're also preventable.

Overestimating Profits

Mining calculators show you today's numbers. Coin prices move fast, and not always upward. A coin trading at a price that makes your setup profitable today could drop 80% within a week. That's not a hypothetical; it has happened repeatedly across multiple market cycles.

80%
Typical peak-to-trough price drop for mid-tier altcoins during bear market cycles

Build your profitability estimate around a conservative price scenario, not the current peak. If the math only works when the coin is at its all-time high, the math doesn't work.

Ignoring Electricity Costs

Electricity is the single cost that never stops. Hardware is a one-time purchase. Electricity bills arrive every month regardless of what the coin is doing.

A GPU drawing 200 watts running continuously costs roughly $17.52 per month at $0.12 per kilowatt-hour. That's before you account for the rest of your system's power draw. Many beginners calculate gross mining revenue and forget to subtract this number entirely.

The #1 Beginner Mistake

Forgetting electricity costs. Run WhatToMine with your actual kilowatt-hour rate filled in. If the profit column turns red, the hardware is losing money. Full stop.

Skipping Security Basics

Malware targeting miners is widespread. Fake mining software replaces your wallet address with the attacker's address, quietly redirecting every payout you earn. Download software only from official GitHub repositories or developer-verified sources.

Secure your payout wallet address. Keep the private keys offline. Don't paste your wallet address into random websites or Discord bots claiming to calculate your earnings.


Your Mining Starter Checklist

Mining Starter Checklist 0/14

Treat this checklist as a repeatable process. Every time you add a new coin or a new machine, run through it again from the top.


What's Next: Mining in the Broader Crypto Ecosystem

How Mining Connects to Everything Else in This Series

Part 6 covered how transactions are structured and broadcast across the network. Mining is where those transactions go to become permanent. Every unconfirmed transaction sitting in the mempool is waiting for a miner to bundle it into a block, hash that block below the target difficulty, and add it to the chain. Without mining, there is no confirmation. Without confirmation, there is no blockchain.

That connection runs through everything covered in this series. Wallets generate the addresses. Transactions move value between them. Blocks group transactions together. Mining secures the blocks. The chain records everything in order. These aren't separate concepts. They're one system.

Understanding mining doesn't just teach you how new coins get created. It teaches you why the blockchain is trustworthy at all.

The Debate: Proof-of-Work vs. Proof-of-Stake

Proof-of-work consumes electricity by design. That's not a flaw its defenders acknowledge reluctantly; it's the mechanism they argue makes the system trustworthy. Burning real-world energy to produce a valid hash means attacking the network requires burning real-world energy at massive scale. The cost is the security.

Proof-of-stake, which Part 8 covers in full, replaces energy expenditure with economic collateral. Validators lock up coins as a security deposit instead of running mining hardware. Ethereum made this transition in 2022. The trade-offs between the two models are genuinely complex, and the debate is still active.

If you want a hands-on way to solidify everything in this part before moving on, set up a Monero CPU miner on any spare machine. Even a modest setup running for a few days will teach you more than another hour of reading.

Part 8 is the final installment in this series. It brings together every concept from Parts 1 through 7, walks through proof-of-stake in depth, and maps out where the broader crypto ecosystem sits right now. Don't skip it.

How was this article?

Share

Link copied to clipboard!

You Might Also Like

Lee Foropoulos

Lee Foropoulos

Business Development Lead at Lookatmedia, fractional executive, and founder of gotHABITS.

🔔

Never Miss a Post

Get notified when new articles are published. No email required.

You will see a banner on the site when a new post is published, plus a browser notification if you allow it.

Browser notifications only. No spam, no email.

0 / 0