- ROI calculation requires: hashrate, power, hosting cost, pool fee, BTC price, and difficulty
- Always model at flat, +20%, and +40% difficulty to understand downside risk
- Hardware payback period = hardware cost ÷ daily net profit
- Operating cost breakeven = the BTC price at which daily revenue = daily costs
- Use our free calculator to run these numbers live
The Mining Revenue Formula
Bitcoin mining revenue is determined by one core equation:
Daily BTC = (Hashrate_TH × 1,000,000,000,000 × 86,400 seconds × Block_Reward × (1 − Pool_Fee)) / (Difficulty × 2^32)
Where: Hashrate is in TH/s, Block_Reward is currently 3.125 BTC, Pool_Fee is typically 0.01 (1%), and Difficulty is the current network difficulty number (currently ~113.8 trillion).
This gives you your daily BTC earnings before any costs. Multiply by BTC price to get daily gross revenue.
Step-by-Step Calculation for an Antminer S21 Pro
Inputs: 234 TH/s hashrate, 3,510W power, $225/month hosting, 1% pool fee, $100,000 BTC, 113.8T difficulty.
- Daily BTC = (234 × 10^12 × 86,400 × 3.125 × 0.99) / (113,757,508,517,000 × 4,294,967,296) ≈ 0.000814 BTC
- Daily gross = 0.000814 × $100,000 = $81.40
- Daily hosting cost = $225 / 30 = $7.50
- Daily net = $81.40 − $7.50 = $73.90
- Monthly net = $73.90 × 30 = $2,217
- Annual net = $73.90 × 365 = $26,974
- Hardware payback at $3,800: $3,800 / $73.90 = 51 days
Use our calculator to run these numbers with current live BTC price in seconds — no manual math required.
Finding Your Operating Cost Breakeven
The operating cost breakeven is the BTC price at which your daily revenue equals your daily costs. Below this price, you lose money every day the machine operates.
To find it: Daily costs = $7.50 (hosting). Daily BTC at today's difficulty = 0.000814 BTC. Breakeven price = $7.50 / 0.000814 = ~$9,213 (at flat difficulty). But add the pool fee back in and at current conditions the real breakeven for operating costs on S21 Pro hosted at $225/month is approximately $32,000 BTC.
This is why S21 Pro operators can sustain operations through significant price drawdowns. Older hardware with higher electricity costs has much higher operating breakeven prices.
Modeling Difficulty Growth
Always run three difficulty scenarios for any projection beyond 30 days:
- Flat difficulty — Assumes no new miners join the network. Overly optimistic in a bull market.
- +20% annually — Historical average in bull cycles. Use this as your base case.
- +40% annually — Aggressive growth scenario. Use as your conservative/downside case.
A 20% difficulty increase reduces daily BTC earnings by approximately 17%. Model this for 12 months and you will see how much your effective revenue declines even if BTC price holds flat. This is why operators focus obsessively on short hardware payback periods.
Hardware ROI vs Operating ROI
These are two different metrics that are often confused. Operating ROI measures whether mining covers its daily costs — is daily revenue above daily costs? This is determined by BTC price and hardware efficiency versus hosting cost.
Hardware ROI measures whether you eventually recoup the upfront cost of buying the machine. This takes longer and depends on both profitability margin and time. Hardware ROI is the number most relevant to capital allocation decisions: how long until I get my money back?
The key insight: a machine can be cash-flow positive (operating ROI positive) long before it has paid back the hardware cost. And a machine can still pay back before the next halving even if it takes several months — the 2028 halving gives operators 2+ years from 2026.