Bitcoin Production Cost

Bitcoin's Production Cost

Based on raw data from CBECI.
Follow me to read more about the calculation logic.
Release Notes: Script commentary update.
Release Notes: In-line with CoinShares December 2019 research report, added option to use a lower electricity cost/kWh from Mid-2019.
Release Notes: Updated with January 2020 electricity data.
Release Notes: Updated with May 2020 electricity data from
Now uses 2 week rolling data for finer granularity (while balancing TradingView load time).
Uses 4c/kWh (lower end of CBECI and Coinshares global average Mining electrical cost estimates).
Release Notes: Updated chart visuals
Release Notes: Updated with August 2020 electricity data from
Release Notes: Updated inputs
Release Notes: Updated input data
Release Notes: Updated energy data
Release Notes: Updated energy data
Release Notes: Added optional inflation factor, given the annualized rate of growth of M2 money supply increased from 5.8% annualized to 12.7% annualized after Corona (rough delta being 6.5%).
Release Notes: updated inflation factor

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?