Solar Battery Sizing Calculator
Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 12/5/2026
Capacity = consumption × days of autonomy ÷ (depth of discharge × efficiency). To cover 6 kWh a night with a lithium battery usable to 90% and 95% efficiency, you need about 7 kWh nominal, or 146 Ah at 48 V.
Explanation
A home battery stores electricity produced by solar panels during the day for use in the evening and at night, or powers an entire cabin or off-grid site. To choose one, start from the consumption to cover, not from panel output. With grid-connected solar, it is mainly the energy used between sunset and sunrise: your utility or smart meter can often give you an hourly consumption profile. Two corrections then apply. First, a battery should not be fully drained: depth of discharge is the share of capacity that can actually be used. Lithium iron phosphate batteries, the most common today, handle 80 to 100%; a lead-acid battery about 50%, or it wears out very quickly. Second, storing and releasing electricity involves losses, in the battery and the inverter: round-trip efficiency is often between 85 and 95%. That is why the nominal capacity always exceeds the target consumption. For an off-grid site, you plan several days of autonomy to get through sunless days, which multiplies the capacity. Capacity in amp-hours, useful for comparing batteries of the same voltage, is the watt-hours divided by the bank voltage, often 12, 24 or 48 V. With grid-connected solar, an oversized battery rarely fills up and pays back poorly: size it for an average night rather than the worst one. Have the installation checked by a professional, particularly its electrical protection. To estimate what your panels produce, use the solar panel production calculator; to measure how much of your production you already use, the solar self-consumption rate calculator.
Example: covering evenings and night
Inputs
Night consumption: 6 kWh. 1 day of autonomy. Depth of discharge: 90%. Efficiency: 95%. 48 V bank.
Calculation
Capacity = 6 × 1 ÷ (0.90 × 0.95) = 7.02 kWh. In amp-hours: 7,018 Wh ÷ 48 V = 146 Ah. Usable energy = 7.02 × 0.90 = 6.32 kWh, of which 6 kWh is delivered after losses.
Result
A battery of about 7 kWh, or 146 Ah at 48 V, covers night-time consumption.
Frequently asked questions
Nominal or usable capacity: which should I look at?
Datasheets sometimes give both. Usable capacity already accounts for depth of discharge: in that case, enter 100% depth of discharge so you do not count it twice.
Why does my lead-acid battery need to be twice as big?
Because only about half its capacity can be used without sharply shortening its life, compared with 80 to 100% for lithium iron phosphate.
How many days of autonomy should I plan?
One night is enough with grid-connected solar. For an off-grid site, 2 to 4 days is typical, depending on local sunshine and whether there is a backup generator.