Electricity Price Arbitrage with Bitcoin Mining
Electricity prices fluctuate – sometimes drastically. What's frustrating for households is an opportunity for Bitcoin miners: Through strategic arbitrage, you can drastically reduce your effective electricity cost.
The Spot Market: Prices by the Second
At the electricity exchange (EPEX Spot), prices change hourly:
- Night (2-5 AM): Often below 3 ct/kWh
- Midday (summer): Sometimes negative (PV surplus)
- Evening (6-8 PM): Peak, up to 30 ct/kWh
- Storm/calm: Extreme fluctuations possible
• 03:00: €0.028/kWh
• 08:00: €0.145/kWh
• 12:00: €0.089/kWh
• 18:00: €0.267/kWh
• 23:00: €0.052/kWh
Average: €0.116/kWh
Only cheap hours: €0.045/kWh
The Arbitrage Strategy
The principle is simple: Mine when electricity is cheap. Pause when it's expensive.
- Set threshold: e.g., "Mine only below 8 ct/kWh"
- Automation: Software switches based on price signal
- Leverage flexibility: No penalty for interruption
In the above example, the miner would run ~12 hours at an average of 4.5 ct/kWh instead of 24 hours at 11.6 ct/kWh.
Access to the Spot Market
As a private individual or small business, you have several options:
1. Dynamic Electricity Tariffs
- Tibber, aWATTar, Ostrom, Rabot Charge
- Hourly billing
- Automation via smart home/API
2. Direct Exchange Access
- Makes sense from ~100 MWh/year
- Via energy trader or aggregator
- More complex, but maximum control
Technical Implementation
For automatic arbitrage you need:
- Price data API: e.g., from aWATTar or ENTSO-E
- Control software: Node-RED, Home Assistant, custom script
- Switchable outlet: Tasmota, Shelly, or direct miner control
Example logic:
- Every hour: Retrieve price
- If price < threshold → Miner on
- If price > threshold → Miner off
- Optional: Moving average for stability
Example Calculation
Assumption: 3 kW miner
Without arbitrage (24/7 operation):
- 72 kWh/day × €0.12 = €8.64/day electricity costs
- Mining revenue: ~€9.50/day
- Profit: €0.86/day
With arbitrage (12h/day during cheap electricity):
- 36 kWh/day × €0.05 = €1.80/day electricity costs
- Mining revenue: ~€4.75/day (half time)
- Profit: €2.95/day
Result: Despite half the mining time, almost triple the profit!
Negative Electricity Prices
Particularly interesting: Negative prices. Yes, sometimes you get paid for consuming electricity:
- 2024: Over 300 hours with negative prices
- Record: €-0.50/kWh (you receive 50 cents per kWh)
- Typical: €-0.01 to €-0.05/kWh
At negative prices, you earn double: Bitcoin PLUS electricity compensation.
Risks and Limitations
- Grid fees: Remain fixed, even with negative prices
- Minimum purchase: Some tariffs have minimum quantities
- Hardware stress: Frequent on/off (not a problem for ASICs)
- Forecast uncertainty: Day-ahead prices can deviate from actual
Optimization: Heat as Buffer
Even smarter: Heat storage as buffer:
- During cheap electricity: Full heating + storage
- During expensive electricity: Draw from storage
- Result: Continuous heat despite intermittent mining
Conclusion
Electricity price arbitrage is one of the biggest levers for profitable mining. The volatility of the electricity market, which others see as a problem, becomes a revenue source. Automation is key – once set up, the system optimizes autonomously.
Set Up Arbitrage System?
I help with the technical implementation of your mining automation.
Request Consultation