A hashprice table says a 200 TH/s machine earns $9.00 a day. The pool ledger says it credited $8.22. The power meter says it cost $6.39. The margin is $1.83 before other costs. Every step between $9.00 and $1.83 is a line you can compute and check.

All numbers below are illustrative. The inputs are named, and you should replace them with your own.

Get the units right first

Most wrong profitability numbers come from a factor of 1000.

  • SHA-256: TH/s and PH/s. 1 PH/s = 1000 TH/s. A 200 TH/s miner is 0.2 PH/s.
  • Scrypt: MH/s and GH/s. 1 GH/s = 1000 MH/s. Convert before multiplying by a quote per GH/s.
  • Power: kW is a rate, kWh is energy. 3.5 kW for 22.8 hours is 79.8 kWh.
  • Efficiency: J/TH equals W/TH. 3.5 kW / 200 TH/s = 17.5 J/TH.

A quote such as "$45 per PH/s per day" is only valid with the hashrate in PH/s and the time in days.

Use the hashprice for the coin and algorithm you actually mine, quoted in the same unit as your hashrate, for example per GH/s per day for Scrypt. Never reuse a BTC hashprice for LTC or an altcoin. For Scrypt, replace hashrate_PHs with hashrate in the quote's unit.

Revenue line: what the fee is taken from

Check whether your hashprice source is quoted before or after pool fees and whether it includes transaction fees. Many are gross, which is the case assumed here. A gross quote describes the reward for the hashrate before the pool takes its cut. The pool fee comes out of that reward before it is credited to you. It is a deduction from revenue, not a cost on your power bill.

Two consequences:

  • If you start from a gross quote, multiply by (1 - fee).
  • If you start from net credits in the pool ledger, the fee is already gone. Do not subtract it again.

On coins that the pool forwards to a partner pool, the headline fee may already include the partner's fee. At the time of writing, Hash-Hut states on its coin pages that for partner-pool coins the 2.9% start fee already includes the partner pool's fee (0.35%–0.75%). Check the coin page for your grade and subtract the fee once.

Uptime and rejects follow the same rule. The factors run_hours / 24 and credited_fraction apply only when you start from a nameplate or quoted hashrate. If you start from the pool's 24 h accepted hashrate, set both factors to 1, because that figure already reflects uptime and rejects. Keep only (1 - fee) if the figure is gross. Otherwise you count uptime twice.

Cost lines: kept separate from revenue

Power comes from the meter, not the spec sheet. A machine that is switched on but earns nothing still draws watts. So split the day into running and idle hours:

net_revenue = hashrate_PHs * gross_hashprice_per_PHs_day * (run_hours / 24) * credited_fraction * (1 - pool_fee) energy_kWh = kW_run * run_hours + kW_idle * idle_hours power_cost = energy_kWh * price_per_kWh margin = net_revenue - power_cost - other_costs 

other_costs is where cooling, site power the meter misses, hosting fees, repairs, financing, capex, and exchange and conversion costs go. A hosting bundle that already includes power replaces power_cost. Count it once.

The same formula as code:

def daily_margin(ths, price_per_phs_day, run_h, idle_h, kw_run, kw_idle, credited, fee, usd_kwh, other_usd=0.0): gross = ths / 1000 * price_per_phs_day net_revenue = gross * (run_h / 24) * credited * (1 - fee) kwh = kw_run * run_h + kw_idle * idle_h power_cost = kwh * usd_kwh return net_revenue, kwh, power_cost, net_revenue - power_cost - other_usd print([round(x, 2) for x in daily_margin(200, 45, 22.8, 1.2, 3.5, 0.10, 0.99, 0.029, 0.08)]) # [8.22, 79.92, 6.39, 1.83] 

Worked example (illustrative inputs)

Suppose a 200 TH/s SHA-256 machine with these inputs:

  • Gross hashprice $45 per PH/s per day
  • 3.5 kW running, 0.10 kW idle
  • 22.8 running hours (95% uptime), 1.2 idle hours
  • 99% of work credited while online
  • Pool fee 2.9%, the Hash-Hut starting grade at the time of writing
  • Electricity $0.08/kWh

The results:

Line Calculation Result
Gross revenue at 100% uptime 0.2 × 45 $9.00
Net pool credits 9.00 × 0.95 × 0.99 × 0.971 $8.22
Energy 3.5 × 22.8 + 0.10 × 1.2 79.92 kWh
Power cost 79.92 × 0.08 $6.39
Margin before other costs 8.22 − 6.39 $1.83

Note what that last line is. It is not profit. Cooling, repairs, hosting, financing and hardware cost are all outside it.

This margin is on credited coins. Selling them costs spread and fees, which you subtract separately when you realise the balance.

The unfavourable cases

Run these before you decide, not after.

Lower hashprice. At $35 instead of $45, net credits fall to about $6.39. Margin is about $0.00. The operating break-even power price, before other costs and capex, is net credits divided by energy: 6.39 / 79.92 = $0.080/kWh. At $0.10/kWh the same day loses about $1.60 (6.39 − 7.99).

Full draw, zero paid work. Say the 5% of the day that counts as downtime is a stalled pool connection and not a power-off. The machine still draws 3.5 kW. Energy becomes 3.5 × 24 = 84 kWh, which costs $6.72 at $0.08. Margin at $45 drops from $1.83 to $1.50. A log that marks the worker offline cannot tell you what the meter did.

Operating break-even power price at $45, before other costs and capex. 8.22 / 79.92 = $0.103/kWh. Above that, the machine loses money on power alone.

Fee by grade. The fee changes with your grade, so credits change too. Use net = gross × (1 − fee) and plug in the fee for your own grade from the dashboard instead of the 2.9% start fee.

Keep four money states apart

Net credits are not cash. Track each state in its own column:

  1. Accrued or credited on the pool.
  2. Withdrawable, meaning above the coin's payout minimum.
  3. Paid to your wallet.
  4. Realised, meaning sold, after exchange and conversion costs.

A balance below the minimum is a delay, not a loss, as long as you eventually withdraw it. Minimums are per coin. At the time of writing, Hash-Hut lists 0.0001 BTC for BTC, with payouts daily at 12:00 UTC. Check the pool page for current values. For QUAI, Hash-Hut pays out of its own funds after 1 day instead of making miners wait for the network's reward lock. The only remaining wait is the coin's minimum payout, 300 QUAI at the time of writing.

Estimate the wait with days to minimum = minimum / (daily net credits in coin). Treat the balance as accrued until it is actually paid out.

Block-based rewards swing with luck. On BTC through a partner pool, run at least 7 days. On coins mined on Hash-Hut's own nodes, results depend on block luck, so run several weeks and watch the weakest weeks. Compare the same UTC windows. Look at the weak days, not only the average. If you compare two pools or two coins, run matched workers side by side and change one variable at a time.

Check the model against two records

The pool sees accepted work. It does not see kWh, temperatures or hashboards. So you need two sources:

  • The pool's accruals export, which lists every credit with the fee applied.
  • A meter reading or machine-side monitoring, for example a farm tool such as Hash-Hut Monitoring, which reports fleet power and W/TH.

Put both on the same UTC dates. If modelled net revenue differs from ledger credits by more than luck explains, check units, uptime and whether the fee was counted twice.

Run your own numbers

Hash-Hut publishes an ASIC profitability calculator for pool coins. Open it, enter your measured hashrate and compare the estimates.

Check whether the calculator's figure is gross or net of pool fee and which merged coins it includes, then count each once. Use its output only as the revenue input; keep power and other costs on your own lines. Then reconcile a week of actual credits against it, using your metered kWh.

Sources: Luxor – hashprice and its inputs · Braiins – accepted work and hashrate estimation

Disclosure: this article was written by the Hash-Hut team. We run the Hash-Hut mining pool and Hash-Hut Monitoring mentioned above.