Algorithms

Mining algorithms: SHA-256, Scrypt, kHeavyHash, Equihash and more

Author: Updated 3 min read

Těžební algoritmy – PC Praha

A mining algorithm is the hash function a miner must compute to find a block of a given cryptocurrency. An ASIC miner is built for one specific algorithm: a SHA-256 machine mines only Bitcoin and SHA-256 coins, a Scrypt machine only Litecoin, Dogecoin and related coins. When choosing a miner, you therefore choose the algorithm first and only then the model.

Summary

  • One ASIC = one algorithm. You can only switch between coins on the same algorithm.
  • Hashrate on different algorithms is measured in different units (TH/s, GH/s, KSol/s…) and cannot be compared between them.
  • Between algorithms, you compare earnings in crowns and the electricity price at which the machine breaks even.
  • The largest and most stable market is SHA-256 (Bitcoin); smaller algorithms have more volatile earnings.

Overview of algorithms and coins

Algorithm Main coins Hashrate unit Earnings as of 23 Nov 2026 Example machine
SHA-256 Bitcoin, Bitcoin Cash, BSV, eCash, Fractal Bitcoin TH/s 0.64 Kč per 1 TH/s Antminer S23 Hyd
Scrypt Litecoin + Dogecoin (merged mining) GH/s 6.83 Kč per 1 GH/s Antminer L9
kHeavyHash Kaspa TH/s 2.93 Kč per 1 TH/s IceRiver KS7
Equihash Zcash KSol/s 0.77 Kč per 1 KSol/s Antminer Z15 Pro
Blake3 Alephium TH/s 2.84 Kč per 1 TH/s Antminer AL1
X11 Dash GH/s 0.06 Kč per 1 GH/s Antminer D9
Etchash Ethereum Classic GH/s 6.99 Kč per 1 GH/s ETC ASIC
Blake2b-Sia BTCB2, Siacoin TH/s 45.04 Kč per 1 TH/s iBeLink BM-S3+
zkSNARK Aleo MH/s 0.06 Kč per 1 MH/s IceRiver AE3
Eaglesong Nervos (CKB) TH/s 1.71 Kč per 1 TH/s Goldshell CK
RandomX Monero KH/s 0.74 Kč per 1 KH/s processor (CPU)
SHA3x Tari GH/s 0.04 Kč per 1 GH/s Tari ASIC

The earnings are gross, before paying for electricity, and change every hour with the exchange rate and difficulty. That is why you should not compare the figures between rows directly – a Scrypt machine has 16 GH/s, a SHA-256 machine hundreds of TH/s. You will find a comparison of real machines in the article The most profitable ASIC miners today.

Why the algorithm matters

  • Market size – SHA-256 and Scrypt have large, liquid coins and many machine manufacturers. The machines also sell well second-hand.
  • Risk – with small algorithms, a single new generation of machines or a fall in the coin price can cut earnings to a fraction within weeks. Examples: Aleo in 2026 or InitVerse.
  • ASIC resistance – some coins (Monero, RandomX) deliberately use an algorithm for which building an ASIC hardly pays off, and are mined on processors.
  • Switching – a SHA-256 miner can mine Bitcoin Cash or another SHA-256 coin at any time if it is more profitable. It cannot, however, be switched to a different algorithm.

How to choose an algorithm

  1. Want the most stable market and a long machine life? SHA-256 (Bitcoin).
  2. Want to diversify and mine two coins at once? Scrypt (Litecoin + Dogecoin).
  3. Willing to take on higher risk for the chance of higher earnings? Smaller algorithms (Kaspa, Zcash, Alephium) – but only with part of your budget.

A detailed procedure is in the guide How to choose an ASIC miner.

What next

Earnings according to our hourly recalculation as of 23 November 2026, 0:59. This is not investment advice.

Frequently asked questions

Can an ASIC miner mine any cryptocurrency?
No. An ASIC is built for one algorithm. A SHA-256 machine mines Bitcoin and other SHA-256 coins, but not Litecoin or Kaspa.
Which algorithm is the most profitable?
It depends on the specific machines and the electricity price, not on the algorithm itself. We compare the earnings of all machines in crowns every hour on the ASIC miner profitability page.
Why is hashrate measured in different units?
Each algorithm has a different computational cost. That is why a Scrypt miner's hashrate is given in GH/s and a Bitcoin miner's in TH/s, and the figures cannot be compared.
Which algorithm is the safest choice?
SHA-256 (Bitcoin) has the largest and most liquid market, and the machines also sell well second-hand. Smaller algorithms carry a higher risk of a rapid fall in earnings.

This text was prepared with the help of AI. Facts, figures and procedures were checked by Yegor.

More articles in Mining wiki