The transformer law dictates that the ratio of primary to secondary voltage in an AC circuit is directly proportional to the ratio of their wire coil turns, while the current ratio is inversely proportional. This fundamental principle changes how we distribute and use power, allowing us to step 120V AC mains down to a safe 12V or 24V AC for control circuits, or step it up for efficient long-distance transmission, all while preserving the original 60Hz (or 50Hz) frequency.

SAFETY WARNING: Working with primary-side transformer terminals involves lethal mains voltage (120V/240V AC). Always de-energize the circuit, lock out the breaker, and verify the absence of voltage with a CAT III or CAT IV multimeter before touching any primary wiring. Local electrical codes may require a licensed electrician for hardwired mains connections.

The Core Math: Turns Ratio and Power Conservation

At its core, the transformer law is an expression of the conservation of energy. An ideal transformer cannot create power; it merely trades voltage for current (or vice versa). If you step the voltage down by a factor of 10, the available secondary current increases by a factor of 10, minus real-world inefficiencies.

The governing equations for an ideal transformer are:

  • Voltage Ratio: Vp / Vs = Np / Ns
  • Current Ratio: Ip / Is = Ns / Np
  • Power Conservation: Vp × Ip = Vs × Is (measured in Volt-Amps, VA)

Where V is voltage, I is current, and N is the number of wire turns. The primary side (subscript p) is where power enters, and the secondary side (subscript s) is where power exits. As detailed in Electronics Tutorials' transformer basics, the physical mechanism relies on Faraday's Law of Induction: a changing magnetic flux in the iron core induces an electromotive force (EMF) in the secondary winding.

Common Transformer Configurations and Turns Ratios (Ideal)
Application Primary Voltage (Vp) Secondary Voltage (Vs) Turns Ratio (Np:Ns) Primary Current (Ip) Secondary Current (Is) Apparent Power (VA)
Doorbell / Thermostat 120V AC 24V AC 5:1 1.67A 8.33A 200 VA
Low Voltage Lighting 120V AC 12V AC 10:1 0.83A 8.33A 100 VA
Industrial Control 240V AC 120V AC 2:1 2.08A 4.16A 500 VA
Inverter Step-Up 12V AC 120V AC 1:10 25.0A 2.50A 300 VA

Worked Numeric Example: Sizing a 24V HVAC Control Transformer

Let's apply the transformer law to a real-world bench scenario. You are building a smart HVAC controller using an ESP32 microcontroller, but you need to interface it with an existing 24V AC furnace contactor coil. You decide to power both the contactor and a 24V-to-5V DC buck converter (to run the ESP32) from a single 120V-to-24V step-down transformer.

Step 1: Calculate the Secondary Load

  • The 24V AC contactor coil draws 0.50A when energized.
  • The ESP32 circuit draws 0.25A at 5V DC. Assuming the buck converter is 85% efficient, the input power required is (5V × 0.25A) / 0.85 = 1.47W. At 24V AC input, the rectifier and buck converter will draw roughly 0.07A (accounting for power factor and rectification losses).
  • Total secondary current (Is) = 0.50A + 0.07A = 0.57A.

Step 2: Determine Required VA Rating

Secondary VA = Vs × Is = 24V × 0.57A = 13.68 VA.
Engineering best practice dictates adding a 20% safety margin for inrush currents (the contactor coil draws significantly more current for the first few milliseconds when the magnetic field is collapsing).
Target VA = 13.68 × 1.20 = 16.4 VA.

Step 3: Select the Transformer and Calculate Primary Current

You select a standard off-the-shelf 20 VA, 120V-to-24V transformer (like the Hammond 166 series). Using the transformer law, we can find the expected primary current (Ip) at full load:

Ip = (Vs × Is) / Vp = 20 VA / 120V = 0.166A.

This tells you that a standard 1A slow-blow fuse on the primary side is more than adequate for overcurrent protection, while the secondary side should be protected by a 1A fast-acting fuse. The turns ratio is 120:24, which simplifies to a 5:1 ratio. This means the primary winding has exactly five times as many turns of thinner wire (likely 26 AWG) as the secondary winding (likely 18 AWG).

Where You Meet This in Practice: The Reality of Voltage Regulation

The equations above assume an ideal transformer. In practice, physical transformers suffer from winding resistance (copper losses) and core inefficiencies (eddy currents and hysteresis). This introduces a critical concept every DIYer must understand: voltage regulation.

Bench Insight: If you buy a cheap, stamped-iron EI-core '24V' transformer and measure the secondary terminals with your multimeter while nothing is connected (no-load), you will likely read 27V to 29V AC. This is not a defect; it is intentional over-winding to compensate for internal voltage drop when the rated load is applied.

When designing power supplies, this no-load voltage spike is where projects fail. If you feed that 28V AC into a bridge rectifier and a smoothing capacitor, your peak DC voltage will be roughly 28V × √2 (1.414) = 39.5V DC. If your downstream linear regulator (like an LM317) or buck converter has a maximum input rating of 35V, it will instantly fail when the circuit is idle.

High-quality toroidal transformers typically boast tighter regulation (3% to 5% voltage rise at no-load), whereas cheap laminated EI transformers can exhibit 15% to 20% regulation. Always design your downstream DC circuitry to handle the no-load peak DC voltage, not just the nominal printed AC voltage.

Common Confusions and Mistakes

When applying the transformer law, hobbyists frequently fall into a few specific traps that violate the underlying physics.

Confusion 1: 'Step-Up Transformers Create Free Power'

Because a 1:10 step-up transformer turns 12V at 10A into 120V, beginners sometimes assume they can draw 10A on the secondary side, yielding 1200W from a 120W source. The transformer law strictly forbids this. If you step the voltage up by 10, the maximum available secondary current drops to 1A. If you attempt to draw more, the primary side will pull massive current, saturate the core, overheat, and trip your breaker (or melt the windings if unfused).

Confusion 2: 'Transformers Work with DC'

The transformer law relies entirely on a changing magnetic field (dΦ/dt). If you apply 12V DC to the primary of a 120V-to-12V transformer, the magnetic flux does not change. The primary coil simply acts as a low-resistance piece of copper wire. According to Ohm's law, I = V/R. If the DC resistance of the primary is 2 ohms, it will draw 6A continuously, generate immense heat, and catch fire. Transformers are strictly AC (or pulsed DC) devices.

Confusion 3: Ignoring Phase and Polarity

While the transformer law gives you the magnitude of the voltage, it doesn't explicitly dictate phase. In a standard isolation transformer, the secondary voltage is in-phase with the primary. However, if you are wiring two secondary windings in series to get 24V from two 12V windings, you must respect the dot convention (polarity). Wiring them out of phase results in the voltages canceling each other out, yielding 0V.

Frequently Asked Questions

Can I use a step-down transformer backwards as a step-up?

Yes, the transformer law is bidirectional. A 120V-to-24V transformer can be wired with 24V AC into the original secondary to yield 120V AC on the original primary. However, you must ensure the wire gauge on the 'new' primary (originally the secondary) can handle the required magnetizing current, and the insulation ratings are sufficient. Furthermore, the VA rating remains exactly the same; you do not gain power capacity.

Does the transformer law apply to Switch-Mode Power Supplies (SMPS)?

Not directly in the same way. SMPS units (like the brick charger for your laptop) use high-frequency ferrite-core transformers operating at 50kHz to 200kHz. While the basic turns ratio (Np/Ns) still dictates the voltage conversion, the power transfer is governed by duty cycle, switching topology (flyback, forward, LLC), and energy storage in the core gap, rather than simple 60Hz magnetic induction. For standard iron-core mains transformers, however, the classic transformer law is absolute.

Understanding the transformer law is about more than just memorizing Vp/Vs = Np/Ns. It is about recognizing the hard limits of power conservation, anticipating real-world voltage regulation quirks, and sizing your protective fuses based on actual calculated primary currents. As always, consult comprehensive AC theory resources and local electrical codes before integrating mains-connected magnetic components into your permanent installations.