How Does a Battery Work?

A battery works by turning chemical energy into electrical energy, and, if it is rechargeable, back again. Inside every battery are two electrodes, a positive one called the cathode and a negative one called the anode, separated by a chemical called the electrolyte. A chemical reaction at the electrodes pushes electrons out of one terminal and pulls them into the other, and when you connect a circuit between the two terminals, the electrons flow through the circuit, doing useful work on the way, while charged atoms called ions travel through the electrolyte inside the battery to complete the loop. The battery is not a store of electrons: it is a chemical pump that keeps electrons moving until its chemicals are used up.
This explainer sets out the parts of a battery, the chemical reaction that makes the current, the difference between single-use and rechargeable batteries, how the lithium-ion batteries in phones and electric cars work, what capacity and voltage mean, why batteries go flat and wear out, and how they are recycled.
The three parts of every battery
Every battery, from a torch battery to an electric car pack, has the same three essentials. The anode is the negative electrode, the cathode is the positive electrode, and the electrolyte is the medium between them that carries ions but not electrons. A fourth part, the separator, sits between the electrodes in most modern batteries: it is a thin porous layer that keeps the two electrodes from touching and short-circuiting, while still letting ions pass through. The electrodes are connected to the outside world by metal terminals and by current collectors, usually copper on one side and aluminium on the other, which carry the electrons to and from the circuit.
Each cell of a battery stores electrical energy as chemical energy in its two electrodes, as the American Chemical Society puts it in its account of the lithium-ion battery: one electrode is a reductant and the other an oxidant, separated by an electrolyte that transfers the ionic part of the chemical reaction inside the cell and forces the electronic part outside the battery. That forced detour is the whole trick. The ions can cross the electrolyte inside the cell, but the electrons cannot, so they have to travel through the wire outside the cell, and that journey is the electric current that powers your device.
A single cell makes only a small voltage, so batteries are built from cells joined together. An ordinary alkaline AA cell makes 1.5 volts. A car battery makes 12 volts because it contains six lead-acid cells of 2 volts each, joined in series. An electric car pack contains hundreds or thousands of lithium-ion cells, joined in series and in parallel to reach both the voltage and the total energy the car needs. The voltage of a battery is set by the chemistry of its cells; the total energy is set by how many cells it contains and how big they are.
The chemical reaction that makes current
A battery makes current through a pair of linked chemical reactions called oxidation and reduction. At the anode, a chemical reaction releases electrons, which is oxidation. At the cathode, a different chemical reaction takes electrons in, which is reduction. Because the electrolyte blocks electrons from crossing inside the battery, the released electrons can only reach the cathode by going the long way round, through the external circuit. Connect a light bulb between the terminals and the electrons flow through the filament, heating it until it glows, on their way from anode to cathode. Disconnect the circuit and the reactions stop, because the electrons have nowhere to go.
Inside the battery, the balance is kept by ions. As electrons leave the anode through the wire, positive ions move through the electrolyte towards the cathode, and negative ions move the other way, so that no part of the cell builds up a net charge. The reaction continues until one of the chemicals runs out or the electrodes are coated with reaction products that block further reaction. At that point the battery is flat: the chemicals that drove the reaction are spent, and no more electrons can be pushed around the circuit.
Voltage is the push behind the flow. It is set by how energetically the two electrode materials want to exchange electrons: the bigger the difference in their chemical energy, the higher the voltage. That is why different battery chemistries have different voltages, and why a lithium-ion cell, at about 3.7 volts, makes more than twice the voltage of an alkaline cell of the same size. Current, the rate of electron flow, depends on the load: a torch draws a small current and lasts for hours, while a starter motor draws a huge current for a few seconds to turn an engine over.
Single-use and rechargeable batteries
Batteries fall into two families. Primary batteries are single-use: their chemical reaction runs in one direction only, and once the chemicals are spent the battery is finished. The commonest are zinc-carbon and alkaline batteries, which power remote controls, clocks and torches. In an alkaline cell the anode is zinc and the cathode is manganese dioxide, in an electrolyte of potassium hydroxide, and the reaction between them makes 1.5 volts until the zinc is consumed.
Secondary batteries are rechargeable: their chemical reaction can be run backwards. Put a current through the battery in the opposite direction, from a charger, and the reactions reverse, restoring the original chemicals at the electrodes. The first practical rechargeable battery was the lead-acid battery, invented by the French physicist Gaston Plante in 1859, which is still used to start cars today because it can deliver a very large current in a short burst and is cheap to make. Later rechargeable chemistries include nickel-cadmium and nickel-metal hydride, which powered the first mobile phones and cordless tools, and lithium-ion, which has taken over almost everything since the 1990s.
No rechargeable battery lasts for ever, because the reversal is never perfect. Each charge and discharge cycle loses a little active material, builds up unwanted layers on the electrodes, and consumes a little electrolyte, so the capacity falls a little with every cycle. A battery that has been charged and discharged hundreds of times holds less charge than it did when new, which is why an old phone needs charging by lunchtime and an old laptop barely lasts an hour.
How a lithium-ion battery works
The lithium-ion battery, commercialised by Sony in 1991 and the winner of the 2019 Nobel Prize in Chemistry for John Goodenough, Stanley Whittingham and Akira Yoshino, works by shuttling lithium ions back and forth between its two electrodes. The cathode, the positive electrode, is made of a lithium metal oxide. The anode, the negative electrode, is usually made of graphite, a form of carbon with a layered structure that lithium ions can slip between. The electrolyte is an organic liquid that lets lithium ions move freely but blocks electrons, and a microporous separator keeps the electrodes apart.
When the battery is charged, an external power source applies a voltage that drives the positively charged lithium ions out of the cathode, through the electrolyte and the separator, and into the layered graphite of the anode, where they are stored. Electrons travel the other way, through the charger and the external circuit, to balance the charge. When the battery discharges, the process reverses: the lithium ions travel back through the electrolyte from the anode to the cathode, and the electrons flow through the device being powered, from the anode to the cathode, providing the current. The ions and the electrons always move in step, one inside the battery and one outside it.
Lithium-ion batteries won out for three reasons. They store more energy for their weight than older rechargeable types, which is what makes a phone last a day and an electric car travel hundreds of miles on a single charge. They hold their charge well when not in use, losing only a small amount per month. And they can be recharged hundreds of times before their capacity falls noticeably. Their weakness is that the organic electrolyte is flammable, so a damaged or badly made cell can overheat and catch fire, which is why batteries are built with protection circuits, and why damaged batteries should never be put in ordinary rubbish.
A short history of the battery
The battery is older than the light bulb, the telephone and the electric motor. In 1800 the Italian physicist Alessandro Volta built the first true battery, the voltaic pile, a stack of alternating discs of zinc and copper separated by cloth soaked in salt water, which produced a steady electric current for the first time. Before Volta, the only electricity anyone could make was static, a brief spark. His pile gave scientists a continuous current to experiment with, and within months it had been used to split water into hydrogen and oxygen.
The nineteenth century added the practical cells that followed. John Frederic Daniell invented the Daniell cell in 1836, which used copper and zinc in separate solutions and gave a steadier voltage than Volta's pile, and it became the standard for the new electric telegraph. Plante's lead-acid battery of 1859 was the first that could be recharged. The dry cell, the ancestor of the modern AA battery, arrived in the 1880s and made portable electricity practical for torches and radios. The twentieth century added the alkaline battery, which lasts far longer than zinc-carbon, and the lithium-ion battery, which made the mobile phone and the electric car possible.
| Battery type | Voltage per cell | Rechargeable? | Typical use |
|---|---|---|---|
| Zinc-carbon | 1.5 volts | No | Clocks, remote controls |
| Alkaline | 1.5 volts | No | Torches, toys, radios |
| Lead-acid | 2 volts | Yes | Car starting, backup power |
| Nickel-metal hydride | 1.2 volts | Yes | Rechargeable AA cells |
| Lithium-ion | About 3.7 volts | Yes | Phones, laptops, electric cars |
Capacity, power and why batteries go flat
Two numbers describe what a battery can do. Capacity is how much charge it holds, measured in amp-hours or, for small batteries, milliamp-hours. A phone battery rated at 4,000 milliamp-hours can, in principle, deliver 4,000 milliamps for one hour, or 400 milliamps for ten hours, though in practice the voltage and the efficiency of the phone change the arithmetic. Energy is capacity multiplied by voltage, measured in watt-hours, and it is the number that matters for comparing batteries of different voltages: a 12-volt car battery and a 3.7-volt phone battery with the same amp-hour rating hold very different amounts of energy.
Power is how fast the battery can deliver that energy. A battery can hold a lot of energy but deliver it only slowly, like a large water tank with a narrow pipe, or deliver it very fast but run out quickly, like a small tank with a wide pipe. Electric cars need both, which is why their packs are so large: the size gives the range, and the large number of cells in parallel gives the power for acceleration. The rate at which a battery is charged or discharged is often given as a C-rate: charging at 1C fills the battery in about an hour, while 2C fills it in about half an hour, at the cost of more heat and faster wear.
Batteries go flat for two reasons. The first is use: the chemicals are consumed by the reaction, and the voltage falls as the reactants run out. The second is self-discharge: even with nothing connected, small unwanted reactions inside the cell slowly drain it, which is why a torch left in a drawer for a year is dead when you need it. Heat speeds up both processes, which is why batteries last longer when stored cool, and why a phone left on a car dashboard in summer drains faster and ages faster.
Looking after a battery, and what happens at the end
A rechargeable battery lasts longest when it is kept away from extremes. Heat is the main enemy: it speeds up the chemical reactions that wear the electrodes out. Deep discharges also wear lithium-ion cells, which is why phones and cars do their best to avoid sitting at zero charge, and why most manufacturers advise against leaving a battery at 100 per cent for weeks on end. In normal use, none of this needs managing by hand: the battery management system in a phone, laptop or car watches the voltage, the temperature and the current, and stops charging or discharging before damage is done.
At the end of its life a battery is not ordinary rubbish. It contains metals that can be recovered and chemicals that should not go to landfill: lead from car batteries, which is already recycled at high rates, and lithium, cobalt and nickel from lithium-ion batteries, which recyclers are increasingly able to recover. In the UK, shops that sell batteries must take old ones back, and household waste sites accept them. A swollen battery, one that has puffed up like a pillow, should be handled with care and taken for recycling promptly, since the swelling means gas has built up inside the cell.
Frequently asked questions
Why does a battery get warm when it is used? Because the chemical reactions and the flow of current through the battery's internal resistance both produce heat. Fast charging and heavy use produce more heat, and a hot battery is less efficient and wears out faster.
Can a flat rechargeable battery be brought back to life? If it is simply discharged, charging it restores it. If it has been left flat for months, or its capacity has faded after hundreds of cycles, the chemicals themselves are degraded and no charger can restore them.
Why do batteries come in different sizes? Because size sets capacity. A D cell and an AA cell of the same chemistry both make 1.5 volts, but the D cell holds far more chemical and so lasts far longer. Devices that need more energy get bigger batteries.
Do batteries run out if they are not used? Yes, slowly, through self-discharge. Alkaline batteries lose only a few per cent of their charge a year and can sit in a drawer for years, while rechargeable batteries lose charge faster and should be topped up every few months if stored.
Is it bad to leave a phone charging overnight? Modern phones stop charging at full and manage the battery themselves, so overnight charging does not damage the battery the way it once did. Keeping the phone cool while it charges matters more than unplugging it at a particular percentage.