Skip to content

🤓 Estimating the energy consumption of the bitcoin network in a variety of ways.

Notifications You must be signed in to change notification settings

StevenBlack/bitcoin-energy-estimates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin Energy Estimates (DRAFT)

Estimating the energy use of the bitcoin network using two different approaches.

by Steven Black
Project home: https://github.com/StevenBlack/bitcoin-energy-estimates
Updated: October 23 2023

Introduction

Bitcoin mining uses a proof-of-work consensus mechanism. This is controversial for some people because that supposedly requires a lot of electrical energy. We see claims the bitcoin network “uses as much electricity as a small country”, or “requires as much electricity as Belgium, or Chile.

This Mathematica notebook assessed those notions using the following approaches:

  1. Presuming bitcoin mining is marginally profitable, how much electical energy can be funded that balances actual mining rewards over time?

  2. Given the reported hashrate, how much energy would be required to achieve that?

This paper uses Canadian dollars, partly because that’s my fiat currency, and because Canada publishes particularly good statistics about electricity generation and costs.

Background: bitcoin price, block rewards, and fees

Here we outline the major factors that play in the economics of bitcoin mining.

The bitcoin price right now

What is the current price of bitcoin in Canadian dollars?

bitcoin-energy-estimates_1.png

bitcoin-energy-estimates_2.png

bitcoin-energy-estimates_3.png

bitcoin-energy-estimates_4.png

Bitcoin block rewards

Bitcoin miners are compensated with block rewards from blocks they successfully mine, plus all the transaction fees in that block. In the current epoch (2020 - 2024) the block reward is 6 1/4 BTC.

bitcoin-energy-estimates_5.png

bitcoin-energy-estimates_6.png

Bitcoin transaction fees per block

ASSUMPTION: the average transaction fees paid to miners, per block, is 0.125 BTC, which is about 2% of the total mining reward for each block.

bitcoin-energy-estimates_7.png

bitcoin-energy-estimates_8.png

Therefore, the total bitcoin paid to miners for an average block, denominated in bitcoin.

bitcoin-energy-estimates_9.png

bitcoin-energy-estimates_10.png

The actual block rate

Historically the bitcoin block production rate is faster then the block time target (6 per hour, or 144 blocks per day).  Let's reckon an average block rate over a sample interval of blocks in the immediate past.

Let's look at the past 100,000 blocks. How many days did it take to produce the last 100,000 blocks?

bitcoin-energy-estimates_11.gif

bitcoin-energy-estimates_12.png

Let's calculate the average block time for those 100,000 blocks.

bitcoin-energy-estimates_13.png

bitcoin-energy-estimates_14.png

We can now calculate the actual block rate per hour, and per day

bitcoin-energy-estimates_15.png

bitcoin-energy-estimates_16.png

bitcoin-energy-estimates_17.png

bitcoin-energy-estimates_18.png

Total miner compensation, per hour

bitcoin-energy-estimates_19.png

bitcoin-energy-estimates_20.png

Bitcoin price in Canadian dollars as a time series

Let's gather data on bitcoin price over the past sampleIntervalTime.

bitcoin-energy-estimates_21.png

Let's graph that bitcoin price over time.

bitcoin-energy-estimates_22.png

Graphics:BTC Price  — last 100000 blocks CAD

bitcoin-energy-estimates_24.png

Average bitcoin price over our sample time

bitcoin-energy-estimates_25.png

bitcoin-energy-estimates_26.png

1. Assuming mining is ecomomically marginal, how much electricity could be funded by mining rewards?

Global revenue per hour

The value, in Canadian Dollars, of all bitcoin mined globally, per hour.

bitcoin-energy-estimates_27.png

bitcoin-energy-estimates_28.png

Electricity cost, per kWh

See: https://www.hydroquebec.com/business/customer-space/rates/comparison-electricity-prices.html

bitcoin-energy-estimates_29.gif

Let’s presume that nobody in their right mind would want to mine bitcoin in New York or Boston. Here's the distribution of electricity input costs from the other 5 locations.

bitcoin-energy-estimates_30.png

bitcoin-energy-estimates_31.png

Business cost assumption

Let’s presume 85% of mining revenue is available to pay electricity cost. The rest covers wages, maintenance, depreciation, and taxes.

bitcoin-energy-estimates_32.png

bitcoin-energy-estimates_33.png

Economically sustainable mining power consumption

bitcoin-energy-estimates_34.png

bitcoin-energy-estimates_35.png

Cognitively we can say, bitcoin's power consumption is in the order of 10 GWH.

Economically sustainable mining energy consumption

bitcoin-energy-estimates_36.png

bitcoin-energy-estimates_37.png

Cognitively we can say, bitcoin's annual energy consumption is between 75 and 105 TWH.

Comparisons with large power generation facilities or regions

Let’s compare the bitcoin network with the power and energy that generated, or used, by various things.

Here's the raw data for various generation facilities and regions.

bitcoin-energy-estimates_38.png

bitcoin-energy-estimates_39.png

Facility or region BTC relative consumption
bitcoin-energy-estimates_40.png bitcoin-energy-estimates_41.png
Grand Coolee dam (USA) bitcoin-energy-estimates_42.png
Chile (2021) bitcoin-energy-estimates_43.png
Belgium (2021) bitcoin-energy-estimates_44.png
Three Gorges dam (China) bitcoin-energy-estimates_45.png
Province of Québec (2019) bitcoin-energy-estimates_46.png
Canada (2021) bitcoin-energy-estimates_47.png
USA (2021) bitcoin-energy-estimates_48.png
China (2021) bitcoin-energy-estimates_49.png
World (2021) bitcoin-energy-estimates_50.png

2. Given the reported hashrate, how much energy would be required to achieve that?

Coming soon.

Conclusion

The claims that  the bitcoin network “uses as much electricity as a small country”, or “requires as much electricity as Belgium, or Chile” seem reasonable from the perspectibe of bitcoin mining economics.

Appendix

Robert-Bourassa generating station — a.k.a. “LG-2”

Here we compare the power consumption of the bitcoin network with the power generation capacity of the Robert Bourassa generating station in the James Bay region of northern Québec.
See https://en.wikipedia.org/wiki/Robert-Bourassa_generating_station

bitcoin-energy-estimates_51.png

bitcoin-energy-estimates_52.png

What is bitcoin’s global energy use in terms of LG-2?

bitcoin-energy-estimates_53.png

bitcoin-energy-estimates_54.png

Province of Québec

In 2019 the Province of Québec produced 212.9 TWh of electricity.

What is bitcoin’s global energy use as a proportion of Québec’s electricity production in 2019?

bitcoin-energy-estimates_55.png

bitcoin-energy-estimates_56.png

bitcoin-energy-estimates_57.png

bitcoin-energy-estimates_58.png

bitcoin-energy-estimates_59.png

bitcoin-energy-estimates_60.png

Province of Ontario

See https://www.cer-rec.gc.ca/en/data-analysis/energy-markets/provincial-territorial-energy-profiles/provincial-territorial-energy-profiles-ontario.html

In 2019, the average annual power consumption per capita in Ontario was 9.6 megawatt-hours (MWh).

bitcoin-energy-estimates_61.gif

bitcoin-energy-estimates_62.png

bitcoin-energy-estimates_63.png

bitcoin-energy-estimates_64.png

United States

See https://www.worlddata.info/america/usa/energy-consumption.php

bitcoin-energy-estimates_65.gif

bitcoin-energy-estimates_66.png

bitcoin-energy-estimates_67.png

bitcoin-energy-estimates_68.png

Europe

Again see See https://www.worlddata.info/america/usa/energy-consumption.php

bitcoin-energy-estimates_69.gif

bitcoin-energy-estimates_70.png

bitcoin-energy-estimates_71.png

bitcoin-energy-estimates_72.png

About

🤓 Estimating the energy consumption of the bitcoin network in a variety of ways.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published