PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Electricity & Magnetism

Other simulators in this category — or see all 56.

View category →
NewUniversity / research

Mutual Inductance

Coupled L₁, L₂ with k and M; sinusoidal primary drives secondary current through R₂.

Launch Simulator
NewUniversity / research

Mass Spectrometer (Sector)

Velocity selector v = E/B then magnetic sector: different m/q bend to different radii (2D schematic).

Launch Simulator
NewUniversity / research

Resonant Transformer (Tesla-style)

Coupled RLC tanks; tune f_drive near secondary ω₀ to grow V on high‑Q side (linear coupled ODEs).

Launch Simulator
NewSchool

Wheatstone Bridge

Four arms, G between mid nodes; V_B − V_C and null when R₁R₄ = R₂R₃.

Launch Simulator
NewSchool

Dipole in Uniform E

τ = −pE sin θ, U = −pE cos θ; damped rotation; optional AC on E.

Launch Simulator
NewKids

Ferrofluid (Stylized)

Purple metaball pool, spikes, field-line hints — visual only, not MHD.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Electricity & Magnetism/Ideal Transformer

Ideal Transformer

An ideal transformer is a fundamental device in electrical engineering that steps voltage up or down using electromagnetic induction. This simulator models its core operation, governed by Faraday's law of induction and the principle of conservation of energy. The primary and secondary coils, with N₁ and N₂ turns respectively, are wound around a common, perfectly efficient magnetic core. A sinusoidal alternating voltage (U₁) applied to the primary coil creates a changing magnetic flux, which induces a voltage (U₂) in the secondary coil. The key relationship is the turns ratio: U₂ / U₁ = N₂ / N₁. When a load resistor (R) is connected to the secondary, currents I₁ and I₂ flow. For an ideal transformer with no losses, the input power equals the output power: U₁ * I₁ = U₂ * I₂. Combining this with the voltage ratio yields the inverse current ratio: I₁ / I₂ = N₂ / N₁. The simulator simplifies reality by assuming zero resistance in the windings, perfect magnetic coupling (no leakage flux), and a core with infinite permeability and no hysteresis or eddy current losses. By adjusting the turns ratio, primary voltage, and load resistance, students can explore how these parameters interdepend, visualize the phase relationship between primary and secondary quantities, and verify the conservation of power in an ideal AC system.

Who it's for: High school physics students and introductory undergraduate engineering students studying electromagnetism, AC circuits, and electrical power distribution.

Key terms

  • Transformer
  • Turns Ratio
  • Electromagnetic Induction
  • Primary Coil
  • Secondary Coil
  • Faraday's Law
  • Conservation of Energy
  • Load Resistance

Windings

200
800
120 V

Load (ideal, resistive)

48 Ω

Used only to estimate I₁, I₂ assuming P_in = P_out (no losses).

Measured values

U₂/U₁ = N₂/N₁4.0000
U₂480.00 V
TypeStep-up
I₂ = U₂/R10.000 A
I₁ ≈ P/U₁40.000 A

How it works

Ideal transformer: voltages scale with turns ratio — U₂/U₁ = N₂/N₁. With a resistive load on the secondary, currents follow power conservation (P = U₂I₂ ≈ U₁I₁). Real transformers have losses, leakage flux, and non-ideal core behavior.

Key equations

U₂/U₁ = N₂/N₁  ·  I₁/I₂ ≈ N₂/N₁ (ideal, same power)

Frequently asked questions

Why does the current in the primary coil change when I add a load to the secondary?
In an ideal transformer, power in equals power out (U₁I₁ = U₂I₂). With no load, I₂ is zero, so I₁ is also essentially zero (just a tiny magnetizing current, neglected in the ideal model). Connecting a load causes I₂ to flow, drawing power from the secondary. To conserve energy and maintain the magnetic flux, the primary must draw a corresponding current I₁ from the source to supply this power. The simulator shows this direct relationship.
Can a transformer work with direct current (DC)?
No. A transformer relies on a changing magnetic flux to induce a voltage in the secondary coil, as described by Faraday's law. A constant DC voltage creates a steady magnetic field, not a changing one, so no voltage is induced in the secondary after the initial switch-on transient. This simulator uses AC for this reason.
What does 'ideal' mean in this context, and how do real transformers differ?
'Ideal' means the model assumes perfect efficiency with no energy losses. Real transformers have losses from wire resistance (copper losses), magnetic hysteresis, and eddy currents in the core (iron losses). They also have leakage flux (not all flux links both coils) and require a magnetizing current to establish the core's magnetic field. This simulator ignores these effects to focus on the fundamental voltage, current, and power relationships.
If I step up the voltage, why does the current step down?
This is a direct consequence of energy conservation. For a given power output (P = U₂I₂), if the voltage U₂ is increased, the current I₂ must decrease proportionally to keep the product constant. Since the input power must equal the output power (U₁I₁ = U₂I₂), the primary current I₁ adjusts accordingly. High-voltage transmission lines use this principle to reduce current, minimizing resistive power losses over long distances.