Generator vs Solar Battery Cost Calculator
Compare undiscounted fuel, maintenance and capital-cost scenarios for backup equipment.
Your estimate
Ready when you are
Enter your figures and calculate to see the result and its assumptions.
Understand your result
Method and assumptions
Generator cost combines initial cost, yearly fuel use and annual maintenance. The solar/battery scenario combines its initial cost, annual maintenance and the total replacement allowance entered for the horizon. Both scenarios assume equipment that supplies the same required service.
A worked example
A generator running 100 hours per year at 0.5 gallons per hour and $4 per gallon uses $200 in annual fuel. Long outages, fuel availability, battery recharge and actual load capability can change the practical comparison.
Compare the same backup service on both sides
Specify the equipment to be powered, its running and startup demand, the expected outage hours and the years being compared. Use those same service assumptions for the generator and the solar-battery option. Enter generator fuel consumption at the relevant operating load, together with the local fuel price and maintenance budget. On the storage side, include the installed equipment needed to supply the selected loads. A matched comparison makes it easier to see which cost differences come from equipment choice and which come from a different level of service.
Keep replacement and operating assumptions visible
A multiyear comparison can change when a battery or generator needs significant maintenance or replacement. Record those assumptions and the year in which each cost is expected. Separate one-time installation spending from annual operating costs, and state how fuel or tariff prices change over time. If solar also produces ordinary bill savings between outages, record that benefit explicitly and consistently. NLR's REopt resources use lifecycle analysis to compare energy options, which is a useful framework for reviewing the boundaries of a simpler cost comparison.
Sources and further reading
Calculations and guidance reviewed December 4, 2026.

