Mining economics
What is hashprice?
Hashprice is the expected mining revenue earned by one unit of hashrate per day, usually quoted in US dollars per PH/s per day.
- Usual quote
- US dollars per PH/s per day
- Same thing per TH/s
- Divide by 1,000
- Rises with
- Coin price and transaction fees
- Falls with
- Difficulty and the halving
- Leaves out
- Pool fee, power and downtime
What it means in practice
It folds the block subsidy, transaction fees, difficulty and coin price into one number, so any machine's gross revenue is its hashrate times hashprice. The formula is 10^15 × 86,400 × (subsidy + fees per block) ÷ (difficulty × 2^32) × coin price. Hashprice falls when difficulty rises or price drops, and halves at each halving if nothing else changes.
One number, several spellings
Hashprice appears in dollars per PH/s per day, dollars per TH/s per day, bitcoin per PH/s per day and satoshis per TH/s per day. They describe the same thing. The dollar versions follow the coin price; the bitcoin versions do not, so they show the mining side alone.
Example figures: 0.00044 BTC per PH/s per day is 44,000 satoshis per PH/s per day, or 44 satoshis per TH/s per day. At a coin price of $85,000 it is $37.40 per PH/s per day, or $0.0374 per TH/s.
What a change in one input does
The coin price acts in a straight line. Ten percent up is ten percent up. Difficulty divides: ten percent more difficulty takes hashprice down by 9.1%, not ten.
Fees count in proportion to their size. If fees rise from 1% to 10% of the subsidy, the reward goes from 1.01 to 1.10 of it, so hashprice gains about 8.9%. The halving removes half of the subsidy and leaves the fees alone.
Because the inputs move independently, a rising coin price and a falling hashprice can appear in the same week. Difficulty simply rose faster.
From hashprice to your machine
Multiply by the machine’s PH/s and you have its gross income for a day. Then take the pool fee, the hours it was off and the power. The order matters only for tidiness; the result is the same.
Example figures: a hashprice of $38 and a machine of 234 TH/s give 0.234 × 38 = $8.89 gross. A 2% pool fee leaves $8.71. At 3,510 W and $0.07 per kWh the power is 84.24 kWh × 0.07 = $5.90 a day. What remains is $2.81 on these inputs, and it changes with each of them.
Spot, average and other coins
A spot hashprice uses the fees of the last block or last few. One block with a large fee can lift it for minutes. For planning, use a daily or weekly average and note the time next to the number.
The idea works for any algorithm. A Scrypt machine can be judged in dollars per GH/s per day with Litecoin and Dogecoin added together. Such a figure must never be compared with the SHA-256 one.
Coins that share an algorithm have separate hashprices that stay close to each other, because miners drift toward whichever is higher.
Worked example
Subsidy 3.125 BTC, average fees 0.025 BTC per block, difficulty 140T and a coin price of $90,000. BTC per PH per day = 10^15 × 86,400 × 3.15 / (140 × 10^12 × 4,294,967,296) ≈ 0.00045262 BTC, which at $90,000 is about $40.74 per PH/s per day. A 0.2 PH/s machine would gross about $8.15 a day before pool fees.
Example figures, not live data.
Common mistakes
- Quoting a hashprice without its date and time.
- Comparing gross hashprice with a pool payout, which has the fee taken off.
- Using a spike caused by one high-fee block as the day’s value.
Common questions
What is hashprice per TH?
The PH/s figure divided by 1,000. It is handy because machines are sold in TH/s.
Is hashprice what my pool pays?
It is close to what a pay-per-share pool credits before its fee. PPLNS income moves around it with the blocks found.
Who sets hashprice?
Nobody. It is a calculation from public network data and the market price of the coin.