Sub topic 3
Reading battery ratings: voltage, mAh, and discharge limits
This chapter assumes you know Ohm's law, can compute power as volts times amps, and have read the chapter comparing alkaline, NiMH, and lithium-ion batteries. You do not need to have built a power supply yet. By the end you will be able to read a battery's label or datasheet, pull out the three numbers that matter, and judge whether a cell can run your project.
What a rating tells you
A battery label is a compressed datasheet. Three ratings do most of the work:
- Nominal voltage is the typical voltage during discharge. It is a label, not a measurement.
- Capacity is how much charge the cell holds, written in milliamp-hours (mAh) or amp-hours (Ah).
- Discharge limit is the most current the cell can supply safely, usually written as a C-rate or as a maximum continuous current in amps.
Each number is measured under specific test conditions, and each one can mislead you if you read it without those conditions.
Nominal voltage is not the voltage you get
Battery voltage changes as the cell discharges. The nominal value is a midpoint chosen by convention for the chemistry.
| Chemistry | Nominal | Fully charged | Roughly empty |
|---|---|---|---|
| Alkaline (AA/AAA) | 1.5 V | 1.6 V (fresh) | 0.8–1.0 V |
| NiMH | 1.2 V | 1.4 V (just off charger) | 1.0 V |
| Li-ion / LiPo | 3.7 V | 4.2 V | 3.0–3.3 V |
| LiFePO4 | 3.2 V | 3.6 V | 2.5 V |
The practical consequences:
- Four alkaline cells in series are labeled 6 V but start near 6.4 V and fall toward 4 V. Four NiMH cells are labeled 4.8 V and sit near 4.8 V for most of the discharge.
- A single LiPo cell is labeled 3.7 V but spends its life between 4.2 V and about 3.3 V. That range is too low for a 5 V board and too high for some 3.0 V parts.
- Series cells add voltage. Parallel cells add capacity and keep the voltage the same. A "2S2P" pack has two cells in series, two such strings in parallel, and the capacity of two cells.
Design against the whole voltage range, not the nominal figure. A later chapter shows how a regulator's dropout voltage decides when your project stops working, and that depends on the empty voltage.
Capacity in mAh
One milliamp-hour is the charge delivered by 1 mA flowing for one hour. A 2000 mAh cell can nominally supply 2000 mA for one hour, 200 mA for ten hours, or 20 mA for 100 hours.
Two details matter in practice.
First, the number is measured at a particular discharge rate and cutoff voltage. Manufacturers usually pick a gentle rate, such as 0.2C for NiMH or 0.2C to 0.5C for lithium cells. Draw current faster than the test rate and you get less than the rated capacity. This is most visible in alkaline cells, which can deliver far less than their label when asked for hundreds of milliamps.
Second, mAh is charge, not energy. To compare cells of different voltages, convert to watt-hours:
energy (Wh) = capacity (Ah) × nominal voltage (V)A 2000 mAh LiPo at 3.7 V holds 7.4 Wh. A 2000 mAh NiMH AA at 1.2 V holds only 2.4 Wh. Four of the NiMH cells in series give 9.6 Wh at 4.8 V. Comparing energy is the fair way to compare packs, particularly once a regulator sits between the battery and the load.
Discharge limits and the C-rate
The C-rate expresses current as a multiple of capacity. A 1C current equals the capacity number read as milliamps. For a 1000 mAh cell:
| Rate | Current |
|---|---|
| 0.5C | 500 mA |
| 1C | 1000 mA |
| 2C | 2000 mA |
| 10C | 10000 mA |
The conversion in code form:
def c_rate_to_amps(capacity_mah, c_rate):
"""Current in amps for a given C-rate."""
return capacity_mah * c_rate / 1000.0
def required_c_rate(capacity_mah, load_ma):
"""C-rate a cell must sustain to supply load_ma."""
return load_ma / capacity_mah
# A 1000 mAh LiPo rated 20C continuous
print(c_rate_to_amps(1000, 20)) # 20.0 A
# An ESP32 peak of 500 mA from a 1000 mAh cell
print(required_c_rate(1000, 500)) # 0.5 CDatasheets give two limits, and you need both:
- Continuous discharge is what the cell can supply indefinitely without overheating or dropping out of spec.
- Peak or pulse discharge is a higher value allowed for a short time, often 10 to 30 seconds or less. It matters for motors starting, radio transmit bursts, and servos stalling.
A project can exceed the continuous rating only briefly. If your average current is well below the continuous limit but your peaks exceed the pulse limit, the voltage will collapse during the peaks and the board can reset.
Typical figures, as a sanity check:
- Alkaline AA: continuous draws above about 0.5C to 1C waste much of the capacity. Treat 500 mA as a high load.
- NiMH AA: 1C to 2C is fine for most projects.
- Small LiPo for hobby use: 1C is a common continuous rating for slim consumer cells, while RC-style packs list 20C or more.
- Many protected 18650 cells: continuous ratings between 1.5C and 5C, with the exact value in the datasheet.
Why the label overstates what you get
Rated capacity is a best-case number. Several effects reduce what your project actually gets:
- Discharge rate. Higher current means lower delivered capacity, especially for alkaline cells.
- Temperature. Capacity falls in the cold. Lithium cells can lose a large share below freezing and must not be charged there.
- Cutoff voltage. If your regulator drops out at 3.5 V and the rating assumed 3.0 V, you lose the bottom of the capacity.
- Age and cycles. Rechargeable cells lose capacity with each cycle and with calendar age.
- Self-discharge. Standard NiMH loses a noticeable fraction per month, while low self-discharge types and lithium cells lose much less.
- Regulator losses. The battery supplies more power than the load consumes. A later chapter on runtime estimation handles this.
The usual engineering response is to derate. The chapter on runtime estimation uses 70% as a starting factor, and the helper below applies it to a capacity rating.
def usable_capacity_mah(rated_mah, derate=0.7):
"""Capacity you can plan around, after real-world losses."""
return rated_mah * derate
def usable_energy_wh(rated_mah, nominal_v, derate=0.7):
"""Planning energy in watt-hours."""
return rated_mah / 1000.0 * nominal_v * derate
print(usable_capacity_mah(2000)) # 1400.0 mAh
print(usable_energy_wh(2000, 3.7)) # about 5.18 WhUse a lower derate, such as 0.5, for cold environments, high peak currents, or cheap unbranded cells.
Reading a datasheet
A good cell datasheet gives you more than the label. Look for these entries:
| Entry | What to check |
|---|---|
| Nominal voltage and charge voltage | Matches your charger and regulator input range |
| Rated capacity and test conditions | The rate and cutoff voltage used to get that figure |
| Standard and maximum continuous discharge | Compare with your peak load |
| Discharge curves at several currents | Shows how much capacity you lose at your load |
| Cutoff voltage | The lowest voltage you should allow |
| Internal resistance | Predicts the voltage sag, covered in the next chapter |
| Operating temperature | Separate ranges for charge and discharge |
The discharge curve is the most useful graph. It plots voltage against delivered capacity at several currents. Find the curve nearest your average current, draw a horizontal line at your regulator's minimum input voltage, and read off the capacity where the curve crosses it. That value is your realistic capacity for this design.
The diagram shows the order in which the ratings are checked against a load.
A worked example
You want to run a sensor node from a single 3.7 V, 2000 mAh LiPo. Average current is 40 mA with 300 mA peaks during radio transmission. The node uses a regulator that needs at least 3.5 V in.
- Voltage. The cell spans 4.2 V to about 3.0 V. The regulator needs 3.5 V, so the node stops when the cell reaches 3.5 V, before the cell is empty. A lot of the remaining capacity is unreachable. Check the discharge curve for how much that is.
- Peak current. 300 mA on a 2000 mAh cell is 0.15C. This is far below any reasonable pulse limit.
- Average current. 40 mA is 0.02C, so the cell is lightly loaded and delivers close to its rated capacity.
- Usable capacity. Suppose the curve shows that 85% of the capacity lies above 3.5 V. Multiply by the 0.7 derate: 2000 × 0.7 × 0.85 gives about 1190 mAh.
- Runtime. 1190 mAh divided by 40 mA is about 30 hours.
If the load were a motor drawing 8 A at startup, the same cell would fail step 2 by a wide margin. The fix is a cell with a higher pulse rating, or two or more cells in parallel, not a bigger mAh number alone.
Common mistakes
- Treating nominal voltage as constant and sizing a regulator for exactly that value.
- Adding mAh when connecting cells in series.
- Comparing cells by mAh when their voltages differ. Compare watt-hours.
- Ignoring the peak current of radios, motors, and servos.
- Using the maximum "burst" rating as if it were continuous.
- Trusting the capacity printed on unbranded cells. Very high claims on small cells are a warning sign, and a discharge test is the only reliable check.
- Forgetting that the regulator's dropout, not the cell's cutoff, may end the runtime.
Exercises
Exercise
A pack contains 3 NiMH AA cells in series, each rated 2400 mAh at 1.2 V nominal. What are the pack's nominal voltage, capacity, and energy in watt-hours?
Show answer
Series cells add voltage and keep capacity. Voltage is 3 × 1.2 = 3.6 V. Capacity stays 2400 mAh. Energy is 2.4 Ah × 3.6 V = 8.64 Wh.
Exercise
A 1500 mAh LiPo is rated 5C continuous. Your load averages 600 mA with 4 A peaks lasting 2 seconds. Does the load fit within the continuous rating? What is the actual C-rate of the peak?
Show answer
The continuous limit is 1500 mAh × 5 = 7500 mA, or 7.5 A. The 600 mA average and the 4 A peak are both below it, so the load fits. The peak is 4000 / 1500, about 2.7C.
Exercise
You plan to use the 70% derate on a 3000 mAh cell powering a 150 mA load. Give the estimated runtime. Then name two conditions in which you would lower the derate factor.
Show answer
Usable capacity is 3000 × 0.7 = 2100 mAh, so runtime is 2100 / 150 = 14 hours. Lower the derate for cold operation, for high peak currents, for aged cells, or for cheap unbranded cells.