Watts to Joules
4 min read

Battery Systems Explained: Ah, Wh, Joules, and Run Time

Understand battery capacity units (mAh, Ah, Wh, Joules), depth of discharge, chemistry differences, and how to calculate real-world run time for any load. Complete guide for solar, EV, and off-grid systems.

Battery specifications read like a foreign language: 100Ah, 1.2 kWh, 4,320,000 J, 80% DoD. What does any of this mean in practice, and how do you predict how long a battery will actually power your setup? This guide breaks it all down from first principles.


The Three Capacity Units

Battery capacity describes how much energy a battery stores. The same battery can be described in three different units, each useful in different contexts.

1. Ampere-Hours (Ah) — Charge Capacity

Ampere-hours measure electric charge — how many electrons the battery holds, regardless of voltage. A 100Ah battery can theoretically supply 100A for 1 hour, 10A for 10 hours, or 1A for 100 hours.

mAh (milliampere-hours) = Ah × 1,000. Used for small batteries like phone packs and AA cells.

2. Watt-Hours (Wh) — Energy Capacity

Watt-hours are the most practically useful unit because they account for voltage:

Wh = Ah × Voltage

A 100Ah, 12V lead-acid battery stores: 100 × 12 = 1,200 Wh = 1.2 kWh

The same 100Ah battery at 48V (a common solar bank voltage) stores: 100 × 48 = 4,800 Wh = 4.8 kWh

3. Joules (J) — SI Energy Unit

Joules are the International System (SI) base unit of energy. One watt-hour equals exactly 3,600 joules:

J = Wh × 3,600

So our 12V, 100Ah battery stores: 1,200 × 3,600 = 4,320,000 J = 4.32 MJ


Depth of Discharge (DoD)

DoD is the percentage of a battery's total capacity that can be safely used before recharging. Discharging beyond the rated DoD causes permanent cell damage and reduces lifespan.

ChemistryRecommended DoDCycle Life (at DoD)
Lead-Acid (Flooded)50%~500 cycles
AGM / Sealed Lead50–80%~400–600 cycles
Lithium Iron Phosphate (LiFePO4)80–90%2,000–6,000 cycles
Lithium NMC (phones, EVs)80–100%300–1,000 cycles
Nickel-Metal Hydride (NiMH)80%500–1,000 cycles

Usable Energy = Total Wh × (DoD / 100)

A 1,200 Wh lead-acid battery at 50% DoD has only 600 Wh usable. The same sized LiFePO4 at 90% DoD gives 1,080 Wh — 80% more usable energy from the same nominal capacity.


Calculating Battery Run Time

Run Time (hours) = Usable Wh / Load (Watts)

Example 1: Camping Setup

12V, 100Ah LiFePO4 battery at 90% DoD = 1,080 Wh usable

Powering a 50W refrigerator: 1,080 / 50 = 21.6 hours

Example 2: Off-Grid Cabin

48V, 400Ah lead-acid bank at 50% DoD = 48 × 400 × 0.50 = 9,600 Wh usable

Cabin with 800W average load: 9,600 / 800 = 12 hours before recharge needed

Example 3: UPS for a Server

12V, 9Ah sealed AGM at 80% DoD = 12 × 9 × 0.80 = 86.4 Wh usable

Server draws 200W: 86.4 / 200 = 0.43 hours = 26 minutes of backup


Peukert's Law: Why Ah Rating is Load-Dependent

Lead-acid batteries lose capacity faster when discharged rapidly. A 100Ah battery discharged at 100A (1-hour rate) may only deliver 70Ah. Discharged slowly at 5A (20-hour rate), it may deliver the full 100Ah or more.

This is called Peukert's Effect and it's why lead-acid battery datasheets specify capacity at the C20 rate (20-hour discharge). Lithium chemistries are much less affected by discharge rate, delivering close to their rated capacity even at high currents.


Battery Chemistry Comparison

ChemistryNominal VoltageEnergy DensitySelf-DischargeBest For
Lead-Acid2.0V/cell (12V pack)LowLowStarter batteries, UPS
AGM2.0V/cell (12V pack)Low-MediumVery LowMarine, RV, backup
LiFePO43.2V/cell (12.8V pack)Medium-HighVery LowSolar, off-grid, EV
NMC Lithium3.6V/cellHighLowEVs, power tools, laptops
NiMH1.2V/cellMediumMediumConsumer electronics

Energy in Joules: Why It Matters

Joules connect battery energy to physical work. Understanding this matters for:

  • Motor sizing: Can this battery spin a pump to lift 100 kg of water 5 meters? (Answer: 100 × 9.81 × 5 = 4,905 J minimum)
  • Thermal loads: How many joules does it take to heat a kettle from 20°C to 100°C?
  • Regulatory compliance: Aviation, shipping, and hazmat regulations restrict lithium batteries by Wh capacity — which converts directly to Joules.

Use our Battery Run Time Calculator to instantly estimate run time for any capacity and load combination.


Quick Reference: Run Time Table

12V 100Ah LiFePO4 (90% DoD = 1,080 Wh usable):

Load Power (W)Run TimeTypical Device
10 W108 hoursLED lights, router
50 W21.6 hoursMini-fridge, laptop
100 W10.8 hoursSmall TV, CPAP
300 W3.6 hoursGaming console, desktop
500 W2.16 hoursPower tools, coffee maker
1,000 W1.08 hoursMicrowave, kettle

Ready to run the numbers?

Get your result instantly — private, in your browser.

Open the calculator →