Bitcoin mining calculator
Enter your machine's hashrate and power use and your electricity price to see expected bitcoin, revenue, power cost and profit per day, month and year.
The formula
Bitcoin sets its difficulty so that, on average, the whole network needs difficulty × 232 hashes to find a block. A miner's expected share of rewards follows directly:
Expected BTC per day = hashrate (hashes per second) × 86,400 × block reward ÷ (difficulty × 232)
- Pool payout = expected BTC × (1 − pool fee)
- Power cost per day = watts × 24 ÷ 1,000 × price per kWh
- Profit = pool payout × BTC price − power cost
- Break-even electricity price = daily revenue ÷ (watts × 24 ÷ 1,000)
- Break-even BTC price = power cost ÷ daily BTC
- Payback = machine cost ÷ daily profit (only if profit is positive)
Month = 30.44 days, year = 365.25 days. Hashrate in TH/s is multiplied by 1012.
Worked example
A 200 TH/s machine at difficulty 148.36 trillion and a 3.125 BTC reward: 200 × 1012 × 86,400 × 3.125 ÷ (148.36 × 1012 × 4,294,967,296) = 0.00008474 BTC a day before the pool fee, or 0.00008305 BTC after a 2% fee. At 3,500 W, the machine uses 84 kWh a day: $10.08 at $0.12/kWh. Multiply the BTC by today's price to see whether that's a profit.
Limitations
- Difficulty rises. When more machines join, everyone's share shrinks. A year-long estimate at today's difficulty is usually too high.
- The halving. Around April 2028, the reward drops to 1.5625 BTC, halving revenue overnight (see the halving countdown).
- Not included: cooling, internet, repairs, the machine losing value, taxes and the price moving. Transaction fees are only included if you add them to the reward.
- Luck: these are averages. A pool smooths payouts; mining alone is a lottery (see the solo mining odds calculator).
Websites selling "mining contracts" with fixed daily returns are a common scam format. A real mining return depends on difficulty and price and can't be guaranteed. Read can you still mine Bitcoin?
Sources
- Difficulty (Bitcoin Wiki)
- Target and difficulty (Bitcoin developer guide)
- mempool.space API (live difficulty)
- Controlled supply (Bitcoin Wiki)
Questions
Is Bitcoin mining profitable?
Only with efficient ASIC machines and cheap electricity, and it changes with the price and difficulty. At typical US household rates, most machines lose money or barely break even. Run your own numbers above.
What is network difficulty?
A number that sets how hard it is to find a block. Bitcoin adjusts it every 2,016 blocks so that blocks keep coming about every 10 minutes, however much computing power is mining.
Why use difficulty instead of network hashrate?
Difficulty is an exact number written into the blockchain. Network hashrate is an estimate worked out from difficulty and recent block times, so it jumps around more.
Can I mine Bitcoin on a computer or phone?
Not usefully. A laptop's share of the network is so small that its expected earnings are a tiny fraction of a cent a day, far below its electricity cost.
Calculations run in your browser. This page asks mempool.space, a public Bitcoin block explorer, for the latest blocks, and CoinGecko for prices; neither request carries anything you type. Results are estimates for learning and planning, not financial or tax advice. Last reviewed November 4, 2026.