Battery Calculation Formula Calculator
Estimate battery energy, usable watt-hours, runtime, and the battery capacity required for your electrical load. This interactive calculator is designed for engineers, RV owners, solar users, marine applications, backup systems, and anyone who needs a reliable way to convert amp-hours, volts, watts, and efficiency into real-world battery performance.
Interactive Battery Calculator
Examples: 12V, 24V, 48V
Amp-hours at the rated discharge condition
Total device power draw in watts
Include inverter and wiring losses if applicable
Example: 50% lead-acid, 80% to 95% lithium
Used to calculate required battery capacity
Selecting a chemistry profile can automatically adjust recommended usable depth of discharge.
Enter your values and click the calculate button to see battery energy, usable energy, estimated runtime, discharge current, and required capacity.
Battery Calculation Formula: The Expert Guide to Amp-Hours, Watt-Hours, Runtime, and Sizing
Battery sizing looks simple at first glance, but real-world performance depends on much more than the number printed on a battery label. If you want to know how long a battery will power a device, how many batteries you need for an inverter system, or what capacity is required for a target runtime, you need to understand the battery calculation formula in practical terms. The good news is that the underlying math is straightforward once you know which units matter and how losses affect the result.
At the center of battery sizing are four basic quantities: voltage, current, power, and capacity. Voltage tells you the electrical potential of the battery. Current, measured in amps, describes the flow of electricity. Power, measured in watts, tells you how much electrical work your load consumes at any moment. Capacity, usually listed in amp-hours or Ah, tells you how much current the battery can deliver over time under specific test conditions. These values are tightly connected, and every battery runtime estimate comes from converting among them accurately.
Usable battery energy (Wh) = V × Ah × depth of discharge × efficiency
Runtime (hours) = Usable battery energy (Wh) ÷ Load power (W)
Required battery capacity (Ah) = Load power (W) × Runtime (h) ÷ (Voltage × depth of discharge × efficiency)
Why the battery calculation formula matters
People often compare batteries only by amp-hours, but amp-hours alone can be misleading. A 100 Ah battery at 12 volts stores much less total energy than a 100 Ah battery at 24 volts. That is why engineers and system designers often convert battery capacity to watt-hours. Watt-hours represent stored energy more directly and make it easier to compare batteries across different voltages.
For example, a 12 V 100 Ah battery stores about 1,200 Wh of nominal energy. A 24 V 100 Ah battery stores about 2,400 Wh. If your load consumes 120 W continuously, a simple ideal runtime estimate would be 10 hours for the 12 V battery and 20 hours for the 24 V battery. In practice, however, you should reduce the nominal energy by allowable depth of discharge, inverter losses, cable losses, temperature effects, and possible high-rate discharge penalties.
Core formulas you should know
- Power formula: Watts = Volts × Amps
- Battery energy formula: Watt-hours = Volts × Amp-hours
- Runtime formula: Runtime = Watt-hours ÷ Watts
- Adjusted runtime formula: Runtime = (V × Ah × DoD × efficiency) ÷ W
- Required battery formula: Ah = (W × runtime) ÷ (V × DoD × efficiency)
These formulas provide the basis for almost all battery bank sizing calculations used in off-grid solar systems, UPS backup planning, marine electrical systems, RV battery setups, and emergency power design. If the load is listed in amps rather than watts, you can also estimate runtime using amp-hours directly. But when inverters or mixed DC and AC loads are involved, working in watts and watt-hours is usually more reliable.
Understanding each variable in the formula
- Voltage (V): Common nominal battery system voltages are 12 V, 24 V, and 48 V. Higher voltage systems generally reduce current for the same power level, which can lower cable losses.
- Amp-hours (Ah): This is the battery’s rated capacity. The rating is often given at a specified discharge rate, such as 20-hour capacity for lead-acid batteries.
- Load power (W): The electrical demand from your appliances, electronics, motor, or inverter-connected loads.
- Depth of discharge (DoD): The fraction of total battery energy that is considered usable. Using 100% of nominal capacity is usually not recommended for many chemistries.
- Efficiency: Real systems lose energy in inverters, charge controllers, wiring, and battery internal resistance.
Typical depth of discharge ranges by battery chemistry
| Battery type | Common recommended usable DoD | Typical practical note | Example usable energy from 12 V 100 Ah battery |
|---|---|---|---|
| Flooded lead-acid | 50% | Frequent deep discharge can shorten cycle life significantly | 12 × 100 × 0.50 = 600 Wh before efficiency losses |
| AGM lead-acid | 50% to 60% | Convenient and sealed, but still sensitive to deep discharge | 720 Wh at 60% DoD before efficiency losses |
| Gel | 50% to 70% | Useful in specific applications with controlled charging | 840 Wh at 70% DoD before efficiency losses |
| LiFePO4 | 80% to 95% | High usable capacity and strong cycle life performance | 1,080 Wh at 90% DoD before efficiency losses |
The practical difference between chemistries is substantial. Two batteries may both be labeled 100 Ah, yet the one with the higher usable depth of discharge can deliver much more useful energy in day-to-day service. That is one reason lithium systems often appear more expensive up front but more efficient over their life cycle.
Real-world example calculation
Suppose you have a 12 V, 100 Ah battery powering a 120 W load through an inverter. Assume 80% usable depth of discharge and 90% total efficiency. First compute nominal energy:
Nominal energy = 12 × 100 = 1,200 Wh
Next compute usable energy:
Usable energy = 1,200 × 0.80 × 0.90 = 864 Wh
Then divide by the load power:
Runtime = 864 ÷ 120 = 7.2 hours
This is a much better estimate than simply dividing 1,200 Wh by 120 W and assuming 10 hours, because the adjusted value includes losses and battery reserve constraints.
How to calculate required battery size for a target runtime
Sometimes you already know the load and the desired runtime, and your goal is to find the required battery capacity. In that case, rearrange the formula:
Required Ah = Load power × Runtime ÷ (Voltage × DoD × Efficiency)
Imagine a 300 W load that must run for 10 hours on a 24 V system with 80% DoD and 92% efficiency:
Required Ah = 300 × 10 ÷ (24 × 0.80 × 0.92) = 169.84 Ah
Since you should not design exactly to the edge, a practical specification might be a 24 V battery bank with at least 180 Ah to 200 Ah, depending on surge loads, temperature, future expansion, and battery aging margin.
Discharge rate matters more than many users expect
Battery ratings are often based on standard test conditions. Lead-acid batteries, in particular, can deliver less effective capacity when discharged quickly. This behavior is commonly modeled through Peukert effects. That means a lead-acid battery powering a heavy inverter load may not behave like the simple Ah number suggests. Lithium iron phosphate batteries generally show better capacity retention under higher discharge rates, which is one reason they are favored in high-demand mobile and solar systems.
Battery runtime comparison by voltage and capacity
| Battery setup | Nominal energy | Assumed usable factor | Usable energy | Runtime for 100 W load |
|---|---|---|---|---|
| 12 V 50 Ah lead-acid at 50% DoD, 90% efficiency | 600 Wh | 0.45 | 270 Wh | 2.7 hours |
| 12 V 100 Ah lead-acid at 50% DoD, 90% efficiency | 1,200 Wh | 0.45 | 540 Wh | 5.4 hours |
| 12 V 100 Ah LiFePO4 at 90% DoD, 95% efficiency | 1,200 Wh | 0.855 | 1,026 Wh | 10.26 hours |
| 24 V 100 Ah LiFePO4 at 90% DoD, 95% efficiency | 2,400 Wh | 0.855 | 2,052 Wh | 20.52 hours |
The table makes an important point: voltage and chemistry both influence practical runtime. Two systems with the same amp-hour rating can behave very differently when compared on a watt-hour basis and adjusted for usable depth of discharge and losses.
How authoritative sources define battery energy and system efficiency
For deeper technical guidance, review publications from authoritative institutions. The U.S. Department of Energy provides broad energy storage information through the U.S. Department of Energy Solar Energy Technologies Office. The National Renewable Energy Laboratory offers highly respected research on energy storage, batteries, and system integration at NREL. For battery charging, safety, and transport considerations, another useful federal reference is the Federal Aviation Administration lithium battery guidance. These sources are helpful when you need engineering context beyond a simple calculator output.
Important design factors that can change your answer
- Temperature: Cold conditions can reduce available capacity, especially in lead-acid systems.
- Battery age: Capacity fades over time, so an older battery may deliver much less than its original rating.
- Continuous versus surge loads: Motors, compressors, and electronics with startup inrush can require extra inverter and battery headroom.
- Inverter efficiency variation: Inverter efficiency changes with load level, so one single efficiency figure may be only an approximation.
- Charge and discharge limits: Battery management systems may restrict current at high or low temperatures.
- Reserve margin: Critical systems should include contingency capacity for emergencies or cloudy weather in solar applications.
Common battery calculation mistakes
- Using amp-hours as though they are directly comparable across different voltages.
- Ignoring inverter losses and assuming 100% efficiency.
- Draining lead-acid batteries too deeply and reducing service life.
- Forgetting that load power may vary over time rather than staying constant.
- Designing to the exact minimum with no aging or weather margin.
- Overlooking manufacturer discharge-rate conditions that affect effective capacity.
Best practices for accurate battery sizing
Start by listing every load, including average and peak power. Convert the total to watt-hours per day or per required runtime period. Then choose your system voltage, expected efficiency, and realistic depth of discharge based on the chemistry. Once you calculate the minimum battery bank, add design margin. For critical or expensive systems, validate your assumptions with the battery datasheet and inverter specifications rather than generic averages.
Final takeaway
The battery calculation formula is not just a theoretical relationship. It is the foundation of reliable power system planning. If you understand how to convert volts and amp-hours into watt-hours, then adjust for depth of discharge and efficiency, you can make much smarter decisions about battery selection, expected runtime, and system cost. Whether you are sizing a single backup battery, an RV house bank, or a larger solar storage setup, the most important habit is to calculate usable energy rather than relying on nominal ratings alone. That small shift produces estimates that are closer to reality and more useful in the field.