Mining calculator
Worked below for an S21 XP at $0.05/kWh with a 2% pool fee and 98% uptime; pick another machine or type your own figures, then press Calculate.
Profit a day
$3.94
$8.23 earned (11,065 sats), $4.29 of power
Cost to mine 1 BTC
$38,739
in electricity, against $74,391 to buy one
Break-even power price
$0.096/kWh
at 13.5 J/TH; above it the machine costs more to run than it earns
Solo mining
1 in 27,874
chance of a block on any day; one every 76 years on average
Ask about this page
Our AI analyst answers questions about this page from CryptoKeyhole’s own data and charts. Free with an account.
Asking opens a free account in a few seconds (a username and a password, no email); then the answer appears here.
Every machine at today's difficulty
| Machine | J/TH | Earned a day | Profit at $0.05 | Profit at $0.08 | Break-even $/kWh | Cost per BTC at $0.05 |
|---|---|---|---|---|---|---|
| S9 13.5 TH/s, 1,323 W | 98.0 | $0.43 | −$1.16 | −$2.11 | $0.013 | $275,593 |
| S17 normal 56 TH/s, 2,520 W | 45.0 | $1.78 | −$1.25 | −$3.06 | $0.029 | $126,548 |
| S19 Pro 110 TH/s, 3,250 W | 29.5 | $3.49 | −$0.41 | −$2.75 | $0.045 | $83,087 |
| S19 XP Hyd 257 TH/s, 5,346 W | 20.8 | $8.16 | $1.74 | −$2.11 | $0.064 | $58,498 |
| S21 XP 270 TH/s, 3,645 W | 13.5 | $8.57 | $4.20 | $1.57 | $0.098 | $37,964 |
| S23 Hyd 580 TH/s, 5,510 W | 9.5 | $18.41 | $11.80 | $7.83 | $0.139 | $26,716 |
How the calculator works
Each block pays the subsidy plus the fees of its transactions, and a miner's expected share is its hash rate against the work the network needs per block. At difficulty D a block takes D × 232 hashes on average, so a machine of h hashes a second expects h × 86,400 ÷ (D × 232) blocks a day. We take D from our own Bitcoin node at its latest block, the subsidy of the next block and the mean fees per block of the last week (1,008 blocks), times our latest BTC price. Revenue is then reduced by the pool fee and the uptime; electricity is power × 24 hours × uptime × your price per kWh.
Cost to mine 1 BTC is the electricity for the hours it takes to earn one; the break-even power price is what a kilowatt-hour would have to cost for revenue and electricity to match. Solo mining is a lottery: the chance of finding at least one block in a day is 1 − e−blocks a day. All of this is the expected value at today's difficulty: difficulty adjusts every 2,016 blocks, fees and the price move every day, and actual pool payouts vary. Hardware, hosting, cooling, financing and taxes are not included. Machine figures are the manufacturers' nominal ratings, the same ones our mining scenario charts use.
Questions
How much does it cost to mine 1 bitcoin?
Is Bitcoin mining profitable right now?
What is hashprice?
What are my chances of solo mining a block?
Does the calculator include the cost of the machine?
No. It counts electricity only. Hardware, hosting, cooling, repairs, financing and taxes are left out, so a machine that clears its power bill can still lose money overall.
Mining scenario chartsAll free tools
Results are expected values at the current difficulty, fees and price, calculated by CryptoKeyhole from our own Bitcoin node and price data; electricity only, before hardware, hosting and taxes.