Battery life calculator
Estimates for planning and study. Fixed wiring must be designed and installed to the wiring regulations that apply where you are, by someone competent to do it. A real solar design also accounts for shading, roof orientation and pitch, and local irradiance data.
Works out how long a battery lasts at a given load, how long it takes to charge, and how much of its rating you can actually use. A 100 Ah 12 V battery holds 1,200 Wh; at 80% usable and 90% efficiency it runs a 120 W load for about 7.2 hours. Lead-acid at 50% usable gives about 4.5.
How to size a battery
Amp-hours tell you almost nothing on their own. A 100 Ah battery at 12 V and a 100 Ah battery at 24 V hold 1,200 and 2,400 watt-hours, and only the watt-hour figure can be compared against an appliance, because appliances are rated in watts. Any comparison that stops at amp-hours is comparing the wrong thing, which is why specifications are increasingly quoted in Wh. It also explains why larger systems run at higher voltages: the same energy at four times the voltage draws a quarter of the current, which means thinner cable and far lower losses.
Four things whittle the rating down
Depth of discharge is the first cut and much the largest. Taking a lead-acid battery below 50% repeatedly shortens its life dramatically, so a 100 Ah lead-acid bank is a 50 Ah bank in practice, while lithium iron phosphate is content at 80 to 90%. That is most of the reason lithium displaced it despite costing more per amp-hour: the usable capacity per pound is far closer than the headline figures suggest.
Discharge rate is the second, and it is the one nobody is told about. Capacity is quoted at a specific rate, usually C/20 for lead-acid, and drawing the same battery at C/5 gives measurably less than the rating. That is the Peukert effect, it is pronounced in lead-acid and small in lithium, and it is another reason lithium holds up better in the real world than the specification sheet implies.
Conversion is the third. An inverter turning 12 V DC into 230 V AC runs at 85 to 92%, and it also draws idle current whether or not anything is switched on. For a small load over a long period that idle draw can dominate: a 20 W inverter overhead running a 10 W load wastes twice what it delivers, which is why DC-native appliances are so common in vans and boats.
Temperature and age are the fourth. A lead-acid battery at 0 °C delivers perhaps 80% of its rating, and most chemistries are specified down to 80% capacity at end of life. Stack all four and a nominal 1,200 Wh bank might deliver 700 Wh of AC energy on a cold day in its fifth year. If the system has to work, that is the number to size against.
Charging
The arithmetic here covers the bulk phase, where the charger delivers its full current. Real chargers then move to an absorption phase at falling current and, for lead-acid, a float phase, and the last 20% of a lead-acid charge can take as long as the first 80%. Lithium holds near-constant current almost to the top and finishes far more predictably. The C-rate figure is the useful sanity check on a charger: above 0.5 C stresses most lead-acid batteries, while lithium iron phosphate commonly accepts 1 C without complaint.
Sizing the system around the bank
Inverters are rated twice for a reason. The continuous figure is what one can sustain thermally; the surge figure is what it supplies for a second or two before folding back. A compressor starting draws a genuine short-lived multiple of its running power, so an inverter that meets the running load and misses the surge simply refuses to start the fridge, repeatedly and confusingly, because the load looks well inside its rating. The other half of the job is the DC side, where 1,200 W on a 12 V bank is about 111 A and over 330 on surge. That is why anything past roughly a kilowatt belongs on 24 or 48 V, and why cable and fusing on a 12 V system stop being an afterthought.
Solar sizing has a seasonal problem the annual figures hide. Peak sun hours vary far more by season than by location: a UK array sized on an annual average of 2.8 will produce about five times as much in June as in December. Grid-tied, that swing is absorbed by the grid and the annual number is the right basis. Off-grid, charging a battery, you have to size for the worst month, which typically triples the array, or accept a generator for the darkest weeks.
What people use it for
- Sizing a leisure battery for a van, a boat or a cabin
- Comparing lead-acid and lithium honestly, in usable watt-hours
- Working out how long a charger needs to refill a bank
- Choosing an inverter that will start a fridge compressor
- Converting a power bank’s mAh rating into real delivered energy
- Checking a battery against the 100 Wh airline limit
- Sizing a solar array against a daily energy target
- Turning a watt-hour figure back into the amp-hours a supplier quotes
- Estimating how long a UPS or a portable power station holds up under load
- Testing a manufacturer’s runtime claim against the load you actually run
- Planning an overnight charge on shore power
- Choosing a charger that refills the bank between two uses
- Checking that a solar controller can put back in a day what you take out
- Working out the DC current an inverter pulls, which is what its cable and fuse are sized for
- Deciding between a 12 V, 24 V and 48 V bank for the same load
- Sizing a rooftop array from a year of bills, divided down to a day
- Comparing panel wattages for one roof, or checking an installer’s count
Questions
At 80% usable and 90% efficiency, about 7.2 hours running a 120 W load. Lead-acid at 50% usable would give about 4.5.
Multiply amp-hours by nominal voltage: 100 Ah at 12 V is 1,200 Wh. The voltage is not optional, because mAh and Ah are a charge while Wh is an energy, and energy is charge times voltage. Without the volts the two figures are not comparable at all.
About 50% for lead-acid to preserve cycle life, 80–90% for lithium iron phosphate. That, plus round-trip efficiency, is most of why a battery delivers less than its rating; the rest is age, cold, and discharge rate, since capacity is quoted at a slow rate, usually C/20, and drawing it faster gives measurably less. That last effect is the Peukert one: large in lead-acid, small in lithium.
From 20% with a 10 A charger, roughly 9.4 hours of bulk charging, plus absorption time on top for lead-acid.
Charge or discharge current as a fraction of capacity. Ten amps into a 100 Ah battery is 0.1 C. Above 0.5 C stresses most lead-acid batteries; lithium iron phosphate commonly accepts 1 C.
Chargers taper current as voltage rises. Lead-acid absorption can take hours; lithium tapers much later and much faster.
Considerably. Charging lithium below freezing damages it permanently, and most modern BMS units block it for that reason.
A continuous rating above your simultaneous running load plus headroom, and a surge rating above the biggest motor start.
Compressor inrush. The starting surge is several times the running power and exceeds the surge rating even when the running load is fine.
Load divided by efficiency divided by battery voltage. A 1,200 W load on 12 V is about 111 A, and over 330 on surge. It also draws 5 to 25 W idle, whether or not the load is on.
Above roughly 1,000 W, 24 V or 48 V. The current at 12 V becomes impractical for cable and fusing.
For 10 kWh a day at 3.5 peak sun hours, about 3.8 kWp — nine 430 W panels. Fewer in a sunnier climate, more in a cloudier one.
The number of hours of full 1,000 W/m² intensity that would deliver the same daily energy. It collapses a whole day into one number.
Grid-tied, yes: the grid absorbs the swing. Off-grid it will not. A UK array produces about five times as much in June as December, so size for the worst month or plan on a generator.
Conversion losses. The energy goes 3.7 V up to 5 V and back down, losing 10–20% as heat each way.
Under 100 Wh is fine in cabin baggage, 100–160 Wh usually needs approval, and over 160 Wh is refused.