How do batteries work? The short answer
A battery isn't a tank full of electricity. It stores energy in chemicals that can react and release it as electricity when you ask for it.1 Inside every battery are two different materials, called electrodes, separated by an electrolyte.12
One electrode, the anode (−), is eager to give away electrons. The other, the cathode (+), is hungry for them.29 The electrolyte between them lets ions (atoms with an electric charge) pass, but not electrons.12 So the electrons have to take the long way round: out of the battery, through the wire and your device, and back in at the other end. Their energy powers the device on the way, while ions drift across inside to keep the charges balanced.16
What's inside a battery?
Every battery, from a watch cell to an electric car pack, is built like a sandwich:2
The two ends are called terminals, and they're marked + and − on the case. Choosing the materials is what sets a battery's voltage and how much energy it holds.26
Why do the electrons go through your device?
This is the heart of it. The anode's material would happily hand its electrons straight to the cathode, but the electrolyte blocks them.12 The only route is the outside one. When you connect a wire from − to +, electrons flow out of the anode, through the wire and the bulb or motor, and into the cathode.67
At the same moment, ions move through the electrolyte inside the battery. Without them, charge would pile up at each end and the flow would quickly stop.1 Electrons outside, ions inside: together they make a complete loop.17
Which way does the current go? In this explainer the arrows show the electrons, which really do travel from the − end, through the wire, to the + end. Circuit diagrams in books often draw conventional current the other way, from + to −. That is just the direction positive charge would flow, an old convention from Benjamin Franklin's time; both describe the same current.817
That's also why a battery can sit in a drawer for months. The reaction only runs when there is a complete circuit for the electrons.67 Open the switch and the electrons have nowhere to go, so the reaction pauses. For every bit of current that flows, a matching amount of chemical reaction has to happen, a rule worked out by Michael Faraday in 1834.2 (Want to know what the moving electrons do in the wire? See how electricity works.)
Why do batteries go flat?
An electrode contains only a limited amount of chemical energy that can be turned into electricity.2 As the battery is used, the materials are changed into new substances. Eventually the reactions can no longer push hard enough to run your device, and the battery is "flat". (Many devices switch off at a set "end-of-discharge" voltage, so a flat battery may still show a little voltage.) The materials haven't vanished; they have been changed.2213
Batteries that are used once and thrown away (for recycling) are called primary cells. Batteries whose reaction can be reversed by a charger are secondary cells, or rechargeables.3
How do rechargeable batteries work?
In a rechargeable battery, electrons and ions can move in either direction.1 Using the battery lets them flow one way and releases energy. A charger pushes current through the battery the opposite way, which drives the reaction backwards and stores energy in the chemicals again.16
The reversal is never quite perfect. Over many charges the materials slowly change, which is why an old phone battery doesn't last as long as a new one.1
How do lithium-ion batteries work?
Lithium-ion batteries power phones, laptops and electric cars. Lithium is one of the elements that most willingly gives up an electron, which makes it a great anode ingredient.9 In a lithium-ion cell, lithium ions shuttle between two electrodes and tuck into the layers of each material (chemists call it intercalation), usually graphite on one side and a metal oxide on the other.7918
- Charging: the charger pushes electrons to the graphite side, and lithium ions follow through the electrolyte to join them.19
- Using: the ions drift back to the metal oxide, and the electrons travel the long way round through your phone.19
Because the ions slide in and out without wearing out the electrodes quickly, a lithium-ion battery can be charged hundreds of times.9 A single cell gives about 3.7 volts, is light, and keeps its charge well in storage.3 The first ones went on sale in 1991, and their inventors, John Goodenough, Stanley Whittingham and Akira Yoshino, shared the 2019 Nobel Prize in Chemistry.91
Volts and capacity: how hard and how much
Two numbers describe a battery. They are easy to mix up:
- Voltage (volts, V) is how hard the battery pushes each electron. It's the energy given to each bit of charge, and it's set by the chemicals inside.62
- Capacity is how much charge the battery can deliver before it's flat. It depends on how much of the chemicals it holds. It's often printed in milliamp-hours (mAh): 1 mAh is a current of one thousandth of an amp flowing for an hour.38
That's why a D battery and an AA battery both say 1.5 V: they use the same chemicals. The D just holds much more of them, so it lasts longer.3 To get a bigger push, you connect cells in a row (in series), and their voltages add up.3 A 12-volt car battery is simply six 2-volt cells in series.67
Who invented the battery?
The Italian scientist Alessandro Volta announced the first electric battery in 1800.10 It started with an argument about frogs. His friend Luigi Galvani had noticed that touching two different metals to a frog's leg made it twitch, and thought the electricity came from the animal. Volta suspected the two metals were responsible. He even tested pairs of metals on his own tongue to feel the tiny current.10
His voltaic pile was a stack of alternating zinc and copper (or silver) discs, separated by cloth or paper soaked in salt water.1011 Each zinc–salt water–copper layer is one cell, and stacking them added their pushes together. It gave a steady trickle of electricity, which set off a wave of new experiments.1011 The unit of push, the volt, is named in his honour. A small copper disc from one of Volta's original batteries is kept at the Smithsonian's National Museum of American History.11
Make a lemon battery
You can build Volta's idea at the kitchen table. Push a galvanised (zinc-coated) nail and a copper coin into a lemon, a little apart. The zinc and copper are the two electrodes, and the lemon juice is the electrolyte, just like a textbook galvanic cell.412 Zinc gives up electrons more readily than copper, so electrons flow through a wire from the nail to the coin.512 One lemon makes less than one volt, so link several lemons in a chain (coin to next nail) to light a small LED.12 Two electrodes made of the same metal give no voltage at all: the two materials must be different.12 Ask an adult to help with the nails, and don't eat the lemons afterwards.
Battery safety
Batteries are safe to use when you treat them properly. The rules are short:
- Don't puncture, crush or overheat lithium-ion batteries.1314
- Recycle them properly: take them to a battery recycling or collection point, not the household trash or recycling bin.13
- Use the charger made for the device, and tell an adult if a battery looks swollen or damaged.14
- Never open, puncture, crush or heat any battery.1314
- Single-use batteries can be recycled too: take them to a battery collection point or a household hazardous waste site.19
- Button batteries: never put one in your mouth, and keep them away from small children. A button battery stuck in the throat can cause severe damage in just 2 hours. If anyone swallows one, tell a grown-up right away: they should call the National Battery Ingestion Hotline (1-800-498-8666) or Poison Control (1-800-222-1222) and not wait for symptoms.1620
Why batteries matter
Batteries let us carry energy around: in remotes, watches, phones, laptops and a growing number of cars.11 Better batteries are key to electric vehicles, and large batteries can store electricity from sunshine and wind so it can be used later, when the sun has set or the wind has dropped.115 Scientists are still hunting for new electrode and electrolyte materials that store more energy, charge faster and last longer.1
Want to see where the electrons go next? Read how electricity works, see how a battery powers a computer, or find out how a hybrid car uses a big battery pack alongside its engine.
Common misconceptions
"A battery is a box full of electricity." It holds chemicals. Electricity only flows when the chemicals react, and that only happens when a circuit is connected.
16
"Electrons flow through the inside of the battery." Inside, it's ions that cross the electrolyte. The electrons go round the outside circuit.
12
"A flat battery is empty." Everything is still inside; the materials have been converted into other substances, and the battery can no longer push hard enough to run the device.
2
"Bigger batteries have more volts." A D cell and an AA cell are both about 1.5 V. Bigger means more capacity, not more push.
3
"The lemon juice makes the electricity." The energy comes from a chemical reaction at two
different metals: zinc gives up electrons, and at the copper the juice's acid takes them. The juice is the electrolyte and also joins in the reaction; with two identical metals you get almost nothing.
12
FAQ
How does a battery work, explained simply?
A battery holds two different materials, the anode (−) and the cathode (+), with an electrolyte between them. The anode wants to give away electrons and the cathode wants to take them, but the electrolyte only lets ions (charged atoms) through, not electrons. So when you connect a device, the electrons travel out through the wire and the device to reach the cathode, powering it on the way, while ions cross inside to keep the charges balanced.
What gives power to a battery?
Chemical energy. The materials inside store energy in their chemical bonds, and a chemical reaction releases it as electricity, but only when a complete circuit lets electrons flow from the anode to the cathode. The combination of chemicals sets the battery's voltage: about 1.5 volts for an alkaline AA, about 3.7 volts for a lithium-ion cell and about 2 volts for each cell of a lead-acid car battery.
What happens inside a battery when it dies?
The reactions have changed the materials so much that the battery can no longer push hard enough to run your device. (Many devices switch off at an end-of-discharge voltage, so a 'dead' battery may still show a little voltage.) A charger can push a rechargeable's reaction backwards; take single-use ones to a battery recycling point, not the trash.
Why are batteries called AA, AAA, C and D?
The letters are just standard size names. AAA, AA, C and D alkaline or zinc dry cells all use the same chemistry, so they all give about 1.5 volts. The bigger sizes hold more of the chemicals, so they can deliver more charge and last longer in the same device.
How do lithium-ion batteries work?
When you use a lithium-ion battery, lithium ions travel through the electrolyte from the graphite anode to the metal-oxide cathode, while electrons go the long way round through your phone or car. Charging pushes electrons back to the anode and the lithium ions follow, tucking themselves between the layers of graphite. Because the ions slot in and out without wrecking the electrodes, the battery can be recharged hundreds of times.
How do rechargeable batteries work?
A rechargeable battery uses a chemical reaction that can run both ways. Using it lets the reaction run forward and release energy. A charger sends current through the battery in the opposite direction, which pushes the reaction backwards and stores energy in the chemicals again. The reversal is never quite perfect, which is why rechargeable batteries slowly lose capacity as they get older.
How does a car battery work?
An ordinary car starter battery is a lead-acid battery: six cells in a row, each with a lead plate and a lead-dioxide plate in sulfuric acid, giving about 2 volts each and 12 volts in total. Electric cars use a big pack of lithium-ion cells instead, which works like a giant phone battery.
Is it safe to open a battery?
No. Never open, puncture, crush or heat a battery. If someone swallows a button battery, tell a grown-up right away: call Poison Control (1-800-222-1222) or the National Battery Ingestion Hotline (1-800-498-8666) and don't wait for symptoms.
Sources
- U.S. Department of Energy, Office of Science: DOE Explains… Batteries
- Encyclopaedia Britannica, Battery (electronics)
- OpenStax Chemistry 2e, 17.5 Batteries and Fuel Cells
- OpenStax Chemistry 2e, 17.2 Galvanic Cells
- OpenStax Chemistry 2e, 17.3 Electrode and Cell Potentials
- OpenStax College Physics 2e, 21.2 Electromotive Force: Terminal Voltage
- OpenStax University Physics Vol. 2, 10.1 Electromotive Force
- OpenStax College Physics 2e, 20.1 Current
- The Nobel Prize in Chemistry 2019, Popular information: lithium-ion batteries
- Encyclopaedia Britannica, Alessandro Volta
- Smithsonian Magazine / National Museum of American History curators, "The original battery, 1799"
- Lemon battery (overview citing Goodisman, J. Chem. Educ. 2001, and Swartling & Morgan 1998)
- U.S. EPA, Used Lithium-Ion Batteries
- U.S. FAA PackSafe, Lithium batteries
- U.S. Department of Energy, Vehicle Technologies Office: Batteries
- National Capital Poison Center (Poison Control), Swallowed a button battery?
- Battery University, BU-104b: Battery Building Blocks
- Battery University, BU-204: How do Lithium Batteries Work?; NIST, how a lithium-ion battery works (2021)
- U.S. EPA, Used Household Batteries
- Battery University, BU-501: Basics about Discharging
- Poison Control, Button batteries: safety tips