By Tim King · Updated
Battery Sizing Calculator
Home and Off-Grid Storage in kWh and Ah
OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.
How the Battery Sizing Calculator works
This battery sizing calculator sizes home storage in kWh. Enter the energy you want the battery to supply between charges, usually your evening and overnight consumption for a home battery or a full day's use for an off-grid system, and how many days it should last without sun. The calculator grosses that up for depth of discharge and efficiency losses to give the nominal capacity to buy, expresses it in amp-hours at your system voltage, and counts the modules if you tell it the size of each.
Battery sizing calculator: usable energy and depth of discharge
A battery's headline capacity is not the energy you can use. Two corrections stand between the number on the box and the number that matters.
Depth of discharge. Batteries last longer when they are not fully drained. Lithium iron phosphate, the chemistry in almost every current home battery, is typically rated for 90 to 100 percent usable capacity and manufacturers quote the usable figure directly. Lead-acid, still common in cheap off-grid installations, should not be taken below 50 percent routinely and wears out quickly if it is. The calculator divides by the usable fraction, so a 10 kWh requirement becomes 11.1 kWh at 90 percent depth of discharge and 20 kWh at 50 percent.
Round-trip efficiency. Energy is lost charging the battery and lost again discharging it. A good lithium system with its own inverter returns 85 to 92 percent of what goes in; lead-acid returns 75 to 85. Because you have to put in more than you get out, the array or grid charging the battery needs to supply the gross figure, and the calculator applies the efficiency to the capacity so that the usable energy after losses still meets your target.
Days of autonomy. A grid-connected home battery needs to cover one evening and night, so one day (or less: many people size for the 6 pm to 6 am window only) is right, and the grid fills in when the battery is flat. An off-grid system has no such backup and is usually sized for two to three days of cloudy weather, sometimes more in winter climates, with a generator for the rest. Each extra day multiplies the capacity, which is why off-grid batteries are large and why a small generator is often cheaper than the last day of autonomy.
Amp-hours and voltage. Battery banks assembled from individual cells or lead-acid blocks are specified in amp-hours at a nominal voltage: 12, 24 or 48 V for most solar systems, with 48 V standard for anything above a few kilowatt-hours because the current, and therefore the cable size and losses, is a quarter of what it would be at 12 V. Kilowatt-hours equal amp-hours times volts divided by 1000. Packaged home batteries are sold in kWh and the amp-hour figure is irrelevant to them.
Matching to solar. A battery only helps if there is surplus energy to fill it. Enter the average surplus power available in the middle of the day and the calculator shows roughly how long a full recharge takes; if that is longer than the hours of good sun you get, either the array is too small for the battery or the battery is bigger than it needs to be. The solar sizing calculator sizes the array, and the solar payback calculator checks whether the battery's cost is recovered by the grid electricity it displaces.
Battery size by daily use
One day of autonomy, 90% depth of discharge, 90% round-trip efficiency, a 48 V bank and 5 kWh modules.
Nominal capacity, amp-hours and modules by daily energy use
| Daily use | Nominal capacity | Amp-hours | Modules |
|---|---|---|---|
| 2 kWh | 2.5 kWh | 51 Ah | 1 × 5 kWh = 5.0 kWh |
| 3 kWh | 3.7 kWh | 77 Ah | 1 × 5 kWh = 5.0 kWh |
| 4 kWh | 4.9 kWh | 103 Ah | 1 × 5 kWh = 5.0 kWh |
| 5 kWh | 6.2 kWh | 129 Ah | 2 × 5 kWh = 10.0 kWh |
| 6 kWh | 7.4 kWh | 154 Ah | 2 × 5 kWh = 10.0 kWh |
| 7 kWh | 8.6 kWh | 180 Ah | 2 × 5 kWh = 10.0 kWh |
| 8 kWh | 9.9 kWh | 206 Ah | 2 × 5 kWh = 10.0 kWh |
| 9 kWh | 11.1 kWh | 231 Ah | 3 × 5 kWh = 15.0 kWh |
| 10 kWh | 12.3 kWh | 257 Ah | 3 × 5 kWh = 15.0 kWh |
| 11 kWh | 13.6 kWh | 283 Ah | 3 × 5 kWh = 15.0 kWh |
| 12 kWh | 14.8 kWh | 309 Ah | 3 × 5 kWh = 15.0 kWh |
| 13 kWh | 16.0 kWh | 334 Ah | 4 × 5 kWh = 20.0 kWh |
| 14 kWh | 17.3 kWh | 360 Ah | 4 × 5 kWh = 20.0 kWh |
| 15 kWh | 18.5 kWh | 386 Ah | 4 × 5 kWh = 20.0 kWh |
| 16 kWh | 19.8 kWh | 412 Ah | 4 × 5 kWh = 20.0 kWh |
| 17 kWh | 21.0 kWh | 437 Ah | 5 × 5 kWh = 25.0 kWh |
| 18 kWh | 22.2 kWh | 463 Ah | 5 × 5 kWh = 25.0 kWh |
| 19 kWh | 23.5 kWh | 489 Ah | 5 × 5 kWh = 25.0 kWh |
| 20 kWh | 24.7 kWh | 514 Ah | 5 × 5 kWh = 25.0 kWh |
| 21 kWh | 25.9 kWh | 540 Ah | 6 × 5 kWh = 30.0 kWh |
| 22 kWh | 27.2 kWh | 566 Ah | 6 × 5 kWh = 30.0 kWh |
| 23 kWh | 28.4 kWh | 592 Ah | 6 × 5 kWh = 30.0 kWh |
| 24 kWh | 29.6 kWh | 617 Ah | 6 × 5 kWh = 30.0 kWh |
| 25 kWh | 30.9 kWh | 643 Ah | 7 × 5 kWh = 35.0 kWh |
Battery size formula and worked examples
The formula: nominal capacity (kWh) = daily energy × days of autonomy ÷ (depth of discharge × round-trip efficiency). Amp-hours = kWh × 1,000 ÷ system voltage, and modules = capacity ÷ module size, rounded up.
First example. Covering 8 kWh of evening use for one day with a lithium battery at 90% depth of discharge and 95% efficiency needs 8 ÷ (0.9 × 0.95) = 9.4 kWh nominal.
Second example. An off-grid cabin using 5 kWh a day for 3 days on lead-acid at 50% depth and 85% efficiency needs 15 ÷ 0.425 = 35.3 kWh — 735 Ah at 48 V.
How many batteries do I need? Divide the nominal capacity by one module's capacity and round up: 9.4 kWh with 5 kWh modules is two.
FAQ
What size battery do I need for a house?
Most grid-connected homes use 8 to 15 kWh between sunset and sunrise, so a 10 to 13.5 kWh battery covers a typical evening. Check your smart-meter data for overnight consumption rather than guessing; an electric car or heat pump can double it.
What is depth of discharge?
The share of a battery's total capacity that can be drawn out without harming its life. Lithium iron phosphate home batteries allow 90 to 100 percent and quote usable capacity; lead-acid should stay above 50 percent. The calculator divides your requirement by this fraction.
How do I convert kWh to amp-hours?
Multiply kilowatt-hours by 1000 and divide by the system voltage. A 10 kWh bank is 208 Ah at 48 V, 417 Ah at 24 V or 833 Ah at 12 V, which is why larger systems use 48 V to keep the current and cable sizes manageable.
How many days of autonomy should I plan for?
One day or less for a grid-connected battery, since the grid takes over when it is empty. Two to three days for off-grid, more in cloudy winter climates, usually combined with a backup generator because each extra day adds a full day's capacity to the price.
Why is round-trip efficiency included?
Because you lose energy both charging and discharging, typically 8 to 15 percent for lithium and more for lead-acid. To have your target energy available after those losses the battery, and the solar or grid supply charging it, has to be sized for the gross figure.
See also: all Home & DIY tools, Everyday Maths, Loans & Savings, Dates & Time, Health, Unit Converters, Education, Science, Creative, Garden & Farm, Gaming & PC, Work & Business, Fun, Maps & GPS, DIY & Building, Cost Estimators, Sport & Clubs.
Related tools
Electricity Cost Calculator
Bill from kWh and tariff, with supply charge, per day, month and year.
Appliance Running Cost Calculator
What an appliance costs to run per hour, day, month and year.
Joules To KWh
Convert joules to kilowatt-hours: divide by 3.6 million.
Battery Life Calculator
How long a battery lasts from capacity and load, allowing for efficiency.
Generator Size Calculator
Generator watts from your appliances' running and starting loads.