← All animations

πŸ”‹ How Batteries Work

A battery is a controlled chemical reaction packaged so its energy comes out as electricity. Inside, two different materials want to swap electrons β€” but the battery forces those electrons to take the long way round, through your circuit, doing useful work on the way. Meanwhile ions shuffle through the electrolyte inside to keep the charge balanced. Scroll through to see the electrons and ions move, flip a cell between charging and discharging, and learn why a battery eventually dies.

1. The cell at work β€” electrons outside, ions inside

The reaction splits in two. At the anode (βˆ’) atoms give up electrons; at the cathode (+) they accept them. The electrons can't cross the electrolyte, so they pour through the external wire β€” lighting the bulb β€” while ions drift through the electrolyte to balance the charge. Open the switch and the loop breaks, so the whole flow stops at once.

Bulb: lit
electron (e⁻) β€” in the wire ion β€” in the electrolyte

2. Charge vs discharge β€” a rechargeable (Li-ion) cell

A rechargeable cell runs the reaction in reverse. While discharging, lithium ions move from anode to cathode and electrons power your device. Plug in a charger and it pushes the ions and electrons back the other way, refilling the cell. Watch the state-of-charge meter drain or fill, and the arrows flip direction.

State of charge: 80%
Why batteries die: every charge cycle slightly degrades the electrodes and electrolyte, so the cell holds a little less capacity (run time). At the same time its internal resistance creeps up, wasting energy as heat and sagging the voltage under load β€” which is why an old phone can read 30% and then suddenly cut out.

3. The short version β€” and stacking cells in series

The big ideas in one place:

Drag the slider to stack identical 1.5 V cells in series and watch the total voltage climb.

1 cell Β· 1.5 V total