Home › Templates › Crypto mining profitability spreadsheet

Crypto Mining Profitability Spreadsheet: Bitcoin Mining Calculator for Excel

A free Bitcoin mining profitability spreadsheet for Excel and Google Sheets. Type the network difficulty (or hashrate), block height, fees per block, BTC price, pool fee and your electricity rate, then list up to 20 machines. The sheet works out expected BTC per day, revenue, power cost, net profit, J/TH, break-even electricity price, break-even BTC price and hardware payback. A sensitivity grid and a 24-month projection show what rising difficulty and the next halving do to the numbers.

Download Excel template (.xlsx) 46 KB · 20 machine rows · no macros · Excel 2016+ and Google Sheets · v1.0, 12 Nov 2026

Use it in Google Sheets: choose File → Import → Upload in Sheets and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. No sign-up, no email gate, no live data feed: you type today's difficulty, fees and price from a source you trust.

Preview: the Example tab and Dashboard. Every input is illustrative and fictional: difficulty 150 T, block height 1,000,000, BTC at $90,000, 0.025 BTC fees per block, 2% pool fee, 97% uptime, $0.06/kWh, three made-up machines. Not live data and not a forecast.
$27.07fleet net profit per day today
$0.0799break-even electricity, $ per kWh
$71,778break-even BTC price
957 dayssimple payback if nothing changes
Not in 24 monthspayback with +2%/month difficulty and the halving
Machine (fictional)QtyTH/s eachW eachJ/TH$/kWhBTC/day after pool feeRevenue/dayPower + hosting/dayNet/dayBreak-even $/kWhBreak-even BTC pricePayback
Example miner A102003,50017.50.0600.00080316$72.28$48.89$23.40$0.0887$60,870598 days
Example miner B (older)61103,25029.50.0600.00026504$23.85$27.24−$3.38$0.0525$102,767none
Example miner C (hosted)42603,90015.00.0750.00041764$37.59$30.53$7.06$0.0944$73,0901,473 days
Fleet (20 machines)203,70070.1 kW total18.9mix0.00148584$133.73$106.65$27.07$0.0799$71,778957 days
−$2,500−$2,000−$1,500−$1,000−$500$0$500$1,000Example fleet: net profit per month if it keeps running (difficulty +2%/month, flat BTC price)M1M6M12M18M24Halving: subsidy 3.125 → 1.5625 BTCMonth of the projection (Dashboard tab)

How Bitcoin mining earns money

Miners compete to find the next block. The winner collects the block reward, which the Bitcoin developer glossary defines as "the sum of the block subsidy (newly available satoshis) plus the transactions fees paid by transactions included in the block" (developer.bitcoin.org glossary). Your expected share of those rewards equals your share of the network's hashing work.

Three protocol rules set the pace:

Pools smooth the randomness. The developer guide explains that in pooled mining "The mining pool pays out a portion of these proceeds to individual miners based on how many shares they generated" (Bitcoin developer guide: Mining). The pool keeps a fee; the spreadsheet takes it off the top.

The formulas

Expected BTC per day

BTC/day = hashrate (H/s) × 86,400 ÷ (difficulty × 2^32) × (subsidy + average fees per block)

Difficulty × 2^32 is the average number of hashes needed to find one block. With hashrate in TH/s and difficulty in T (trillions), the 10^12s cancel: 86400/(difficulty_T*2^32) is the expected number of blocks one TH/s wins per day. At an illustrative 150 T that is 1.3411e-07. The exact figure uses 2^48 ÷ 65,535 instead of 2^32, a difference of 0.0015%, so the shorter form is used.

The same answer from the hashrate side:

BTC/day = (your TH/s ÷ network TH/s) × 144 blocks × (subsidy + fees)

Network hashrate is an estimate made from difficulty and block times, which is why the sheet defaults to the difficulty method and shows the implied network hashrate (difficulty × 2^32 ÷ 600) as a cross-check: 150 T implies 1,073.7 EH/s. The check script confirms both methods give the same BTC per day when the inputs match.

Costs, profit and break-even

ResultFormula
EfficiencyJ/TH = watts ÷ TH/s
Electricity per daywatts × 24 ÷ 1,000 × $/kWh × uptime
Revenue per dayBTC/day × uptime × (1 − pool fee) × BTC price
Net profit per dayrevenue − electricity − hosting
Break-even electricity(revenue − hosting) ÷ kWh per day
Break-even BTC price(electricity + hosting) ÷ BTC per day after pool fee
Payback dayshardware cost ÷ net profit per day (only if net > 0 and nothing changes)

What's inside the spreadsheet

TabWhat it does
Start hereInstructions, formulas, colour key, limits, sources. States that the example data is fictional.
InputsMethod (difficulty or network hashrate), difficulty in T, network EH/s, block height, optional subsidy override, fees per block, BTC price, pool fee, uptime, default $/kWh, blocks per day, monthly difficulty growth and price change, and a switch-off rule. Derived cells show the subsidy, block reward, hashprice, implied hashrate and days to the next halving, plus an Inputs check.
Miners20 empty rows: name, quantity, TH/s, wall watts, price paid, optional own $/kWh and hosting fee. 18 formula columns per row and a fleet total.
ExampleThe Inputs and Miners layout filled with illustrative round numbers and 3 fictional machines.
SensitivityNet profit per day at 7 BTC prices × 8 electricity prices, with the break-even $/kWh for each price, and a BTC price × difficulty-change grid. For your fleet and the example.
DashboardYour fleet next to the example: 28 measures, a 24-month projection for each with halvings and difficulty growth, and 3 charts.

How to use it

  1. Open the Inputs tab. Keep the method on Difficulty and type the current difficulty in T. A node returns it with bitcoin-cli getdifficulty; divide by 1,000,000,000,000. Block explorers show the same number.
  2. Type the current block height. The sheet then works out the subsidy (3.125 BTC until block 1,049,999) and the days to the next halving.
  3. Type the average fees per block in BTC, the BTC price, your pool's fee and your uptime.
  4. Type your all-in electricity price per kWh from your bill, including delivery charges.
  5. Open Miners. Add one row per model: quantity, TH/s, power at the wall in watts, and what you paid. A hosted site can have its own $/kWh and a monthly fee per machine.
  6. Check Inputs!C21 and the Row status column. Only "OK" rows count; other text names the fix.
  7. Read the Dashboard, then test prices, electricity and difficulty on the Sensitivity tab. Change the growth assumptions in Inputs rows 16–18 to stress the projection.

The formulas in the file

Row 6 of the Miners tab. Every result is wrapped in IF($J6="OK", …, "") so blank rows stay empty. No macros, no array formulas, no XLOOKUP or LET.

ResultFormula in the file
Block subsidy (Inputs!C22)=IF(ISNUMBER($B$9),$B$9,IF(ISNUMBER($B$8),50/2^INT($B$8/210000),3.125))
Blocks won per day by 1 TH/s (C24)=IF($C$5="Difficulty",86400/($C$6*2^32),$C$15/($C$7*1000000))
Total TH/s, kW, J/TH=$C6*$D6, =$C6*$E6/1000, =$E6/$D6
BTC/day before pool fee=$K6*Inputs!$C$25*Inputs!$C$13
Revenue $/day=$P6*Inputs!$C$11 where P = BTC/day − pool fee
Electricity $/day=$L6*24*Inputs!$C$13*$R6
Hosting $/day=$C6*N($H6)*12/365
Net profit $/day=$Q6-$S6-$T6
Break-even $/kWh=IF($L6>0,($Q6-$T6)/($L6*24*Inputs!$C$13),"")
Break-even BTC price=IF($P6>0,($S6+$T6)/$P6,"")
Payback days=IF($Z6=0,"",IF($U6>0,$Z6/$U6,"No payback: net <= 0"))
Projection subsidy (Dashboard)=50/2^INT($B46/210000), where B = height + 144 × 365/12 × (month − 0.5)

Worked example: Example miner A

Fictional: 10 machines of 200 TH/s at 3,500 W, $1,400 each, on the default $0.06/kWh. Illustrative network: difficulty 150 T, subsidy 3.125 BTC + 0.025 BTC fees, BTC at $90,000, 2% pool fee, 97% uptime.

StepCalculationResult
Total hashrate10 × 200 TH/s2,000 TH/s
Efficiency3,500 W ÷ 200 TH/s17.5 J/TH
BTC per TH/s per day86,400 ÷ (150 × 2^32) × 3.150.0000004224
BTC per day after uptime2,000 × 0.0000004224 × 97%0.00081955
After 2% pool fee× 0.980.00080316
Revenue× $90,000$72.28
Electricity35 kW × 24 × 97% × $0.06$48.89
Net profit$72.28 − $48.89$23.40
Break-even electricity$72.28 ÷ (35 × 24 × 97%) kWh$0.0887/kWh
Break-even BTC price$48.89 ÷ 0.00080316$60,870
Payback$14,000 ÷ $23.40598 days

Miner B is the older model at 29.5 J/TH: it loses $3.38 a day at $0.06/kWh and needs $0.0525/kWh or less to break even. Miner C is more efficient (15 J/TH) but pays $0.075/kWh plus $25 a month per machine of hosting, so it nets $7.06 a day.

Sensitivity: BTC price × electricity price

Fleet net profit per day for the example, one electricity price for every machine (the Sensitivity tab; yellow cells can be changed):

BTC price ↓ / $ per kWh →$0.03$0.04$0.05$0.06$0.07$0.08$0.10$0.12Break-even $/kWh
50% = $45,000$15−$2−$18−$34−$51−$67−$100−$132$0.0390
70% = $63,000$41$25$9−$8−$24−$40−$73−$106$0.0553
85% = $76,500$61$45$29$12−$4−$20−$53−$85$0.0676
100% = $90,000$81$65$49$33$16−$0−$33−$65$0.0799
115% = $103,500$102$85$69$53$36$20−$13−$45$0.0922
130% = $117,000$122$105$89$73$56$40$7−$25$0.1045
150% = $135,000$148$132$116$99$83$67$34$1$0.1209

At today's price the whole fleet breaks even at $0.0799/kWh. A 30% lower BTC price cuts that to $0.0553. Electricity and price matter more than almost any other input, which is why the grid is the first thing to check.

BTC price × difficulty

Difficulty +10% means each TH/s finds about 10% fewer coins (BTC per day ÷ 1.10). Electricity as on the Miners rows:

BTC price ↓ / difficulty change →-10%0%+10%+20%+30%+50%
$63,000−$3−$13−$22−$29−$35−$44
$76,500$20$7−$3−$12−$19−$31
$90,000$42$27$15$5−$4−$18
$103,500$64$47$33$22$12−$4
$117,000$87$67$51$38$27$9

Difficulty growth and the halving: 24-month projection

The Dashboard projects each month with difficulty × (1 + growth)^(month − 1), price × (1 + change)^(month − 1), and the subsidy at the estimated mid-month block height. The example assumes +2% difficulty a month and a flat price, and starts at block 1,000,000, so the halving at block 1,050,000 lands in month 12 (347 days at 144 blocks a day).

MonthEst. heightSubsidy (BTC)DifficultyBTC minedRevenuePower + hostingNet if runningNet used (switch-off)Cash incl. hardware
11,002,1903.1251.000×0.0452$4,067$3,244$824$824−$25,076
31,010,9503.1251.040×0.0434$3,910$3,244$666$666−$23,667
61,024,0903.1251.104×0.0409$3,684$3,244$440$440−$22,124
91,037,2303.1251.172×0.0386$3,472$3,244$228$228−$21,232
111,045,9903.1251.219×0.0371$3,337$3,244$93$93−$20,980
121,050,3701.56251.243×0.0183$1,649$3,244−$1,595−$100−$21,080
131,054,7501.56251.268×0.0180$1,616$3,244−$1,628−$100−$21,180
181,076,6501.56251.400×0.0163$1,464$3,244−$1,780−$100−$21,680
241,102,9301.56251.577×0.0144$1,300$3,244−$1,944−$100−$22,280

The simple payback of 957 days assumes nothing changes. With rising difficulty and the halving, the example fleet earns $4,920 in the first 11 months, then loses money every month it runs. With the switch-off rule (power off, hosting still paid) it ends month 24 at −$22,280 of cash after the $25,900 hardware cost. Payback is not reached within 24 months.

Halving schedule

Block heightSubsidy (BTC)Note
050Genesis block, 2009
210,00025First halving
420,00012.5Second halving
630,0006.25Third halving
840,0003.125Fourth halving: block header time 2024-04-20 00:09:27 UTC (April 19 in US time zones)
1,050,0001.5625Next halving: expected around 2028; the date depends on block times
1,260,0000.78125The one after

Subsidies follow Bitcoin Core's GetBlockSubsidy: 50 BTC shifted right once every 210,000 blocks (validation.cpp). The timestamp of block 840,000 was read from its header (block 840,000 on mempool.space). The chain was near block 975,500 on 12 November 2026, so block 1,050,000 is about 74,500 blocks away: roughly 517 days at 144 blocks a day, around spring 2028. Block times vary, so treat that as an estimate; the sheet recalculates it from the height you type.

Tax notes (US)

The spreadsheet does not compute tax. Track the dollar value of each payout on the day you receive it, and ask a tax professional about business treatment, deductions and depreciation.

Common mistakes

Limits

All results are expected values. Real payouts vary with luck, most of all for solo miners. Difficulty moves in steps every 2,016 blocks; the projection uses a smooth monthly rate you choose. Halving months are estimated at 144 blocks a day. Not included: hardware failures and repairs, resale value, cooling costs outside your $/kWh, demand charges, curtailment credits, financing, taxes and pool payout schemes. The switch-off rule applies to the whole fleet; to switch off one model, set its quantity to 0. One currency (USD). No live data.

FAQ

How do you calculate crypto mining profitability?

Work out expected coins per day from your share of the network, convert to dollars, then subtract costs. For Bitcoin: BTC per day = hashrate × 86,400 ÷ (difficulty × 2^32) × (block subsidy + average fees per block). Take off the pool fee, multiply by the BTC price, and subtract electricity (watts × 24 ÷ 1,000 × $/kWh) and any hosting. In the fictional example, 10 machines of 200 TH/s at $0.06/kWh net $23.40 a day.

How much Bitcoin does 1 TH/s mine per day?

It depends on difficulty and the block reward. 1 TH/s is 10^12 hashes per second, so expected BTC per day = 10^12 × 86,400 ÷ (difficulty × 2^32) × reward. At an illustrative difficulty of 150 T and a 3.15 BTC reward (3.125 subsidy + 0.025 fees) that is about 0.0000004224 BTC, or 42.2 satoshis, before the pool fee. Type the real difficulty into the sheet for today's figure.

What electricity price makes Bitcoin mining break even?

Break-even electricity = (revenue per day − hosting per day) ÷ kWh used per day. It rises with the BTC price and falls as difficulty grows. In the fictional example the fleet breaks even at $0.0799 per kWh at a $90,000 BTC price, and at $0.0390 if the price halves.

What happens to mining profit after a halving?

The block subsidy halves every 210,000 blocks, per Bitcoin Core's GetBlockSubsidy. Revenue from the subsidy halves overnight while electricity costs stay the same, so only fees and a higher price can offset it. In the example, the fleet's monthly net falls from $93 to −$1,595 in the halving month.

Is mined crypto taxable in the US?

Yes. IRS Notice 2014-21, Q&A 8, says that when a taxpayer successfully mines virtual currency, "the fair market value of the virtual currency as of the date of receipt is includible in gross income." Q&A 9 adds that mining as a trade or business can be subject to self-employment tax. The IRS digital assets page points to Schedule 1 for mining income reported as other income.

Is Bitcoin mining still profitable?

No single answer fits every miner. It depends on your electricity price, machine efficiency (J/TH), difficulty, fees, BTC price and how long the hardware lasts. The spreadsheet shows the break-even electricity and BTC price for your own machines and how a halving and rising difficulty change the result over 24 months.

Related tools and templates

Educational template only, not investment, tax or legal advice. Mining results depend on inputs that change every day; nothing on this page predicts profit. Example data is illustrative and fictional: the machines, difficulty, block height, fees, prices and costs are made up to show the formulas and are not market data or real product specifications. Sources: Bitcoin Core source code (validation.cpp, chainparams.cpp); Bitcoin developer guide (Block Chain, Mining, glossary); bitcoin.org FAQ; IRS Notice 2014-21, Rev. Rul. 2023-14 and Digital assets; block data from mempool.space. Retrieved 12 November 2026.