Skip to content
HomeEnergyTools

Battery Energy Arbitrage Calculator

Estimate what a battery could earn by charging when electricity is cheap and selling it back when it is expensive.

Battery Energy Arbitrage Calculator

Changing currency changes the symbol only. Enter prices in the currency you select — no exchange rates are applied.

Enter 24 hourly prices, separated by spaces or commas. Negative prices are allowed.

Network charges, taxes and fees usually make the export price lower than the import price. 0 = same price both ways.

Battery cost ÷ lifetime kWh delivered. Cycles that earn less than this are skipped.

Advanced settings

Results update automatically as you type. Default values are examples — replace them with your own.

Net profit per day (after wear cost)

$1.51 /day

Net profit per year
$551 /yr
Trading margin per day (before wear)
$2.36 /day
Energy bought
18.97 kWh/day
Energy sold
17.08 kWh/day
Equivalent full cycles
2 cycles/day
  • Note: Schedule found by dynamic programming with perfect knowledge of the day’s prices (201 charge levels, continuous actions). It is the best schedule for this simplified model, not a guarantee for real trading, where prices are forecasts.
  • Note: Repeating-day result: the battery ends the day with at least the charge it started with.

Optimised charging and discharging

Charging hours: 03:00, 04:00, 12:00, 13:00. Discharging hours: 07:00, 08:00, 18:00, 19:00.

How the battery energy arbitrage calculation works

Arbitrage profit depends on the price spread, the round-trip losses and the cost of wearing out the battery. A cycle is only worth doing if the sell price, after losses, exceeds the buy price plus the wear cost per kWh.

The schedule is found by dynamic programming: the calculator works backwards through the day, computing the cheapest way to reach each charge level from every hour onwards, then follows the best path forwards. It assumes the whole day’s prices are known in advance (as with day-ahead prices) and treats the day as repeating, so the battery cannot simply sell its starting charge.

Formula

V_t(E) = min_ΔE [ cost_t(ΔE) + V_{t+1}(E + ΔE) ]
cost_t = import·p_t − export·(p_t − spread) + wear·discharge
profit = −Σ cost_t
V_t(E)
cheapest cost from hour t onwards at charge E
spread
import price minus export price

Worked example

  1. Example day: prices from 0.15 to 0.40 per kWh; 10 kWh / 5 kW battery, 90 % round-trip, export 0.03 below import, wear 0.05 per kWh.
  2. The optimiser does two full cycles, buying about 19 kWh in the cheap night and midday hours and selling about 17 kWh in the morning and evening peaks.
  3. Trading margin 2.36 per day; after 0.85 of wear cost the net profit is 1.51 per day, or about 551 per year if every day looked like this.

Assumptions and limitations

Assumptions

Limitations

Frequently asked questions

Is battery arbitrage profitable for homes?

Only with large daily price spreads, permission to export, and a low wear cost. Many homes earn more by avoiding imports than by selling.

What wear cost should I use?

Battery cost divided by its lifetime throughput — the levelised cost of storage calculator estimates it.

Related calculators

References and data sources

Last reviewed: · Formula version 1.0.0 · Methodology