mrb's blog

Electricity consumption of Bitcoin: a market-based and technical analysis

Keywords: mining asic energy efficiency

I drew a chart juxtaposing the Bitcoin hash rate with the market availability of mining ASICs and their energy efficiency. This allows calculating with certainty the lower and upper bounds for the global electricity consumption of miners. So many other analyses are flawed that I decided to publish my own. (As a side note, in my opinion none of this electricity use is wasteful.)

Hash rate and mining ASICs efficiency

I split the timeline in 10 phases representing the releases and discontinuances of mining ASICs. See the references and a commentary on the data behind this chart.

I reached out to some Bitcoin ASIC manufacturers when doing this market research. Canaan was very open and transparent (thank you!) and gave me one additional extremely useful data point: they manufactured a total of 191 PH/s of A3218 ASICs.1

Determining the upper bound for the electricity consumption is then easily done by making two worst-case assumptions. Firstly we assume that 100% of the mining power added during each phase came from the least efficient hardware available at that time that is still mining profitably.2 Furthermore, despite A3218 being the least efficient in phases 5-8 we can only assume 191 PH/s of it were deployed, and the rest of the hash rate came from the second least efficient ASIC:

  • Phase 0: 290 PH/s @ 0.51 J/GH (BM1384)3
  • Phases 1-3: 150 PH/s @ 0.51 J/GH (BM1384)
  • Phase 4: 40 PH/s @ 0.25 J/GH (BM1385)
  • Phase 5: 191 PH/s @ 0.29 J/GH (A3218) + 159 PH/s @ 0.25 J/GH (BM1385)
  • Phase 6: 670 PH/s @ 0.25 J/GH (BM1385)
  • Phase 7: 350 PH/s @ 0.20 J/GH (Bitfury 28nm)
  • Phase 8: 150 PH/s @ 0.13 J/GH (BF8162C16)
  • Phase 9: 1250 PH/s @ 0.15 J/GH (A3212)
  • Average weighted by PH/s: 0.238 J/GH

Secondly we assume none of this mining power, some of it being barely profitable, was ever upgraded to more efficient hardware.

Therefore the upper bound electricity consumption of the network at 3250 PH/s assuming the worst-case scenario of miners deploying the least efficient hardware of their time (0.238 J/GH in average) is 774 MW or 6.78 TWh/year.

Now, what about a lower bound estimate? We start with a few observations about the latest 4 most efficient ASICs:

  • Bitfury BF8162C16’s efficiency can be as low as 0.06 J/GH. But the clock and voltage configuration can be set to favor speed over energy efficiency. All known third party BF8162C16-based miner designs favor speed at 0.13 J/GH (1, 2). Bitfury’s own private data centers also favor speed with their immersion cooling technology (1, 2, 3). The company once advertised the BlockBox container achieved 0.13 J/GH (2 MW for 16 PH/s), presumably close to the efficiency achieved by their data centers. But we want to calculate a lower bound, so let’s assume the average BF8162C16 deployed in the wild operates at 0.10 J/GH.
  • KnCMiner Solar is exclusively deployed in their private data centers and achieves an efficiency of 0.07 J/GH.
  • Bitmain BM1387’s efficiency is 0.10 J/GH.
  • Canaan A3212’s efficiency is 0.15 J/GH.

As to market share, we know KnCMiner declared bankruptcy and was later acquired by GoGreenLight. They currently account for 0.3% of the global hash rate… a rounding error we can ignore.

Therefore the lower bound electricity consumption of the network at 3250 PH/s assuming the best-case scenario of 100% of miners currently running one of the latest 3 most efficient ASICs (at best 0.10 J/GH) is 325 MW or 2.85 TWh/year.

Can we do better than merely calculating lower and upper bounds? I think so, but with the exception of Canaan,1 other mining hardware manufacturers tend to be secretive about their market share, so anything below are just educated guesses…

Virtually all of the 1750 PH/s added after June 2016 came from BF8162C16, BM1387, and A3212, with the latter having the smallest market share. So the average efficiency of this added hash rate is likely around 0.11-0.13 J/GH. This represents 190-230 MW.

I would further venture that out of the 1500 PH/s existing as of June 2016, perhaps half was upgraded to BF8162C16/BM1387/A3212, while the other half remains a mixture of BM1385 and A3218. This represent 750 PH/s at 0.11-0.13 J/GH, and 750 PH/s at 0.26-0.28 J/GH, or a total of 280-310 MW.

I believe an insignificant proportion of the hash rate (less than 5%?) comes from all other generations of ASICs. Bitfury BF864C55 and 28nm deployments were upgraded to BF8162C16. KnCMiner/GoGreenLight represents 0.3%. BM1384 is close to being unprofitable. RockerBox, A3222, Neptune have long been unprofitable.

Therefore my best educated guess for the electricity consumption of the network at 3250 PH/s adds up to 470-540 MW or 4.12-4.73 TWh/year.

Economics of mining

Given the apparent high energy-efficiency, hence relatively small percentage of mining income that one needs to spend on electricity to cover the operating costs of an ASIC miner, it may seem that mining is an extremely profitable risk-free venture, right?

Not necessarily. Though mining can be quite profitable, in reality it depends mostly on (1) luck about when BTC gains in value and (2) timing of how early a given model of mining machine is put online (compared to other competing miners deploying the same machines.) I say this as founder of mining ASIC integrator TAV, as an investor who deployed over time $250k+ of GPUs, FPGAs, and ASICs, and as someone who once drove 2000+ miles to transport his GPU farm to East Wenatchee, Washington State in 2011 in order to exploit the nation’s cheapest electricity at $0.021/kWh—yes it was worth it!

To demonstrate the real-world profitability of a miner, I modeled the income and costs generated by an Antminer S5 (batch 1) ($418, 590 W, 1155 GH/s) starting from its release date on 27 December 2014, assuming mined bitcoins are sold on a daily basis at the Coindesk BPI, and assuming $0.05/kWh. See income-antminer-s5.csv

The CSV file shows that on its first day an S5 mined 0.01472124 BTC = $4.64, cost $0.71 in electricity, therefore generated $3.93 of income (15% of mining income is spent on electricity.)

The income decreased over time. 1 year and 9 months later, on 8 October 2016, electricity costs surpassed income for the first time. By that date the total income was $1021. So a miner who had invested $418 into an S5 would have turned it into $1021, a 2.4× gain. So yes mining was quite profitable!4

Some interesting observations:

  • By 15 January 2016 84% of the lifetime income of the S5 had been generated; at this point 39% of the daily income ($0.71 out of $1.84) was being spent on electricity.
  • By 15 July 2016 99% of the lifetime income of the S5 had been generated; at this point 78% of the daily income ($0.71 out of $0.90) was being spent on electricity.

The S5 started with electricity costs at 15%, generated a good chunk of its income by 39%, and essentially became worthless beyond 78%.

Summary

A market-based and technical analysis of the hash rate added over time allows calculating the lower and upper bounds, as well as determining a best guess for the global electricity consumption of Bitcoin miners, their energy efficiency, annual electrical costs (assuming $0.05/kWh), and percentage of the world’s energy consumption,5 as of 26 February 2017:

Lower bound Best guess Upper bound
325 MW 470-540 MW 774 MW
2.85 TWh/yr 4.12-4.73 TWh/yr 6.78 TWh/yr
0.100 J/GH 0.145-0.166 J/GH 0.238 J/GH
$142M/yr $206-237M/yr $339M/yr
0.00260% 0.00376-0.00432% 0.00619%

Lastly, this may sound like a lot of electricity but as I said in the introduction, when considering the big picture Bitcoin mining is not wasteful.

Updates

On 11 March 2017 I removed the assumption that sales of A3218 dwindled down to practically zero post-June 2016, because although sales volume did decrease I do not have precise metrics to justify it.6

On 13 March 2017 I made the calculation of the upper bound for the electricity consumption more accurate (was 861 MW, now 774 MW), thanks to A3218 production volume provided by Canaan.

On 16 March 2017 I added the section Economics of mining.

References and commentary

The chart covers the period 2014-12-15 to 2017-02-26. Starting as early as December 2014 is sufficient for accurate modeling because only one ASIC released in phase 0 is still profitable: Bitfury BF864C55. All others are no longer profitable.

The daily hash rate data was obtained from Quandl; the curve was smoothed out by calculating each day as the average of this day and the 9 previous ones.

All energy efficiency values given in joule per gigahash are reported at the wall, taking into account the power supply’s efficiency.

Mining hardware manufacturers only sell one generation of miners at any given time. Usually it is a result of producing and selling small batches one by one, as Bitmain and Canaan have done. But it is also a result of aggressive competition: when a company launches a new ASIC significantly outperforming the efficiency of the competition, their sales come to a stop until a more efficient successor is available, as Canaan CEO N.G. Zhang recounted. Therefore my model actually errs toward overestimating electricity consumption by assuming that the previous ASIC generation is being sold/deployed at the same rate until the very day preceding the introduction of the next generation, which we know is not true in some cases.6

KnCMiner:

  • Neptune launched in June 2014 and achieves 0.70 J/GH.
  • Solar launched in June 2015 and achieves 0.07 J/GH. The company declared bankruptcy in May 2016, however they certainly stopped deploying mining capacity months earlier. This chart assumes they stopped in January 2016. Later, KnCMiner was bought by GoGreenLight. So far they have not added new hash power, but merely reactivated the hardware they acquired.

Spondoolies:

  • RockerBox was included in the SP20/SP30/SP31/SP35 Yukon product series; it launched in May 2014 and achieves 0.66 J/GH. The company failed to launch its successors—PickAxe, RockerBox II—and declared bankruptcy in May 2016, however they certainly stopped selling products months earlier as they were far behind competition in terms of energy efficiency. This chart assumes sales stopped in January 2016.7

Bitfury:

  • BF864C55 launched in March 2014 and achieves 0.50 J/GH.
  • Their 40nm ASIC never entered full-scale production, hence its absence from the chart.
  • Their 28nm ASIC launched in February 2015 and achieves 0.20 J/GH.
  • BF8162C16 launched in October 20168 and achieves 0.06 to 0.13 J/GH. This wide efficiency range is due to the ASIC being operated in a variety of configurations—sometimes manufactured by third parties—from air cooling (1, 2) to immersion cooling (1, 2, 3) where voltages and clocks are pushed to their limits.

Bitmain:

Canaan:

Footnotes

  1. In an email exchange with Canaan staff (VP of Engineering Xiangfu Liu, Jon Phillips, and Wolfgang Spraul) they gave me the following historic metrics:

    • A3222:
      • number of wafers made: ca. 950
      • number of chips per wafer: ca. 3330
      • performance per chip: 25 GH/s
      • total: 79 PH/s
    • A3218:
      • number of wafers made: ca. 1100
      • number of chips per wafer: ca. 3650
      • performance per chip: 47.5 GH/s
      • total: 191 PH/s

    2

  2. Hardware that is no longer profitable has obviously been retired. As of 26 February 2017 (difficulty = 441e9, 1 BTC = 1180 USD, and assuming $0.05/kWh—half the worldwide average electricity cost) an ASIC is profitable if its efficiency is better than 0.56 J/GH:
    1e9*3600 (hashes per hour of 1 GH/s) / (2^32 * 441e9 (difficulty)) * 12.5 (BTC reward per block) * 1180 (USD per BTC) / 0.05 ($/kWh) * 1000 (Wh/kWh) = 0.56 J/GH
    So 3 ASICs in the chart are no longer profitable: Neptune, RockerBox, and A3222.

  3. Most of the hardware deployed during phase 0—CPUs, GPUs, FPGAs, first-generation ASICs—has not been profitable for a long time, so we make the assumption these miners upgraded to the least efficient ASIC available at the end of phase 0 that is still profitable: BM1384.

  4. However another investor who on 27 December 2014 bought $418 worth of bitcoins would be worth $818 on 8 October 2016, a 2.0× gain. It could be argued that a large reason why mining was profitable came simply from BTC gaining value.

  5. The world’s consumption of energy for year 2014 was 9 425 Mtoe, or 109 613 TWh, or 12.51 TW, according to IEA statistics.

  6. In an email thread with Canaan staff, although they were unable to give metrics, they confirmed that sales of the A3218 slowed down after June 2016 when competitor Bitmain launched BM1387 with a 3× better efficiency. 2

  7. I reached out to Spondoolies CEO Guy Corem to get official confirmation of when their sales stopped, but have not received a reply so far.

  8. In a 2015 post on HackerNews I previously incorrectly assumed hardware based on this ASIC launched in December 2015 but large-scale deployment only started in October 2016, as shown by this tweet from Bitfury Executive Vice Chairman George Kikvadze.

Comments

oregonmines wrote: Nice chart , the 100% by least efficient method, is an interesting way to look at a chips contribution hash wise. 11 Mar 2017 18:10 UTC