Summary
Ah (ampere-hour) is a measure of a battery’s capacity, indicating how much current it can deliver over time. For example, a 10Ah battery can theoretically provide 1A for 10 hours or 2A for 5 hours. Actual runtime depends on the load, battery chemistry, temperature, discharge rate, and usable capacity.
Introduction
Battery specifications can seem confusing when you see terms such as Ah, mAh, Wh, voltage, and current. Among these, Ah is one of the most common ratings used to describe battery capacity.
Whether you are selecting a battery for a robotics project, powering an Arduino circuit, building an IoT device, or choosing a battery for a larger electrical system, understanding Ah helps you estimate how much charge a battery can provide and how long it may power a load.
However, Ah does not directly tell you how much energy a battery stores or exactly how long it will run a device. Voltage and the current drawn by the load must also be considered.
This guide explains what Ah means, how to calculate battery runtime, how Ah relates to mAh and Wh, and what factors affect real-world battery performance.
Components and Supplies
What Does Ah Mean in a Battery?
Ah stands for ampere-hour and is a unit used to express battery capacity. It represents the amount of electrical charge a battery can theoretically deliver over a period of time.
The basic relationship is:
Ah = Current (A) × Time (hours)
For example, a battery rated at 5Ah can theoretically provide:
- 5A for 1 hour
- 1A for 5 hours
- 0.5A for 10 hours
These examples are simplified calculations. In actual use, battery runtime can differ because battery capacity depends on factors such as discharge rate, temperature, battery age, chemistry, and operating conditions.
Therefore, an Ah rating should be viewed as an indication of battery capacity, rather than a guarantee of a particular runtime.
How Does Battery Capacity Relate to Runtime?
The Ah rating can be used to estimate how long a battery will power a device when its current consumption is known.
The basic formula is:
Battery Runtime (hours) = Battery Capacity (Ah) ÷ Load Current (A)
For example, if a 12Ah battery powers a device that consumes 3A:
Runtime = 12Ah ÷ 3A = 4 hours
Under ideal conditions, the battery could theoretically power the load for approximately four hours.
If the same battery powers a device consuming only 1A:
Runtime = 12Ah ÷ 1A = 12 hours
This demonstrates why knowing only the battery's Ah rating is not enough to determine runtime. You also need to know how much current the connected device consumes.
Worked Example: Calculating Runtime for a 100Ah Battery
Consider a 12V 100Ah battery connected to a load that continuously consumes 10A.
Using the runtime formula:
Runtime = Battery Capacity ÷ Load Current
Runtime = 100Ah ÷ 10A
Runtime = 10 hours
So, the theoretical runtime is 10 hours.
Now suppose the load consumes 25A instead:
100Ah ÷ 25A = 4 hours
The theoretical runtime becomes four hours.
In practical applications, the actual runtime may be shorter because batteries do not always deliver their rated capacity under every operating condition. Efficiency losses, discharge characteristics, temperature, battery age, and other factors can affect usable capacity.
Ah vs mAh: What Is the Difference?
Ah and mAh both describe battery capacity. The difference is simply the scale at which the capacity is expressed.
1 Ah = 1,000 mAh
For example:
- 0.5Ah = 500mAh
- 1Ah = 1,000mAh
- 2Ah = 2,000mAh
- 5Ah = 5,000mAh
- 10Ah = 10,000mAh
Smaller batteries used in electronics, sensors, portable devices, and development boards are often specified in mAh, while larger batteries are commonly rated in Ah.
A 2,000mAh battery and a 2Ah battery therefore have the same nominal charge capacity.
What Is Wh and How Is It Related to Ah?
Ah describes the amount of electrical charge a battery can provide, but it does not account for voltage. Watt-hour (Wh) provides a measure of energy by combining battery capacity with voltage.
The formula is:
Wh = Ah × Voltage (V)
For example, a 12V 100Ah battery has:
12V × 100Ah = 1,200Wh
A 24V 50Ah battery has:
24V × 50Ah = 1,200Wh
Although their Ah ratings are different, both have a calculated nominal energy capacity of 1,200Wh.
This is why Wh can be useful when comparing batteries with different voltage ratings.
Ah to mAh to Wh Conversion Table
The following table shows common capacity conversions at two different battery voltages:
| Battery Capacity | Equivalent mAh | Wh at 3.7V | Wh at 12V |
|---|---|---|---|
| 0.5 Ah | 500 mAh | 1.85 Wh | 6 Wh |
| 1 Ah | 1,000 mAh | 3.7 Wh | 12 Wh |
| 2 Ah | 2,000 mAh | 7.4 Wh | 24 Wh |
| 5 Ah | 5,000 mAh | 18.5 Wh | 60 Wh |
| 10 Ah | 10,000 mAh | 37 Wh | 120 Wh |
| 20 Ah | 20,000 mAh | 74 Wh | 240 Wh |
| 50 Ah | 50,000 mAh | 185 Wh | 600 Wh |
| 100 Ah | 100,000 mAh | 370 Wh | 1,200 Wh |
Important Battery Conversion Formulas
Keep these formulas in mind when working with battery specifications:
Ah to mAh:
mAh = Ah × 1,000
mAh to Ah:
Ah = mAh ÷ 1,000
Ah to Wh:
Wh = Ah × Voltage
Wh to Ah:
Ah = Wh ÷ Voltage
For example, a 2Ah, 12V battery has:
2Ah × 1,000 = 2,000mAh
and:
2Ah × 12V = 24Wh
What Factors Affect Actual Battery Runtime?
The runtime calculated using Ah and load current is an estimate. Several factors can cause actual runtime to differ.
1. Load Current
A device drawing more current will generally consume the battery's available capacity faster. Devices with variable power consumption can also have different runtimes from calculations based on a constant current.
2. Battery Chemistry
Different battery chemistries have different characteristics. Lithium-ion, lithium-polymer, lead-acid, and other battery types can behave differently under load.
3. Temperature
Battery performance can change with operating temperature. Extremely high or low temperatures may affect available capacity and overall performance.
4. Battery Age
As batteries undergo use and charging cycles, their available capacity can decrease. An older battery may therefore provide less usable capacity than when it was new.
5. Discharge Rate
The rate at which a battery is discharged can influence its usable capacity. A battery's rated Ah should therefore be considered alongside its specified discharge conditions.
6. System Efficiency
When a battery powers a device through a voltage regulator, converter, motor driver, or other electronics, some energy can be lost in the conversion process. This can reduce the effective runtime.
Battery Voltage, Current and Power
Understanding the relationship between voltage, current, and power makes battery calculations easier.
Voltage (V) is the electrical potential provided by a battery.
Current (A) represents the flow of electrical charge through a circuit.
Power (W) describes the rate at which electrical energy is being used or delivered.
Power can be calculated using:
Power (W) = Voltage (V) × Current (A)
For example, a 12V device drawing 2A consumes:
12V × 2A = 24W
If you know the battery's Wh rating and the load's power consumption, you can also estimate runtime using:
Runtime (hours) = Battery Energy (Wh) ÷ Load Power (W)
For example, a 1,200Wh battery powering a 120W load has an ideal runtime of:
1,200Wh ÷ 120W = 10 hours
Again, real-world runtime can be lower because of system and battery losses.
How to Choose the Right Ah Rating
Choosing a battery based only on Ah can lead to an unsuitable selection. Consider the following specifications together:
- Voltage: Make sure it matches the requirements of the device or circuit.
- Capacity: Select an appropriate Ah or mAh rating based on the desired runtime.
- Energy: Use Wh when comparing batteries with different voltage ratings.
- Discharge capability: Ensure the battery can safely supply the required current.
- Battery chemistry: Consider the characteristics and requirements of the chosen chemistry.
- Physical size: Check that the battery fits the intended application.
- Operating conditions: Consider temperature and other environmental conditions.
For electronics, robotics, and IoT projects, calculating the expected load before selecting a battery can help determine the required capacity.

Common Applications of Batteries Rated in Ah
Ah ratings are used across a wide range of battery-powered applications.
Robotics
Robots may use batteries to power motors, controllers, sensors, and communication modules. The required Ah rating depends on the combined current consumption and desired operating time.
IoT Projects
IoT devices that operate from batteries may use mAh-rated cells for compact designs. Estimating current consumption helps determine the required battery capacity.
Portable Electronics
Small rechargeable batteries are commonly specified in mAh because their capacities are relatively small.
Backup Power Systems
Larger batteries used for backup applications are often rated in Ah. Runtime calculations can help estimate how long a system can operate during a power interruption.
Conclusion
Ah, or ampere-hour, indicates a battery's capacity to deliver electrical charge over time. It can be used to estimate battery runtime when the load's current consumption is known.
The basic calculation is:
Runtime (hours) = Battery Capacity (Ah) ÷ Load Current (A)
For energy comparisons, voltage must also be considered:
Wh = Ah × Voltage
Understanding the relationship between Ah, mAh, Wh, voltage, current, and power makes it easier to select a suitable battery for electronics, robotics, IoT systems, and other battery-powered applications. While theoretical calculations provide a useful starting point, actual runtime depends on the battery, load, and operating conditions.
Please do check out other blog posts about Popular electronics
Check out other related blog post about batteries Lithium-Ion vs Lithium Polymer Battery , Automatic Battery Charging Circuit , How to Charge LiPo Battery and How to Use IMAX B6 Multifunction Charger for LiPo Batteries
Make sure you check out our wide range of products and collections (we offer some exciting deals!)





