The Lenz law formula calculates the induced electromotive force (EMF) that opposes a change in magnetic flux. The fundamental equation is ℰ = -N (ΔΦ / Δt), where ℰ is induced EMF in volts, N is the number of coil turns, ΔΦ is the change in magnetic flux in webers, and Δt is the change in time in seconds. The negative sign is the mathematical expression of Lenz's Law: the induced current creates a magnetic field that opposes the initial change. If you are designing a relay snubber or winding a custom transformer, this formula dictates the voltage spikes you must protect against.
The Core Lenz Law Formula and Symbol Definitions
While Faraday's Law of Induction gives us the magnitude of the induced voltage, Heinrich Lenz provided the direction. The combined Lenz law formula is written using the derivative form for instantaneous EMF, or the delta form for average EMF over a time window. On the bench, we almost always use the delta (Δ) form because we are measuring discrete switching events.
| Symbol | Name | SI Unit | Practical Bench Context |
|---|---|---|---|
| ℰ | Induced Electromotive Force (EMF) | Volts (V) | The voltage spike measured across an inductor when current is interrupted. |
| N | Number of Turns | Dimensionless (count) | Total loops of wire in the coil; directly multiplies the induced voltage. |
| ΔΦ | Change in Magnetic Flux | Webers (Wb) | The total magnetic field passing through the coil area (Φ = B × A). |
| Δt | Change in Time | Seconds (s) | The switching speed of your transistor or mechanical contact. |
| - | Lenz's Directional Sign | N/A | Indicates the induced EMF opposes the change in flux (conservation of energy). |
To ground this in reality, here is what realistic answer magnitudes look like across common electrical and electronic components. If your calculation yields 10,000V for a guitar pickup, you have a unit error.
| Component / Scenario | Typical Turns (N) | Typical Flux Change Rate (ΔΦ/Δt) | Realistic Induced ℰ Magnitude |
|---|---|---|---|
| Electric Guitar Single-Coil Pickup | 5,000 - 8,000 | 10 to 25 μWb/s | 50 mV to 200 mV (AC audio signal) |
| 12V Automotive Relay Coil (Flyback) | 400 - 1,000 | 0.5 to 2.0 mWb/ms | 200 V to 800 V (Requires flyback diode) |
| NEMA 17 Stepper Motor Phase | 50 - 150 | 5 to 15 mWb/ms | 20 V to 60 V (Back-EMF at high RPM) |
| Industrial 480V Generator Stator | 10 - 50 (per slot) | 5 to 20 Wb/s | 277 V to 350 V (RMS phase voltage) |
Rearranged Forms and Unit Mistakes That Break the Math
When designing magnetic circuits or selecting core materials, you rarely solve for ℰ directly. You usually know your target voltage and need to find the required turns or the maximum allowable switching speed. Here are the rearranged forms of the Lenz law formula:
- Solving for Turns (N): N = |ℰ| / (ΔΦ / Δt) (Used when winding a transformer to hit a specific secondary voltage)
- Solving for Flux Change Rate (ΔΦ/Δt): ΔΦ/Δt = |ℰ| / N (Used to size the core cross-section and select the B-max limit)
- Solving for Time Interval (Δt): Δt = (N × |ΔΦ|) / |ℰ| (Used to calculate the minimum required MOSFET turn-off time to keep voltage spikes within the Vds rating)
Unit Mistakes That Will Break Your Calculation
The most common reason hobbyists and junior engineers get wildly incorrect answers is unit misalignment. The formula strictly requires SI base units. Watch out for these specific traps:
- Using Maxwells instead of Webers: Older textbooks and some legacy magnetic datasheets use the CGS system. 1 Weber = 100,000,000 Maxwells (10^8). If you plug Maxwells into the SI formula, your voltage will be off by eight orders of magnitude.
- Ignoring the Milli/Micro Prefix on Time: Microcontrollers switch in nanoseconds; mechanical relays switch in milliseconds. If Δt is 5 milliseconds, you must enter 0.005 seconds. Plugging in '5' will understate your induced voltage by a factor of 1,000.
- Confusing Flux (Φ) with Flux Density (B): Datasheets for ferrite cores list saturation in Tesla (B), not Webers (Φ). You must multiply B by the effective cross-sectional area (Ae) of the core in square meters to get Webers. (Φ = B × Ae).
Worked Example 1: Dropping a Neodymium Magnet Through a Coil
Let's look at a classic physics and sensor-design scenario. You are building a custom tachometer by dropping a small neodymium magnet through a sensing coil. You need to know if the induced pulse will be strong enough to trigger a 3.3V ESP32 GPIO pin directly, or if you need an op-amp.
The Setup:
- Coil turns (N) = 500
- Magnet flux entering the coil (Initial Φ) = 0 Wb
- Peak magnet flux inside the coil (Final Φ) = 4 mWb (0.004 Wb)
- Time taken to reach peak flux (Δt) = 20 ms (0.020 s)
Step-by-Step Solution:
- Identify the change in flux (ΔΦ):
ΔΦ = Final Φ - Initial Φ
ΔΦ = 0.004 Wb - 0 Wb = 0.004 Wb - Convert time to base SI units:
Δt = 20 ms = 0.020 s - Apply the Lenz law formula:
ℰ = -N × (ΔΦ / Δt)
ℰ = -500 × (0.004 Wb / 0.020 s) - Calculate the rate of change:
0.004 / 0.020 = 0.2 Wb/s (which is equivalent to 0.2 Volts per turn) - Multiply by turns:
ℰ = -500 × 0.2 V
ℰ = -100 V
The Result: The magnitude of the induced EMF is 100 Volts. The negative sign indicates the polarity of the voltage opposes the magnet's entry. In reality, parasitic capacitance and coil resistance will dampen this spike, but the initial open-circuit theoretical peak is 100V. This is more than enough to fry an ESP32 GPIO pin (max 3.6V). You must use a voltage divider and a clamping diode network before feeding this signal to your microcontroller.
Worked Example 2: Inductive Kickback in a 12V Relay Coil
When you probe a relay coil with an oscilloscope and see a massive voltage spike on a 12V circuit, you are looking directly at the Δt term in the denominator approaching zero. Let's calculate the exact flyback voltage generated when a mechanical switch opens a relay circuit.
The Setup:
- Relay coil turns (N) = 800
- Steady-state magnetic flux (Initial Φ) = 1.5 mWb (0.0015 Wb)
- Flux after switch opens (Final Φ) = 0 Wb
- Switch contact separation time (Δt) = 2 ms (0.002 s)
Step-by-Step Solution:
- Identify the change in flux (ΔΦ):
ΔΦ = Final Φ - Initial Φ
ΔΦ = 0 Wb - 0.0015 Wb = -0.0015 Wb
(Note the negative sign: the flux is collapsing, not building). - Convert time to base SI units:
Δt = 2 ms = 0.002 s - Apply the Lenz law formula:
ℰ = -N × (ΔΦ / Δt)
ℰ = -800 × (-0.0015 Wb / 0.002 s) - Calculate the rate of change:
-0.0015 / 0.002 = -0.75 Wb/s - Multiply by turns and the leading negative sign:
ℰ = -800 × (-0.75 V)
ℰ = +600 V
The Result: The collapsing magnetic field induces an EMF of 600 Volts. The positive result here means the induced voltage is in the same direction as the original 12V supply, trying desperately to keep the current flowing across the opening switch gap. This 600V spike will cause arcing across mechanical switch contacts and will instantly punch through the drain-source junction of a standard 30V logic-level MOSFET. This calculation proves exactly why a flyback diode (like a 1N4007) wired in reverse-bias across the coil is mandatory.
When the Formula Applies (and Its Assumptions)
The Lenz law formula is a macroscopic, lumped-parameter model. It works perfectly for tightly wound coils at low to moderate frequencies, but it relies on several assumptions that break down in edge cases:
- Uniform Flux Linkage: The formula assumes that the change in flux (ΔΦ) passes through every single turn equally. In reality, outer turns of a sloppy hand-wound coil link less flux than inner turns. For precision work, you must use the flux linkage integral (λ = ∫ B·dA) rather than simple N × Φ.
- Lumped Inductance: At high frequencies (above a few hundred kHz), the coil's parasitic capacitance and the skin effect alter the current distribution. The coil stops acting like a pure inductor and starts acting like a transmission line or a resonant tank. The basic Lenz formula will under-predict high-frequency ringing.
- Constant Permeability: The formula assumes the core material's permeability (μ) is constant. If your flux change pushes the core into magnetic saturation (e.g., exceeding 0.3 Tesla for standard ferrites), the ΔΦ will artificially cap out, and the induced voltage will clip or distort, deviating from the linear math.
For standard DIY projects, motor control, and relay driving, the lumped-parameter Lenz law formula is entirely sufficient. Just remember to track your Webers, respect your milliseconds, and always provide a path for the induced current to safely dissipate.






