Bitcoin Mining Profitability Calculator
Calculate Bitcoin mining profitability with hash rate, power consumption, electricity cost, and network difficulty.
Bitcoin Mining Profitability Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Daily BTC = (Hash Rate × 86,400 × Block Reward) / (Difficulty × 2^32)
Worked example — Daily BTC: 0.00021217 | Revenue: $12.73 | Cost: $7.00 | Profit: $5.73
Formula
Daily BTC = (Hash Rate × 86,400 × Block Reward) / (Difficulty × 2^32)
Bitcoin mining revenue is calculated by dividing your hash rate's contribution by the total network difficulty. Multiply your hash rate (in hashes per second) by 86,400 seconds per day and the block reward (3.125 BTC). Divide by the network difficulty multiplied by 2^32. Daily profit equals daily revenue minus daily electricity cost, where electricity cost = power (kW) × 24 hours × rate per kWh.
Worked Examples
Example 1: Antminer S21 XP Profitability
Problem:Calculate daily profitability for an Antminer S21 XP (270 TH/s, 3,645W) with electricity at $0.08/kWh and BTC at $60,000 (difficulty: 80T).
Solution:Daily BTC = (270 × 10^12 × 86400 × 3.125) / (80 × 10^12 × 2^32) = 0.00021217 BTC Daily Revenue = 0.00021217 × $60,000 = $12.73 Daily Electricity = (3.645 kW) × 24h × $0.08 = $7.00 Daily Profit = $12.73 - $7.00 = $5.73
Result:Daily BTC: 0.00021217 | Revenue: $12.73 | Cost: $7.00 | Profit: $5.73
Example 2: Break-Even Analysis
Problem:At what electricity price does the same Antminer S21 XP break even with BTC at $60,000?
Solution:Daily Revenue = $12.73 Daily kWh = 3.645 × 24 = 87.48 kWh Break-Even Price = $12.73 / 87.48 kWh = $0.1455/kWh Any electricity cost above $0.1455/kWh makes mining unprofitable
Result:Break-Even Electricity: $0.1455/kWh
Frequently Asked Questions
How is Bitcoin mining profitability calculated?
Bitcoin mining profitability is determined by comparing mining revenue against operating costs. Revenue is calculated using the formula: Daily BTC = (Hash Rate × 86400 × Block Reward) / (Difficulty × 2^32). The hash rate represents your mining hardware's computing power in terahashes per second (TH/s). The block reward is currently 3.125 BTC after the April 2024 halving. Network difficulty adjusts every 2,016 blocks (approximately every two weeks) to maintain a 10-minute average block time. Operating costs primarily consist of electricity consumption. Your daily electricity cost equals power consumption in kilowatts multiplied by 24 hours multiplied by your electricity rate per kWh.
What is the current Bitcoin block reward and when is the next halving?
The current Bitcoin block reward is 3.125 BTC per block, which took effect after the fourth halving in April 2024. Bitcoin halvings occur approximately every 210,000 blocks (roughly every four years), reducing the block reward by 50%. The next halving is expected around 2028, which will reduce the reward to 1.5625 BTC. Previous halvings occurred in 2012 (50 to 25 BTC), 2016 (25 to 12.5 BTC), and 2020 (12.5 to 6.25 BTC). Halvings are significant for mining profitability because they immediately cut revenue in half, forcing less efficient miners out of the network. This reduction in supply issuance is also a key factor in Bitcoin's scarcity-driven value proposition.
What hash rate do I need to mine 1 Bitcoin per day?
Mining 1 BTC per day requires an extraordinarily high hash rate that is beyond the reach of individual miners. With the current network difficulty around 80 trillion and a block reward of 3.125 BTC, you would need approximately 460 PH/s (petahashes per second) or 460,000 TH/s to mine 1 BTC daily on average. For perspective, the most powerful consumer ASIC miner (such as the Antminer S21 XP) produces about 270 TH/s, meaning you would need roughly 1,700 of these machines. This would consume approximately 5.5 megawatts of power and cost millions in hardware alone. Individual miners typically earn fractions of a bitcoin and join mining pools for more consistent payouts.
What is the most efficient Bitcoin mining hardware in 2025?
The most efficient Bitcoin ASIC miners in 2025 achieve power efficiency below 20 joules per terahash (J/TH). Leading models include the Antminer S21 XP (270 TH/s at 3,645W, ~13.5 J/TH), the MicroBT Whatsminer M66S (298 TH/s at 5,365W, ~18 J/TH), and the Canaan Avalon A1566 (185 TH/s at 3,420W, ~18.5 J/TH). Efficiency is the most critical factor in mining profitability because it determines how much electricity you consume per unit of hash power. A miner with 15 J/TH efficiency will use half the electricity of a 30 J/TH miner for the same hash rate. When evaluating hardware, consider both upfront cost and long-term operating efficiency, as electricity is typically the largest ongoing expense.
How does Bitcoin mining difficulty affect profitability?
Bitcoin mining difficulty directly impacts how much BTC you can mine with a given hash rate. Difficulty adjusts every 2,016 blocks to ensure an average block time of 10 minutes. When more miners join the network (increasing total hash rate), difficulty increases, reducing each miner's share of rewards. When miners leave, difficulty decreases, making mining more profitable for remaining participants. Over Bitcoin's history, difficulty has generally trended upward as more powerful hardware is deployed. Between 2020 and 2024, difficulty increased by over 300%. Rising difficulty means miners must continuously upgrade to more efficient hardware to maintain profitability. During bear markets, some miners shut down unprofitable operations, causing difficulty to drop and creating opportunities for remaining miners with low electricity costs.
What is the difference between hash rate and network difficulty?
Hash rate measures work actually performed, in hashes per second, by one machine or by the whole network. Difficulty is a protocol-set number describing how improbable a valid block hash is, and it is what appears in the denominator of the daily-BTC formula alongside 2^32. The two move together because difficulty retargets to keep block time near ten minutes: when aggregate hash rate climbs, the next retarget raises difficulty to match, which is why a fixed miner's output falls even though its own hash rate never changed.
How do I work out my break-even electricity price?
Set daily revenue equal to daily power cost and solve for the rate. Revenue is expected BTC per day times coin price; cost is power in kilowatts times 24 hours times the rate. So the break-even rate per kWh equals daily revenue divided by (kW x 24). Using the page's S21 XP example, revenue is $12.73 per day and the machine draws 3.645 kW, which is 87.48 kWh per day, giving a break-even rate of about $0.1455/kWh. Above that price the machine loses cash every hour it runs.
Why does solo mining almost never pay a single machine?
Block discovery is a memoryless random process, so expected time to find a block equals difficulty times 2^32 divided by your hash rate. A machine holding a millionth of network hash rate expects one block per million block intervals, on the order of decades, and the variance around that is enormous. Pooling shares the same expected value but pays out on submitted shares, converting a lottery into a near-steady income stream in exchange for the pool fee.
How do transaction fees change mining revenue compared with the block subsidy?
Each block pays the fixed subsidy plus whatever fees the included transactions carry, and Bitcoin Mining Profitability Calculator models only the subsidy. Fee revenue swings with mempool congestion: during quiet periods it is a small fraction of the subsidy, while fee spikes can briefly rival it. Because fees are volatile and unpredictable, treating the subsidy-only figure as your baseline is the conservative choice, with fees as upside. Their long-run importance grows as each halving shrinks the subsidy.
How do I convert between GH/s, TH/s, PH/s and EH/s?
Each step is a factor of one thousand: 1 TH/s equals 1,000 GH/s, 1 PH/s equals 1,000 TH/s, and 1 EH/s equals 1,000 PH/s, or 10^18 hashes per second. The formula needs raw hashes per second, so a 270 TH/s machine enters as 2.7 x 10^14. Getting the exponent wrong by one step changes the result by a factor of a thousand, which is the most common source of implausible mining estimates, so check units before trusting the output.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer · Editorial policy
Related Calculators
🧮GPU Mining Calculator
Compare GPU mining profitability across ETH, RVN, ERGO, and other PoW coins.
🧮ASIC Mining ROI Calculator
Calculate ASIC miner return on investment from hash rate, power, electricity cost, and BTC price.
₿Bitcoin Profit
Estimate Bitcoin trading or mining profits based on buy/sell price, hash rate, electricity costs, and pool fees
🧮Crypto Tax Lot Calculator
Calculate capital gains using FIFO, LIFO, HIFO, and specific identification for crypto trades.
🧮Crypto Airdrop Tax Calculator
Calculate tax liability on crypto airdrops based on fair market value at time of receipt.
🧮Crypto Loss Harvesting Calculator
Identify crypto positions with unrealized losses for tax-loss harvesting opportunities.
🧮Crypto Position Size Calculator
Calculate optimal crypto position size from account balance, risk percentage, and stop loss.
🧮Crypto Leverage Calculator
Calculate crypto leveraged position size, liquidation price, and risk from margin and leverage.