calculate_mining_profitability
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 |
|---|---|---|---|
| power_watts | Yes | Mining hardware power consumption in watts | |
| block_reward | No | Block reward in coins (default 3.125 BTC post-halving) | |
| hashrate_mhs | Yes | Mining hashrate in MH/s | |
| coin_price_usd | Yes | Current coin price in USD | |
| network_difficulty | Yes | Current network difficulty | |
| electricity_cost_kwh | Yes | Electricity cost per kWh in fiat currency |
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). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |