A transformer is a passive electrical device that transfers electrical energy between two or more circuits through electromagnetic induction, primarily to step voltage up or down while inversely changing the current. It doesn't create power out of thin air; instead, it acts as an electrical lever, trading voltage for current (or vice versa) to make AC electricity safe for your low-voltage electronics or efficient for long-distance transmission. If you are building a linear power supply, wiring an HVAC control board, or troubleshooting a doorbell, understanding how this magnetic coupling works is non-negotiable.
The Core Job: What a Transformer Actually Changes
When you ask what a transformer changes in a real circuit, the strict answer is voltage and current. It does not change the AC frequency (a 60Hz input yields a 60Hz output), and ideally, it does not change the total power. Due to core and copper losses, a real-world transformer is about 95% to 98% efficient, meaning a 100W input might yield 96W of usable output.
The relationship is governed by the turns ratio of the wire coils wrapped around a shared magnetic core (usually laminated silicon steel or ferrite). The primary coil creates an alternating magnetic flux, and the secondary coil intercepts it.
(Primary Voltage / Secondary Voltage = Primary Turns / Secondary Turns = Secondary Current / Primary Current)
Think of it like a mechanical gear system on a bicycle. You can trade pedaling speed (current) for torque (voltage). If you step the voltage down by a factor of 5, the available current on the secondary side steps up by a factor of 5. For a deeper look at the magnetic physics, the Electronics Tutorials guide on transformer basics provides excellent diagrams of the flux paths.
Worked Numeric Example: Sizing a 24V HVAC Control Transformer
Let’s move off the whiteboard and onto the bench. You need to replace a burnt-out transformer that powers a 24V AC HVAC control board and a contactor coil. Here is how you calculate the requirements and size the overcurrent protection according to standard NEC-style guidance (always defer to your local AHJ for final code compliance).
- Calculate the Total Load (VA): The smart thermostat and control board draw 1.2A at 24V. The AC contactor coil draws 0.8A at 24V during operation (and has a higher inrush, but we size for continuous thermal limits first). Total continuous current = 2.0A.
Power = 24V × 2.0A = 48 VA (Volt-Amps). - Select the Transformer Rating: You must size up to the next standard commercial rating to prevent saturation and overheating. A 50VA transformer is the correct choice here.
- Calculate Primary Current: Assuming a 120V AC primary supply.
Ip = 50VA / 120V = 0.416A. - Calculate Secondary Current Limit:
Is = 50VA / 24V = 2.08A. - Size the Fuses: For the secondary side, a 2A slow-blow fuse protects the 2.08A limit. For the primary side, NEC Article 450 generally allows sizing the primary fuse at 125% to 250% of the primary current depending on the exact setup. A standard 0.5A or 0.6A primary fuse will protect the transformer from internal shorts without nuisance-tripping during the initial magnetic inrush when power is applied.
Where You Meet Transformers in Practice
You interact with transformers constantly, even if they are hidden behind plastic enclosures. Here is where they show up in the wild:
- Doorbell and HVAC Transformers: Usually 40VA units stepping 120V AC down to 16V or 24V AC. These are heavily regulated by the NFPA 70 National Electrical Code regarding where they can be mounted and how they must be fused.
- Isolation Transformers: These have a 1:1 turns ratio (e.g., 120V in, 120V out). They don't change voltage; they break the direct galvanic connection to the earth-referenced utility grid. If you are probing a live circuit with an oscilloscope, an isolation transformer prevents you from accidentally shorting the live hot wire to earth ground through your scope's ground clip.
- Linear Audio Power Supplies: High-end amplifiers use massive toroidal transformers to step down mains voltage before rectifying it to DC, avoiding the high-frequency switching noise generated by modern SMPS (Switched-Mode Power Supplies).
MOTs step 120V up to roughly 2,000V to 3,000V at high current (often 1A+). This is not a harmless static shock; it is highly lethal, sustained current that will cause fatal ventricular fibrillation and severe burns. Never repurpose an MOT for hobby projects without extreme, professional-grade high-voltage safety protocols.
Real-World Scenario Walkthrough: The Blown HVAC Control Board
Theory is clean; jobsites are messy. Here is a real-world failure that highlights what happens when transformer physics meets poor installation practices.
The Setup: A technician is replacing a failed 40VA doorbell-style transformer on a split-system AC unit. The truck is out of 40VA units, so they install a generic 20VA transformer to get the customer running. The system uses a modern Wi-Fi smart thermostat (which requires continuous 24V power and draws ~0.6A) and a standard compressor contactor coil (draws ~0.5A).
The Numbers: The total continuous load is 1.1A at 24V, requiring 26.4 VA. The installed transformer is only rated for 20VA (maximum secondary current of 0.83A). The load exceeds the transformer's capacity by over 30%.
The Outcome: The system runs fine while the fan is on. But when the thermostat calls for cooling, the contactor coil energizes. The sudden inrush current of the contactor (which can be 3x to 5x its holding current for a few milliseconds) causes the severely undersized transformer's secondary voltage to sag violently, dropping from 24V down to 14V. The smart thermostat experiences a brownout, reboots, and drops the Wi-Fi connection. Ten minutes later, the transformer's internal thermal fuse fails to trip fast enough, the winding insulation melts, and it shorts out, permanently frying the thermostat's internal polyfuse.
What Went Wrong: The technician treated VA ratings as mere suggestions. Transformers have a strict magnetic saturation limit. When you pull more current than the VA rating allows, the core saturates, the impedance drops, and the windings act like a dead short, generating massive heat. Always size the transformer VA at least 20% above the calculated continuous load to handle inrush currents without voltage sag.
Common Confusions: Transformers vs. Power Supplies
The most common mistake beginners make is confusing a transformer with a power supply or a DC-DC converter.
- Transformers ONLY work with AC. If you feed 12V DC into the primary of a transformer, the magnetic field will not alternate. It will just act as a low-resistance piece of wire, draw massive current, and burn up. You cannot use a transformer to step DC voltage up or down.
- Power Supplies (Wall Warts): A typical AC-DC power brick contains a transformer (or a high-frequency switching equivalent) plus a bridge rectifier and filter capacitors to convert the AC to DC. The transformer is just one component inside the power supply.
- DC-DC Buck/Boost Converters: If you need to step 12V DC down to 5V DC, you use a switching regulator (like an LM2596 module). These use inductors and high-speed MOSFET switching, not traditional magnetic isolation transformers.
FAQ: Quick Answers to Bench Questions
Q: Can I wire a step-down transformer in reverse to use it as a step-up?
A: Electrically, yes. A 120V-to-24V transformer will output 120V if you feed 24V into the secondary. However, you must verify that the wire gauge on the original secondary winding is thick enough to handle the new primary current, and that the insulation ratings are sufficient. In commercial settings, this violates UL listings, but on the hobby bench, it works if the math checks out.
Q: Does a transformer draw power when nothing is connected to the secondary?
A: Yes. This is called "magnetizing current" or "no-load loss." The primary coil still acts as an inductor, and the alternating magnetic field causes tiny eddy currents and hysteresis losses in the iron core. A large 1kVA transformer might draw 20W to 50W just sitting there doing nothing, which is why utility companies care deeply about transformer efficiency.
Q: Why do transformers hum?
A: The hum is caused by magnetostriction. As the alternating magnetic field passes through the steel laminations of the core, the metal physically expands and contracts by a microscopic amount at twice the line frequency (120 times a second on a 60Hz grid). This physical vibration pushes the air, creating the audible 120Hz hum you hear in quiet rooms.






