Skip to main content

Solar Battery Sizing Calculator (kWh)

Estimate the usable battery capacity a home needs for solar storage, with depth of discharge and efficiency set for LiFePO4, NMC or lead-acid.

A home that uses 20 kWh per day and sizes its battery for one day of autonomy needs about 23.4 kWh of nominal capacity with a LiFePO4 battery, or about 26.9 kWh once a 15% margin for degradation is included. The calculator reaches this figure by dividing the daily energy by the usable share of the battery, then adding the margin.

That usable share is not 100%. Depth of discharge limits how much of the capacity can be withdrawn without accelerating wear, and round-trip efficiency accounts for the energy lost each time the battery is charged and discharged. For LiFePO4, the calculator applies its planning values for these two factors, which are listed in the formula legend. Multiplying them gives a usable share of 0.855, and dividing 20 kWh by that share gives the nominal capacity. These values are planning assumptions, not measurements for any product, so the datasheet of the chosen battery should replace them.

The chemistry changes the answer. NMC batteries have a lower planning depth of discharge, so the same home needs more nominal capacity. Lead-acid batteries have a much lower planning value for usable depth of discharge, which means roughly twice the nominal capacity for the same usable energy. LiFePO4 is often chosen for new home systems because its thermal stability and tolerance of daily cycling suit residential use.

Autonomy is the other major input. A home on a reliable grid connection usually sizes for one day, while a home in an area with frequent outages, or an off-grid system, often sizes for two to three days. Sun exposure also varies. A home in Phoenix, Arizona has a different production profile from one in Seattle, Washington, and the choice of autonomy should reflect that.

This calculator gives a pre-sizing estimate. The final design depends on the hourly consumption profile, the battery's compatibility with the inverter, and the existing electrical installation. The full explanation below covers the planning assumptions and the most common sizing mistakes.

The explanation below uses US units; the calculator works in either system.

The result updates automatically.

1-2 bedroom home: 15–20 kWh/day · 3 bedroom: 20–30 kWh/day · Larger home: 25–40 kWh/day

Grid-connected: 1 day · Off-grid or outage-prone areas: 2–3 days

LiFePO4 is the most recommended for homes: longer lifespan and better safety.

Enter the price from the installer's proposal to estimate total cost.

Recommended capacity

10.8kWh

includes a 15% margin for degradation over the battery's life

Usable energy needed
8.0 kWh
Minimum nominal capacity
9.4 kWh
Depth of discharge (DoD)
90%
Round-trip efficiency
95%
Share

How it works

1

Enter your home's average daily electricity use in kWh. Divide the monthly total on your utility bill by 30 to get a rough daily figure.

2

Set the days of autonomy the battery must cover. Use 1 day for a grid-tied system with reliable service, and 2 to 3 days for areas with frequent outages or for off-grid systems.

3

Select the battery chemistry. LiFePO4 is a common choice for new residential systems.

Formula

C = (E × N) / (DoD × η) × (1 + m)
C — Recommended battery capacity (kWh)
E — Daily household electricity use (kWh per day)
N — Days of autonomy (days)
DoD — Depth of discharge: LiFePO4 = 0.90 · NMC = 0.80 · Lead-acid = 0.50
η — Round-trip efficiency: LiFePO4 = 0.95 · NMC = 0.93 · Lead-acid = 0.85
m — Degradation margin (0.15 = 15%)

How the calculation works

Solar Battery Size: How Many kWh Does Your Home Need?

A solar array produces most of its energy during daylight, but a home uses electricity at night as well. A battery stores the surplus produced during the day and supplies it when the panels are not generating, after sunset or during a cloudy spell. Sizing it correctly avoids two opposite errors. A battery that is too small leaves surplus solar energy unused and runs out early in the evening. A battery that is too large costs more than the home can use and adds capital that returns little.

How the calculation works

The calculator starts from two inputs: the home's daily electricity use in kWh and the number of days of autonomy, meaning how many consecutive days without sun the system should cover from the battery alone. For a home using 20 kWh per day with one day of autonomy, the energy the battery must deliver is 20 kWh.

A battery cannot deliver its full nominal capacity. Two factors reduce the usable energy. The first is depth of discharge (DoD), the share of capacity that can be withdrawn without accelerating wear. The second is round-trip efficiency, the share of energy that comes back out after a full charge and discharge cycle, because some is lost as heat and in the electronics. The calculator divides the energy need by the product of these two factors:

20 × 1 / (0.90 × 0.95) = 23.4 kWh nominal

The result is then multiplied by 1.15 to add a 15% margin for degradation over the life of the battery, which gives a recommended capacity of about 26.9 kWh. The margin is there so the system still covers the winter nights years after installation, not only on the day it is commissioned.

The formula is written in metric units. The calculator's unit toggle converts automatically between metric and imperial, so any imperial value you enter is converted before the calculation runs.

Battery chemistries compared

The calculator supports three chemistries, and each carries different planning values.

LiFePO4 (lithium iron phosphate) is a common choice for new residential systems. The calculator's planning values for it are a depth of discharge of 0.90 and a round-trip efficiency of 0.95. These are assumptions built into the calculator, not measured figures for any product. Its thermal stability and tolerance of frequent full cycles are the properties that make it suitable for daily use. The datasheet of the chosen battery gives its cycle rating and capacity warranty, and those figures should replace the planning values.

NMC (nickel manganese cobalt) stores more energy in a smaller and lighter package, which matters when space is limited. The calculator's planning values are 0.80 for depth of discharge and 0.93 for efficiency, both assumptions rather than measured figures. Its lower usable depth means more nominal capacity is required for the same usable energy.

Lead-acid (VRLA or AGM) is the oldest of the three and is still used in some off-grid installations. The calculator's planning values are 0.50 for usable depth of discharge and 0.85 for efficiency. Because half the nominal capacity is unavailable, the battery must be roughly twice the size of a LiFePO4 system to deliver the same usable energy. Lead-acid batteries are also heavier and generally need more maintenance. They suit applications where the purchase price matters more than space and service life.

Choosing days of autonomy

Days of autonomy determine how much storage the home needs, and they are the input that changes the result most. A home on a grid-tied system with reliable utility service usually sizes the battery for one day, because the grid covers any shortfall. Homes in areas with frequent outages, and off-grid systems with no utility connection, normally size for two to three days.

Location matters too. Two homes with the same consumption can need different battery capacity depending on local sun. A home in Phoenix, Arizona receives strong sun for most of the year, so one day of autonomy is often enough for a grid-tied system. A home in Seattle, Washington has longer cloudy periods in winter, so its owner may prefer more autonomy for the months of lowest production. The National Renewable Energy Laboratory (NREL) publishes PVWatts, a public estimator of solar production by location, at https://pvwatts.nrel.gov. Its results, together with a production estimate from a local installer, can help make this decision.

Common sizing mistakes

The most frequent mistake is sizing the battery for total daily consumption without considering the energy used directly during daylight. A household that uses 20 kWh per day but draws 8 kWh straight from the panels in the afternoon, for laundry, cooking and a computer, only needs to store the remaining 12 kWh for evening use. Installing a battery for the full 20 kWh in that case leaves much of the capacity unused. Use the hourly profile, not only the daily total, to size the battery.

The second mistake is ignoring degradation. Battery capacity declines gradually with use, and a system sized exactly for today's needs may fall short several years later, especially in winter when the nights are longest. The 15% margin in this calculator is intended to absorb that gradual loss. A larger margin may be justified where the home is expected to grow its consumption, for example after adding an electric vehicle or a heat pump.

A third mistake is overlooking the inverter. The battery must be compatible with the inverter in terms of voltage, maximum charge and discharge power, and total capacity. Many inverters limit the size of the battery bank they support, so check that limit before choosing a capacity above the inverter's rated range.

When to use this calculator, and when not to

The calculator gives a pre-sizing estimate, which is useful for comparing options and for understanding how the inputs interact. It does not replace a site assessment, and it is not suitable for the following cases:

  • Critical loads such as medical equipment, where backup power needs a load analysis and a dedicated design.
  • Homes with large or irregular loads such as electric vehicle chargers, well pumps or electric heating, whose hourly profile differs sharply from the daily average.
  • Commercial systems and multi-unit buildings, which follow different design rules.

For these cases the daily total is not enough. The hourly load profile determines both the battery size and the inverter rating.

Installation, permits and utility rules

Battery storage in the United States is governed by the National Electrical Code (NEC). Article 706 covers energy storage systems, and where the battery is interconnected with the utility grid through a solar system, the rules for interconnected power production sources in Article 705 also apply. Equipment is typically certified to UL 9540, the standard for energy storage systems, and NFPA 855 addresses the placement and fire safety of stationary storage installations. The local authority having jurisdiction, usually the city or county building department, decides which code editions and amendments apply. Utility interconnection requirements are set by the local utility and are separate from the building permit.

A licensed electrical contractor usually handles the installation and the permit application. The design should be confirmed on site by that installer, who can measure the real consumption profile and check the existing electrical panel before any battery is ordered.

Frequently asked questions

What size battery does a 3-bedroom house need?

It depends on daily consumption and days of autonomy. A 3-bedroom house that uses 18 kWh per day and sizes for one day of autonomy needs about 21.1 kWh of nominal LiFePO4 capacity. With the 15% degradation margin included, the recommendation is about 24.2 kWh. Homes that use less electricity may need less. Use your own utility bill to find the daily use, then run the calculation for one and two days of autonomy to compare the results before choosing a size.

What is the difference between LiFePO4 and NMC in a solar battery?

LiFePO4 generally offers a longer service life, better thermal stability and a higher usable depth of discharge. The calculator's planning values are 0.90 for LiFePO4 and 0.80 for NMC, so an NMC battery needs more nominal capacity for the same usable energy. NMC stores more energy per unit of weight and volume, which can suit homes with little space for equipment. For daily cycling in a home, thermal stability and tolerance of frequent full cycles are the properties to compare first. Check the cycle rating and warranty in the datasheet of any specific product before deciding.

What is depth of discharge (DoD) in a solar battery?

Depth of discharge is the percentage of a battery's capacity that can be withdrawn without accelerating wear. A 10 kWh battery with a DoD of 0.90 provides 9 kWh of usable energy. Lead-acid batteries have a DoD of 0.50 in this calculator, so a 10 kWh lead-acid battery provides only 5 kWh of usable energy. To deliver the same usable energy, a lead-acid battery needs roughly twice the nominal capacity. Manufacturers state usable capacity in their datasheets, and that figure should replace the default value once a specific product is chosen.

Can I connect several batteries to increase total capacity?

Many modular battery systems allow additional modules to be added to increase capacity. Before expanding, check the maximum battery capacity and the number of modules that your inverter supports. Some inverters need additional hardware or a different configuration for larger battery banks. Planning for expansion at the start avoids replacing the inverter later if the home's consumption rises, for example after adding an electric vehicle or a heat pump. Ask the installer to confirm the compatibility of the complete system, including the inverter, the battery management system and the electrical panel.

How long does a lithium battery last in a home solar system?

Service life depends on the chemistry, the depth of discharge used in daily operation, the operating temperature and how the battery is managed. Manufacturers publish warranties that specify the capacity guaranteed after a set number of cycles or years, and that warranty is the most reliable reference for a specific product. Keeping the battery within a moderate state of charge and avoiding frequent deep discharges generally extends its life. The 15% margin in this calculator covers gradual capacity loss, but the actual figure depends on the product and its operating conditions.

Do I need a licensed electrician to install a solar battery?

In most US jurisdictions, a battery installation requires an electrical permit from the local building department, and the work is usually performed by a licensed electrical contractor. Requirements differ by state, county and city, and the utility may need to approve the interconnection of a system that connects to the grid. The National Electrical Code and the standards adopted by the local authority set the installation rules, including placement and disconnect requirements. A licensed installer can handle both the permit and the utility application.

See all Climate & Energy calculators →

By RivoCalc · Reviewed under our editorial methodology · Updated June 16, 2026

This calculator provides an estimate for pre-sizing only. Results depend on your actual consumption, your hourly load profile, the battery specifications, climate and usage patterns. They do not replace a site assessment by a licensed installer.