Why store energy

Solar panels make power by day. You use a lot of it at night. A battery bank, a group of batteries wired together, stores daytime energy for later.

Off the grid, the battery is what keeps the lights and fridge on after dark and through cloudy days. On the grid, a battery is optional. It can give backup during outages.

A battery’s size is given in kWh. That is its nameplate capacity, the energy it holds when full. You cannot use all of it.

Depth of discharge

State of charge is how full a battery is right now, as a percent. Depth of discharge (DoD) is how much of its capacity you use before charging again. Using half a battery is 50 percent DoD.

Batteries wear out faster the deeper you discharge them. Each full charge and discharge is a cycle. Cycle life is how many cycles a battery gives before it holds much less than when new.

So the usable size of a battery is less than its nameplate. A 10 kWh bank used to 50 percent DoD gives about 5 kWh.

A 10 kWh bank used to 50% depth of discharge gives about 5 kWh usable, and about 4.5 kWh reaches the plug after roughly 10% lost in the battery and inverter. At 4 kWh a day with no sun at all, that lasts about 1.1 days.

Text description

A battery drawn as a long bar with a nameplate capacity of 10 kilowatt-hours. A scale below shows state of charge from 0 percent at the left to 100 percent at the right. The right half, from full down to 50 percent, is the part you use: a 50 percent depth of discharge, about 5 kilowatt-hours. The left half is kept in reserve and not used. Three sliders change the battery size, the depth of discharge and the daily use, and a line under the drawing gives the usable energy, the energy that reaches the plug after about 10 percent of losses, and how many days that would carry the daily use with no sun at all. A note says that deeper use gives more usable energy each cycle but wears the battery out sooner, so cycle life is shorter.

Text description

A chart of how many cycles a battery gives against how deeply it is discharged each cycle, from 0 to 100 percent, drawn as typical shapes rather than data; the vertical axis runs from fewer cycles to more. Both lines fall as the depth of discharge rises. The lead-acid line starts lower and falls steeply, which is why lead-acid designs keep it above about half charge, a depth of discharge of about 50 percent; deep-cycle lead-acid can go to about 80 percent but wears out sooner. The lithium iron phosphate line starts higher and falls more gently, and LFP is often used to 80 percent depth of discharge or more. Two dashed lines mark about 50 and about 80 percent. A note says cycle life varies by maker, product and conditions, so compare warranties, not marketing.

Battery types

Most home systems use one of two chemistries:

  • Lead-acid is the older, cheaper type. It comes as flooded batteries, which need topping up with water, or sealed types such as AGM and gel. Lead-acid lasts longest when used shallowly, so many designs keep it above about half charge. Deep-cycle types can go deeper, up to about 80 percent, but they wear out sooner.
  • Lithium iron phosphate (LFP) is a type of lithium-ion battery common in home storage. It can be used more deeply, often to about 80 percent DoD or more, and usually lasts many more cycles. It costs more up front.

LFP includes a battery management system (BMS), electronics that protect the cells. Ranges for cycle life differ widely between makers and test conditions, so compare warranties, not marketing.

Days of autonomy

Days of autonomy is how many days a battery can carry your loads with little or no sun. Off-grid designs with a generator often plan for about 2 to 5 days. Cloudy climates and homes with no generator plan for more. IEEE 1562, the engineering guide for sizing solar-only systems with lead-acid batteries, sizes for longer stretches still, because nothing else can recharge them.

10 kWh battery, 80% usable depth, 4 kWh a day: with no sun at all the usable energy would last about 1.8 days. In this week, with two sunny days, four cloudy days and a sunny day, the charge reaches the floor on day 5: a generator top-up or lighter loads would be needed.

Text description

A chart of battery state of charge over seven days, with illustrative values. Days 1 and 2 are sunny: the battery drops at night and refills each afternoon. Days 3 to 6 are cloudy: each day it charges only a little, so the charge steps down day by day toward a dashed floor, the lowest charge planned for, which is set by the depth of discharge. With the starting settings, a 10 kilowatt-hour battery, 80 percent usable depth and 4 kilowatt-hours of use a day, the charge reaches the floor on day 5; there a generator top-up or lighter loads are needed. On day 7 the sun returns and it refills. Three sliders change the battery size, the depth of discharge and the daily use; a line under the drawing says how many sunless days the usable energy would carry, and when the charge reaches the floor in this week. A sunny day is taken as 7.5 kilowatt-hours from the array and a cloudy day as 30 percent of that.

More autonomy means a bigger, more costly battery. Many homesteads pick fewer days and use a generator for long cloudy spells (see Backup power, two lessons ahead).

Try it: Days a battery can carry you

Set a battery size, your daily use and a usable depth of discharge. How many sunless days does it cover?

Usable energy: about 7.2 kWh at the plug.

With no sun at all, that lasts about 1.8 days.

Assumptions: About 90% of the energy taken out of a lithium battery reaches the plug: about 4% is lost leaving the battery (half its round-trip loss) and about 6% in the inverter. The Homestead Lab and the solar sizer use the same convention. Cold batteries hold less; lithium iron phosphate cannot be charged below freezing without a heater.

Temperature matters

Batteries are chemical. Temperature changes how they behave.

  • Cold lowers the energy a battery can deliver. Lead-acid can lose a large share of its capacity in a freezing shed.
  • LFP batteries must not be charged below about 32 °F (0 °C) unless they have a built-in heater or are kept warm. Their BMS may simply refuse to charge.
  • Heat shortens battery life for all types.

Battery ratings are usually given at about 77 °F (25 °C). Most batteries do best in a space that stays near room temperature, roughly 50 to 80 °F (10 to 27 °C). Check the maker’s range for yours. In cold climate zones, where the battery lives is a real design choice.

Text description

A temperature scale from minus 10 to 110 degrees Fahrenheit, drawn on an evenly spaced axis and split into four zones. Below 32 °F (0 °C) is freezing: lithium iron phosphate (LFP) batteries must not be charged unless they have a built-in heater or are kept warm, and lead-acid batteries lose a large share of their capacity. From 32 to 50 °F it is cold and capacity is lower. From 50 to 80 °F (10 to 27 °C) is the range where most batteries do best; ratings are usually given at 77 °F (25 °C). Above 80 °F is hot: heat shortens battery life for all types. A note says to check the maker's range for your battery, and that in cold climates where the battery lives is a real design choice.

Batteries wear out

A battery bank is not a one-time purchase. Replacing it is often the largest running cost of an off-grid system.

  • Lead-acid banks often last about 5 to 8 years with good care: kept charged, watered and out of the heat and hard cold. Run deep or kept hot, they can fail in 2 or 3. An NREL study of battery sheds in hot climates found lead-acid lasting under 4 years without cooling.
  • LFP banks are commonly warrantied for about 10 years and may last 10 to 15. NLR’s cost baseline for home batteries assumes 15 years.
Type Usable depth Life Upkeep Cold
Flooded lead-acid About half; deep-cycle types up to about 80%, but they wear sooner About 5 to 8 years with good care; 2 to 3 if run deep or hot Add water; vents hydrogen while charging Loses a large share of capacity in the cold
Sealed lead-acid (AGM, gel) About half; deep-cycle types up to about 80%, but they wear sooner About 5 to 8 years with good care; shorter than LFP Little: no watering Loses capacity in the cold
Lithium iron phosphate (LFP) Often about 80% or more Commonly warrantied about 10 years; may last 10 to 15 Little: a battery management system guards the cells No charging below freezing without a heater or a warm room

Planning ranges; they differ by maker and conditions. Compare warranties, not marketing.

Text description

A table comparing three battery types. Flooded lead-acid: usable depth about half, deep-cycle types up to about 80 percent but they wear sooner; life about 5 to 8 years with good care, 2 to 3 if run deep or hot; needs watering and vents hydrogen gas while charging; loses a large share of its capacity in the cold. Sealed lead-acid, AGM or gel: usable depth about half, deep-cycle types up to about 80 percent; life about 5 to 8 years, shorter than lithium iron phosphate; little upkeep and no watering; loses capacity in the cold. Lithium iron phosphate, LFP: usable depth often about 80 percent or more; commonly warrantied for about 10 years and may last 10 to 15; little upkeep because a battery management system guards the cells; no charging below freezing without a heater or a warm room. The numbers are the lesson’s planning ranges, and they differ by maker and conditions.

What does a battery cost? NLR’s 2025 baseline models a 12.5 kWh home LFP system. In 2022 dollars it put the battery itself at about $280 per kWh and its inverter at about $180 per kWh. Installation, permits, sales costs and profit roughly double that. So an installed home battery often lands near $1,000 per kWh of capacity, give or take a few hundred dollars. Lead-acid costs less per nameplate kWh, but you can use only about half of it, and it wears out sooner.

To budget, divide the bank’s cost by its expected years. For example, a $6,000 lead-acid bank that lasts 6 years and a $12,000 LFP bank that lasts 12 years both cost about $1,000 a year. The LFP bank needs less upkeep and gives more usable energy.

Diagnose it

Diagnose it

“The batteries are flat every morning in January.”

Clues

  • The system worked well from April to October.

What is the most likely cause?

Battery safety

A battery bank stores a lot of energy. It can deliver very high current in a short circuit, enough to melt tools, cause burns, and start a fire.

  • Flooded lead-acid batteries release hydrogen, a flammable gas, while charging. They also hold acid. They need ventilation and eye protection.
  • Lithium batteries can overheat and burn if damaged, overcharged or badly installed. Their BMS and correct installation guard against this.
  • The National Electrical Code and fire codes set rules for where batteries go, how they are protected and how far they sit from exits.

Building or wiring a battery bank is not a do-it-yourself job. A plug-in power station with a sealed, built-in battery and charge control is the low-risk way to learn. The solar basics lesson shows what to check before you buy one.

Pro and permit

Check

Check your understanding

Two banks both say 10 kWh. One is lead-acid kept above 50 percent charge. The other is LFP used to 80 percent DoD. Which gives more usable energy?

Summary

  • Usable energy = nameplate × depth of discharge. Deeper use shortens cycle life.
  • Lead-acid is cheaper and wants shallow use. LFP costs more, goes deeper and lasts longer.
  • Days of autonomy set battery size. Many homes pair fewer days with a generator.
  • Cold cuts capacity, and LFP cannot charge below freezing without heat. Battery banks are a job for professionals.
  • Batteries wear out: plan to replace lead-acid in about 5 to 8 years and LFP in about 10 to 15, and budget for it each year.
Go deeper: round-trip efficiency

Not all energy that goes into a battery comes back out. Round-trip efficiency is the share you get back. NREL studies use about 85 to 90 percent for a lithium battery system, counting the inverter. Lead-acid is lower, around 80 percent (DOE, NREL). Makers often quote higher numbers for the battery alone. That is one reason the battery dial in this lesson subtracts about 8 percent. It is also why it is better to run big daytime loads straight from the panels when the sun is out.

Finish up

Mark this lesson complete to track your progress. It is saved only in this browser.

Sources

  1. Energy Storage research, National Laboratory of the Rockies (formerly the National Renewable Energy Laboratory, NREL)
  2. Comparative Study of Techno-Economics of Lithium-Ion and Lead-Acid Batteries in Micro-Grids in Sub-Saharan Africa (NREL/TP-7A40-73238), National Renewable Energy Laboratory (now the National Laboratory of the Rockies)
  3. Annual Technology Baseline 2025: Residential Battery Storage, National Laboratory of the Rockies (formerly NREL)
  4. Balance-of-System Equipment Required for Renewable Energy Systems, US Department of Energy, Energy Saver (archived copy; the page was removed from energy.gov in mid-2026)
  5. Off-Grid or Stand-Alone Renewable Energy Systems, US Department of Energy, Energy Saver (archived copy; the page was removed from energy.gov in mid-2026)
  6. IEEE 1562-2021: Recommended Practice for Sizing Stand-Alone Photovoltaic (PV) Systems, IEEE Standards Association
  7. NFPA 70, National Electrical Code (NEC), National Fire Protection Association
  8. Electrical safety, Occupational Safety and Health Administration

Spotted an error? See Corrections for how to report it.