Adding a battery to a solar system lets you use your own sunshine at night and keeps the lights on during power cuts. But batteries are expensive, so buying one that is too big wastes money, and one that is too small leaves you in the dark. This guide shows you, step by step, how to work out the solar battery size you need in kWh, wherever you live.
Quick formula: Battery size (kWh) = Energy you need from the battery (kWh) ÷ usable depth of discharge ÷ inverter efficiency.
Step 1: Decide What the Battery Must Do
- Evening self-use: store daytime solar to run the home in the evening and cut your bill.
- Backup during power cuts: keep essential loads (lights, fans, fridge, Wi-Fi) running for a set number of hours.
- Fully off-grid: run everything from solar with no grid at all. This needs the biggest battery and usually more than one day of storage.
Step 2: Calculate the Energy You Need (kWh)
Multiply each appliance’s power in watts by the number of hours it will run from the battery, add them up and divide by 1,000 to get kWh.
| Appliance | Typical power | Hours on battery | Energy (Wh) |
|---|---|---|---|
| LED lights (8 bulbs × 10 W) | 80 W | 5 | 400 |
| Fridge (average running power) | 150 W | 8 | 1,200 |
| Wi-Fi router | 15 W | 8 | 120 |
| TV | 100 W | 3 | 300 |
| Two ceiling fans | 150 W | 5 | 750 |
| Laptop and phone charging | 80 W | 3 | 240 |
| Total | – | – | 3,010 Wh ≈ 3 kWh |
Your electricity bill or smart meter app can also show how many kWh you use in the evening and overnight, which is often the most accurate starting point.
Step 3: Allow for Depth of Discharge
You should not empty a battery completely. The depth of discharge (DoD) is how much of its capacity you can safely use.
| Battery type | Usable depth of discharge | Typical lifespan |
|---|---|---|
| Lithium iron phosphate (LiFePO4) | About 80–90% | Several thousand cycles |
| Lead-acid / tubular | About 50% | A few hundred to around a thousand cycles |
Step 4: Put It Together
Using the 3 kWh example above, with a lithium battery (90% DoD) and an inverter that is about 95% efficient: 3 ÷ 0.9 ÷ 0.95 ≈ 3.5 kWh. A standard 5 kWh lithium battery would cover this comfortably with room to spare.
With lead-acid batteries (50% DoD): 3 ÷ 0.5 ÷ 0.95 ≈ 6.3 kWh, nearly double, which is why lithium is now the more popular choice despite its higher upfront price.
Converting Amp-Hours (Ah) to kWh
Battery labels often show amp-hours rather than kWh. Use this formula: kWh = Ah × Volts ÷ 1,000.
- A 100 Ah, 51.2 V lithium battery = 100 × 51.2 ÷ 1,000 = 5.12 kWh.
- A 200 Ah, 12 V lead-acid battery = 200 × 12 ÷ 1,000 = 2.4 kWh (of which only about half is usable).
Step 5: Check Power, Not Just Energy
Energy (kWh) tells you how long the battery lasts; power (kW) tells you how much it can run at the same time. If you want to run a kettle, microwave and fridge together, add their wattages and make sure both the inverter and the battery’s maximum discharge rate can handle that peak.
Step 6: Make Sure Your Panels Can Recharge It
A battery is only useful if your panels can refill it. As a rough guide, extra solar capacity needed (kW) ≈ battery energy used per day ÷ peak sun hours ÷ 0.8. For example, refilling 4 kWh in a location with 4 peak sun hours needs about 4 ÷ 4 ÷ 0.8 = 1.25 kW of panels on top of what your daytime load already uses. Our guide on how many solar panels you need explains sun hours and panel counts in detail.
Typical Battery Sizes by Home
| Household | Typical goal | Suggested lithium battery |
|---|---|---|
| Small flat or apartment | Evening lights, fridge and Wi-Fi | 3–5 kWh |
| Average family home | Evening use plus a few hours of backup | 5–10 kWh |
| Large home or home office | Most evening use plus longer backup | 10–15 kWh |
| Fully off-grid home | All usage with 1–2 days of reserve | 15 kWh and above, sized carefully |
Common Mistakes to Avoid
- Sizing for the whole house when you only need backup for essentials.
- Forgetting depth of discharge, especially with lead-acid batteries.
- Buying a battery that is not compatible with your inverter’s voltage and communication protocol.
- Installing batteries in very hot places such as an unventilated roof space; heat shortens battery life.
- Skipping professional installation. Large batteries store a lot of energy and need proper protection and cabling.
Frequently Asked Questions
How long will a 5 kWh battery last?
With about 4.5 kWh usable, it can run a 500 W load for roughly 9 hours, or a 1 kW load for about 4.5 hours.
Is a bigger battery always better?
No. If your panels cannot refill it most days, part of the battery sits unused. Match the battery to your evening use and your panels.
Can I add more batteries later?
Many modular lithium systems let you add units later, but they usually need to be the same model and installed within a few years of each other. Check before you buy.
☀️ This article is part of our Complete Solar Guide for Pakistan: sizing, prices, inverters, batteries and net billing in one place.
