The mining payback period can be calculated by calculating the mining machine price, mining machine income, electricity cost, etc. to calculate a static theoretical payback period. The actual payback period will be prolonged due to increased difficulty, reduced block rewards, and increased electricity bills.

## 1.Calculate static mining machine cost (electricity fee, custody fee, etc.)

If the wall Max consumption of the mining machine is 800W, the electricity fee is 0.05 USD cents/kWh, and the custody fee is 1 USD cent /day, the daily static mining cost is:

800W/1000*0.05*24+1=1.96 USD /day

Calculation formula: Divide Max power consumption (watts) by 1000, convert it into kilowatts, multiply by 24 hours, that is, how many kilowatt-hours of electricity is used per day, multiply by 0.05 USD/kWh of electricity, plus custody fee

## 2.Calculate the payback period

Mining machine price/(mining daily income-mining daily cost)