BTC…ETH…ETH gas…Fear & Greed…Market data · not advice

Master Guide

Bitcoin Mining: Hashrate, Power Costs and Break-Even

Understand Bitcoin mining with worked electricity, efficiency and operating-margin calculations. Separate consensus validation from mining economics.

Three connected Bitcoin blocks show the previous hash, transactions and proof of work.
Three connected Bitcoin blocks show the previous hash, transactions and proof of work.

Bitcoin mining combines a probabilistic search for valid blocks with a business whose costs are paid whether a block is found or not. Hashrate, difficulty, electricity and revenue are different quantities. This guide shows how to calculate a first operating estimate, how to check the network data behind it yourself, and how to identify what the estimate leaves out.

Updated 24 October 2026 · By Adam · Examples below are original educational scenarios, not live market data or product tests.

Bitcoin mining: work is proposed, validity is checked

Miners construct candidate blocks and search for a header hash below the required target. Nodes check the resulting block against consensus rules. A miner with more equipment does not thereby gain permission to create invalid coins. The Bitcoin mining documentation describes block construction and the difference between solo and pooled mining.

It helps to know what a validating node actually refuses, because each item is something no amount of hashpower can override:

  • a header whose hash is not below the target the difficulty rules require;
  • a first (coinbase) transaction that pays the miner more than the permitted subsidy plus the fees of the transactions in the block;
  • any transaction that spends coins already spent, or that lacks valid signatures;
  • a block heavier than the 4,000,000 weight-unit limit.

What extra hashpower can do is different: it raises a miner's chance of finding the next block and, with enough of it, the ability to replace recent valid blocks with a competing valid chain. That is why the transaction finality entry treats confirmations as a measure of confidence rather than an on/off switch.

Hashrate measures computations per second; difficulty regulates how demanding a valid proof is. Bitcoin periodically adjusts difficulty toward its target block interval. Subsidy and transaction fees provide block revenue, but revenue per unit of hashpower also depends on competing hashpower. The blockchain guide covers these protocol rules.

Estimate expected revenue from difficulty

Revenue screenshots and online calculators all rest on one relationship. On average, finding a block takes difficulty × 2^32 hashes, so a machine making H hashes per second expects to find a block every difficulty × 2^32 / H seconds. Flip that around and the expected bitcoin per day is:

expected BTC per day = H × 86,400 × R / (difficulty × 2^32)

Here 86,400 is the number of seconds in a day and R is the average reward per block: the current subsidy plus the average fees per block. The useful feature of this form is that it needs no estimate of total network hashrate, only the published difficulty, which every node agrees on exactly. Industry writers call revenue per unit of hashpower per day "hashprice", usually quoted per terahash per second.

Worked example: what one 100 TH/s machine can expect

Use a round, illustrative difficulty of 100 trillion (1 × 10^14), a reward of 3.175 BTC per block (the 3.125 BTC subsidy plus an assumed 0.05 BTC of fees), and a machine making 100 TH/s, which is 1 × 10^14 hashes per second.

Solo, the expected time to find a block is 10^14 × 2^32 / 10^14 = 2^32 seconds, about 4.3 billion seconds or roughly 136 years. The chance of finding one on any given day is about 86,400 / 4.3 billion, or 0.002 percent. Expected value is not the same as a likely outcome: almost every solo day pays nothing.

Spread through a pool, the same expectation becomes a small daily stream: 10^14 × 86,400 × 3.175 / (10^14 × 2^32) ≈ 0.0000639 BTC, about 6,390 satoshis, or roughly 64 satoshis per TH/s per day before pool fees. At a hypothetical price of $90,000 per bitcoin, that is about $5.75 a day, almost exactly the $5.76 daily electricity bill of a 3 kW machine at $0.08 per kWh. A small change in difficulty, fees or price moves this case from a thin profit to a loss.

Calculate electricity before projecting a profit

Worked example: a fictional 3 kW machine

Assume a miner draws 3 kW continuously. Daily energy use is 3 × 24 = 72 kWh. At $0.08 per kWh the energy cost is $5.76 per day. At $0.15 it is $10.80. Those figures exclude cooling, network equipment, downtime and any tariff demand charges.

For an illustrative gross revenue of $9 per day and a 2% pool fee, receipts are $8.82. After $5.76 energy, the operating margin is $3.06. At the higher tariff the margin is −$1.98. Holding other assumptions fixed, the electricity-only break-even tariff is $8.82 / 72 = $0.1225 per kWh.

A $1,500 machine would take about 490 days to recover its purchase price at a constant $3.06 daily margin. This is simple arithmetic, not a realistic payback forecast: network competition, difficulty, price, fees, failure and resale value can all change during that period.

Before using a single per-kWh figure, read your actual tariff. Several structures change the result:

  • Time-of-use pricing: the rate differs by hour, so a machine running continuously pays the average across peak and off-peak hours, not the cheapest rate.
  • Demand charges: some business tariffs bill the highest power drawn in a period, in kW, on top of energy used in kWh. Starting several machines at once can set that peak.
  • Heat: practically all the electricity a miner draws ends up as heat, so a 3 kW machine is also a 3 kW heater. Removing that heat in summer can add a second electricity bill.
  • Contract terms: large sites often agree to reduce load when the grid is stressed, in exchange for payments.

That last point can dominate the economics of large operators. Riot Platforms reported that in August 2023, during a Texas heat wave, it earned $31.7 million in power and demand response credits ($24.2 million from power credits and $7.4 million from demand response), against 333 bitcoin mined in the same month; the company described the July and August credit figures as estimates. The lesson for anyone modelling a site is that electricity is not just a cost line: the terms of the power contract can be worth more than the mining itself in some months, and a home tariff offers none of that flexibility.

Measure efficiency and uptime

For a fictional 100 TH/s machine drawing 3,000 W, efficiency is 30 joules per terahash. Lower energy per hash can improve the operating model, but does not establish profit. Use measured wall power for the whole setup where available; a manufacturer's nominal device figure may omit external equipment.

With 90% uptime, a nominal 100 TH/s installation averages approximately 90 TH/s over the measurement period. Record interruptions and actual pool receipts rather than multiplying a headline specification by a full calendar year.

A simple measurement routine: read the machine's reported hashrate and the pool's accepted-share hashrate for the same 24 hours, and note the difference. Measure wall power with a meter rated for the load, not the specification sheet. Divide measured watts by the pool-side terahash figure to get the efficiency you are actually paying for.

A pool reduces variance, not every risk

Pooling distributes rewards according to a particular payout method. It can smooth receipts compared with solo mining, while introducing payout, operator and connection dependencies. Compare the actual fee policy, share accounting, payout thresholds and rejected-share reporting. The pool's hashrate is not necessarily the same as independently owned hardware under one person's control.

The payout method decides who carries the luck. The names below are common, but each pool defines its own version, so read the pool's published terms rather than relying on the label.

MethodHow you are paidWho carries block-finding luckWhat to check
PPS (pay per share)A fixed amount for each valid share, based on the expected subsidyMostly the poolWhether fees are included at all, and the fee charged for absorbing variance
FPPS (full pay per share)As PPS, plus an estimate of average transaction feesMostly the poolHow the fee estimate is calculated and over what period
PPLNS (pay per last N shares)A share of each block the pool actually finds, split by your shares in a recent windowYouThe window length, and what happens to your shares if you disconnect before a block is found
Solo through a poolThe whole block reward if your own hardware finds a blockEntirely youThe fee taken, and whether you understand the expected waiting time

Whichever method applies, set the payout address to a wallet whose keys you control, and protect it as you would any other; the wallet security checklist covers the basics.

Worked example: your share of a larger network

If your hashpower is unchanged while total network hashpower doubles, your proportional share halves. Under an unchanged aggregate reward assumption, expected revenue also halves. A fixed electricity bill does not halve with it. This is why a profit screenshot from last month is not an operating budget.

Read difficulty and hashrate data yourself

Difficulty is an exact number every node shares. Network hashrate is not: no one can count other people's hashes, so it is estimated from how fast blocks arrived at a known difficulty. A short window makes that estimate jumpy, because block discovery is random.

  1. On your own node, bitcoin-cli getmininginfo reports the current block height, difficulty and an estimated network hashrate.
  2. bitcoin-cli getnetworkhashps estimates hashrate over the last 120 blocks by default. Passing -1 as the first argument averages over all blocks since the last difficulty change instead, which is smoother.
  3. Difficulty changes every 2,016 blocks. Blocks left until the next change are 2,016 − (height mod 2,016), where "mod" means the remainder after division.
  4. Compare the hashrate estimate with the one implied by difficulty alone (difficulty × 2^32 / 600 hashes per second at the 10-minute target). If recent blocks are arriving faster than the target, the next adjustment will probably raise difficulty and lower your share.

For example, at a hypothetical height of 970,123, dividing by 2,016 leaves a remainder of 427, so 1,589 blocks remain before the next adjustment: about 11 days at 10 minutes per block. Any revenue estimate you make now should include a scenario where difficulty is higher after that date.

Build a sensitivity sheet

  • Power draw, tariff structure and total installation costs.
  • Observed hashrate, uptime and pool deductions.
  • Coin-denominated revenue and the conversion price used.
  • At least one scenario with lower revenue and higher costs.
  • Hardware failure, maintenance and a shutdown threshold.

Write the shutdown threshold as a rule before you need it, for example: "switch off when expected daily receipts after pool fees fall below the daily electricity cost for seven consecutive days". Remember that the subsidy halves every 210,000 blocks, so a model that runs past the next halving must cut the subsidy part of R in half on that date; the halving cycle entry gives the schedule.

Read the consensus comparison and market-cycle guide. Mining is a useful way to understand Bitcoin's incentives even if operating a miner makes no sense for your circumstances.

Records, tax and common mistakes

Tax treatment of mining differs by country, and within a country it can depend on whether the activity counts as a hobby or a business. As one example, the US Internal Revenue Service's Notice 2014-21 says the fair market value of mined virtual currency on the date of receipt is included in gross income, and that if mining is a trade or business carried on by someone who is not an employee, the net earnings are subject to self-employment tax. Other tax authorities take different approaches, so check your own country's guidance or a qualified adviser; the crypto tax and regulation guide explains the general concepts.

Whatever the rules, the same records make them answerable: each payout's date, amount in satoshis and transaction identifier; the price source used to value it; electricity bills; and hardware purchase receipts.

Common mistakeHow it happensBetter practice
Using today's difficulty for a yearCalculators show a snapshotModel at least one higher-difficulty scenario after the next adjustment
Ignoring the halvingThe model runs past the next halving block with the old subsidyHalve the subsidy at the halving height
Using nameplate powerThe specification sheet omits fans, power supply losses and network gearMeasure at the wall
Counting unpaid balances as incomeA pool dashboard shows earnings below the payout thresholdCount only what reaches your own wallet, and record when it did
Forgetting heat and noiseA machine tested briefly indoors runs finePlan ventilation, cooling cost and noise before buying

For the underlying concepts taught in sequence, the Academy School course covers consensus before economics.

Sources and verification

Primary references checked on 24 October 2026. Protocol settings and local rules can change; verify the linked version before acting.

Knowledge check

Apply the example before checking the answer.

Question 1 of 3How much energy does the hypothetical 3 kW miner use per day?

Question 2 of 3What is the example operating margin at $0.15 per kWh?

Question 3 of 3Can a miner make invalid coins valid by controlling more hashrate?

The Letter

One clear letter, every week.

Plain analysis of crypto infrastructure, markets and security. No price calls, no referral links, no hype.

Unsubscribe at any time. Read the privacy notice.