Calculators and tools

Battery vs Generator Cost Calculator: 10-Year Comparison

Compare the 10-year cost of backing up your home with a battery or a standby generator. Enter each one's installed price, the battery's bill savings, and the generator's upkeep, fuel use and outage hours to see which costs less.

Battery vs Generator Cost Calculator

From your quote.

Some states and utilities pay for batteries.

Time-of-use or net billing savings, if any.

Include the transfer switch and gas line work.

Oil, filters, battery and service visits.

EIA reports US customers averaged several hours a year without power; storm areas see more.

From the generator spec sheet at typical load.

Propane per gallon or natural gas per therm.

More optionsFewer options

Many units run a short weekly test.

Your result

Generator costs more by $375

Battery, 10-year cost
$16,000
Generator, 10-year cost
$16,375
Generator fuel per year
$188

Over 10 years the generator costs about $16,375 and the battery about $16,000, so the battery comes out $375 cheaper with these inputs.

Educational estimate only. Not financial, tax or legal advice.

Cumulative cost: battery vs generator
$0$5.0k$10k$15k$20k001122334455667788991010Year0 · Battery: $16,0001 · Battery: $16,0002 · Battery: $16,0003 · Battery: $16,0004 · Battery: $16,0005 · Battery: $16,0006 · Battery: $16,0007 · Battery: $16,0008 · Battery: $16,0009 · Battery: $16,00010 · Battery: $16,0000 · Generator: $12,0001 · Generator: $12,4382 · Generator: $12,8753 · Generator: $13,3134 · Generator: $13,7505 · Generator: $14,1886 · Generator: $14,6257 · Generator: $15,0638 · Generator: $15,5009 · Generator: $15,93810 · Generator: $16,375
  • Battery
  • Generator
View as table
YearBatteryGenerator
0$16,000$12,000
1$16,000$12,438
2$16,000$12,875
3$16,000$13,313
4$16,000$13,750
5$16,000$14,188
6$16,000$14,625
7$16,000$15,063
8$16,000$15,500
9$16,000$15,938
10$16,000$16,375

Cumulative cost year by year (10 years)

YearBatteryGeneratorGenerator minus battery
1$16,000$12,438-$3,563
2$16,000$12,875-$3,125
3$16,000$13,313-$2,688
4$16,000$13,750-$2,250
5$16,000$14,188-$1,813
6$16,000$14,625-$1,375
7$16,000$15,063-$938
8$16,000$15,500-$500
9$16,000$15,938-$63
10$16,000$16,375$375

Compare how often the power goes out

ResultA 8 outage hours/yrB Your inputsC 96 outage hours/yrDifference (B − A)
Battery, 10 years$16,000$16,000$16,000$0
Generator, 10 years$15,775$16,375$19,075+$600

Results update as you type. Without JavaScript you see the worked example below.

How to use it

  1. Enter the battery installed price, any battery rebates and yearly bill savings from the battery.
  2. Enter the standby generator installed price, including transfer switch and gas line work, and its yearly maintenance.
  3. Enter outage hours per year and, under advanced, the generator's weekly self-test hours.
  4. Enter fuel use per hour from the generator spec sheet and the fuel price per gallon of propane or therm of gas.
  5. Read the 10-year cost of each option, then check the cumulative chart and the outage-hours scenarios.

Battery vs generator cost comes down to price up front versus running costs over time. With the defaults, a $16,000 battery costs $16,000 over 10 years, while a $12,000 standby generator costs about $16,375 once $250 a year of maintenance and $188 a year of fuel are added, so the battery comes out $375 cheaper.

How to use the battery vs generator calculator

Battery side

  1. Battery installed price. From your quote. Default $16,000, close to LBNL's 2025 storage premium of about $2.10 per watt of PV on a 7.7 kW cash system (LBNL, 2026 (opens in a new tab)).
  2. Battery rebates. Confirmed state or utility programs only. Default $0.
  3. Yearly bill savings from the battery. Time-of-use or net billing savings, if any. Default $0 (backup only).

Generator side

  1. Standby generator installed price. Include the transfer switch and gas line work. Default $12,000.
  2. Generator yearly maintenance. Oil, filters, starter battery and service visits. Default $250.
  3. Outage hours per year. Default 24.
  4. Generator self-test hours (advanced). Default 26, about a half hour a week.
  5. Fuel use per hour and Fuel price per unit. From the spec sheet; propane per gallon or natural gas per therm. Defaults 1.5 and $2.50.

The results show how much more the generator costs (negative means it is cheaper), each option's 10-year cost and the generator's yearly fuel bill. A line chart tracks cumulative cost for both from year 0, and a 10-year schedule (battery, generator, generator minus battery) can be downloaded as CSV. The scenario table reruns your inputs at 8, your own, and 96 outage hours a year.

How the calculation works

Battery, year 0     = battery price − battery rebates
Battery, each year  = previous total − yearly bill savings
Generator fuel/year = (outage hours + self-test hours) × fuel per hour × fuel price
Generator, year 0   = generator price
Generator, each year = previous total + maintenance + fuel
Difference          = generator 10-year cost − battery 10-year cost

Assumptions that match the code:

  • 10-year horizon, no replacement of either system and no discounting.
  • Fuel, maintenance and savings are flat each year; no price inflation.
  • The battery has no running cost beyond its price, and its bill savings, if any, offset that price.
  • Both options are assumed to cover the same loads. The tool does not check whether the battery is big enough; use the solar battery size calculator for that.

Worked example

Default inputs: battery $16,000, no rebates, no bill savings; generator $12,000, $250 maintenance, 24 outage hours, 26 test hours, 1.5 units per hour at $2.50.

  • Generator fuel per year: (24 + 26) × 1.5 × $2.50 = $188.
  • Generator, 10-year cost: $12,000 + 10 × ($250 + $187.50) = $16,375.
  • Battery, 10-year cost: $16,000. The generator costs more by $375.
  • In the schedule, the generator is cheaper until year 10, when its total passes the battery's.
Outage hours a year (defaults otherwise)Battery, 10 yearsGenerator, 10 years
8$16,000$15,775
24 (default)$16,000$16,375
96$16,000$19,075

Second example, a battery that also cuts bills: the same $16,000 battery saving $800 a year on a time-of-use rate, against a $14,000 propane generator with $300 maintenance, 72 outage hours, 2 gallons per hour and $2.60 per gallon.

  • Generator fuel: (72 + 26) × 2 × $2.60 = $510 a year; 10-year generator cost: $22,096.
  • Battery 10-year cost: $16,000 − 10 × $800 = $8,000.
  • The generator costs $14,096 more over 10 years.

What your result means

If the costs are close, decide on what each does best. A generator handles long outages and big loads as long as fuel lasts. A battery is quiet, needs no fuel, and can earn bill savings every day. Our home battery backup guide compares them in practice, and are solar batteries worth it covers the savings side.

Check runtime too: a battery that is cheaper but lasts only a few hours may not meet your needs. The battery backup runtime calculator shows hours at your load, and the time of use battery savings calculator estimates the bill-savings figure.

Rules that change the answer

  • Battery savings depend on your rate. Under California's Net Billing Tariff (opens in a new tab), a solar battery can earn meaningful yearly savings; under full retail net metering it earns little.
  • Federal credit. The 25D credit covered batteries of at least 3 kWh for 2022 to 2025 installs (IRS (opens in a new tab)); as of October 2026, it does not apply to batteries installed after December 31, 2025.
  • Codes and siting. Batteries follow NFPA 855 and local codes; generators need clearances from windows and doors and gas permits. Both need a permit and inspection.
  • Storm regions. Long hurricane or winter-storm outages favor fuel-based backup or solar recharge; see solar panels in Florida and solar panels in Texas.

Common mistakes

  • Leaving out generator self-test fuel.
  • Comparing a whole-home generator with a battery that only backs up a few circuits.
  • Entering a battery savings figure under full retail net metering, where shifting saves little.
  • Forgetting the transfer switch and gas line in the generator price.
  • Ignoring that a battery runs out in a long outage without solar recharge.

Limits of this calculator

This is an educational comparison. It ignores inflation, financing, replacement and repairs, the value of quiet operation or emissions, and whether either option can run your largest loads. Get written quotes for both, with the same circuits backed up, before deciding.

Frequently asked questions

Is a home battery cheaper than a standby generator?

Up front, usually not. Over time it depends on fuel, maintenance and whether the battery cuts your bills. With the defaults, a $16,000 battery and a $12,000 generator cost about the same over 10 years, $16,000 versus $16,375. If the battery also saves $800 a year on a time-of-use rate, its 10-year cost falls to $8,000.

Why does the generator burn fuel even without outages?

Standby generators run a short self-test, typically weekly, to keep the engine ready. The calculator adds 26 test hours a year by default, which with the default fuel figures costs more than the 24 outage hours. Check your model's test schedule and whether it runs a low-speed test.

How long can each option power my home?

A generator runs as long as it has fuel, which is its main advantage in multi-day outages. A battery runs until its stored energy is used, unless solar can recharge it. Use the battery backup runtime calculator to see hours at your load, and the battery size calculator for multi-day plans.

Where do I find the generator's fuel use per hour?

On the spec sheet, usually listed at half and full load for natural gas in cubic feet or therms per hour and for propane in gallons per hour. Use the figure near your expected load. The default, 1.5 units per hour, is a placeholder; replace it with your model's number.

Does the calculator include battery replacement?

No. Over 10 years most home batteries are still within warranty, but the tool does not add replacement, and it does not include generator engine overhauls. For longer horizons, check each warranty's length and terms before comparing.

Can I get a tax credit for either one?

As of October 2026, no federal homeowner credit applies to a battery installed after December 31, 2025, because the 25D credit ended. Standby generators did not qualify for 25D. Some states and utilities offer battery rebates; enter any you have confirmed in the rebate field.

Which is better in a hurricane area?

For long outages with reliable fuel, a generator can run for days. A battery paired with solar can keep essentials going if the panels survive the storm and the system can recharge without the grid. Many Florida and Gulf Coast homeowners weigh both; the 96-hour scenario in the tool shows how fuel adds up in a bad year.

Sources

Checked against these sources. Dates show when each was last reviewed.

  1. U.S. Distributed Solar and Storage: 2026 Data Update (opens in a new tab), Lawrence Berkeley National Laboratory (as ofOctober 2026)
  2. Energy Credits FAQs (FS-2025-05) (opens in a new tab), Internal Revenue Service (as ofOctober 2026)
  3. Instructions for Form 5695 (opens in a new tab), Internal Revenue Service (as ofOctober 2026)
  4. NFPA 855: Standard for the Installation of Stationary Energy Storage Systems (opens in a new tab), National Fire Protection Association (as ofOctober 2026)
  5. Net Billing Tariff (opens in a new tab), California Public Utilities Commission (as ofOctober 2026)
Last updated: How we build our calculators

Related guides

Menu