Quick answer
How do you calculate mining profitability?
Mining profitability is daily income minus daily electricity cost. Income is your hashrate times the hashprice, less the pool fee. Cost is power in kW times 24 hours times your price per kWh. A 3,500 W Antminer S21 from Gallumen uses 84 kWh a day, so its cost is 84 times your kWh price.
In brief
- Daily profit = income − electricity; electricity = kW × 24 × price per kWh, 84 kWh a day for a 3,500 W Antminer S21.
- Income = hashrate × hashprice × (1 − pool fee), and it moves with the Bitcoin price and difficulty.
- The 34 SHA-256 miners of the Gallumen catalogue run at 8.9 to 23 J/TH.
- The S21 example breaks even at about $0.0343 per TH/s per day at $0.08 per kWh and a 2% fee.
How do you calculate mining profitability step by step?
Write down the machine specifications
Take the hashrate in TH/s and the power in watts from the product page. For the Antminer S21 these are 200 TH/s and 3,500 W.
Compute the daily electricity use and cost
Divide the power by 1,000 to get kW, then multiply by 24 hours to get kWh per day. Multiply by your electricity price per kWh, taxes included.
Find the current network figures
Read the Bitcoin price, the network difficulty or hashrate, and the current block reward and average fees on a block explorer or a mining statistics site, on the day of the calculation.
Compute the daily income in coins
Use the formula: blocks per day times the reward per block times your share of the network, where your share is your hashrate divided by the network hashrate.
Subtract the pool fee
Multiply the income by 1 minus the fee. A pool fee of 2% means you keep 98%.
Convert to dollars and subtract the electricity
Multiply the coins by the Bitcoin price, then subtract the daily electricity cost. The result is the daily profit, positive or negative.
Compute the break-even electricity price
Divide the daily income in dollars by the kWh used per day. This is the highest electricity price at which the machine does not lose money.
Estimate the payback time and repeat
Divide the machine price by the daily profit. Repeat the calculation when the difficulty adjusts, about every two weeks, and when the coin price moves.
What is the mining profitability formula?
The formula has two parts: income per day and cost per day.
For Bitcoin, income in coins per day is 144 blocks times the reward per block, times your share of the network, times one minus the pool fee. The reward per block is the subsidy plus the average transaction fees. Your share is your hashrate divided by the network hashrate. The network hashrate in H/s is approximately difficulty times 2^32, divided by 600. The terms are explained in what hashrate is.
Cost in dollars per day is the power in kW, times 24, times the electricity price per kWh.
Profit per day is the income in coins times the coin price, minus the cost. A shortcut uses hashprice, the income of 1 TH/s in 1 day in dollars, which mining statistics sites publish. Then income per day is your hashrate in TH/s times the hashprice times one minus the pool fee.
What does it cost to run a miner per day?
| Model | Hashrate | Power | Efficiency | kWh per day | Cost per day at $0.08/kWh | Price |
|---|---|---|---|---|---|---|
| Bitmain Antminer S21 | 200 TH/s | 3,500 W | 17.5 J/TH | 84.0 | $6.72 | $1,271.99 |
| Bitmain Antminer S21 XP | 270 TH/s | 3,645 W | 13.5 J/TH | 87.5 | $7.00 | $3,180.99 |
| Bitmain Antminer S23 XP Hydro | 600 TH/s | 5,340 W | 8.9 J/TH | 128.2 | $10.25 | $15,144.99 |
| Bitaxe Gamma | 1.2–1.5 TH/s | 22 W | 14.7 J/TH | 0.53 | $0.04 | $60.99 |
Prices checked on
What is a worked example with the Antminer S21?
The Bitmain Antminer S21 is rated at 200 TH/s and 3,500 W, which is 17.5 J/TH. Use an example electricity price of $0.08 per kWh and an example pool fee of 2%. These are inputs for the demonstration, so replace them with your own.
- Energy per day: 3.5 kW times 24 hours is 84 kWh.
- Electricity cost per day: 84 kWh times $0.08 is $6.72.
- Income per day: 200 TH/s times the hashprice of the day, times 0.98.
- Break-even hashprice: $6.72 divided by (200 times 0.98) is about $0.0343 per TH/s per day.
If the hashprice published on the day you calculate is above $0.0343, the S21 earns more than it costs at those inputs. If it is below, it loses money. The reverse reading gives the break-even electricity price: the daily income in dollars divided by 84 kWh.
The same machine at $0.05 per kWh costs $4.20 a day, and at $0.12 it costs $10.08. The cost scales in a straight line with your tariff, so a price per kWh is the factor you control.
How does efficiency change the result?
Efficiency in J/TH sets the electricity cost of each terahash, and it is the main difference between two machines at the same hashprice.
One TH/s running for 24 hours uses the efficiency in J/TH times 0.024 in kWh. At 17.5 J/TH this is 0.42 kWh. At 13.5 J/TH it is 0.324 kWh. At 8.9 J/TH it is 0.2136 kWh. At $0.08 per kWh the cost per TH/s per day is $0.0336, $0.0259 and $0.0171.
According to Gallumen’s catalogue of 9 November 2026, the 34 SHA-256 ASIC miners range from 8.9 J/TH to 23 J/TH. The full ranking is in the most efficient ASIC miner of 2026.
How do network difficulty and the pool fee change the income?
A higher difficulty lowers your income, and a pool fee takes a fixed percentage of it.
Bitcoin adjusts the difficulty every 2,016 blocks, about every two weeks, to keep one block near 10 minutes. When miners add hashrate, the difficulty rises and the same machine gets a smaller share of the 144 daily blocks. The effect is direct: if the network hashrate rises by 5% and nothing else changes, your income in coins falls by about 5%.
The pool fee is a percentage of the payout. Some pools use pay-per-share and others pay-per-last-N-shares, and the fee and the payout method differ, so read the terms of the pool you pick. Solo mining has no fee but no regular payout either, as described in what a Bitaxe is and how solo mining works.
What other costs belong in a mining calculation?
A full calculation adds the costs outside electricity: the machine, the place, the cooling and the time.
The machine price is the largest single cost. Gallumen lists the Antminer S21 at $1,271.99, and the price of an ASIC miner includes tracked shipping, as Tracked shipping is included in every price, to every country except the eleven excluded ones; outside the United States, import duties and VAT are paid by the recipient on delivery. Divide the price by the daily profit for a payback time, and note that the daily profit falls as the difficulty rises.
Other costs are a dedicated 200 to 240 V circuit for industrial units, ventilation or heat removal for 3.5 kW, and a place far from rooms where people live, because air-cooled units reach 75 dB. Ways to lower the noise are in how to reduce ASIC miner noise. Taxes on mining income depend on your country, so ask a local tax adviser.
For a broader answer on small machines, read whether Bitcoin mining at home is worth it.
Which numbers must you update, and how often?
Update the coin price, the difficulty and the hashprice at each calculation, and your electricity tariff when it changes.
The machine specifications do not change: hashrate, power and efficiency stay as printed on the product page. Use a block explorer for difficulty and block rewards and a mining statistics site for hashprice. A calculation older than two weeks, one difficulty adjustment, is out of date.
A safe habit is to compute three cases: the current values, a case with the hashprice 30% lower, and a case with the electricity price 20% higher. If the machine stays above break-even in all three, the margin is wide. If it does not, the investment depends on a rising coin price.
Mining profitability questions
What do you need to calculate mining profitability?
You need the miner’s hashrate and power, your electricity price per kWh, the pool fee, and the current Bitcoin price, network difficulty and block reward. The machine figures are on the product page and the market figures are on a block explorer.
What is hashprice?
Hashprice is the income of 1 TH/s over one day, expressed in dollars. Multiply it by your hashrate and by one minus the pool fee to get your daily income.
How do you find the break-even electricity price?
Divide the daily income in dollars by the kWh used per day. For a 3,500 W miner, the energy per day is 84 kWh, so the break-even price in dollars per kWh is the income divided by 84.
Does the calculation work for Litecoin or Dogecoin machines?
Yes, with the same structure: hashrate times the coin’s income per unit of hashrate, minus electricity. Use the units of the algorithm, such as GH/s for Scrypt, and the figures of that coin’s network.
How often does the result change?
The coin price changes every minute, and the Bitcoin difficulty changes about every two weeks. Recalculate at every adjustment and whenever your electricity tariff changes.
Verdict
- Buy a Gallumen miner only when the hashprice of the day sits clearly above its break-even at your real tariff; at a high kWh price, buying Bitcoin directly beats mining it.
- Between two miners, the lower J/TH wins as power gets dearer, even at a higher price.
Price out an Antminer S21
The Antminer S21 at 200 TH/s costs $1,271.99, tracked shipping included.
- New and sealed, maker’s warranty
- No ID document
- Prices checked 9 November 2026
- BTC, ETH, USDT, USDC, SOL, LTC