How a transformer works
A transformer has two coils of wire wound on the same iron core. Alternating current in the primary coil makes a magnetic field in the core that keeps changing direction. That changing field passes through the secondary coil and induces a voltage in every turn of it. Because both coils share the same field, each turn of either coil has the same voltage across it. So the voltages are in the ratio of the turns:
Vs ÷ Vp = Ns ÷ Np
More turns on the secondary steps the voltage up. Fewer steps it down. Transformers only work on AC, because a steady DC current makes a steady field, which induces nothing.
Current goes the other way
An ideal transformer doesn't create or lose energy, so the power out equals the power in: Vp × Ip = Vs × Is. If it steps the voltage down by 20 times, the secondary can deliver 20 times the current that the primary draws. The current is set by the load on the secondary. With nothing connected, an ideal transformer draws no primary current at all, and a real one draws only a small magnetising current.
A load on the secondary looks bigger from the primary side, by the square of the turns ratio. That's how audio transformers match a loudspeaker to an amplifier.
The UK 110 V site transformer
On UK building sites, portable tools usually run from 110 V supplied by a yellow site transformer, as BS 7375 recommends. The clever part is the secondary: its centre is connected to earth. The full 110 V is there between the two ends to run the tool, but each end is only 55 V from earth. Most electric shocks go from a live part through the body to earth, so the shock voltage is halved compared with an unearthed 110 V secondary, and is far below 230 V. Three-phase 110 V site supplies earth the star point instead, giving 63.5 V to earth.
That's why site tools have yellow 110 V plugs that won't fit a 230 V socket. Try the challenge to build one: 230 V in, 110 V out, centre-tapped.
Ratings and real transformers
Transformers are rated in VA (volt-amps), the voltage times the current, because the heating in the windings depends on the current whatever the power factor of the load. A typical portable site transformer is 3.3 kVA, enough for about 30 A at 110 V.
Real transformers lose a little energy as heat in the windings' resistance and in the core, and the secondary voltage drops slightly as the load increases. Small transformers are often quoted at full load, so their output can read noticeably high when lightly loaded. Large power transformers are well over 95% efficient. Isolation transformers, with a 1:1 ratio, separate a circuit from earth for safety, as in a bathroom shaver socket.
How this simulation works
This is an ideal transformer: no winding resistance, no core losses, no magnetising current and perfect coupling, so the maths is exact for that model. The waveforms show a 50 Hz supply, with peaks 1.414 times the RMS voltage. For sizing a real transformer, use the transformer calculator.