End-of-year sale 30% off machines over $1,000 · 20% off everything else Free insured shipping worldwide Ends 31 Dec 2026 · … Pay with BTC · USDT
Shop the sale →
[email protected]
Pay with BTC · USDT — rate locked 30 min
ASICMINERSDIRECT
Track 0

How to Calculate a Miner’s Electricity Cost (With Worked Examples)

You pay for an ASIC miner once, but you pay for its electricity every hour it runs. Getting that number right is the most important part of planning any mining setup, whether it is one home miner or a container of machines. The good news is that the maths is simple. This guide gives you the formula, works through real examples using published specs and highlights the extra costs that often get missed.

The basic formula

Electricity is billed in kilowatt-hours (kWh). One kWh is 1,000 watts running for one hour. To find a miner’s daily electricity cost:

Daily cost = Power (kW) × 24 hours × Price per kWh

To convert watts to kilowatts, divide by 1,000. A 3,645 W miner is 3.645 kW.

For monthly cost, multiply the daily figure by 30. For yearly cost, multiply by 365.

Worked example: Antminer S21 XP

The S21 XP has a published power draw of around 3,645 W.

  1. Convert to kW: 3,645 ÷ 1,000 = 3.645 kW
  2. Daily energy: 3.645 × 24 = 87.48 kWh per day
  3. Monthly energy: 87.48 × 30 = 2,624.4 kWh
  4. Yearly energy: 87.48 × 365 ≈ 31,930 kWh

Now apply three example electricity prices:

Price per kWh Per day Per month (30 days) Per year
$0.05 $4.37 $131.22 $1,596.51
$0.08 $7.00 $209.95 $2,554.42
$0.12 $10.50 $314.93 $3,831.62

The same machine costs more than twice as much to run at $0.12 as at $0.05. That is why electricity price is the first thing serious miners negotiate.

More examples at $0.08 per kWh

Miner Published power kWh per day Cost per day Cost per month
Antminer S21 XP around 3,645 W 87.48 $7.00 $209.95
Whatsminer M60S around 3,441 W 82.58 $6.61 $198.20
IceRiver KS7 around 3,500 W 84.00 $6.72 $201.60

These figures cover only electricity. They are not revenue or profit numbers.

Home miner example

A Bitaxe drawing around 18 W uses 0.018 × 24 = 0.432 kWh per day. At a residential rate of $0.25 per kWh, that is about $0.11 per day, or roughly $3.24 per month.

Cost per terahash: a fairer comparison

Comparing daily cost alone can mislead, because the machines produce different amounts of hashrate. Divide the daily cost by hashrate to see the cost of each terahash:

  • S21 XP at $0.08: $7.00 ÷ 270 TH/s ≈ $0.026 per TH per day
  • M60S at $0.08: $6.61 ÷ 186 TH/s ≈ $0.036 per TH per day

This is efficiency expressed in money. The M60S costs less per day to run, but each terahash it produces costs roughly 37% more in electricity. Only compare cost per terahash within the same algorithm; browse SHA-256 miners to compare Bitcoin machines on this basis.

Hidden costs to include

Cooling and ventilation

Extraction fans, air conditioning, pumps and dry coolers all use power. If your cooling adds 10% overhead, the S21 XP effectively draws about 4.01 kW, which raises the daily cost at $0.08 from $7.00 to about $7.70.

Power supply losses and real-world draw

Published figures are measured under set conditions. Real draw can be a few percent higher in hot weather, with older PSUs or with overclocked firmware. Measure with a meter or PDU if you can.

Tariff structure

Many electricity bills are not a flat rate. Watch for:

  • Time-of-use pricing: different rates at peak and off-peak hours.
  • Tiered pricing: higher rates once you pass a monthly usage threshold, which mining easily does.
  • Demand charges: commercial tariffs may charge for your peak kW, not only total kWh.
  • Taxes and fixed fees: add these to get your true all-in rate.

The best way to get your real rate is to divide your total bill, including taxes and fees, by the kWh used.

Hosting fees

If you use a hosting provider, they usually quote an all-in rate per kWh that includes power, cooling and space. Plug that rate straight into the formula.

From cost to decision

Knowing your electricity cost is half the picture. The other half, what the miner’s output is worth, depends on coin price, network difficulty, transaction fees, pool fees and uptime. These change constantly and nobody can predict them reliably, so we do not estimate earnings or returns.

Instead, enter the miner’s published hashrate and power plus your real all-in electricity rate into an independent mining calculator. Run several scenarios, including a lower coin price and higher difficulty, and include cooling overhead. If a setup only works in the most optimistic case, reconsider.

Quick reference

  • Watts ÷ 1,000 = kW
  • kW × 24 = kWh per day
  • kWh per day × $/kWh = cost per day
  • Cost per day ÷ TH/s = cost per TH per day

Measure, do not guess

Once your miner is running, check the numbers against reality. A metered PDU, a smart breaker or a clamp meter on the circuit shows actual power draw. Compare it with the published figure and with your electricity bill after the first full month. If real consumption is noticeably higher than expected, look at intake temperature, dust on the heatsinks, firmware settings and supply voltage. Small improvements to airflow and cleaning can bring draw back closer to spec.

Keep a simple spreadsheet of power draw, rate and monthly cost so you can spot changes early.

Plan your setup

Compare published power figures on every listing in our miner shop, and make sure your circuit can carry the load with the right gear from our parts and power range. Ready to buy? The payment guide covers Bitcoin and USDT checkout.

Questions

How do I calculate how much electricity my miner uses?

Divide the miner's watts by 1,000 to get kW, then multiply by 24 for kWh per day. Multiply that by your price per kWh to get the daily cost.

How much does it cost to run an Antminer S21 XP per day?

At around 3,645 W it uses about 87.5 kWh per day. That costs about $4.37 at $0.05/kWh, $7.00 at $0.08/kWh and $10.50 at $0.12/kWh, before cooling overhead.

What is a good electricity rate for mining?

Lower is always better, but there is no single threshold, because it depends on the miner's efficiency and on coin price and difficulty. Use an independent calculator with your real all-in rate.

Should I include cooling in my electricity cost?

Yes. Fans, air conditioning, pumps and dry coolers all use power. Add their draw, often expressed as a percentage overhead, to get your true cost.