← Back to calculator

Methodology

Core idea

Given a quantity of electrical energy (in kWh), the calculator estimates how much Bitcoin the global mining network would statistically produce with that energy, under current network conditions. It also estimates an equivalent count of AI inferences for comparison.

Formulas

hashesPerKwh = (JOULES_PER_KWH / AVG_EFFICIENCY) × HASHES_PER_TH
btcPerHash = blockSubsidy / (difficulty × 232)
btcPerKwh = hashesPerKwh × btcPerHash
btcEquiv = userKwh × btcPerKwh
sats = btcEquiv × 100,000,000
fiatUsd = btcEquiv × btcUsdSma200
aiInferences = (userKwh × 1,000) / AI_WH_PER_INFERENCE

Constants and assumptions

Scale details

Daily snapshot

The calculator reads a local snapshot.json file containing network difficulty, hashrate, the 200-day SMA price, and the current block subsidy. This file is regenerated daily at 00:10 UTC by a server-side process. No external API calls are made from the browser.

Data sources

Limitations

AMP → Bitcoin v1.0