calculate_mining_profitability
Compute crypto mining profitability after electricity costs. Enter hashrate, power, kWh price, network difficulty, and coin price to get daily and monthly net profit for evaluating mining ROI.
Instructions
Compute crypto mining profitability after electricity costs. Use for miners evaluating ROI. Inputs: hashrate, power W, kWh price, network difficulty, coin price. Returns daily/monthly net profit. See list_bundles for related 'crypto' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hashrate_mhs | Yes | Mining hashrate in MH/s | |
| power_watts | Yes | Mining hardware power consumption in watts | |
| electricity_cost_kwh | Yes | Electricity cost per kWh in fiat currency | |
| block_reward | No | Block reward in coins (default 3.125 BTC post-halving) | |
| network_difficulty | Yes | Current network difficulty | |
| coin_price_usd | Yes | Current coin price in USD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |