a Batteries & Energy Storage — Ah, Wh, Packs, Charging & BMS | eCircuitCalc Learn

Batteries & Energy Storage: Ah, Wh, Packs, Charging & BMS

A complete beginner-to-advanced path through battery science and practice: reading ratings, converting Ah and Wh, sizing series/parallel packs, C-ratings, state of charge, CC/CV charging, internal resistance, balancing, BMS, safety and real energy-storage design — with live calculators and animated charge curves. No prior battery experience assumed.

Interactive 55 lessons 3 levels
Lesson 1 / 55

Level 1 · Beginner

Before you can design with batteries you need a mental model of two very different ideas that beginners constantly mix up: voltage (how hard the battery pushes) and capacity (how much it holds). A high-voltage, low-capacity cell and a low-voltage, huge-capacity cell can deliver the same total energy — and once you see that, almost everything in this module clicks. This section builds that model from nothing.

You'll learn the three numbers on every battery label — volts, amp-hours, and the derived watt-hours — and how to read a rating like “12 V 100 Ah” correctly. Then you'll do your first real calculations: how long a battery will run a load, and what happens to voltage and capacity when you connect cells in series or in parallel. By the end you can look at any battery and immediately reason about what it can do.

1 What a Battery Actually Is

Beginner

A battery is a device that stores chemical energy and releases it as electricity. Inside sit two different materials — the anode and cathode — separated by an electrolyte. A chemical reaction moves electrons from one electrode to the other; when you connect a load, those electrons flow through the circuit, and that flow is the current that does useful work. When the reactants are exhausted the battery reads “empty,” and recharging simply runs the reaction back the other way.

Two numbers describe every battery and you'll use them constantly. Voltage (V) is the electrical “pressure.” Capacity is the total charge it can hold, expressed in amp-hours (Ah) or, more fundamentally, as energy in watt-hours (Wh). Voltage sets how hard it pushes; capacity sets how long it lasts. Everything else in this module is built from those two ideas.

2 Voltage: The Battery's "Pressure"

Beginner

Voltage is the difference in electric potential between two points — the “pressure” that drives electrons through a circuit. A battery's voltage is set by its chemistry, not its size: a single lithium-ion cell sits at about 3.7 V, while a “9 V” battery is really six 1.5 V cells stacked in series. You can make a cell physically bigger (more capacity) without changing its voltage at all, and that distinction is the single most important one for pack design.

Also note there's a difference between nominal voltage (the label value, e.g. 3.7 V per Li-ion cell) and the real voltage, which moves as the battery charges and discharges — a Li-ion cell runs from about 3.0 V when empty up to about 4.2 V when full. Devices are specified around the nominal value, but you'll need the working range when sizing packs. We cover that in lesson 10.

3 Current: How Much Flows

Beginner

Current is the rate at which charge flows, measured in amperes (A), usually milliamps (mA) for small loads. Think of voltage as water pressure and current as how much water flows per second. A tiny LED might draw 20 mA; a phone while charging a couple of amps; a power tool tens of amps. Whatever you connect to a battery decides the current, and the battery simply has to be able to supply it.

Current is what drains a battery. A 2 A load empties a battery twice as fast as a 1 A load (ignoring efficiency). It's also what stresses it: pulling current far above a cell's rated limit generates heat and can cause damage. So when you learn C-ratings later, that's just a formal way of asking, “how hard can I pull, safely?”

4 Power: Where Voltage Meets Current

Beginner

Power is how fast energy is delivered, measured in watts (W). It's simply voltage times current: P = V × I. A 12 V battery driving a 3 A load delivers 36 W. Power is what most devices are rated in (a “100 W” laptop, a “5 W” USB charger), and it's the quantity you match when sizing a battery for a job.

P (W) = V (volts) × I (amperes)

Two batteries can have the same power but very different characters: a 48 V pack at 2 A and a 12 V pack at 8 A both deliver 96 W, but the high-voltage one uses thinner wires and lower losses. This “raise voltage, lower current” idea is why EVs and solar systems run at hundreds of volts rather than a few.

5 Energy: The Real Currency

Beginner

Energy is the total amount of work a battery can deliver, measured in watt-hours (Wh) (or kilowatt-hours, kWh = 1000 Wh). It's the quantity that actually pays your electric bill and the one that truly compares batteries, because it combines voltage and capacity into a single number: Wh = V × Ah. A 12 V 10 Ah battery and a 120 V 1 Ah battery both store 120 Wh of energy.

When you size a battery for a project, think in energy first: figure out how many watt-hours your load needs, then pick any voltage/capacity combination that provides it. That flips the problem from “what Ah do I need?” (which only makes sense at a fixed voltage) to “how much energy, total?” — a much cleaner starting point.

Wh = V × Ah | kWh = Wh / 1000

6 Amp-hours (Ah)

Beginner

An amp-hour is a unit of charge: the amount a 1-ampere current would deliver in one hour. A “5 Ah” battery can, in ideal conditions, supply 5 A for 1 hour, or 1 A for 5 hours, or 2.5 A for 2 hours. It's a measure of how much flows over time, not how hard it pushes.

The catch that trips people up: Ah only tells the full story at a given voltage. A 5 Ah battery at 12 V stores far more energy than a 5 Ah battery at 3.7 V. That's why watt-hours is the better “energy” number, and why you'll almost always pair Ah with a voltage. We convert between them in lesson 8.

A “2 Ah” battery can, ideally, supply…

7 Watt-hours (Wh)

Beginner

A watt-hour is a unit of energy: the energy delivered by 1 watt of power over 1 hour. Because it already includes voltage, Wh is the fairest way to compare batteries of different voltages. A laptop battery rated “50 Wh” stores 50 W of power for 1 hour — or 25 W for 2 hours — regardless of whether that's 11 V or 15 V.

Wh is everywhere you care about energy: airline limits for carry-on batteries (100 Wh / 160 Wh), EV range (a “75 kWh” pack), and home storage. When in doubt between Ah and Wh, use Wh to compare total energy, and Ah when the voltage is already fixed.

8 Converting Between Ah and Wh

Beginner

The connection between these two units is voltage. To convert charge into energy, you multiply the numbers. Conversely, to convert energy back to charge, you divide. Keep in mind that the current should be measured in amperes and the voltage in volts to obtain the result in watt-hours.

Wh = Ah × V | Ah = Wh ÷ V

Example: a 12 V, 20 Ah battery stores 12 × 20 = 240 Wh. Conversely, a 500 Wh power station at 12 V provides about 500 ÷ 12 ≈ 41.7 Ah of capacity. Use the interactive converter to flip between them for any voltage.

Try it — Ah ↔ Wh converter

Direction
20
12

9 Reading a Battery's Label & Ratings

Beginner

A label packs several facts you should learn to read at a glance. The nominal voltage (e.g. 3.7 V, 12 V) tells you the chemistry and how many cells are in series. The capacity in Ah (or mAh — a milliamp-hour, 1 Ah = 1000 mAh) tells you the charge at a specified discharge rate. Often there's a charge voltage limit and a continuous/peak discharge current, plus a date and a chemistry code.

Typical battery label fields
FieldExampleWhat it means
ChemistryLi-ion / LiFePO₄ / NiMHCell type — sets voltages & rules
Nominal voltage3.7 V / 12 VPer-cell or pack “working” voltage
Capacity3000 mAh (3 Ah)Charge at a stated rate
Max charge voltage4.20 V/cellDo not exceed while charging
Discharge current15 C (45 A)Safe continuous current limit

One subtlety: a stated capacity is measured at a specific temperature and discharge rate, and real capacity is usually a little lower under heavy loads. Treat the label as a good, not guaranteed, figure.

10 Nominal Voltage vs Real Voltage

Beginner

Nominal voltage is a convenient average — for a Li-ion cell, 3.7 V even though it physically ranges from 4.2 V (full) down to 3.0 V (empty). Manufacturers use it so you can do quick pack math: a “3S” Li-ion pack is nominally 3 × 3.7 = 11.1 V. But the real voltage is always moving, and your electronics see the real one.

Li-ion cell voltage by state of charge (approx.)
State of chargeCell voltage
100% (full)~4.20 V
~50%~3.70 V (nominal)
~10%~3.30 V
Cutoff (empty)~3.00 V

Why it matters: a device that needs “at least 10 V” will brown-out when an 11.1 V (3S) pack sags to 9 V near the end of its discharge. Always design against the lowest voltage your load will tolerate, not the nominal figure.

11 Runtime, Part 1: The Basic Math

Beginner

The most straightforward way to estimate runtime is to divide the battery's capacity by the load: hours = Ah ÷ A. For instance, a 10 Ah battery powering a 2 A load would last about 10 ÷ 2 = 5 hours. This simple calculation serves as a useful first approximation for a quick check.

Runtime (h) = Capacity (Ah) ÷ Load (A)

This approach assumes that you can use the entire capacity without any loss, which is not true in practice. In the next section, we will introduce two important corrections to make these runtime estimates more accurate: you typically do not discharge the battery to its full depth, and some energy is wasted as heat.

12 Runtime, Part 2: Real Loads & Derating

Beginner

Two corrections matter. First, you can't safely drain every chemistry to 0% — lead-acid and LiFePO₄ have recommended depth-of-discharge (DoD) limits to protect their life, so only a fraction of the label capacity is “usable.” Second, efficiency (<100%) accounts for internal losses, especially at high current. Combine them: usable Ah = full Ah × (1 − DoD) × efficiency, then divide by load.

Runtime (h) = [Full Ah × (1 − DoD) × Eff] ÷ Load (A)

Example: a 100 Ah bank, 80% usable DoD, 90% efficiency, running a 10 A load → usable = 100 × 0.8 × 0.9 = 72 Ah → runtime ≈ 7.2 h. The interactive calculator does this for any inputs and handles a zero load gracefully.

Try it — runtime calculator

80%
90%

A 50 Ah battery, 80% usable, 90% efficient, runs a 5 A load. Runtime is about…

13 Connecting Cells in Series

Beginner

Connect the positive of one cell to the negative of the next and the voltages add, while the amp-hour capacity stays the same as a single cell. Two 3.7 V 2 Ah cells in series give a 7.4 V 2 Ah pack. Series is how you raise voltage — a “3S” Li-ion pack (3 cells in series) is nominally 11.1 V.

Series: Vpack = n × Vcell Ahpack = Ahcell (unchanged)

The trade-off: in series the same current flows through every cell, so one weak or failing cell limits (or endangers) the whole string — the reason serious packs use a BMS to keep them matched. We return to this in the balancing lessons.

14 Connecting Cells in Parallel

Beginner

Connect all positives together and all negatives together and the voltage stays the same as one cell, but the amp-hour capacity adds up. Two 3.7 V 2 Ah cells in parallel give 3.7 V 4 Ah. Parallel is how you add capacity (and runtime) without changing voltage, and it also lowers the pack's internal resistance, so it can deliver more current.

Parallel: Vpack = Vcell (unchanged) Ahpack = n × Ahcell

Caveat: cells in parallel share current, and if one has a higher internal resistance it will carry more and age faster — again a balancing concern, and a reason to parallel only cells that are closely matched.

Three 3.7 V 2 Ah cells in parallel make…

15 Series vs Parallel, Side by Side

Beginner

Series vs parallel at a glance
SeriesParallel
VoltageAdds up (× n)Unchanged
Capacity (Ah)UnchangedAdds up (× n)
Energy (Wh)Adds upAdds up
Current capabilitySame as one cellHigher (lower R)
If one cell failsWhole string affectedOthers keep working (but current rebalances)

The key insight: both configurations add total energy (Wh), because energy = V × Ah and series adds V while parallel adds Ah. You choose series when you need more voltage, parallel when you need more runtime/current. Real packs mix the two.

16 Charging 101

Beginner

Charging pushes the battery's chemical reaction backwards by forcing current in. The two golden rules: charge at the correct voltage (each chemistry has a maximum cell voltage — exceeding it is a leading cause of failure) and at a sensible current (usually expressed as a C-rate, covered later). Most modern charging is automated, but you still need to know what it's doing.

The simplest scheme is constant-current (CC): feed a steady current until the battery is full, then stop (or taper). That's fine for some chemistries and is the “bulk” phase of nearly all lithium charging. The more complete CC/CV method — and the charge curves it produces — is the heart of the Intermediate section.

Level 2 · Intermediate

Now that voltage, capacity and series/parallel are second nature, this section turns them into tools for real pack design. You'll size series-parallel packs, work out how hard a battery can safely be pulled (C-ratings), and learn the two percentages that govern battery life: state of charge and depth of discharge. Then you'll read the curves that describe how a battery actually behaves as it charges and discharges, and the CC/CV method that lithium chargers use.

The second half of this level goes under the hood: where the “missing” energy goes (efficiency), what internal resistance does to voltage under load (sag), why cells in a pack drift apart and need balancing, and what a BMS is for. By the end you can design a pack for a specific project and explain every number on its spec sheet.

17 Series-Parallel Battery Packs

Intermediate

Real packs combine both ideas, written as nS mP (n cells in series, m in parallel). The series group sets the voltage; the parallel groups add capacity. A 3S2P Li-ion pack (3 in series, 2 in parallel) is nominally 3 × 3.7 = 11.1 V, with capacity 2 × (one cell's Ah). The total cell count is simply n × m.

Vpack = nseries × Vcell Ahpack = mparallel × Ahcell Whpack = Vpack × Ahpack

The interactive pack calculator computes all of this for any cell voltage, capacity and S/P counts, and shows total energy and cell count. This is the single most-used calculation in pack building, so make it automatic in your head.

Try it — pack voltage & capacity calculator

A 4S3P pack of 3.7 V 2 Ah cells is…

18 Pack Voltage, Capacity & Energy

Intermediate

Let's do the full chain on one pack and watch the units. Take a 6S2P pack of 3.7 V 3 Ah Li-ion cells. Voltage: 6 × 3.7 = 22.2 V. Capacity: 2 × 3 = 6 Ah. Energy: 22.2 V × 6 Ah = 133.2 Wh. Twelve cells total. If you later add a second parallel group (6S3P), the voltage stays 22.2 V but capacity and energy both jump to 9 Ah and 199.8 Wh.

Worked example — 6S2P
  1. Voltage: 6 × 3.7 V = 22.2 V.
  2. Capacity: 2 × 3 Ah = 6 Ah.
  3. Energy: 22.2 V × 6 Ah = 133.2 Wh.
  4. Cells: 6 × 2 = 12.
  5. Check: 12 cells × 3 Ah × 3.7 V = 133.2 Wh. ✓

Notice the check: total energy equals (number of cells) × (per-cell Wh), independent of how you arrange them. That's a great sanity check — if your pack Wh doesn't equal cell count × cell Wh, you've made a mistake.

19 C-Rating Explained

Intermediate

A C-rate expresses current as a multiple of the battery's capacity. “1C” means a current equal to the capacity in amperes — a 3 Ah cell at 1C delivers 3 A, and would (ideally) empty in 1 hour. A “20C” rating means the cell can safely deliver 20 × its capacity in amps. C-rate is just a convenient, size-independent way to talk about how hard a battery can work.

Max current (A) = C × Capacity (Ah) | C = Current (A) ÷ Capacity (Ah)

So a 3000 mAh (3 Ah) cell rated 20C can deliver up to 3 × 20 = 60 A continuously. If your project needs 30 A, that's a 10C draw — fine for a 20C cell. Use the calculator to check any capacity against a target C or current.

Try it — C-rating calculator

20 Maximum Discharge Current

Intermediate

A C-rate shows current in relation to the battery's capacity. For example, “1C” indicates a current equal to the battery's capacity in amperes. So, a 3 Ah battery at 1C provides 3 A of current and would ideally be depleted in one hour. A rating of “20C” means the battery can safely deliver 20 times its capacity in amps. Using C-rate is a straightforward way to discuss how much work a battery can handle, regardless of its size. The formula to calculate maximum current is: Max current (A) equals C multiplied by capacity (Ah). Alternatively, you can find C by dividing current (A) by capacity (Ah).

Each battery cell lists two types of discharge currents: continuous and peak (short burst) discharge current. If you exceed the continuous rating, the battery can heat up, lose capacity more quickly, and may even fail in severe cases. Going beyond the burst rating can cause immediate damage. These limits are determined by how quickly the battery's internal chemistry and connections can transfer charge without overheating.

When designing your system, ensure the normal power demand is well below the continuous rating, with only brief spikes approaching the burst rating. High-C batteries, such as those used in RC hobbies and power applications, are designed to provide substantial currents. In contrast, a typical “energy” cell, which has a high capacity and a low C-rate, is not equipped for that. A common mistake for beginners is mismatching the type of battery with the required current demand.

21 State of Charge (SOC)

Intermediate

State of charge is simply how full a battery is, as a percentage of its full capacity: 100% is fully charged, 0% is fully depleted. It's the number behind every phone and car battery gauge. You can't read SOC directly from voltage alone (voltage is flat over much of a Li-ion's range), which is why serious systems estimate it by counting the charge that has gone in and out (coulomb counting) and correcting with voltage and temperature.

SOC and DoD are two names for the same line from opposite ends: DoD = 100% − SOC. A battery at 30% SOC has been discharged to 70% DoD. Keep both straight and the capacity math that follows becomes trivial.

22 Depth of Discharge (DoD)

Intermediate

Depth of discharge measures how much of your battery's total capacity has been used, expressed as a percentage: DoD = 100% − SOC. This concept is crucial for battery lifespan since most battery types last much longer if they are not fully drained with each use. Draining a battery deeply each time accelerates wear, while shallow discharges tend to be less harsh.

DoD = 100% − SOC | Usable Ah = Full Ah × (1 − DoDmax)

Every battery chemistry has a recommended maximum DoD. For example, lead-acid batteries work best around a 50% DoD for longevity, as deeper discharges significantly reduce their cycle life. In contrast, modern lithium batteries can routinely handle 80 to 90% discharge levels. When deciding on your DoD, you're balancing how much energy you use immediately with the overall number of cycles the battery can endure.

Try it — usable capacity from DoD

50%

A battery at 25% SOC has a depth of discharge of…

23 Usable Capacity & DoD Limits

Intermediate

“Usable capacity” is the portion of the label capacity you'll actually use given your DoD limit. A 100 Ah lead-acid bank at a 50% DoD limit has 50 Ah of usable capacity — the other 50 Ah is “buffer” you leave in place to protect the battery's life. Lithium, with a 90% DoD, has 90 Ah usable. This number, not the label, is what you divide by your load for runtime.

Worked example — usable capacity
  1. Label capacity: 100 Ah.
  2. DoD limit: 50% (lead-acid, long-life target).
  3. Usable: 100 × (1 − 0.50) = 50 Ah.
  4. At 8 A: runtime ≈ 50 ÷ 8 = 6.25 h (before efficiency).

When a spec says “100 Ah, 50% DoD usable,” it's telling you exactly this: 50 Ah is the number to plan around.

24 Discharge Curves

Intermediate

A discharge curve plots voltage against time (or against % discharged) while a battery supplies a load. Lithium-ion curves have a characteristic shape: a quick initial drop, a long, gently sloping plateau (where most of the energy is delivered), then a steeper fall near the end to the cutoff voltage. The flatness of that plateau is why voltage is a poor SOC indicator over the middle of a Li-ion's range.

Heavier loads push the whole curve down (voltage sag, covered in lesson 15 of this level), and cold temperatures make it sag more and flatten less. Play the interactive curve to see how voltage tracks state of charge, and why “empty” on a voltmeter is really “below the cutoff voltage.”

Try it — discharge curve (Li-ion cell)

Voltage: 4.20 VState of charge: 100%

25 Charge Curves

Intermediate

A charge curve illustrates how a battery's voltage and current change as it charges. For lithium batteries, this process can be viewed in two main parts. Initially, the charger delivers a constant current, causing the cell voltage to rise steadily; this is known as the constant current (CC) phase. Once the voltage reaches its peak, the charger shifts to maintaining that voltage, while the current gradually decreases toward zero as the battery approaches full charge; this phase is referred to as constant voltage (CV).

This gradual decline in current is a key indicator of a proper lithium charge. As the battery gets closer to being fully charged, the current should naturally decrease, and charging will stop when the current drops to a low level, typically between 0.05C and 0.1C. If the current does not decrease, it indicates a potential issue. The interactive visualization helps you understand the complete shape of the CC/CV process.

26 Constant-Current (CC) Charging

Intermediate

In the CC phase, the charger provides a consistent current, usually between 0.5C and 1C, while the cell voltage gradually increases toward its maximum level. Energy flows into the battery at a steady power, which rises slightly as the voltage grows. This stage accounts for the majority of the charging process, delivering about 70 to 90 percent of the total capacity for lithium-ion batteries.

To estimate the duration of this bulk charging time, you can use the formula: Bulk time (h) is approximately equal to Capacity (Ah) divided by Charge current (A).

Bulk time (h) ≈ Capacity (Ah) ÷ Charge current (A)

For instance, if you have a 2 Ah cell being charged at 1C, which is equal to 2 A, it will spend about one hour in the CC phase. Some battery types can be charged using only the CC method, while others can use it as a maintenance stage. However, lithium batteries require the subsequent constant-voltage (CV) phase to ensure they charge safely and completely.

27 Constant-Voltage (CV) Charging

Intermediate

In the CV phase, the charger clamps the voltage at the cell's maximum (e.g. 4.20 V for standard Li-ion) and lets the current fall on its own. Early in this phase the current is still substantial; near the end it creeps toward zero. The charger terminates the charge when the current drops to the cutoff threshold, which is a safe, chemistry-appropriate “full.”

Two warnings. One: the CV voltage is a hard limit — a charger set even 0.1 V too high will overcharge and damage the cell. Two: if a cell is in a pack and the pack is “full” but one cell lags, a naive CV charge can overcharge that weaker cell, which is exactly what a BMS prevents (see balancing).

28 The Full CC/CV Profile

Intermediate

When you combine the two phases, you arrive at the typical lithium charging process. It starts with the CC phase, where the voltage increases while the current remains constant. This transitions into the CV phase, where the voltage stabilizes at its maximum and the current begins to decrease until it hits the cutoff point. This charging profile is what smart chargers and battery management systems use. It's also the reason charging takes longer than simply dividing capacity by current would suggest. The tapering phase significantly contributes to the overall charging time.

Try it — CC/CV charge curve

Voltage: 3.00 VCurrent: 1.00 CState of charge: 0%

During the CV (constant-voltage) phase of a Li-ion charge…

29 Efficiency & Where Energy Goes

Intermediate

No battery is 100% efficient: some of the energy you put in comes back out as heat instead of useful work. Round-trip efficiency is energy out ÷ energy in. Modern lithium-ion is high, roughly 85–95% depending on current and temperature; lead-acid is lower (about 70–85%) and NiMH around 65–80%. The losses come mostly from internal resistance (I²R heating) and, for lead-acid, from water-gassing at high charge.

Typical round-trip efficiency
ChemistryRound-trip efficiency
Lithium-ion~85–95%
LiFePO₄~85–92%
NiMH~65–80%
Lead-acid (flooded)~70–85%

Efficiency matters most at high currents and low temperatures, where losses climb. It's the “efficiency” factor you've been multiplying into runtime — now you know where that number comes from.

30 Internal Resistance

Intermediate

Every battery contains a small internal resistance, measured in milliohms. This resistance reflects the impedance of the materials and connections within the battery. At low current levels, it's hardly noticeable, but it becomes significant when the battery is under load. Because it acts as a resistance, it follows Ohm's law; the current that passes through it causes a voltage drop and converts some energy into heat. This phenomenon is responsible for both voltage sag and a considerable portion of the energy efficiency loss.

Sag (V) = I × Rint | Loss (W) = I² × Rint

Internal resistance also grows with age and rises when cold — a tired or cold battery sags more and delivers less. Measuring it (or its effect on sag) is a fast way to gauge a battery's health, and it's the reason parallel cells lower a pack's resistance and current capability.

31 Voltage Sag Under Load

Intermediate

Voltage sag is the drop in a battery's terminal voltage when you apply a load, caused by current through its internal resistance. A cell that reads 3.7 V resting might read 3.2 V under a 10 A load if its internal resistance is 50 mΩ (sag = 10 × 0.05 = 0.5 V). The moment you remove the load, the voltage bounces right back up.

Try it — voltage sag calculator

The practical consequence: a device with a low-voltage cutoff may shut off early under a heavy load even though the battery still has charge, because the sagged voltage crossed the cutoff. Design margins must account for worst-case sag, not just resting voltage.

32 Why Cells Need Balancing

Intermediate

No two cells are identical, and no two age identically. In a series string they all carry the same current, but their voltages slowly drift apart: the weakest cell fills first on charge (risking overcharge) and empties first on discharge (risking over-discharge). Left unchecked, that one cell limits the whole pack and can fail.

Cell balancing keeps the cells' voltages matched so none over- or under-shoots. It's essential for series lithium packs and is the core job of a BMS. There are two main approaches — passive (bleed off the high cells) and active (move energy to the low cells) — which the Advanced section covers in detail.

33 BMS: The Pack's Brain

Intermediate

A Battery Management System is the electronics that make a multi-cell pack safe and useful. At minimum it monitors each cell's voltage, the pack current and temperature; protects against over-voltage, under-voltage, over-current and over-temperature by cutting the charge or discharge path; and balances the cells. Many also estimate state of charge and state of health, and communicate with a charger or host.

You cannot safely run a series lithium pack (think e-bikes, power tools, drones) without a BMS sized for the pack. It's not an optional extra — it's the safety system. The next level goes into how a BMS actually measures, protects and balances a pack.

34 Sizing a Pack for Your Project

Intermediate

Pack sizing is the beginner and intermediate tools combined into one workflow. Step 1: find the energy your load needs (watt-hours), adding a margin. Step 2: pick a nominal voltage your electronics want. Step 3: convert energy to capacity at that voltage (Ah = Wh ÷ V), then inflate for usable DoD and efficiency. Step 4: choose cell chemistry and count cells in series to hit the voltage, and in parallel to hit the capacity — and confirm the current fits the cells' C-rating and the pack gets a BMS.

Worked example — size a pack
  1. Load: 50 W for 5 h → 250 Wh needed; add 20% margin → ~300 Wh.
  2. Target voltage: 12 V (4S Li-ion ≈ 14.8 V nominal works).
  3. Capacity at 14.8 V: 300 ÷ 14.8 ≈ 20.3 Ah (before DoD/eff).
  4. For 80% DoD, 90% eff: need full ≈ 20.3 ÷ 0.8 ÷ 0.9 ≈ 28.3 Ah.
  5. Cells: 4S of ~2.85 Ah → 4S10P of 2.85 Ah cells (or larger cells).

This is exactly the calculation the Advanced design scenarios run end to end. Practice the workflow until it's reflexive.

Level 3 · Advanced

This section is where battery engineering gets real. You'll dissect the full multi-phase charge process, learn how the major chemistries actually differ (and why their charging rules are non-negotiable), and design pack architectures with the right topology and protection. You'll see inside a BMS — how it measures, protects and balances — and how temperature and aging quietly change every number you've been using.

It closes with the practical craft: testing batteries, troubleshooting failures, the physics of what goes wrong when things go badly wrong (and how to stay safe), and three full real-world design scenarios — off-grid solar, a portable power station, and EV range — that string the whole module together. Treat the safety lessons here as non-optional.

35 The Four Phases of a Charge

Advanced

Advanced chargers shape a charge in up to four phases. Pre-charge (trickle): a reduced current gently revives a deeply discharged cell, because a very low cell can't accept a high current safely. Bulk (CC): full current until voltage reaches max. Absorption (CV): voltage held at max while current tapers. Float/maintenance: a lower voltage holds the battery full without overcharging (common for standby and lead-acid use).

Lithium typically uses pre-charge (only if the cell is very low), then CC, then CV, then stops — it generally has no long float, and storing Li-ion at 100% long-term is actually bad for its life. Lead-acid, by contrast, benefits from a float. Knowing which phases a chemistry wants is the difference between a charge that lasts and one that ages the pack.

36 Battery Chemistry, at a Glance

Advanced

“Battery” is an umbrella over several very different chemistries, each with its own nominal voltage per cell, energy density, charge voltage, DoD tolerance and personality. Getting the chemistry right is step zero of any pack — the wrong assumptions about voltage, charge limits or DoD are a fast route to a ruined or dangerous pack.

Common chemistries compared
ChemistryNominal V/cellCharge V/cellEnergy densityNotes
Li-ion (NMC/18650)3.7 V4.20 VHighHigh DoD OK; strict charge limit
LiFePO₄3.2 V3.65 VModerateVery safe, long life, flatter curve
LiPo3.7 V4.20 VVery highHigh C; fragile, needs BMS + care
NiMH1.2 V~1.45 VModerateTolerant; has a “voltage hump” peak
Lead-acid2.0 V~2.45 VLowHeavy; likes float; watch DoD

Notice the charge voltages differ — a 4.20 V Li-ion charger will destroy a 3.65 V LiFePO₄ cell, and a lead-acid float is meaningless for Li-ion. Chemistry defines the rules; the BMS and charger must match it.

A LiFePO₄ cell's full charge voltage per cell is about…

37 Chemistry-Specific Charging Rules

Advanced

Lithium: CC then CV to the exact max voltage, terminate on current taper, and never store at 100% for months (store near 40–60%). NiMH: charge to a “voltage peak” (the cell voltage briefly rises then falls at full) and stop — overcharging generates heat and water, and NiMH has a mild memory effect with chronic partial cycling. Lead-acid: CC/CV with an ongoing float; deep discharge is the enemy, and flooded types need equalization occasionally and ventilation for hydrogen.

The unifying principle: every chemistry has a safe voltage window and a way of signalling “full,” and the charger/BMS must know both. Applying one chemistry's profile to another is a classic, expensive (sometimes dangerous) mistake.

38 Pack Architecture & Topology

Advanced

Topology is how you wire cells, and it shapes resistance, balance and fault behavior. A simple nS mP grid is the baseline. Series groups of parallel cells (the usual) are balanced within each parallel group and then in series. Some designs use all-series (maximum voltage, tightest balance demands) or all-parallel (low voltage, high current, simplest balancing). Thermal design and which cells share a cooling path also influence the layout.

Bigger currents favor more parallel paths (lower resistance); higher voltages favor series (thinner wires, lower I²R loss). The practical art is choosing S and P so the pack hits the target voltage and capacity, stays within current and thermal limits, and can be balanced and cooled well. There's no single right answer — only the right answer for your constraints.

39 How a BMS Actually Works

Advanced

A BMS continuously samples each cell's voltage (via sense lines), the pack current (via a shunt resistor or hall-effect sensor) and one or more temperatures. A microcontroller compares these against the chemistry's limits. On over-voltage it stops charging (and may balance); on under-voltage it stops discharging; on over-current or short it opens the discharge path fast; on over-temperature it derates or cuts. The switching is done with MOSFETs in the charge and discharge paths.

Good BMSes also track sOC (coulomb counting corrected by voltage/temperature) and state of health (capacity and internal resistance trends), and report over a communication port. A BMS is only as good as its sensor placement, its thresholds (which must match the cells) and the protection hardware — pick one rated for your pack's current and chemistry.

40 Cell Balancing: Passive vs Active

Advanced

Passive balancing bleeds excess charge from the higher cells through a small resistor to heat, bringing them down to match the lower ones. It's simple, cheap and works well for moderate imbalance and moderate currents, but it wastes the bled energy as heat and can't add energy to a weak cell. Active balancing moves real energy from high cells to low cells (via capacitors, transformers or DC-DC links), which is more efficient and faster but more complex and costly.

Choose passive for most Li-ion/LiFePO₄ packs (it's the norm), and active when imbalance is large, the pack is big, or you need to reclaim energy and life. Either way, balancing is what lets a series pack use nearly all of its cells' capacity instead of being limited by its weakest cell.

41 Thermal Management & Heat

Advanced

Heat is both a symptom and a cause in batteries. High currents (I²R losses), high charge rates and poor ventilation generate heat; heat then accelerates aging and, in lithium, can push a cell toward thermal runaway. So thermal management — letting heat escape — is a first-class design concern, not an afterthought. Options range from airflow and heatsinks to phase-change material, liquid cooling and, in big systems, temperature-controlled enclosures.

Why is good thermal management critical for lithium packs?

42 Temperature, Capacity & Charging Limits

Advanced

Temperature reshapes every number. Cold: available capacity drops sharply (a Li-ion can lose 20–40% of runtime well below freezing), internal resistance rises (more sag), and — critically — you must not charge a cold lithium cell, because the current can't be absorbed and lithium metal can plate on the anode, causing a short. Hot: charging fast in heat accelerates aging and raises runaway risk, so chargers derate current as temperature climbs.

Practical rules: don't charge a cold lithium battery (warm it to room temperature first), expect reduced range/capacity in the cold, and let high-current packs cool before and during charging. A BMS typically enforces charge and discharge temperature windows automatically.

43 Aging & Degradation

Advanced

Batteries lose usable capacity over time through two mechanisms. Cyclic degradation is wear from charge/discharge cycles — each full-ish cycle chips a little away, driven by electrode and electrolyte breakdown. Calendar aging happens with time and temperature regardless of use, and is faster when a battery sits at a high state of charge and high temperature. Both raise internal resistance, so an old battery both holds less and sags more.

What accelerates degradation
StressEffect
High charge voltageSpeeds electrolyte & electrode breakdown
Deep discharge (high DoD)More cycle wear, especially lead-acid
High temperatureSpeeds calendar aging & risks runaway
Fast charge/dischargeMore heat, plating, mechanical stress
Storing at 100% SOCAccelerates capacity loss over months

“Aging well” means the opposite: moderate voltages, moderate DoD, cool temperatures, moderate rates, and storing near 50% for long periods. Most of these are free — they're just habits.

44 Cycle Life vs Calendar Life

Advanced

Cycle life is the number of charge/discharge cycles a battery lasts before falling to a capacity threshold (commonly 80% of original). Calendar life is total wall-clock life, dominated by aging at a given temperature and state of charge. A battery can die from either: a few thousand deep cycles, or several hot years sitting charged. Spec sheets usually quote cycle life at a stated DoD and temperature — read those conditions, not just the number.

“Cycle life” is most directly reduced by…

45 Measuring Capacity Fade

Advanced

To know how much a battery has faded, measure its actual capacity: fully charge it, then discharge at a known, gentle current and integrate the current over time until the cutoff voltage — the amp-hours delivered are its true present capacity. Compare to the label to get the fade percentage. A controlled, low-current discharge gives the fairest number; a heavy discharge under-measures it because of sag and losses.

Internal resistance is the companion metric: a simple low-current pulse (or an impedance analyzer) reveals resistance trends, and a rising resistance often flags a battery that's aging even if its capacity looks okay. Together, capacity and resistance tell you a battery's true health and remaining life.

46 Advanced Pack Math: Cost & Efficiency

Advanced

Two numbers decide a pack's economics. Cost per usable watt-hour = total pack cost ÷ (usable Wh), where usable Wh already accounts for DoD and the fact that you won't cycle to 0%. Round-trip energy over life = usable Wh × number of cycles × round-trip efficiency — the total energy the pack will actually deliver before it's dead. A cheaper pack with half the cycles and worse efficiency can cost far more per delivered watt-hour.

Worked example — cost per delivered Wh
  1. Pack: 100 kWh usable, 4000 cycles, 90% round-trip efficiency, cost $5,000.
  2. Delivered per cycle: 100 × 0.9 = 90 kWh.
  3. Total delivered over life: 90 × 4000 = 360,000 kWh.
  4. Cost per delivered kWh: $5,000 ÷ 360,000 ≈ $0.014/kWh.

Compare packs on delivered cost per kWh, not sticker price, and the better engineering choice usually becomes obvious.

47 Energy-Storage System Design

Advanced

When scaling up from a battery pack to a full system, things get more complex. You’ll need multiple packs running in parallel to increase capacity, along with a charge controller that fits the energy source—whether it's solar, grid, or a generator. In addition, inverters are necessary for handling AC loads, and you'll want a good monitoring and control system in place. The basic calculations remain the same: determine the energy needed (in watt-hours) for your load and how long you want it to last without a recharge. Then, pick the right voltage and battery chemistry, add protective measures and power electronics, and ensure both thermal and physical safety. However, as you build a system, you also need to think about redundancy, meaning it’s crucial to have at least one backup for every critical component.

Two key concepts at the system level are autonomy and power needs. Autonomy is about how many hours of use you want before needing a recharge, which helps to define the total required watt-hours. The distinction between peak power and average power is also vital. The inverter and battery packs should be capable of managing the peak load, even if your average demand is lower. Get these fundamentals right, and the rest of your system will come together more easily.

48 Battery Testing Methods

Advanced

There are several standard tests to understand a battery’s performance. A capacity test involves a controlled discharge to determine its actual amp-hour capacity. A charge acceptance test, which follows constant current and constant voltage (CC-CV) methods, ensures that the battery charges properly and stops when it’s tapering off. An internal resistance test helps assess the battery's health and its ability to handle current. A cycling test involves running the battery through repeated charge and discharge cycles to estimate its lifespan. Lastly, a temperature test evaluates how the battery performs within different temperature ranges.

For battery packs, additional safety tests are necessary, including overcharging, over-discharging, short-circuiting, and other abuse scenarios, but these should only be conducted in a controlled and safe setting.

The main point to remember is that a battery's datasheet summarizes the outcomes of these tests. When selecting cells, it's important to consider the conditions under which the tests were performed, such as temperature, discharge rate, and depth of discharge. Additionally, when you are qualifying a battery pack, make sure to conduct at least capacity, resistance, and charge acceptance checks for each batch of cells.

49 Troubleshooting Battery Problems

Advanced

Most battery faults have a short list of likely causes. A pack that won't charge: blown protection, a cell at a voltage outside the charger's window, a cold cell, or a failed BMS. A pack that dies early under load: an imbalanced weak cell, high internal resistance (aging), or an undersized C-rating. A pack that sags a lot: aging or cold. A device that brown-outs: sag pushing a cell below the low-voltage cutoff.

Common battery faults and first checks
SymptomLikely causeFirst check
Won't chargeCold cell / BMS locked / cell outside windowWarm it; check BMS; read cell voltages
Dies early under loadImbalanced/weak cell, high R, low CCheck per-cell voltages; measure R
Heavy voltage sagAging, cold, high currentCompare resting vs loaded voltage
Device brown-outsSag below low-voltage cutoffCheck cutoff vs worst-case sag
Swollen cellOvercharge/overheat/abuseSTOP use; isolate; see safety lesson

Always start with the non-invasive checks (voltages, temperature, connections) before opening or stressing anything — and never push a suspect cell harder to “see what it does.”

50 The Physics of Failure (Vent, Fire)

Advanced

When a lithium cell is overcharged, shorted, damaged, or overheated, its internal electrolyte and separator can fail, leading to an uncontrolled exothermic reaction known as thermal runaway. This means the cell heats up, which speeds up the reaction, causing it to heat even further. Eventually, it can vent flammable gas and ignite. Since the electrolyte is flammable and oxygen is produced within the cell, a burning lithium cell is difficult to extinguish. This is also why a single faulty cell in a pack can cause its neighboring cells to fail.

Safety — read carefully

This highlights the importance of following the essential safety rules: ensure the correct charging voltage is used, have a suitably sized battery management system, avoid over-discharge, do not puncture cells, keep them away from heat, and ensure thermal separation between cells. Many serious battery fires occur due to these preventable issues, not from regular use. By respecting the chemistry involved, failures become rare; neglecting it increases the risk.

If you notice that a cell is hot, swollen, leaking, or smoking, stop using it immediately. Move it to a cool, isolated area away from anything flammable and allow it to cool down. Never try to “drain” a damaged lithium cell. If you're uncertain, treat it as a potential fire risk.

“Thermal runaway” in a lithium cell is…

51 Safe Handling, Storage & Transport

Advanced

When handling lithium batteries, make sure to prevent any short circuits by insulating the terminals. Avoid crushing or puncturing them, keep them away from heat and fire, and never charge a damaged or swollen cell. For storage, keep lithium batteries at a state of charge between 40% and 60% at a cool room temperature for extended periods. Storing them fully charged can age them quickly, while letting them drop to an empty state can cause unsafe voltage levels. Periodically check on stored lithium and top it up as needed.

Transporting lithium batteries comes with regulations since they are considered hazardous materials. Be sure to adhere to the watt-hour and packaging rules for air, road, and mail transport, ensuring the terminals are protected and the state of charge stays within safe limits

Before you charge or build — safety checklist

52 A Field Guide to Common Mistakes

Advanced

The most common battery mistakes
MistakeWhy it's a problem
Using Ah without a voltageAh alone can't compare energy — always pair it with volts (or use Wh)
Ignoring DoD in runtimeOverestimates runtime and shortens battery life
Series cells with no balancing/BMSWeakest cell over/under-shoots and fails the pack
Wrong charge voltage (wrong chemistry)Overcharge → damage or thermal runaway
Charging a cold lithium cellLithium plating → internal short risk
High current in a low-C “energy” cellExcessive heat, sag, and damage
Storing lithium at 100% for monthsAccelerated calendar aging

Notice the pattern: nearly every serious mistake is a units error (Ah vs Wh, nominal vs real voltage), a missing protection (BMS/balancing), or a chemistry/temperature rule broken. Keep those four categories in mind and most failures become predictable — and preventable.

53 Design Scenario: Off-Grid / Solar

Advanced

Design a small off-grid system: a home needs about 1500 Wh of energy per day, with 2 days of autonomy, running from a 48 V LiFePO₄ bank at 80% DoD and 90% round-trip efficiency. Required energy = 1500 × 2 = 3000 Wh. Inflating for usable fraction: full energy ≈ 3000 ÷ 0.8 ÷ 0.9 ≈ 4167 Wh ≈ 4.2 kWh. At 48 V that's 4167 ÷ 48 ≈ 87 Ah. A 48 V 100 Ah LiFePO₄ bank (16S of 5 Ah cells, or a ready 48 V 100 Ah unit) fits, and you'd then size the solar array and charge controller for the daily 1500 Wh plus losses and weather margin.

Check Confirm the bank's usable energy actually covers two days.

54 Design Scenario: Portable Power

Advanced

Design a portable power station: run a 250 W laptop for 4 h and a small fan (20 W) for 4 h, with margin. Energy = (250 + 20) × 4 = 1080 Wh; add ~20% for inverter/efficiency and margin → ~1300 Wh ≈ 1.3 kWh. At a 12 V internal bus that's 1300 ÷ 12 ≈ 108 Ah (before DoD). Using LiFePO₄ at 80% DoD, full ≈ 108 ÷ 0.8 ≈ 135 Ah at 12 V. A real product might use a 12 V (or 24/48 V) LiFePO₄ bank of that size behind a pure-sine inverter rated for the 250 W+ peak, with CC/CV charging from AC/USB/solar. Higher internal voltage (24/48 V) reduces current and losses for the inverter — a common reason power stations aren't “just” 12 V.

A station must deliver 1080 Wh usable at 80% DoD. Full pack energy needed is about…

55 Design Scenario: EV / e-Bike Range

Advanced

Estimate an e-bike's range: a 36 V 14 Ah battery (504 Wh) at 85% usable gives ~428 Wh. If the average system draw (motor + controller + drag) is 120 W, range ≈ 428 ÷ 120 ≈ 3.6 h of riding, or about 35–45 km depending on speed, terrain, rider weight and assist level. The same pack at a heavier assist (higher average watts) shrinks the range proportionally — range is fundamentally energy ÷ average power, so everything that raises average power (headwind, hills, speed, weight) cuts range.

Check What happens to range if average draw rises from 120 W to 180 W?