Mining economics comes down to two lines of arithmetic: what a unit of hashing power earns per day, and what it costs to keep running. The first is called hashprice; the second is electricity plus hardware. This guide gives both as formulas and runs them on clearly hypothetical inputs, with no claim about any real operator.
The revenue side
A block pays its miner two things: the newly issued block subsidy and the sum of fees from the transactions it includes. Both arrive in the same place, the coinbase transaction, which is explained in how miners get paid.
The subsidy is fixed by block height. It started at 50 BTC and halves every 210,000 blocks, which means 25, 12.5, 6.25 and, from height 840,000 until height 1,050,000, 3.125 BTC. The rule is in the GetBlockSubsidy function in validation.cpp. Fees are the opposite: they vary block by block with demand for block space.
Revenue per block, in bitcoin, is therefore subsidy + fees. Convert it to fiat only at the end, because the bitcoin figure is knowable from the chain and the fiat figure depends on a price that moves every second.
Hashprice: revenue per unit of work
Hashprice is expected miner revenue per unit of hashrate per day. It answers the question: if I contribute one terahash per second for a day, what is the expected payout?
Hashprice = (subsidy + fees per block) x blocks per day x (your hashrate / network hashrate)
Quote it for one TH/s and the fraction becomes 1 TH/s divided by network TH/s. The output can be in sats or in fiat per TH/s per day. It is a derived estimate, not a quote from any market, and it needs three inputs that all move: the fee level, the number of blocks actually found per day, and the network hashrate.
Hashprice on illustrative inputs
Every number below is illustrative and chosen for easy arithmetic.
- Subsidy: 3.125 BTC per block, the subsidy for heights 840,000 to 1,049,999.
- Fees: 0.25 BTC per block, a made-up average.
- Revenue per block: 3.375 BTC.
- Blocks per day: 144, the ten-minute design pace.
- Network revenue per day: 3.375 x 144 = 486 BTC, which is 48.6 billion sats.
- Network hashrate: 700 EH/s, or 700 million TH/s.
Hashprice = 48,600,000,000 sats / 700,000,000 TH/s, about 69.4 sats per TH/s per day.
Two notes on what that number does and does not carry. It is in sats, so it does not depend on the price of bitcoin at all. And it falls whenever network hashrate grows faster than block revenue, and rises when the reverse holds.
Why 144 blocks per day is only a shortcut
Blocks are found at a random pace, and the difficulty rule steers the average to ten minutes only over time. A more direct way to write expected revenue skips the 144 and the network total altogether and uses difficulty D:
Blocks per TH/s per day = 86,400 / (D x 2^32 / 10^12)
Multiply by subsidy plus fees and you have hashprice again. The two versions agree when blocks arrive at the design pace. When hashrate has grown since the last adjustment, blocks come faster than 144 a day, but each miner’s share of the network is smaller by the same proportion, so revenue per unit of hashrate holds steady until difficulty rises.
The squeeze arrives at the adjustment, not before. See how difficulty retargeting works for that rule, and the getnetworkhashps documentation for why the network figure is itself an estimate.
The cost side
Costs split into running costs and capital costs.
Energy
Machines are rated by efficiency in joules per terahash, J/TH. One joule per second is one watt, so a machine’s power draw in watts is its efficiency multiplied by its hashrate in TH/s.
Power (W) = efficiency (J/TH) x hashrate (TH/s)
Energy per day (kWh) = power (W) x 24 / 1,000
Daily power cost = energy per day (kWh) x price per kWh
Illustration: a hypothetical machine rated at 200 TH/s and 20 J/TH draws 4,000 W, or 4 kW. Over a day that is 96 kWh. At an illustrative power price of 0.06 currency units per kWh, daily power cost is 5.76 units. Move the power price to 0.03 and the cost halves; move it to 0.12 and it doubles, because power price scales the energy line directly.
Hardware and overhead
Hardware is a capital cost spread over its useful life, and the length of that life is an assumption you choose. A simple way to charge for it is straight-line amortization.
Daily hardware cost = purchase price / days of expected useful life
Add hosting or facility fees, cooling, staff, pool fees, and the cost of capital for the money tied up. None of these has a universal value; they differ by operator and by site.
Putting revenue and cost together
Daily revenue for a machine is its hashprice multiplied by its hashrate. Using the illustrative 69.4 sats per TH/s per day, a 200 TH/s machine earns about 13,886 sats per day, or 0.00013886 BTC. Its illustrative energy use is 96 kWh per day.
That gives a break-even condition on power price alone, ignoring everything but electricity:
Break-even power price = revenue per day in currency / energy per day in kWh
Revenue in currency needs a bitcoin price, so the break-even moves in direct proportion to that price. At the same hashprice in sats, a power price that works at one bitcoin price fails at a lower one. Efficiency shifts the line too: halve J/TH and the machine uses half the energy per unit of revenue, so it can break even at twice the power price.
| Lever | Moves | Effect on margin |
|---|---|---|
| Network hashrate up | Hashprice in sats down | Margin shrinks |
| Fees per block up | Hashprice in sats up | Margin grows |
| Halving | Subsidy component halves | Revenue in sats per unit of work falls unless fees offset it |
| Power price up | Cost per kWh up | Margin shrinks |
| Better J/TH | Energy per TH/s down | Margin grows |
| Bitcoin price up | Fiat revenue up, sats unchanged | Margin grows in fiat terms |
The table is a map of directions, not a view on which way any of them will move.
How much each input matters
A quick way to build intuition is to change one input at a time and watch the result, using the illustrative machine above. Halving the power price halves the energy line. Doubling efficiency, meaning 10 J/TH instead of 20, also halves it. Doubling network hashrate halves hashprice in sats. Each lever is linear, so their effects multiply when several move together.
Adding hardware, still illustrative
Suppose the same hypothetical 200 TH/s machine costs 3,000 currency units and is assumed to be useful for 1,000 days. Straight-line, that is 3 units a day, on top of the 5.76 for power, so 8.76 units a day before any hosting, pool fee or financing.
A shorter assumed life, or a drop in the price of newer machines, raises the daily charge. The point is the structure: the same two or three inputs, each of which can change the answer by a factor of two.
What hashprice leaves out
Hashprice is a clean summary and a deliberately incomplete one. It does not include downtime, curtailment when power is switched off, pool fees, the share of blocks that lose a race and are discarded, taxes, financing, or any hedging an operator does.
It assumes the fee level is an average and that revenue arrives smoothly, whereas a single block can carry a fee total far above or below the mean. Treat it as the revenue input to a larger model, never as a profit figure on its own.
The feedback loop that limits profits
Wide margins give operators a reason to add machines, and thin or negative margins give a reason to switch off the least efficient ones. Either way hashrate changes, and hashprice changes with it, which is the feedback between cost and revenue. This describes incentives only, not any firm’s results.
The energy footprint in context
Power draw is a running cost, and the sector’s electricity use is a common question. In February 2024 the US Energy Information Administration published a preliminary estimate that cryptocurrency mining operations account for between 0.6 percent and 2.3 percent of US electricity consumption.
That is the agency’s own range, for one country and one point in time, and it covers crypto mining in general rather than Bitcoin alone. It is not a global figure and should not be extrapolated to other places or later dates.
Reading hashprice over time
When a chart shows hashprice in a currency, ask which part moved. A fall can come from a lower bitcoin price, a higher network hashrate, lower fees, or a halving that cut the subsidy, and the chart alone rarely says which.
Splitting the series into sats and a price removes one ambiguity at once. Splitting revenue into subsidy and fees removes another, and the payout guide shows how large the fee share of a block can be.
Using the calculator
The mining profitability tool is the place to try your own inputs. Treat any result as a model output: it holds the inputs fixed, whereas real difficulty, fees and price change all the time. It is arithmetic, it does not advise on buying machines, and it says nothing about any real company’s finances. The mining hub collects the related data and guides.
Anything labeled illustrative on this page is an example for teaching, not an observed figure. This guide is educational and is not financial advice.
Frequently asked questions
What is hashprice?
Does hashprice depend on the price of bitcoin?
What costs does the basic model include?
Is the profitability calculator a forecast?
Sources
- src/validation.cpp (GetBlockSubsidy) · Bitcoin Core
- Today in Energy: preliminary estimate of crypto mining electricity use · US Energy Information Administration
- RPC getnetworkhashps · Bitcoin developer documentation
Educational data only. Not financial, investment or tax advice; no licence is claimed. Bitcoin Prime publishes no forecasts, targets or trading signals.