Battery ROI calculator
This is a simple return on investment calculator.
It assumes that the battery is charged with energy generated onsite from your Solar system (or is taken from an energy retail tariff that has a super off peak period) so has a cost of $zero / kWh.
It assumes that the energy is then discharged at a peak time. There may be more / less benefit depending on how and when you charge / discharge your battery.