TSE.
MathematicsFinanceHealthPhysicsEngineeringBrowse all

Finance & Economics · Portfolio Management

Crypto Mining Profitability Calculator

Calculate daily, monthly, and annual crypto mining profitability based on hashrate, power consumption, electricity cost, and current coin price.

Calculator

Advertisement

Formula

P_{net} is net profit over period T (days). H is hashrate in hashes per second (H/s). R_{block} is the block reward in coins. C_{price} is the current coin price in USD. D is the network difficulty. W is the miner power draw in watts. C_{elec} is the electricity cost in USD per kWh. The first term represents daily revenue; the second subtracts daily electricity cost.

Source: Standard cryptocurrency mining economics model; Bitcoin Wiki — Mining.

How it works

Cryptocurrency mining profitability depends on a competition between your hardware's computational power and the total computing power of the entire network. When you contribute a fraction of the network's total hashrate, you earn a proportional share of block rewards. The fundamental question is whether the value of those rewards exceeds what you spend on electricity to earn them — the so-called mining margin.

The core revenue formula estimates daily coin production as: (Hashrate × Block Reward × Seconds per Day) / (Network Difficulty × 2³²). This is then multiplied by the current coin price and reduced by the pool fee percentage to yield gross daily revenue. Electricity cost is calculated as (Power in kW) × 24 hours × Cost per kWh, and is subtracted to arrive at net daily profit. All figures scale linearly to monthly (×30) and annual (×365) projections. If you enter your hardware cost, the calculator also computes a break-even period in days.

This model is used by individual GPU miners, large-scale ASIC farms, and institutional crypto investors performing capital allocation analysis. Understanding mining economics is critical for decisions like when to switch coins, whether to lock in power contracts, or whether to sell hardware versus continuing to mine. The profitability landscape shifts rapidly with coin price volatility and network difficulty adjustments — making real-time recalculation a valuable practice.

Worked example

Suppose you are running an Antminer S21 Pro with a hashrate of 234 TH/s and a power draw of 3,510 W. The current Bitcoin price is $65,000, the block reward is 3.125 BTC, and network difficulty is approximately 88 trillion. Your electricity rate is $0.08/kWh and your pool charges a 1% fee.

Step 1 — Daily coins mined: (234 × 10¹² × 3.125 × 86,400) / (88 × 10¹² × 2³²) ≈ 0.000196 BTC/day.

Step 2 — Daily gross revenue: 0.000196 BTC × $65,000 = $12.74/day. After 1% pool fee: $12.74 × 0.99 = $12.61/day.

Step 3 — Daily electricity cost: (3,510 / 1,000) × 24 × $0.08 = $6.74/day.

Step 4 — Daily net profit: $12.61 − $6.74 = $5.87/day.

Step 5 — Monthly profit: $5.87 × 30 = $176.10/month. Annual profit: $5.87 × 365 = $2,142.55/year.

Step 6 — Break-even (if hardware cost is $4,500): $4,500 / $5.87 ≈ 767 days (~2.1 years).

Limitations & notes

This calculator assumes constant values for coin price, network difficulty, and block reward — all of which fluctuate significantly in practice. Bitcoin's difficulty adjusts approximately every two weeks based on total network hashrate; if more miners join the network, your share of rewards decreases. Coin prices are highly volatile and can move 50% or more in weeks, dramatically altering profitability. Block halving events (which cut the block reward in half roughly every four years for Bitcoin) permanently reduce mining revenue unless offset by rising prices. The model also excludes hardware depreciation, cooling infrastructure costs, maintenance, internet connectivity, and potential downtime. Pool luck — the statistical variance in actually finding blocks — can cause short-term results to differ meaningfully from theoretical projections. For altcoins, the formula structure holds but input parameters (block time, reward schedule, algorithm efficiency) differ per coin. Always treat projections beyond 3 months as highly speculative given these dynamic market conditions.

Frequently asked questions

What is a good hashrate for profitable Bitcoin mining?

Profitability depends on electricity cost more than raw hashrate. At $0.10/kWh, modern ASICs like the Antminer S21 (200+ TH/s) are marginally profitable at typical Bitcoin prices. At $0.05/kWh or lower, even older-generation hardware can generate positive returns. GPU mining Bitcoin is not viable against industrial ASIC competition.

How does network difficulty affect mining profitability?

Network difficulty adjusts every 2,016 blocks (roughly two weeks) to keep Bitcoin's block time near 10 minutes. As more miners join the network, difficulty rises and each miner earns a smaller share of total rewards. A 10% difficulty increase reduces your daily coin yield by approximately 9.1%, directly cutting revenue if coin price is unchanged.

What electricity cost makes crypto mining unprofitable?

The break-even electricity rate is where revenue equals electricity cost. For a typical ASIC with 30 J/TH efficiency mining Bitcoin at $65,000, the break-even electricity rate is roughly $0.12–$0.15/kWh. Industrial miners in regions with cheap hydro or stranded gas power (under $0.04/kWh) have a significant competitive advantage.

Should I mine directly or join a mining pool?

Solo mining is only practical if you control a very large fraction of network hashrate. For most miners, joining a pool smooths out the statistical variance — you receive small, consistent payouts proportional to your contributed hashrate rather than waiting months or years for a solo block. Pool fees (typically 0.5–2%) are a reasonable cost for revenue predictability.

How do I account for the Bitcoin halving in profitability calculations?

Bitcoin halvings cut the block reward by 50% at predetermined block heights (approximately every 4 years). After the 2024 halving, the reward dropped from 6.25 to 3.125 BTC per block. To model post-halving profitability, simply halve the block reward input. Historically, halvings have been followed by significant price appreciation, but this is not guaranteed and should not be assumed in conservative financial models.

Last updated: 2025-01-15 · Formula verified against primary sources.