I drew a chart juxtaposing the Bitcoin hash rate with the market availability of mining ASICs and their energy efficiency. Using pessimistic and optimistic assumptions (miners using either the least or the most efficient ASICs) we can calculate the upper and lower bounds for the global electricity consumption of miners. I decided to do this research after seeing that so many other analyses were flawed. See for example the flagrant errors in Digiconomist’s Bitcoin Energy Consumption Index. I believe that my market-based and technical approach is superior and more accurate.
[Edit: the present research was cited in Nature Sustainability, cited in Nature Climate Change, quoted in the New York Times, published in Bitcoin Magazine, cited by the Electric Power Research Institute in a Hearing of the U.S. Senate Committee on Energy and Natural Resources, cited by Bloomberg New Energy Finance analysts, and others.]
- Economics of mining
- Profitability threshold assumption
- Summary
- Updates
- References and commentary
- Footnotes
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 real-world profitability of mining, I modeled the income and costs generated by every single machine model released in the last three and a half years in the following CSV files. The model assumes mined bitcoins are sold on a daily basis at the Coindesk BPI, and $0.05/kWh. Some machines have reached their end of life while others continue to mine profitably to this day. All data as of 11 March 2018:
Antminer S5 batch 1 ($418, 590 W, 1155 GH/s, released on 27 December 2014):
- Lifetime mining revenues: $2018.27
- Lifetime electricity costs: $779.51 (38.6% of revenues)
- Lifetime profits: $1238.774
Antminer S7 batch 1 ($1823, 1210 W, 4860 GH/s, released on 13 October 2015):
- Lifetime mining revenues: $5080.41
- Lifetime electricity costs: $1279.21 (25.2% of revenues)
- Lifetime profits: $3801.194
Antminer S9 batch 1 ($2100, 1375 W, 14.0 TH/s, released on 12 June 2016):
- Lifetime mining revenues: $8589.11
- Lifetime electricity costs: $1052.70 (12.3% of revenues)
- Lifetime profits: $7536.414
Canaan Avalon 4 ($?, 680 W, 1.0 TH/s, released on 12 September 2014):
- Lifetime mining revenues: $2102.79
- Lifetime electricity costs: $763.78 (36.3% of revenues)
- Lifetime profits: $1339.014
Canaan Avalon 6 ($1100, 1000 W, 3.5 TH/s, released on 21 November 2015):
- Lifetime mining revenues: $3312.28
- Lifetime electricity costs: $1010.40 (30.5% of revenues)
- Lifetime profits: $2301.884
Canaan Avalon 721 ($888, 900 W, 6.0 TH/s, released on 21 November 2016):
- Lifetime mining revenues: $2852.62
- Lifetime electricity costs: $514.08 (18.0% of revenues)
- Lifetime profits: $2338.544
Bitfury BF864C55 (comes in different configurations, model assumes a 0.50 J/GH, 5000 W, 10.0 TH/s machine in operation since 3 March 2014):
- Lifetime mining revenues: $80833.65
- Lifetime electricity costs: $8544.00 (10.6% of revenues)
- Lifetime profits: $72289.654
Bitfury 28nm (comes in different configurations, model assumes a 0.20 J/GH, 2000 W, 10.0 TH/s machine in operation since 28 February 2015):
- Lifetime mining revenues: $16046.10
- Lifetime electricity costs: $2659.20 (16.6% of revenues)
- Lifetime profits: $13386.904
Bitfury BF8162C16 (comes in different configurations, model assumes a 0.13 J/GH, 1300 W, 10.0 TH/s machine in operation since 12 October 2016):
- Lifetime mining revenues: $5022.90
- Lifetime electricity costs: $804.96 (16.0% of revenues)
- Lifetime profits: $4217.944
KnCMiner Solar (comes in different configurations, model assumes a 0.07 J/GH, 700 W, 10.0 TH/s machine in operation since 4 June 2015):
- Lifetime mining revenues: $13559.85
- Lifetime electricity costs: $850.08 (6.3% of revenues)
- Lifetime profits: $12709.774
Let’s study the first machine of this list, the Antminer S5 batch 1:
On 27 December 2014 (day 1) mining starts; electricity represents 15.3% of the first day’s mining revenues ($0.71 of $4.64), generating profits of $3.93.
On 27 January 2016 (day 397), after 13 months, electricity represents 37.1% of daily revenues ($0.71 of $1.91), generating daily profits of $1.20. Total profits stand at $869.77. Some miners may want to already consider replacing the S5 with a more efficient machine. For example the S7 generates daily profits 5× higher ($6.58) at only 2× the power consumption.
On 9 July 2016 (day 561), profits stand at $1012.37. However the halving occurs and drops the reward from 25 to 12.5 BTC per block. Electricity now represents 80% of daily revenues ($0.71 of $0.89), leaving meager daily profits of $0.18 (1/22nd of day 1’s profits.) It is practically futile to continue mining past this point. The S5 should be decommissioned or upgraded. For example the S9, two generations ahead, produces on the same day daily profits 50×(!) higher at only 2.3× the power consumption. An S5 decommissionned on this day would have spent 28.2% of its total revenues on electricity ($397.19 of $1409.56.)
On 8 October 2016 (day 652) for the first time the S5 encounters a day where it is unable to mine more than it costs in electricity; profits stand at $1021.42 (up $9 in 3 months, futile indeed!) Over the next few months some days it can make a tiny profit, some days it cannnot.
In the second half of 2017 the S5 becomes unexpectedly profitable again thanks to the Bitcoin price increasing faster than the difficulty level.
By 11 March 2018 (day 1171) profits stand at $1238.77 (“lifetime profits.”) Electricity represents 84.1% of daily profits and overall ate 38.6% of lifetime revenues.
Approximately 70% of lifetime profits were generated in the first 30% of the machine’s life ($869.77 generated in the first 397 days) and 80% of lifetime profits in the first 50% of the machine’s life ($1012.37 in the first 561 days.)
A miner who had invested $418 into purchasing an S5 would have, after 561 days, turned it into $1012.37, a 2.4× gain. Mining was quite profitable.5
Profitability threshold assumption
The model presented in this post makes one assumption: it looks at the difference in hash rate between the beginning and end of a phase, and assumes it indicates how many machines were manufactured during that phase.
Hypothetically, if a machine is first put online, and if it is immediately decommissioned within the same phase (eg. mining is suddenly no longer profitable,) and if it is put online again in a subsequent phase (eg. mining is profitable again,) then the model would classify the extra hash rate as belonging to the wrong phase.
However this hypothetical scenario is implausible given the model’s parameter of $0.05/kWh, as shown by the chart below. The efficiency of the best and worst hardware manufactured over time (“best J/GH” and “worst J/GH” data from the first chart) is compared to the profitability threshold2 below which a machine mines profitably:
The worst line never intersects the threshold. The least efficient machines remain profitable during their entire phase of production. So the model’s assumption is valid.
Summary
We can calculate the upper bound for the global electricity consumption of Bitcoin miners by assuming they deploy the least efficient hardware of their time and never upgrade it. As to the lower bound it can be calculated by assuming everyone has upgraded to the most efficient hardware. The table below summarizes the model’s estimates as of 26 February 2017:
Lower bound | Best guess | Upper bound | |
---|---|---|---|
Power consumption (MW) | 325 | 470-540 | 774 |
Energy consumption (TWh/yr) | 2.85 | 4.12-4.73 | 6.78 |
Energy consumption (Mtoe/yr) | 0.245 | 0.354-0.407 | 0.583 |
Energy consumption (quad Btu/yr) | 0.010 | 0.014-0.016 | 0.023 |
Percentage of world’s energy consumption6 | 0.00260% | 0.00376-0.00432% | 0.00619% |
Percentage of world’s electricity consumption6 | 0.0144% | 0.0208-0.0239% | 0.0342% |
Electricity cost (million USD/yr)7 | $142 | $206-$237 | $339 |
Energy efficiency (J/GH) | 0.100 | 0.145-0.165 | 0.238 |
Updated estimates for more recent dates can be found below.
As of 28 July 2017 (average hash rate of 6398 PH/s):
Lower bound | Best guess | Upper bound | |
---|---|---|---|
Power consumption (MW) | 640 | 816-944 | 1248 |
Energy consumption (TWh/yr) | 5.61 | 7.15-8.27 | 10.93 |
Energy consumption (Mtoe/yr) | 0.482 | 0.615-0.711 | 0.940 |
Energy consumption (quad Btu/yr) | 0.019 | 0.024-0.028 | 0.037 |
Percentage of world’s energy consumption6 | 0.00511% | 0.00652-0.00755% | 0.00998% |
Percentage of world’s electricity consumption6 | 0.0283% | 0.0360-0.0417% | 0.0551% |
Electricity cost (million USD/yr)7 | $280 | $357-$413 | $547 |
Energy efficiency (J/GH) | 0.100 | 0.128-0.148 | 0.195 |
As of 11 January 2018 (average hash rate of 16200 PH/s):
Lower bound | Best guess | Upper bound | |
---|---|---|---|
Power consumption (MW) | 1620 | 2100 | 3136 |
Energy consumption (TWh/yr) | 14.19 | 18.40 | 27.47 |
Energy consumption (Mtoe/yr) | 1.220 | 1.582 | 2.362 |
Energy consumption (quad Btu/yr) | 0.048 | 0.063 | 0.094 |
Percentage of world’s energy consumption6 | 0.01295% | 0.01678% | 0.02506% |
Percentage of world’s electricity consumption6 | 0.0715% | 0.0927% | 0.1385% |
Electricity cost (million USD/yr)7 | $710 | $920 | $1374 |
Energy efficiency (J/GH) | 0.100 | 0.130 | 0.194 |
Bitcoin’s level of power consumption can be presented in a way to make it look large8:
- Bitcoin uses as much electricity as entire countries such as Iceland (18.1 TWh/yr)
- Bitcoin uses as much as 1.7 million average American homes (18.3 TWh/yr)
Or we can make Bitcoin’s consumption look small:
- Bitcoin uses only a third of the output of the Three Gorges Dam (90 TWh/yr)
- Bitcoin uses less electricity than decorative Christmas lights in the world (the US alone spends 6.63 TWh/yr on them)
When considering the big picture I believe Bitcoin mining is not wasteful due to the various benefits we extract from it.
Lastly, modeling the costs and revenues of a miner over its entire life such as the Antminer S9 or S7 reveals that the hardware cost is greater than its lifetime electricity cost. Therefore a miner’s business plan should not look at the electricity costs alone when calculating expected profitability.
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.9
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.
On 30 March 2017 I added the comparison to the electricity consumption of decorative Christmas lights.
On 16 May 2017 I reworked the section Economics of mining to add more miners such as S7, S9.
On 4 June 2017 I added all miners released in the last 2.5 years to the section Economics of mining.
On 28 July 2017 I produced updated estimates in the conclusion.
On 28 August 2017 I added the section Profitability threshold assumption.
On 12 January 2018 I updated my estimate and added a comparison to the world’s consumption of electricity.
On 11 March 2018 I updated the CSV files in the section Economics of mining.
References and commentary
The chart covers the period 15 December 2014 to 26 February 2017. 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.
The cost of electricity is assumed to be $0.05/kWh which is half the worldwide average. It is logical to assume miners seek geographical locations with the cheapest electricity.
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.9
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.10
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 201611 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:
- BM1384 was included in the AntMiner S5 series; it launched in December 2014 and achieves 0.51 J/GH.
- BM1385 was included in the AntMiner S7 series; it launched in October 2015 and achieves 0.25 J/GH.
- BM1387 was included in the AntMiner S9/T9/R4 series; it launched in June 2016 and achieves 0.10 J/GH.
Canaan:
- A3222 was included in the Avalon 4/5 series; it launched in September 2014 and achieves 0.68 J/GH.
- A3218 was included in the Avalon 6 series; it launched in November 2015 and achieves 0.29 J/GH.
- A3212 was included in the Avalon 721/741 series; it launched in November 2016 and achieves 0.15 J/GH.
Footnotes
-
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
- A3222:
-
The profitability threshold in joule per gigahash is calculated as such:
1e9 (1 GH/s) / (2^32 × difficulty) × block_reward × usd_per_btc / usd_per_kwh × 3.6e6 (joules per kWh)
As of 26 February 2017 (difficulty = 441e9, 1 BTC = 1180 USD, $0.05/kWh) the profitability threshold is 0.56 J/GH:
1e9 / (2^32 × 441e9) × 12.5 × 1180 / 0.05 × 3.6e6 = 0.56 J/GH
So 3 ASICs in the chart are no longer profitable: Neptune, RockerBox, and A3222. ↩ ↩2 -
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. ↩
-
Real-world profits are less than this figure because other costs are not taken into account: hardware, facility, maintenance, labor… ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
-
However another investor who on 27 December 2014 bought $418 worth of bitcoins would be worth $863 on 9 July 2016, a 2.1× gain. An important reason why mining was profitable was simply that BTC gained value. ↩
-
According to IEA statistics for the year 2014 the world’s consumption of energy was 9 425 Mtoe, or 109 613 TWh (equivalent to 12.51 TW non-stop) and the world’s consumption of electricity was 1 706 Mtoe, or 19 841 TWh (equivalent to 2.26 TW non-stop). ↩ ↩2 ↩3 ↩4 ↩5 ↩6
-
I like Leo Weese’s idea to make various comparisons to make it look either large or small. ↩
-
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
-
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. ↩
-
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. ↩