Works on this device
Battery Calculator
Find how long a battery lasts, how large a battery you need, how long a charge takes, or what a pack of cells gives. Choose what you want to work out and enter the figures of your own battery and load.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out, for example How long a battery lasts (runtime).
- Enter the capacity in amp-hours or watt-hours and the nominal voltage printed on the battery.
- Enter the load in watts, or the current it draws from the battery in amps.
- Set the usable share of the capacity and the efficiency of the inverter or converter. The starting values are examples; use the figures of your own equipment.
- Choose Calculate. You can change the unit of a result, copy it, print it or download it as a CSV file.
The formulas
- Energy: watt-hours = amp-hours × nominal voltage. 1 Ah = 1000 mAh.
- Runtime: hours = capacity × usable share ÷ current drawn from the battery. For a load in watts, the current drawn = load power ÷ (voltage × efficiency).
- Capacity needed: amp-hours = current drawn × hours ÷ usable share.
- Peukert's law (an optional model for lead-acid batteries): hours = H × (C ÷ (I × H)) to the power k, where C is the capacity at the hour rating H, I is the current and k is the Peukert exponent that you enter.
- Series and parallel: pack voltage = number in series × cell voltage. Pack capacity = number in parallel × cell capacity.
- Charge time (simple model): hours = capacity × (end − start state of charge) ÷ (charge current × charge efficiency).
- C-rate = current ÷ capacity in amp-hours. 1 C empties the rated capacity in one hour.
- Internal resistance = (voltage with no load − voltage under load) ÷ load current.
- Battery bank: energy needed = daily energy × days ÷ efficiency ÷ usable share.
- Reserve capacity: amp-hours delivered at 25 A = minutes × 25 ÷ 60.
Worked example
A 12 V battery of 100 Ah holds 100 × 12 = 1200 Wh. A 120 W load runs through an inverter with 90% efficiency, so the battery gives 120 ÷ 0.9 = 133.3 W, which is 11.11 A at 12 V. With a usable share of 50%, the runtime is 100 × 0.5 ÷ 11.11 = 4.5 hours.
Eight cells of 3.6 V and 2.5 Ah as 4 in series and 2 in parallel (4S2P) give 14.4 V, 5 Ah and 72 Wh.
To charge the 100 Ah battery from 20% to 100% with 10 A and a charge efficiency of 85%, the simple model gives 80 ÷ (10 × 0.85) = 9.41 hours, which is 9 h 25 min. The real time is longer, because the current falls near full.
Example values used on this page
The starting values and the menus of examples are there to try the tool. They are not the data of your battery. Read the real values from the label or the data sheet.
| Battery type | Nominal voltage of one cell | Note |
|---|---|---|
| Lead-acid | 2 V | A 12 V battery has 6 cells in series |
| Nickel-metal hydride (NiMH) | 1.2 V | |
| Lithium-ion (NMC and similar) | 3.6 V to 3.7 V | The maker prints the exact value |
| Lithium polymer (LiPo) | 3.7 V | |
| Lithium iron phosphate (LiFePO4) | 3.2 V | A 12.8 V battery has 4 cells in series |
Limits you should know
- This result is arithmetic for understanding and estimating. It is not a design. Electrical work must follow the local code and be done or checked by a qualified electrician.
- A real battery gives less than its rated capacity at a high current, in the cold and when it is old. The simple model does not know this. Peukert's law is a model for lead-acid batteries at a steady current only.
- The charge time is a simple estimate. Real charging slows down (tapers) near full, so it takes longer. The tool gives no charging instructions.
- No data of battery makers is built in. Depth of discharge, efficiency, cycle life and the Peukert exponent are your inputs; the starting values are examples.
- Lithium cells need a proper protection circuit (a battery management system). This tool does not design one.
- The tool cannot tell the charge left in a battery from its voltage, and it has no runtime charts of UPS makers.
- The battery bank option counts energy only. It does not size solar panels, charge controllers, inverters, cables or fuses.