Home / Mining University / Education
Education

How to Calculate Bitcoin Mining Profitability: The Complete Guide

The complete Bitcoin mining profitability formula with worked examples, difficulty growth modeling, multi-scenario ROI tables, and common calculation mistakes to avoid in 2026.

JH
Jacob H.
Founder, LMC Mining Intelligence · 8 years in Bitcoin mining
·15 min read·Updated 2026About the author →
calculatorprofitabilityformularoibeginners
Key Takeaways
  • Daily BTC = (hashrate × 86,400 × 3.125) ÷ (difficulty × 2³²) — this is the fundamental formula every calculator uses
  • Net profit = gross revenue minus hosting cost ($7.50/day at $225/month) minus pool fees (1-2.5%)
  • Hardware ROI = hardware cost ÷ net daily profit — for S21 Pro at $105k BTC, that is 50.7 days
  • Always model 20% annual difficulty growth into projections beyond 90 days — ignoring this systematically overstates returns
  • Stress-test every model at $70,000 and $50,000 BTC before committing capital — know your floor scenario

Every mining profitability calculator — including ours — uses the same underlying formula. It derives from Bitcoin's fundamental block-finding algorithm and has been unchanged since 2009. Understanding this formula means you can verify any calculation, catch mistakes in vendor-provided numbers, and build your own models with the exact assumptions you want to use.

This guide walks through the complete calculation methodology from first principles: the core formula, worked examples with real 2026 numbers, how to build a 12-month model with difficulty growth, how to calculate true ROI versus hardware cost, and the most common mistakes that cause operators to significantly overestimate their returns. Use our live profitability calculator alongside this guide to run the numbers on your specific hardware and hosting setup.

One important note before diving in: profitability calculations are only as good as the assumptions you put into them. The most dangerous thing you can do with a mining calculator is use optimistic inputs — current BTC price, current difficulty, zero pool fees — and treat the output as your guaranteed return. The second half of this guide addresses specifically how to stress-test your assumptions to arrive at an honest picture.

The Mining Profitability Formula

Bitcoin mining revenue derives directly from the probability of finding a valid block multiplied by the block reward. Your probability of finding a block at any given moment is proportional to your share of total network hashrate. The formula that emerges from this:

Daily BTC = (H × 86,400 × 3.125) ÷ (D × 2³²)

Where:

  • H = your hashrate in hashes per second (convert TH/s: multiply by 10¹²)
  • 86,400 = seconds per day
  • 3.125 = current block reward in BTC (post-April 2024 halving)
  • D = current network difficulty (unitless number, currently ~113-120 trillion)
  • 2³² = 4,294,967,296 (the difficulty target scaling constant)

Worked Example: Antminer S21 Pro

Hardware: Antminer S21 Pro — 234 TH/s (234 × 10¹² = 234,000,000,000,000 hashes/second)
Network difficulty: 113,757,508,517,000 (113.76 trillion, mid-2026)

Daily BTC = (234,000,000,000,000 × 86,400 × 3.125) ÷ (113,757,508,517,000 × 4,294,967,296)

= 63,180,000,000,000,000,000 ÷ 488,811,000,000,000,000,000,000

= 0.0007850 BTC per day

At $105,000 BTC: 0.000785 × $105,000 = $82.43 gross daily revenue

From Gross Revenue to Net Profit

Gross revenue is not what you earn — it is your starting point. You must subtract all operating costs to arrive at net profit, which is the figure that actually matters for ROI calculations.

Flat-Fee Hosted Mining

Net Daily Profit = Daily Gross Revenue − (Monthly Hosting Fee ÷ 30) − Pool Fees

Example with Abundant Miners ($225/month) and Foundry USA pool (0.75% fee):

  • Daily gross revenue: $82.43
  • Hosting cost: $225 ÷ 30 = $7.50/day
  • Pool fee (0.75%): $82.43 × 0.0075 = $0.62/day
  • Net daily profit: $82.43 − $7.50 − $0.62 = $74.31/day

Per-kWh Electricity Model

Net Daily Profit = Daily Gross Revenue − (Power_kW × 24 × $/kWh) − Pool Fees

Example at $0.07/kWh for S21 Pro (3.51 kW draw):

  • Daily electricity: 3.51 × 24 × $0.07 = $5.90/day
  • Pool fee (1.5%): $82.43 × 0.015 = $1.24/day
  • Net daily profit: $82.43 − $5.90 − $1.24 = $75.29/day

The flat-fee model ($74.31/day) and the per-kWh model at $0.07/kWh ($75.29/day) give similar results for S21 Pro hardware. However, as difficulty rises and gross revenue falls, the flat-fee model's fixed cost structure becomes relatively more expensive. At lower hashprice environments, per-kWh models with competitive rates outperform flat fees.

Calculating ROI and Hardware Breakeven

The Breakeven Formula

Breakeven days = Hardware Purchase Price ÷ Net Daily Profit

For an Antminer S21 Pro at $3,800:

  • At $105,000 BTC: $3,800 ÷ $74.31 = 51.1 days
  • At $80,000 BTC: $3,800 ÷ $54.50 = 69.7 days
  • At $60,000 BTC: $3,800 ÷ $39.10 = 97.2 days
  • At $50,000 BTC: $3,800 ÷ $31.20 = 121.8 days

Even at $50,000 BTC — approximately half of current prices — the hardware pays for itself in just over 4 months. This gives a clear picture of the downside risk profile: even in a significant bear scenario, the S21 Pro recovers hardware cost well within a 12-month contract.

12-Month Net Profit Table

BTC Price Net/day Monthly net 12-month net HW breakeven
$120,000 $86.40 $2,592 $31,104 44 days
$105,000 $74.31 $2,229 $27,143 51 days
$80,000 $54.50 $1,635 $19,620 70 days
$60,000 $39.10 $1,173 $14,076 97 days
$50,000 $31.20 $936 $11,232 122 days

S21 Pro at $225/month hosting, 0.75% pool fee, static difficulty. Actual returns decline as difficulty rises.

Building a 12-Month Model With Difficulty Growth

The table above uses static difficulty — meaning it assumes difficulty never changes. This is a significant overstatement of returns. In the real world, difficulty grows as more miners come online, especially in bull markets. A proper 12-month model must account for this.

Applying a Difficulty Growth Rate

At 20% annual difficulty growth (a conservative assumption in bull markets), monthly difficulty grows at approximately 1.53% per month. Apply this as a monthly revenue decay factor:

  • Month 1: 100% of base revenue
  • Month 3: 100% ÷ 1.0153³ = 95.5% of base revenue
  • Month 6: 100% ÷ 1.0153⁶ = 91.3% of base revenue
  • Month 12: 100% ÷ 1.0153¹² = 83.3% of base revenue

At $105,000 BTC with this adjustment, your 12-month net profit is closer to $22,000–24,000 (not $27,143 from the static model) — a meaningful difference that compounds when comparing deals. Read our difficulty guide for a complete explanation of how difficulty adjusts and how to model it.

Modeling Multiple BTC Price Paths

Rather than pick a single BTC price, model three scenarios: base (current price), bull (+30% over 12 months), and bear (-40% over 12 months). Weight them according to your personal probability assessment. This gives a probability-weighted expected return rather than a single-point estimate that may not reflect the actual distribution of outcomes.

Our halving impact guide provides a framework for thinking about BTC price trajectories in the current cycle, including how prior halvings affected price in the 18 months following the event.

The Variables That Actually Move the Needle

Network Difficulty Growth (The Hidden Risk)

A 20% difficulty increase while everything else stays constant reduces your revenue by approximately 17%. This is the most common source of disappointment for operators who modeled using static difficulty. In the first year after each halving, difficulty growth has historically been 30-60% as the rising BTC price attracts new miners. Plan conservatively.

Hosting Cost vs Electricity Rate

At $225/month flat ($7.50/day) vs $0.07/kWh ($5.90/day for S21 Pro), the electricity model saves $1.60/day — $584/year. But flat fees provide certainty. At a higher electricity rate of $0.09/kWh, daily cost is $7.58 — nearly matching the flat fee — with the added risk of rate increases. The flat-fee model at $225/month is competitive for most operators who prioritize cost certainty over marginal savings.

Pool Fee Selection

Pool fees of 0.75% (Foundry USA) vs 2.5% (Antpool FPPS) represent a $1.43/day difference at $82/day gross — $522/year per machine. At 10 machines, that's $5,220/year in fee differences. Pool selection is one of the highest-leverage, lowest-effort optimizations available to any mining operator. See our pool comparison guide.

Common Mistakes in Mining Profitability Calculations

  • Using static difficulty for multi-month models. Always apply a monthly difficulty growth rate. At 20% annual growth, month-12 revenue is 83% of month-1 revenue — a 17% reduction that compounds every year.
  • Forgetting pool fees. Pool fees of 1-2.5% of gross revenue are not small. On $82/day gross, that's $300-748/year per machine. Include them in every calculation.
  • Using gross revenue for ROI calculations. ROI must be calculated on net profit after all operating costs. Gross revenue overstates returns by 10-20% depending on your cost structure.
  • Not stress-testing at lower BTC prices. Calculate breakeven and 12-month net profit at $70,000 and $50,000 BTC before committing capital. Operators who only ran numbers at peak BTC prices have been repeatedly surprised by the impact of corrections.
  • Using estimated rather than live difficulty data. Outdated difficulty data can cause significant calculation errors. Always use live difficulty from blockchain.info or our live data dashboard.

Expert Tips for Accurate Mining Profitability Models

  • Build a spreadsheet with monthly rows and a difficulty growth multiplier. This is the only way to see how returns evolve over 12-24 months with realistic assumptions. Static single-point calculations hide the most important dynamics.
  • Run your model at three BTC prices simultaneously. Base, bull, and bear scenarios modeled side-by-side give a much more honest picture than single-scenario optimism.
  • Include hardware depreciation in your total ROI calculation. A $3,800 miner worth $1,800 at month 24 changes your total return calculation. Net present value accounting matters for significant capital commitments.
  • Verify your model against our calculator. Use our live profitability calculator with identical inputs to cross-check your spreadsheet. Discrepancies usually reveal a modeling error worth finding before you deploy capital.
  • Get an expert to review your model before large commitments. Our profitability audit includes a review of your specific model assumptions and delivers a written risk assessment within 48 hours. Standard practice for commitments above $10,000.

Putting It Together

Bitcoin mining profitability calculations are not complicated, but they are easy to do wrong. The formula is fixed and simple. What separates accurate models from misleading ones is the inputs: using live difficulty data, building in realistic difficulty growth, modeling multiple BTC price scenarios, and including all cost components — hosting, pool fees, and hardware amortization.

The operators who consistently make money from mining are not necessarily the ones with the best BTC price predictions. They are the ones who model conservatively, know their floor scenarios intimately, and make hardware and hosting decisions based on honest numbers rather than optimistic ones. Use our deal analyzer to score any deal you're evaluating, and our live calculator for real-time profitability data on your specific hardware and hosting configuration.

Frequently Asked Questions

What is the Bitcoin mining profitability formula?

Daily BTC = (hashrate_TH × 10^12 × 86,400 × 3.125) ÷ (network_difficulty × 2^32). Multiply by BTC price for USD gross revenue. Subtract hosting cost ($7.50/day at $225/month) or electricity cost (kW × 24 × $/kWh) for net daily profit.

What network difficulty should I use for calculations?

Use current difficulty from blockchain.info or our live data dashboard. As of mid-2026, network difficulty is approximately 113-120 trillion. For projections beyond 90 days, model at 120% of current difficulty (20% growth) to account for new miner deployments in the bull market.

Why does my calculator show different results than other calculators?

Differences usually come from outdated difficulty data, different BTC price assumptions, not accounting for pool fees (1-2.5%), or different formula implementations. Our calculator uses live CoinGecko price data and blockchain.info difficulty. Always use live data and include all costs in your model.

How do I calculate mining ROI?

ROI % = ((Total Revenue - Total Costs) / Hardware Cost) × 100. Total costs = hosting fees × months + pool fees. Model over 12 and 24 months at both current BTC price and a stressed scenario ($70,000). Hardware cost should include purchase price only — the $500 Abundant Miners deposit is refundable as prepaid hosting.

How do I account for difficulty growth in my profitability model?

Apply a monthly difficulty multiplier to your revenue calculation. At 20% annual growth, multiply month N revenue by 1/(1 + 0.20)^(N/12). For a 12-month model: month 1 revenue × 1.00, month 6 revenue × 0.91, month 12 revenue × 0.83. This compounds to about 17% lower revenue in month 12 vs month 1.

What is the difference between gross and net mining revenue?

Gross revenue is your total BTC earnings × BTC price before any costs. Net revenue subtracts hosting costs (or electricity), pool fees (1-2.5%), and any other operational costs. Your ROI calculation should always use net revenue — gross revenue is a misleading figure that ignores your real cost structure.

Run Your Own Numbers

Use our free deal analyzer to score any hardware and hosting combination across 5 dimensions — hardware pricing, hosting cost, efficiency, profitability, and risk.

Open the Deal Analyzer →
Want a professional review?

We'll analyze your exact setup — miner, hosting contract, financing — and deliver a written profitability report within 48 hours. Done personally, not AI-generated.

Book a Profitability Audit — from $97
Analyze My DealBook Audit