all learn

Mining algorithms: SHA-256, Scrypt, RandomX — and why hardware differs

The algorithm a coin picks decides what machine you need: a laptop CPU, a rack of GPUs, or a purpose-built ASIC. How algorithms steer hardware, why some resist ASICs, and what that means for who gets to mine.

2026-10-16·updated 2026-10-16·5 min·pow.family research#beginner#hardware
01

The algorithm is the puzzle

Every proof-of-work chain runs one specific hash function as its lottery — that choice is the mining algorithm. The algorithm doesn't change the game (guess a hash below the target, see the mining lesson) but it decides which hardware plays it well, because each function stresses different parts of a machine: raw compute, memory size, memory speed, or branchy program logic.

That makes the algorithm the single biggest fact about a coin for a miner: it sets your hardware bill, your electricity cost per coin, and who you're competing against.

02

The three hardware worlds

ClassDesign philosophyTypical algorithms
CPU-friendlymemory-hard or program-heavy designs that exploit big caches and complex execution — the things CPUs have and GPUs don'tRandomX (Monero and followers)
GPU-friendlyparallel-friendly math with a large-but-shared memory footprint; GPUs win on price per stream processorKAWPOW, Equihash, Groestl, Ethash-family
ASIC-dominatedsimple, repetitive hashing that fixed-function chips do orders of magnitude more efficiently than any general hardwareSHA-256 (Bitcoin), Scrypt (Litecoin family)

RandomX is the strongest CPU design in production: it generates and executes random programs in a virtual machine over a ~2 GB dataset sized to overwhelm CPU caches and punish small-memory hardware. Think of a test that requires reading random pages from a thick encyclopedia and following references between them — one person with the book on their desk beats a thousand people each holding a photocopied page. Since its 2019 deployment, no viable RandomX ASIC has shipped; to beat it you'd have to build… a general-purpose CPU.

At the other end, SHA-256 and Scrypt are simple enough that purpose-built chips (ASICs) hash them thousands of times more efficiently than GPUs. Once an ASIC exists for an algorithm, general hardware is priced out — GPUs don't stop working, they just stop being competitive.

03

ASIC resistance: three techniques

TechniqueHow it blocks fixed-function chipsSeen in
Memory hardnessdemand fast random access to gigabytes of RAM — expensive to attach to every hash coreRandomX (2 GB), Ethash-family (DAG)
Random programsmake the computation different every nonce, so there's nothing fixed to hardwireRandomX, KAWPOW/ProgPow
Algorithm rotationchange the puzzle periodically to brick whatever ASICs were builtMonero's pre-RandomX era
04

How to read an algorithm name on a coin page

  • CPU-tagged algorithm → you can mine on machines you already own; think electricity cost, not hardware capex.
  • GPU-tagged → hardware is the investment; compare coins per algorithm, since rigs switch freely inside one algorithm family.
  • ASIC-tagged → entry means buying dedicated hardware that mines *only that algorithm* — capex risk concentrates on one coin family's economics.
  • Merged-mining capable (usually Scrypt-family) → the same hash can pay a second coin; see the AuxPoW lesson.
05

See it live on pow.family

Project pages show each coin's algorithm and hardware class up front, and the Hardware section lists real benchmarked hashrates and watts per device — the numbers to plug into any rental or purchase decision.

Sources

Related
More explainers
updated 2026-10-19ASIC vs GPU vs CPU: three ways to hashupdated 2026-10-19Bitcoin block rewards: subsidy, fees, and the coinbase transactionupdated 2026-10-16Emission schedules: why coins halve, decay, or never stopupdated 2026-10-16Merged mining (AuxPoW): one electric bill, two coinsupdated 2026-10-19The mining budget checklist: the true cost of a rigupdated 2026-10-19Electricity costs: the kWh math that dominates miningupdated 2026-10-19The mining glossary: every dashboard word, definedupdated 2026-10-16Pool mining vs solo mining: the variance tradeupdated 2026-10-16What is mining? The hash lottery and the block rewardupdated 2026-10-19Algorithm compatibility: hardware must match the puzzleupdated 2026-10-19Bitcoin difficulty: the 2,016-block thermostatupdated 2026-10-19Home installation: prep and the safety checklistupdated 2026-10-16How pools work: shares, the payroll ledgerupdated 2026-10-19Reading electricity tariffs: energy, demand, and fixed feesupdated 2026-10-16Tail emission and dilution: caps vs forever-moneyupdated 2026-10-19Airflow and temperature: the intake-exhaust loopupdated 2026-10-16Auditing supply claims: three formulasupdated 2026-10-19Halving planning: model subsidy cuts without the folkloreupdated 2026-10-16Mining difficulty: the network's thermostatupdated 2026-10-16Effort and luck: reading a pool roundupdated 2026-10-19Reading miner specifications (and their units)updated 2026-10-19Stratum: how your miner talks to a poolupdated 2026-10-19Time-of-use rates: scheduling mining around the clockupdated 2026-10-19Miner vs node: who actually enforces the rulesupdated 2026-10-19Your first miner: the go/no-go checklistupdated 2026-10-19Demand charges: you're billed on your peak, not just your kWhupdated 2026-10-19Monitoring baselines and safe restartsupdated 2026-10-16PPS, PROP, PPLNS: how pools payupdated 2026-10-16Hashrate: what those TH/s numbers actually meanupdated 2026-10-19Confirmations: why 'confirmed' is a probability, not a switchupdated 2026-10-19Mine or buy? The honest comparisonupdated 2026-10-19Miner efficiency: the J/TH that decides who survivesupdated 2026-10-19Securing the operation: management access and payout custodyupdated 2026-10-16Stale shares and latency: why ping barely mattersupdated 2026-10-19Buying used miners: inspection and seller checksupdated 2026-10-19Payout address safety: the one typo that costs everythingupdated 2026-10-19Measure your miner's real power drawupdated 2026-10-19Reading profit estimates, sensitivity, and payback honestlyupdated 2026-10-19Reconciling pool payouts: expected vs actually paidupdated 2026-10-19Network difficulty vs share difficultyupdated 2026-10-19Rejected shares: the troubleshooting ladderupdated 2026-10-19Site electrical review: before you add loadupdated 2026-10-16Choosing a pool: the actual checklistupdated 2026-10-19Cooling and heat: every watt becomes heatupdated 2026-10-19Uptime, availability, and reconciling the energy model
Mining algorithms: SHA-256, Scrypt, RandomX — and why hardware differs · pow.family