Skip to content
FinToolSuite
Updated 2026-08-26 · Crypto · Educational use only ·
Privacy

Mining Rig ROI Calculator

Payback period on a mining rig.

Calculate crypto mining rig payback period and net profit. Enter rig cost, hashrate and revenue per TH to see the days until the rig pays for itself.

What this tool does

This calculator models the financial timeline for a mining operation by comparing equipment purchase cost against operating profit. It takes the rig cost, processing power measured in terahashes per second, daily revenue per unit of hashrate, and daily electricity expense, then calculates how many days of net earnings it takes to recover the purchase price. The result is a payback period in days rather than a return percentage, alongside daily, monthly and annual net profit figures, each derived by subtracting electricity costs from mining revenue. Payback responds most sharply to revenue per terahash and hashrate, which enter the calculation as a single product and together form the strongest lever at any settings. Rig cost moves the answer in direct proportion, while electricity ranks last only while it stays under about half of gross revenue, outranking rig cost above that point but never the revenue lever. The calculation assumes stable hashrate, constant electricity rates and fixed revenue per terahash. It does not account for difficulty changes, market price moves, pool fees, maintenance or hardware degradation. Results are for educational illustration only.

Quick answer: with the default values, the result is 167 days (Payback Period). Adjust the values below for your own figures.


Enter Values

People also use

Formula Used
Mining rig cost (upfront)
Hashrate in terahashes per second
Revenue per terahash per day
Daily electricity cost
Gross daily revenue, derived as hashrate × revenue per terahash
Payback period in whole days, rounded up

Disclaimer

Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.

This mining rig ROI calculator estimates how long a rig takes to pay for itself. The result is a payback period in days rather than a return percentage: rig cost divided by daily net profit, where net profit is mining revenue less electricity. A rig earning 30 a day net against a 5,000 purchase price recovers its cost in 167 days.

Revenue per terahash per day is the one figure here that has to be looked up rather than read off a spec sheet, and it moves daily. Rig cost is on the invoice, hashrate is on the spec sheet, and electricity follows from wattage times tariff times 24 hours. Revenue per TH tracks coin price and network difficulty, and hashprice indices publish a running figure for it. The revenue figure the fields open with is an illustrative placeholder rather than a market quote. Break-even is the point where revenue covers power: daily electricity divided by hashrate, reported as its own result row. Below that figure the rig is loss-making however long it runs.

Mining ROI risks: (1) coin price falls compress margins directly, since revenue per TH is priced in the coin. (2) Network difficulty rises as competition joins, reducing an individual rig's share of block rewards. (3) Bitcoin halvings cut the block reward in half roughly every four years, a step change in revenue per TH. (4) ASIC obsolescence, as newer generations with better efficiency ratios displace older hardware. (5) Electricity price moves. Retail miners generally pay more per kWh than industrial operations sited near cheap generation, which narrows the margin available at retail scale.

Sample figures

Take a worked example at 100 TH/s: a rig priced at 5,000, revenue of 0.50 per TH per day, and 20 of daily electricity. Gross revenue is 50 a day, net profit is 30 a day, and payback lands at 167 days. Each currency preset scales the three money figures by the same factor, so the payback period stays 167 days whichever currency is selected. These are illustrative figures rather than current market values, and the revenue-per-TH figure in particular changes daily.

The levers in this calculation

Measured at the sample figures, Hashrate (TH/s) and Revenue per TH per Day move Payback Period most, 1.8% per 1%, while Daily Electricity Cost moves it 0.6%. Hashrate and Revenue per TH per Day are the same lever, since they enter only as a product, so a 10% move in either gives the identical answer: in the worked example above, a 10% fall stretches payback from 167 to 200 days and a 10% rise shortens it to 143. Mining Rig Cost moves payback in direct proportion, shifting the answer by 10% either way, which is 17 days at those same figures. The revenue lever is asymmetric, costing 33 days on the downside against 24 saved on the upside, because payback is a reciprocal: a shrinking denominator moves the answer further than a growing one.

Daily Electricity Cost is the input whose rank moves, so it is clearer as proportions than as days, which also makes the comparison hold at any scale. Rig cost shifts payback by 10% at every electricity share. Electricity shifts it by 7.1% when electricity is 40% of gross revenue, 17.6% at 60% and 66.7% at 80%, crossing rig cost at 47.6% on a rise and 52.6% on a fall. Below the crossover electricity is the weakest of the four inputs; above it, electricity outranks rig cost, though never the revenue lever, which stays the strongest at every share. The worked example sits at 40%, so electricity ranks last there, worth 12 days on a 10% rise and 10 days on a 10% fall. That share climbs toward the crossover either because electricity rises or because revenue per terahash falls, so a rig running close to break-even is in the inverted regime by definition.

How the math works

Gross daily revenue is hashrate multiplied by revenue per terahash: in the worked example above, 100 × 0.50 = 50. Daily net profit subtracts electricity: 50 − 20 = 30. Payback days is rig cost divided by daily net profit, 5,000 ÷ 30 = 166.7, rounded up to 167. Rounding goes up rather than to nearest because a rig does not reach payback part-way through a day. Where electricity meets or exceeds gross revenue the net is zero or negative, no payback point exists, and the calculator returns a loss-making state instead of a day count. The monthly row uses a 30-day month and the annual row uses 365 days, so the monthly figure multiplied by twelve does not match the annual one.

Example Scenario

$5,000 rig at 100 TH × $0.5 revenue per TH, minus $20 daily electricity, gives 167 days.

Inputs

Mining Rig Cost:$5,000
Hashrate (TH/s):100
Revenue per TH per Day:$0.5
Daily Electricity Cost:$20
Expected Result167 days
Expected Result breakdown
Daily Net Profit$30.00
Monthly Net Profit (30 days)$900.00
Annual Net Profit (365 days)$10,950.00
Break-Even Revenue per TH per Day$0.20

This example uses sample figures for illustration. Adjust the inputs above to match a specific situation and see how the result changes.

Sources & Methodology

Methodology

This calculator computes a payback period in whole days by dividing the upfront rig cost by daily net profit. Gross daily revenue is hashrate in TH/s multiplied by revenue per terahash per day, and daily net profit subtracts the daily electricity cost from that revenue. The division is rounded up rather than to nearest, on the basis that payback is not reached part-way through a day. Where daily net profit is zero or negative the payback point does not exist, and the calculator returns a loss-making state rather than a day count or a negative number. Secondary figures use a 30-day month and a 365-day year, so the monthly figure multiplied by twelve does not equal the annual one; both rows are labelled with their period. Revenue per terahash per day is commonly published as a hashprice index, meaning the gross revenue a single unit of hashrate earns over 24 hours at the prevailing coin price, block reward and network difficulty, quoted per TH/s. It is an observed market figure rather than a constant, which is why the model takes it as an input. The model treats profitability as linear and unchanging: it does not account for hardware degradation, difficulty adjustments, halvings, coin price volatility, pool fees, maintenance, or changes in electricity rates. Because revenue per terahash moves daily and tends to drift downward across a rig's life, a payback figure computed from a single day's revenue is an illustration rather than a projection.

Frequently Asked Questions

What governs retail mining margins
Margin is the gap between revenue per terahash and the cost of the electricity needed to produce it. Industrial operations site themselves near cheap generation and buy power at rates retail miners generally cannot access, which compresses the margin available at household electricity prices. Bitcoin halvings cut the block reward in half roughly every four years, and network difficulty adjusts upward as hashrate joins, so revenue per terahash tends to fall over the life of a given rig even when the coin price holds. This calculator holds revenue per TH fixed, so it does not capture that drift.
What hashrate measures
Hashrate is mining computational power, measured in hashes per second. TH/s is terahashes, meaning trillions of hashes per second; PH/s is petahashes, quadrillions. Your share of block rewards is your hashrate divided by the total network hashrate, so as more hashrate joins the network your share falls. Difficulty adjustments keep the average interval between blocks near ten minutes regardless of how much hashrate is competing. TH/s is the SHA-256 convention used for Bitcoin; other coins are commonly quoted in MH/s or GH/s, and mixing the units produces a result wrong by orders of magnitude.
What determines how long a rig stays economically useful
Efficiency, measured in joules per terahash, is what dates a rig rather than age alone. As newer generations produce the same hashrate for less power, the electricity cost per terahash of revenue rises for older hardware until the two meet and the rig stops covering its running costs. That crossover point depends on the electricity rate: a miner paying a low rate can run older hardware economically long after the same machine has stopped working at a higher rate. Resale values track the same curve. This calculator holds efficiency constant, so it models a rig at one point on that curve rather than across its life.
How cloud-mining contracts differ from owning hardware
A cloud-mining contract sells a share of someone else's hashrate rather than a machine, which changes the risk profile in two ways this calculator does not model. Maintenance and fee deductions are taken from gross revenue before the buyer's share is calculated, so the effective revenue per terahash is lower than the headline rate. The buyer also holds counterparty risk, since the contract depends on the provider continuing to operate and to honour it. Owning hardware carries equipment risk instead, covering obsolescence, failure and resale value, which is what the payback figure here measures.
How payback differs from ROI
Payback answers how long until the money comes back; ROI answers how much came back relative to what went in. They are different questions and can rank two options in opposite orders. A cheap rig with thin margins can pay back faster than an expensive one with wider margins while returning less in total over its life. This tool reports payback in days. A total return figure would need assumptions about how long the rig runs and how revenue per terahash drifts across that period, neither of which the model holds.
What happens when electricity costs more than the rig earns
Net daily profit is gross revenue less electricity. When electricity equals or exceeds revenue the net is zero or negative, no amount of running time recovers the purchase price, and the calculator returns a loss-making state rather than a day count. Break-even revenue per terahash is daily electricity divided by hashrate, reported as its own result row. Below that figure the rig loses money on each day it runs, before the purchase price is considered at all.

Related Calculators

More Crypto Calculators

Explore Other Financial Tools

Spotted something off?

Calculations or display — let us know.