How does a transformer work?
Voltage goes up or down with the turns ratio, and current goes the other way, so the power in equals the power out. Try about 1000 : 52, the ratio of a phone charger stepping 230 V down to 12 V.
Overview
Short answer
A transformer has two coils of wire wound on an iron core. Alternating current in one coil makes a changing magnetic field that induces a voltage in the other, and the ratio of turns sets the ratio of voltages: fewer turns step down, more step up.
A transformer changes the voltage of electricity: up to hundreds of thousands of volts for long-distance power lines, and down to the 230 V in your sockets or the few volts inside a charger. It has no moving parts: just two coils of wire and a block of iron.
Play with the figure, then press Next (or the → key) to go step by step.
Two coils, one iron core
The primary coil is connected to the incoming supply. The secondary coil feeds the output. They aren't connected by wire at all. Both are wound round a shared core of thin iron sheets, which carries a magnetic field from one coil to the other.
Changing current, changing field
Alternating current in the primary coil makes a magnetic field in the core that keeps reversing, 50 or 60 times a second. That changing field passes through the secondary coil and induces a voltage in it, the same electromagnetic induction used by wireless chargers, but with an iron core to carry almost all of the field across.
The turns ratio
Each turn of wire picks up the same voltage from the changing field, so the voltages are in the same ratio as the number of turns:
output voltage = input voltage × secondary turns ÷ primary turns
More turns on the secondary steps the voltage up; fewer steps it down. Energy can't be created, so when voltage goes up, current goes down by the same factor, and the other way round. Power in equals power out, minus a few per cent of losses.
Why it only works with AC
Direct current makes a steady magnetic field, and a steady field induces nothing. That is a big reason the world's grids use AC: it can be transformed cheaply and efficiently. Today's phone and laptop chargers use a trick: they turn mains into very high-frequency AC first, which lets them use a tiny transformer instead of a heavy one.
Common myths
- "A transformer creates extra power." It trades voltage for current. The power out can never be more than the power in.
- "The coils are connected inside." They are electrically separate; only the magnetic field links them, which also isolates you from the mains for safety.
- "The hum means it's faulty." A gentle hum at twice the mains frequency is normal: the iron core flexes very slightly as the field reverses.
Questions people ask
Why is the iron core made of thin sheets?
A solid iron block would have large eddy currents swirling in it, wasting energy as heat. Thin insulated sheets break those currents up.
Why do transformers get warm?
Some energy is lost to the resistance of the copper wire and to the magnetism of the core reversing. Big transformers are cooled with oil or fans.
What does the transformer on a street pole do?
It steps the local distribution voltage, often 11,000 V, down to the 230 V (or 120/240 V) used by homes.
Can a transformer step DC up or down?
Not on its own. DC must first be switched into AC by electronics, which is what DC–DC converters and inverters do.
What is an isolation transformer?
One with the same number of turns on both coils. It keeps the voltage but electrically separates the output from the mains, which improves safety.
Test yourself
Pick an answer for each question. Every answer comes with an explanation.
0/4 answered01A transformer has 1,000 turns on the primary and 100 on the secondary. With 230 V in, what comes out?
02If a transformer steps voltage up, what happens to the current?
03Why doesn’t a transformer work on DC?
04What links the two coils?
Sources & more
Sources
- Transformer (Wikipedia)(opens in a new tab)
- Electromagnetic induction (Wikipedia)(opens in a new tab)
- Switched-mode power supply (Wikipedia)(opens in a new tab)
- War of the currents (Wikipedia)(opens in a new tab)
Last updated 2026-11-26
Keep exploring
- Energy & PowerExplore it
How do solar panels work?
- Energy & PowerExplore it
How does an LED work?
- Energy & PowerExplore it
How does a UPS (home inverter) work?
- Energy & PowerExplore it
How does an electric car work?
- Energy & PowerExplore it
How does the power grid work?
- Energy & PowerExplore it
How does an electricity meter work?