Methodology · Page updated

How to calculate ASIC miner profitability, hashprice and GPU rent per kW

Short answer: hashprice = 86,400 × 1012 ÷ (difficulty × 232) × block reward × BTC price, which gave $0.0193 per TH/s per day on December 5, 2026 (mempool.space data, our math). A miner's daily profit is its TH/s × hashprice, less the pool fee, less watts ÷ 1000 × 24 × your power price. Break-even power price is revenue ÷ kWh a day: about $0.060/kWh for an Antminer S21 XP and $0.037/kWh for an Antminer S19 XP before pool fee.

Every number on joulemath is your input, live from a public API, or linked to where it came from. Here is exactly how the calculators work. Want the verdict instead of the formulas? Read is Bitcoin mining profitable in 2026?, or put your own power price into the ASIC profit calculator.

Where does the live data come from?

All requests run in your browser when the page loads. Nothing you type is sent to us or anyone else.

What is the formula for hashprice and mining profit?

  • BTC per TH/s per day = 1012 × 86,400 ÷ (difficulty × 232) × reward per block (Bitcoin Wiki: Difficulty).
  • Hashprice = BTC per TH/s per day × BTC price.
  • Mining revenue per day = TH/s × BTC per TH/s per day × (1 − pool fee) × BTC price.
  • Power cost per day = watts ÷ 1,000 × 24 × price per kWh.
  • Breakeven power price = daily revenue ÷ daily kWh. Less efficient machines draw more kWh per TH/s, so they hit it at a lower power price; the Antminer S19j Pro page shows this for an older model.
  • Hardware payback = hardware cost ÷ daily profit, assuming today's difficulty and price stay flat.

Worked example: what does an Antminer S21 XP make at $0.06/kWh?

Live network numbers from December 5, 2026: difficulty 145.09 T, 3.2073 BTC average reward over the last 144 blocks, BTC at $43,419 (mempool.space API). Machine: Antminer S21 XP, 270 TH/s at 3,645 W (specs and source).

StepMathResult
BTC per TH/s per day86,400 × 1012 ÷ (145.09 T × 232) × 3.207344.5 sats
Hashprice44.5 sats × $43,419$0.0193 / TH/s / day
Revenue270 TH/s × $0.0193$5.21 / day
Pool fee (2%)$5.21 × 0.02−$0.10
Power3,645 W ÷ 1000 × 24 h × $0.06−$5.25
Profit-$0.14 / day
Break-even power price$5.11 ÷ 87.5 kWh$0.058 / kWh

That is before the cost of the machine. Try other models and prices in the ASIC miner profitability calculator, see every model side by side on the ASIC profitability page, or check what power costs in mining countries on the industrial power prices page. This example is rebuilt daily.

What are the inputs today, December 5, 2026?

  • BTC price: $43,419. Difficulty: 145.09 T. Average reward: 3.2073 BTC per block over the last 144 blocks (mempool.space API).
  • Hashprice: $0.0193 per TH/s per day (our math, formula above).
  • Antminer S21 XP (270 TH/s, 3,645 W, Bitmain spec): grosses $5.21 a day, breaks even at about $0.060/kWh before pool fee.
  • Antminer S19 XP (141 TH/s, 3,031.5 W, Bitmain spec): grosses $2.72 a day, breaks even at about $0.037/kWh before pool fee.

The next difficulty adjustment, at block 979,776 (840 blocks away), is estimated at -6.39% around Saturday, December 12 (mempool.space difficulty-adjustment API, read December 5, 2026). If the BTC price and fees hold, hashprice would move from $0.0193 to about $0.0206 per TH/s per day (our math: hashprice ÷ (1 − 0.0639)). The estimate shifts with network hashrate until the block is mined.

Every other machine at this hashprice is on the ASIC profitability page, and the Bitcoin mining profitability guide turns these numbers into a verdict.

How do you work out the cost to mine 1 BTC?

Cost per BTC = kWh a day × power price ÷ BTC mined a day. BTC mined a day = TH/s × BTC per TH/s per day × (1 − pool fee). At $0.05/kWh and the numbers above, electricity alone costs about $37,173 to mine 1 BTC with an Antminer S21 XP and about $59,201 with an Antminer S19 XP, against a BTC price of $43,419 (our arithmetic, 2% pool fee, no hardware or hosting). Every model at $0.03 to $0.08/kWh and at real industrial prices, plus what public miners spend per coin: cost to mine 1 BTC. What it means for profit is in the guide: how much does it cost to mine 1 Bitcoin?

How do you compare mining and GPU rental per kW?

The home calculator works per 1 kW of facility power. With PUE p, 1 kW at the meter leaves 1/p kW for IT load. Mining TH/s per kW = 1,000 ÷ p ÷ J/TH. GPUs per kW = 1,000 ÷ p ÷ watts per GPU. GPU revenue per kW per day = GPUs per kW × rate per GPU-hour × 24 × utilization × (1 − marketplace cut). EUR conversion of USD rental rates uses the BTC EUR/USD price ratio.

How does the full-cost comparison work?

Per day: net = revenue − power − hardware − hosting. Power = kW × 24 × $/kWh. Hosting = kW × $/kW-month × 12 ÷ 365 (optional, default 0). The home page also shows a "Full numbers" table with these dollar totals.

Scale-free numbers

Mining and GPU setups cost very different amounts for the same power, so raw dollar totals are hard to compare. The headline uses ratios instead:

  • Net / month per $1k invested = net per day × 30.4 ÷ capex × 1,000. In rent mode the base is the rent you pay per month instead of capex.
  • Net margin = net ÷ revenue.
  • Net per kW per day = net per day ÷ facility kW used by that side.

Hosted vs self-run

Hosted (default). Mining: you pay the host an all-in rate per kWh the miners draw, which covers power, cooling, repairs and monitoring, so PUE and a separate hosting fee are not applied. GPUs: wholesale colo is priced per kW of IT load with power billed on top, so cost = IT kW × colo $/kW-month + IT kW × PUE × 24 × electricity price. Self-run: you pay your own power price × PUE, plus any hosting fee you enter.

  • Mining hosting rates: Simple Mining all-in $0.08/kWh for 0 to 499 kW, $0.075 for 500 to 999 kW, $0.07 for 1 to 2 MW, $0.065 Enterprise+, including power, cooling, operations and monitoring (source). Compass Mining offered S21 XP hosting at $0.07/kWh with a 1-unit minimum as a promo, Aug 2026 (source); its M60S tiers run $0.074 to $0.079 (source). Simple Mining quotes 95% uptime; the uptime input defaults to 100% so you can set your own.
  • GPU colo $196.25/kW-month: CBRE's North America average asking rate for 250 to 500 kW wholesale colo, power excluded; AI-ready high-density space gets a premium CBRE does not quantify (CBRE, power exclusion per Coloprice Q3 2026). No one publishes a rate for a single GPU or a few kW of dense load; we use this figure for every size and flag it.
  • Marketplace cut 20%: Vast.ai has no host fee since June 2024, but renters pay about 25% above the host's price, so hosts keep about 80% of what renters pay (Vast.ai, Vast.ai). RunPod's Community Cloud kept 24% and is closed to new hosts (RunPod docs). Our rental rate is what renters pay, so the cut comes off it.

Holding the mined BTC

In hold mode, the calculator keeps every BTC mined over the hardware life and values the stack at a BTC price you choose at the end (default: today's). Hosting and power are still paid in dollars every month. Mined BTC is simulated day by day. By default difficulty is held flat at today's level (the conservative choice). An optional setting, Difficulty: last-12-month trend, instead follows its trend over the last 12 months from mempool.space's hashrate and difficulty API, annualized and assumed to keep that pace (as of Oct 22, 2026 it had fallen about 10% a year, which makes the stack bigger; if difficulty rises instead, the stack is smaller). The block subsidy halves from 3.125 to 1.5625 BTC at block 1,050,000, every 210,000 blocks per the protocol (Bitcoin Wiki), estimated at 144 blocks a day from the live block height (around April 2028). Fees are held at today's level. If the trend data fails to load, the trend option falls back to flat. Selling mode uses the same daily BTC output (same difficulty setting, same halving) and values each day's BTC at today's price, so holding at today's price gives the same result as selling. Payback months and break-even figures use the average daily output over the machine life. Profit = BTC value at sale minus hosting and power paid monthly minus the machines; tax, if set, applies only to a positive result.

Four-year holding record. Using CoinMetrics' free daily BTC price series (btc.csv, PriceUSD, 5,789 days from July 18, 2010 to May 23, 2026), we checked every 1,461-day window: buy on day one, sell 1,461 days later. All 4,328 windows ended above the buy price. Worst: +31.7% (April 13, 2021 to April 13, 2025, $63,446 to $83,569). Median: +1,359% across all windows, +482% for windows starting January 1, 2015 or later. Past performance is not a guarantee.

GPU resale. We found no cited source for used H100 resale prices, so the GPU side assumes the hardware is worth nothing at the end of its life.

Two ways to read the result

The home calculator shows the result through two lenses. Monthly cash is what each side brings in per month after power, hosting or colo, before the cost of the machines (30.4 days of the life-average daily figure). In hold mode mining brings in no cash, because every coin is kept, so its monthly figure is the bill it still has to pay. In selling mode, each day's BTC is valued at today's price. Long-term upside is the lifetime profit already shown in the headline: in hold mode, the BTC stack valued at the sale price you pick, minus monthly costs and the machines. Blending divides the GPU side's monthly cash by the mining side's monthly power and hosting bill. Both sides are sized on the same budget or the same kW, so the ratio stays about the same if the money is split between them (GPUs come in whole units, so small budgets drift). This is the reason some operators run both: GPU rental income pays the power bill, so mined BTC does not have to be sold when the price is weak. No new figures go into this block; it reuses the calculator's own numbers.

Investor profiles

  • Small ($40,000): about 9 S21 XP at the cited $15.81/TH, or 1 GPU at $36,125 (one eighth of the cited 8x H100 server; a lone card is priced differently). Mining at Simple Mining's 0 to 499 kW rate, $0.08/kWh. GPU colo: no published rate at this size, so we use CBRE's and say so. Renters through a marketplace, 20% cut.
  • Growing ($300,000): about 70 S21 XP, or one 8x H100 server ($289,000). Mining at Compass's $0.07/kWh S21 XP promo (Simple Mining's tier for about 280 kW is $0.08). CBRE colo, 20% marketplace cut.
  • Institutional ($5,000,000): MW-scale mining at Simple Mining's Enterprise+ $0.065/kWh. CBRE colo. Renters on direct contracts, so no marketplace cut; that is our assumption, and utilization becomes the term you negotiate.

Budgets are round picks of ours, not data. Utilization stays at 70% (our assumption) in every profile.

Payback and lifetime return

Payback months = capex ÷ ((revenue − power − hosting) × 30.4). Lifetime return per $1 = net per day × 365 × useful life ÷ capex, after hardware is fully paid off. Both assume today's difficulty, BTC price and rental rate stay flat.

Same power vs same budget

Same power (kW): both sides get the same facility kW. With PUE p, TH/s = kW ÷ p × 1,000 ÷ J/TH, and GPUs = kW ÷ p × 1,000 ÷ watts per GPU, rounded down.

Same budget ($): each side spends the same dollars. Buying: TH/s = budget ÷ $/TH, GPUs = budget ÷ price per GPU, rounded down. Renting: the budget is monthly rent spend, so TH/s = budget ÷ (hashprice × (1 + premium) × 30.4) and GPUs = budget ÷ (lease $/hr × 24 × 30.4). The kW each side then uses = TH/s × J/TH ÷ 1,000 × PUE, or GPUs × watts ÷ 1,000 × PUE. "S21 XP" counts assume 270 TH/s per machine.

Buy vs rent

Buy. Mining capex = TH/s × $/TH. GPU capex = GPUs × price per deployed GPU. Hardware per day = capex ÷ (useful life × 365). Useful life defaults (ASIC 3 years, GPU 4 years) are our assumptions.

Rent. Mining: you buy hashrate on a market, so cost per day = hashprice × TH/s × (1 + market premium), and the seller pays power and hosting. Renting hashrate costs more than it mines, so a renter nets below zero. GPUs: you lease GPUs wholesale for every hour and resell them at the rental rate, so cost per day = GPUs × lease $/hr × 24, paid whether or not they are booked, while revenue only comes in at your utilization. Lease at the on-demand price you resell at and you earn about zero or less. For a worked example with real H100 prices, see rent vs buy an H100.

Break-even power price

The power price where mining's net per $1k invested equals the GPU side's, with every other input as you set it. We search $0 to $1/kWh. Below the line, mining earns more per dollar put in; above it, GPUs do. Power is a much bigger share of mining's costs, so mining gains the most from cheap power. Not shown in rent mode, where you pay no power.

Mining uptime

Share of hours the miners run. Revenue and power cost both scale with it. Default 100%. Hardware cost does not, so idle hours still cost you depreciation.

Scenarios

Each button resets the inputs below to the defaults, then changes only what is listed. The URL gets ?scenario= so you can share it. Everything else (live hashprice, GPU prices, PUE) stays the same.

  • Default (?scenario=default): the defaults listed under sources.
  • Cheap power (cheap-power): $0.028/kWh. Riot reported an all-in power cost of 2.8c/kWh for July 2025, net of power credits (source). Industrial hydro in Paraguay runs about $0.037 to $0.050/kWh (Hashrate Index). Power goes for the GPU side too.
  • Used ASICs (used-asics): used Antminer S19 XP (141 TH/s, 21.5 J/TH) at $2.11/TH. That is the $298 median of 34 used eBay sales, May 15 to Aug 14, 2026 (ING Mining). The used S21 (200 TH/s) median was $1,005, about $5.03/TH, on 15 sales (same source). Efficiency is Bitmain's spec as quoted there. Life stays at our 3-year assumption.
  • Curtailment (curtailment): mining uptime 85% and power $0.028/kWh. In July 2025 Riot ran 30.2 EH/s on average out of 35.5 EH/s deployed (85%), while taking part in ERCOT's 4CP and demand response programs, and its all-in power cost after credits was 2.8c/kWh (source). Not all of the gap is curtailment; Riot also cites summer heat. We do not add credits as revenue, they are already in that power price.
  • Low GPU utilization (low-gpu-util): 50%. Data from Alibaba, SenseTime and Microsoft puts production GPU cluster utilization at 25% to 50% (ACM Computing Surveys). Bitdeer reported 41% for its GPU cloud in Jan 2026 (cited by Luminix), which also puts debt-financed breakeven near 70%.

Who can actually do this

Renting GPUs to AI needs a site that tenants accept: redundant power, low-latency fiber, cooling for dense racks (H100 SXM runs up to 700 W per GPU, NVIDIA) and people to keep uptime high. You also need customers. Revenue only comes in when GPUs are booked, which is why utilization moves the result so much.

Mining needs power, airflow or immersion, and an internet link. There are no customers: a pool pays you for hashrate, and the network pays a block reward about every 10 minutes. Miners can switch off on short notice, which is why they can sell flexibility to the grid (see the Riot example above). That flexibility is hard for a GPU host with SLAs.

Taxes (optional)

Tax per day = your rate × max(0, revenue − power − hosting − depreciation). Straight-line spreads depreciation over the useful life. Year-1 expensing (US Section 179 or bonus depreciation style) deducts the whole price up front, which cuts the effective price by your rate; lifetime tax is the same, payback is shorter. We assume you have income to use the deduction. You enter your own rate; we publish none.

Hardware is depreciated much the same way for ASICs and GPUs: straight-line over its life, or in the US possibly expensed up front (IRS Pub 946). Mined coins are income at their market value when you receive them, and selling them later can be a capital gain or loss (IRS Notice 2014-21, IRS virtual currency FAQ). GPU rental is ordinary business income. UK: see HMRC Cryptoassets Manual. Sources accessed Oct 21, 2026. Not tax advice. Rules vary by country; check with an adviser.

Risks

GPU rental prices have been falling as supply grows, and a drop in rate or utilization hits a big fixed hardware bill. Utilization is our assumption; mining runs every hour you have power, rentals only pay when booked. Mining revenue falls as network difficulty rises and moves with the BTC price. Hardware resale value and downtime are not included.

Default inputs and sources

All accessed Oct 21, 2026.

Mining

  • ASIC price $15.81/TH: Antminer S21 XP (270 TH/s) at $4,267.88 on bitmainshop.us (a reseller; its price list shows $4,590.88, $17.00/TH). Endless Mining's lowest S21 XP listing was $3,428 ($12.70/TH) (source). Range: $12.70 to $17.00/TH.
  • Efficiency 13.5 J/TH: Bitmain's S21 XP spec (source).
  • Hashrate premium 16.4%: Braiins Hashpower's cheapest ask was $37.87/PH/day vs $32.54/PH/day hashprice (source, using Braiins Hashpower market data).
  • ASIC life 3 years: CleanSpark estimates the useful life of its miners at three years (FY2025 10-K). A review of seven US GAAP miners (Riot, CleanSpark, Marathon, Cipher, Greenidge, TeraWulf, Core Scientific) found most use 3 years, with a range of 1 to 5 (source).
  • Pool fee 2%, mining uptime 100%: our assumptions.
  • Scenario figures: sourced in Scenarios.

GPU

More H100 prices from several providers on the H100 page. A100 SXM vs PCIe rent and profit per kW on the A100 page. Consumer card prices and payback on the RTX 4090 and RTX 5090 pages. What hosts keep after fees and idle hours is on GPU host earnings, and you can check a real Vast.ai machine in Fleet Check.

  • Rental rate $2.69/GPU-hr: RunPod's H100 SXM Community Cloud price ($3.99 Secure), page updated Oct 8, 2026 (source). Vast.ai's single-GPU H100 SXM median was $2.20/hr on Oct 21, 2026 at 20:13 CEST (details). That is what renters pay a marketplace, not what a host nets. Rate is in USD.
  • Price $36,125/GPU: an 8x H100 SXM HGX server (Supermicro SYS-821GE-TNHR) listed at $289,000 by Vipera on Oct 13, 2026, per GYGO. Other sources: $250,000 to $320,000, about $285,000 typical (Mercatus); $295,000 to $320,000 posted Oct 18, 2026 (Gatewell). Range: $31,250 to $40,000 per GPU.
  • Lease $1.80/GPU-hr: top of Mercatus's long-tail 3-year reserved range for 8x H100 ($10.40 to $14.40 per server-hr, source).
  • Power 1,000 W per GPU: our assumption, incl. its server share. NVIDIA lists the H100 SXM at up to 700 W TDP (source).
  • Utilization 70%, GPU life 4 years: our assumptions (life 4 to 5 years).

Fleet Check: 90-day lookback, 36-month depreciation, and monetary debasement

The Fleet Check tool benchmarks real Bitcoin mining payout addresses and Vast.ai GPU machines side by side across a 90-day historical window (-3m to Today) and a 36-month forward projection (+1m to +36m):

  • Browser-only privacy: Your Bitcoin addresses, Vast.ai machine IDs, and power rates are saved only in your browser's localStorage and never stored in any server database or KV store. Bitcoin transaction history is fetched directly from your browser via mempool.space /api/address/:address/txs (excluding self-spend change outputs where the address appears in vin). Vast.ai machine specs are queried by machine_id from Vast.ai's public bundle endpoint through a stateless read-only proxy that logs nothing.
  • 36-month hardware depreciation schedule: Following GAAP filings cited above, Bitcoin ASICs depreciate linearly over 36 months (3 years) (CleanSpark FY2025 10-K), while AI GPUs depreciate linearly over 48 months (4 years) (CoreWeave and hyperscaler server schedules). Over a 36-month horizon, 100% of ASIC capex and 75% of GPU capex are written off against gross cash flow.
  • CPI inflation vs. M2 monetary debasement: Nominal dollar returns over 3 years overstate real purchasing power. Fleet Check lets you discount each future month t by (1 + r)t/12 using either US BLS Consumer Price Index (CPI-U, default 3.1%/yr) or US Federal Reserve H.6 M2 money supply expansion (Fed H.6, 7.0%/yr long-run CAGR).

What do the calculators leave out?

Downtime (except the mining uptime input), curtailment credits as a separate line, hardware resale value, financing costs, tax rules beyond the simple model above and future changes in difficulty or price. GPU power and rental rates are left for you to enter because they vary a lot by server build and platform. Reference prices we quote are what renters pay a marketplace, not what a host nets.

See it in action in the calculators, or read the worked example in our profitability guide.

Source code

The site code is open source on GitHub. Spot a data error? Open an issue.