What this calculator does
Proof-of-work mining turns electricity into hashes, and electricity is by far the largest running cost. The calculation is simple once you know two numbers from the hardware’s spec sheet: hashrate (TH/s) and efficiency (J/TH). Multiply them and you have watts. Add the overhead of fans, cooling and power conversion, multiply by hours and uptime, and you have kWh and the power bill.
The tool also asks for a hashprice, the revenue per PH/s per day. With it you can see what share of revenue goes on electricity and the break-even power price above which the hardware loses money on electricity alone. The page takes no view on whether mining is worthwhile; it gives you the energy arithmetic, including CO₂ on your grid.
The formula
Revenue per day = hashrate (PH/s) × hashprice × uptime Break-even price = hashprice ÷ (J/TH × (1 + overhead) × 24) (per kWh)
The break-even formula comes from setting revenue equal to electricity cost. One PH/s at 1 J/TH needs 1 kW, or 24 kWh a day, so a machine at 17.5 J/TH with 5% overhead uses 441 kWh per PH/s per day.
Worked example
The defaults describe one machine at 200 TH/s and 17.5 J/TH, with 5% overhead, 97% uptime and electricity at 0.07 per kWh. The hashprice is set to 50 per PH/s per day, an illustrative value only.
- Spec power: 200 × 17.5 = 3,500 W; with overhead 3.68 kW.
- Energy: 3.68 × 24 × 0.97 = 85.6 kWh a day, about 2,600 kWh a month and 31 MWh a year.
- Electricity cost: 6.0 a day, roughly 182 a month.
- Revenue at the assumed hashprice: 0.2 PH/s × 50 × 0.97 = 9.7 a day. Electricity takes about 62% of it.
- Break-even power price: 50 ÷ (17.5 × 1.05 × 24) = 0.113 per kWh.
Swap in an older 34 J/TH machine (preset two) and the break-even falls to about 0.06 per kWh, below many industrial tariffs. Efficiency, not hashrate, decides whether old hardware survives.
Typical values
| Hardware tier | Efficiency | kWh per TH/s per day | Break-even at 50/PH/day (no overhead) |
|---|---|---|---|
| Older generation (2019–2020) | 30–35 J/TH | 0.72–0.84 | 0.060–0.069 per kWh |
| Mid generation (2021–2022) | 21–26 J/TH | 0.50–0.62 | 0.080–0.099 per kWh |
| Recent air-cooled (2023–2024) | 15–20 J/TH | 0.36–0.48 | 0.104–0.139 per kWh |
| Latest hydro/immersion (2025) | 10–13 J/TH | 0.24–0.31 | 0.160–0.208 per kWh |
Hashprice changes daily and has ranged widely over the years, so treat the break-even column as a way to compare tiers, not a forecast.
How to read the results
- Electricity cost per day is the headline. It does not depend on the hashprice.
- Break-even electricity price tells you the most you can pay for power before the machine loses money on electricity. Compare it with your all-in tariff, including demand charges for large sites. The demand charge calculator helps with those.
- Margin after electricity ignores hardware depreciation, hosting, pool fees and taxes, which can be large.
- CO₂ per year uses the average intensity of the grid you select. Miners that use curtailed renewables, flared gas or contracted clean power should calculate with their own factor.
Limitations
The spec-sheet J/TH is measured at a given ambient temperature and voltage; real machines drift with heat, dust and firmware settings, and overclocking trades efficiency for hashrate. Revenue is a snapshot of a volatile market and the calculator does not model halvings, difficulty growth or fee changes. Facility-scale sites also have transformer, cooling and building loads; the data centre PUE calculator covers that overhead in more detail.
Method & assumptions
Power (W) = hashrate (TH/s) × efficiency (J/TH), plus cooling and power overhead. Daily energy = kW × 24 × uptime. Cost = kWh × price. Revenue = hashrate (PH/s) × hashprice × uptime. Break-even electricity price = hashprice ÷ kWh per PH/s per day = hashprice ÷ (J/TH × (1 + overhead) × 24).
Frequently asked questions
How much electricity does a Bitcoin miner use?
What does J/TH mean?
What electricity price makes mining profitable?
What is hashprice?
How much CO₂ does crypto mining emit?
Can I mine at home?
Sources & references
- Cambridge Centre for Alternative Finance — Cambridge Bitcoin Electricity Consumption Index
- IEA — Electricity 2024: data centres, AI and cryptocurrencies
- US EIA — Tracking electricity consumption from U.S. cryptocurrency mining operations
- Our World in Data / Ember — Carbon intensity of electricity by country
Embed this calculator
Free for blogs, installers, schools and NGOs. Copy the code below; it updates itself automatically.