Bitcoin Mining Economics Simplified

This article was originally published in Bitcoin Magazine The Privacy Issue.

Bitcoin mining is a competitive industry where profitability hinges on understanding and managing various factors including power cost, hashprice, BTCUSD, network hashrate, hardware costs, efficiency, and more. One of the simplest yet most crucial metrics miners use to gauge their efficiency and profitability is hash cost. 

We’ve seen this industry change over the years and most recently victors have been decided by razor-thin margins; understanding a path to profit is a critical success factor. In this article, we explore the basics of hash cost, how to calculate it, and why it’s a critical number for miners to keep in their back pockets. We’ll also delve into the concept of hash price and provide an illustration to see hash profitability across various scenarios.

Bitcoin mining has evolved significantly since the network’s inception in 2009. Initially, mining could be performed using standard CPUs, but as the network grew, miners transitioned to GPUs and eventually specialized ASICs (application-specific integrated circuits). Each advancement brought about improvements in efficiency and reductions in hash cost. Understanding this evolution is key to appreciating the current state of mining and its future direction. You can see how hashrate and efficiency have radically changed over time.

Bitcoin Mining Hardware Evolution

YearMining HardwareModelHashrate (TH/s)Power Consumption (Watts)Efficiency (W/TH)
2009CPUIntel Core i70.00000513026,000,000
2010GPUATI Radeon HD 59700.00075300400,000
2011FPGAXilinx Spartan-6 LX1500.00151510,000
2012ASICAvalon Generation 10.0045600133,333
2013ASICBitmain Antminer S10.183602,000
2014ASICBitmain Antminer S30.44390886
2015ASICBitmain Antminer S51.15590513
2016ASICBitmain Antminer S74.731,290273
2017ASICBitmain Antminer S914.01,37298
2018ASICBitmain Antminer S1528.01,59657
2019ASICBitmain Antminer S17 Pro53.02,10040
2020ASICBitmain Antminer S19 Pro110.03,25029.5
2021ASICBitmain Antminer S19j Pro96.02,85029.6875
2022ASICBitmain Antminer S19 XP140.03,01021.5
2023ASICBitmain Antminer S19j XP151.03,35022.2

What is Hash Cost?

Hash cost is the cost of producing one terahash per second (TH/s) of bitcoin mining power. Miners with a lower efficiency (W/TH) will have a lower hash cost, which is precisely what you want. Knowing hash cost helps miners quickly determine their operating costs and profitability. It provides a clear picture of how much it costs to operate a single miner, which is essential for tracking profitability against the revenue generated from that hashing power, known as hashprice.

Calculating Hash Cost

For the purpose of this article we use one of the most commonly deployed miners, the Bitmain Antminer S19j Pro 96 model, which has a power consumption of 2,850 watts and a hashrate of 96 TH/s. We’ll also use a power rate of $0.075 per kWh. This model is now several years old but it’s modern enough to benefit from aftermarket firmware and decent efficiency. 

Miner Efficiency

First, let’s calculate the miner’s efficiency:
Efficiency = Watts / Hashrate (TH/s)​

For the Bitmain Antminer S19j Pro 96 model:

Efficiency= 2,850 watts/96 TH/s = 29.6875 watts per TH/s

Power Consumption in kWh

Next, we convert efficiency into kilowatt-hours (kWh) over a 24-hour period:

Efficiency (kWh)= 29.6875 watts per TH/s / 1,000 = 0.0296875 kWh per TH/s

Hash Cost

Using the power rate, we can now calculate the hash cost:

Hash Cost = Efficiency (kWh per TH/s) × Power Rate × 24 hours

Hash Cost = 0.0296875 × $0.075 × 24 hours = $0.053/TH/s/Day

This means it costs approximately $0.053 per TH/s per day to run the Bitmain Antminer S19j Pro 96 model at a power rate of $0.075 per kWh.

Why Hash Cost Matters

Understanding your hash cost allows you to track your profitability against hashprice: Hashprice is the revenue generated from your hashrate. Knowing your hash cost helps you quickly determine if you are operating at a profit or a loss. 

For reference the formula for hashprice is:

  • Hashprice = BTCUSD × (1/(Hashrate in EH/s × 0.01)) × 450 btc mined per day × 0.00000001 sats

Understanding hash cost and hashprice help miners make informed decisions. By comparing your hash cost to the hash price, you can decide whether to continue mining, scale your operations, or even shut down if the costs outweigh the benefits. This will help miners adjust their strategies based on market conditions. With hashprice hitting all-time lows after the halving, it’s more important than ever to understand these metrics. For example, miners might put their machines in low power mode in order to increase their efficiency and mine profitably, and when hashprice increases they can return to normal power mode.

Your hash cost is pretty much locked in once you deploy the machines, but hashprice fluctuates based on network hashrate and the price of bitcoin. Based on our formulas for hash cost and hashprice, we can model out various scenarios to see how hashrate and price affect

Hashrate and BTC Price Scenarios

EH/s$50,000$100,000$150,000$200,000$250,000
600-$0.016$0.022$0.059$0.097$0.134
700-$0.021$0.011$0.043$0.075$0.107
800-$0.025$0.003$0.031$0.059$0.087
900-$0.028-$0.003$0.022$0.047$0.072
1,000-$0.031-$0.008$0.014$0.037$0.059
Hash Profit

This table illustrates the S19j Pro with $0.075 kWh prices, as outlined in the earlier hash cost example. You can see the hash profit for this machine is a slim margin. Even at $100,000 BTCUSD, the machine barely turns a profit when the network reaches 800 EH/s, which will happen sooner than any of us can imagine. The next key takeaway is that achieving a hash profit greater than $0.10 on this machine is very challenging. It will require a very significant BTCUSD price increase and a slow rise in the network hash rate, which is never too far behind upward price swings. 

For bitcoin miners, hash cost is one of the most simple yet important metrics that ensures they stay informed about their operational efficiency and profitability. By keeping an eye on both hash cost and hashprice, miners can navigate the ever-changing landscape of bitcoin mining, especially during periods of low hashprices. The key takeaway from this article would be this: Calculate your hash cost and keep an eye on hashprice, and if you can’t survive 80% drawdown in BTCUSD then don’t mine bitcoin — just stack sats. Avoid the razor’s edge if you can.

Leave a Reply

Bitcoin Mining Economics Simplified