Inductor Current Calculator – Current Growth in an RL Circuit
Use this free Inductor Current Calculator to find how the current grows in an RL circuit after the switch is closed. Enter the supply voltage, resistance, inductance and time — the calculator shows the current, the final (steady) current and the time constant τ = L/R.
Close a switch on a resistor and the current is instant. Close it on an inductor and the current has to be persuaded. An inductor resists changes in its current the way a flywheel resists changes in its speed: at the first instant it pushes back with a voltage of its own — a back-EMF equal to the whole supply — and the current starts from exactly zero no matter how eager the battery is. Only as the magnetic field builds does the pushback fade, letting the current climb along the familiar exponential curve towards its Ohm's-law destination, V/R.
The pace is set by the time constant τ = L/R. Note the arrangement: inductance in the numerator (more inductance, more inertia, slower), resistance in the denominator (more resistance, less final current but reached sooner — a heavier brake on a lighter flywheel). After 1τ the current is at 63.2% of its final value, after 2τ at 86.5%, and after about 5τ it is, for all practical purposes, there. The same percentages as the charging capacitor, because it is the same mathematics: any system whose rate of change is proportional to the remaining gap traces this curve.
This is not an academic curve. It is the delay before a relay pulls in, the soft ramp of an electromagnet, the reason a motor's current climbs rather than jumps, and — run in reverse at switch-off — the source of the voltage spikes that kill transistors. The examples below range from a 5-millisecond relay coil to an 8-henry electromagnet that takes ten seconds to reach full strength, and the depth sections cover the stored energy riding on the current and the flyback diode that every practical inductor circuit needs.
Formula
Inductor current while rising: I(t) = (V/R) × (1 − e−Rt/L) • time constant τ = L/R • final current Imax = V/R
Read the exponent as −t/τ and the formula becomes the universal growth curve: I(t) = Imax × (1 − e−t/τ). Inverted, it gives the time to reach any fraction of the final current: t = −τ × ln(1 − I/Imax) — so half the final current arrives at 0.693τ and 95% at 2.996τ. The voltage across the inductor is the mirror of the current: it starts at the full supply voltage and decays as VL(t) = V × e−t/τ, the two always summing (with the resistor's share) to the supply. Units: L in henries and R in ohms give τ in seconds; the calculator's unit menu converts mH and µH for you.
| Symbol | Meaning | Units |
|---|---|---|
| V | DC supply voltage | volts (V) |
| R | total resistance in the RL loop | ohms (Ω) |
| L | inductance | henries (H) |
| Imax | final (steady) current, V/R | amps (A) |
| τ | time constant, τ = L/R | seconds (s) |
The flywheel of electricity: why current has inertia
The inductor's stubbornness comes from its magnetic field. Current flowing through the coil builds a field, and nature charges for that field in a specific currency: any attempt to change the current changes the field, and the changing field induces a voltage that opposes the change (Lenz's law). Speed the current up and the inductor generates a voltage fighting the increase; slow it down and the same inductor generates a voltage fighting the decrease, trying to keep its current flowing. It is genuinely analogous to mass: inductance is electrical inertia, current is electrical velocity, and the stored energy ½LI² mirrors ½mv² term for term.
This inertia cuts both ways, and the second way is the dangerous one. While the switch is closed, the back-EMF politely limits the rise. But open the switch on a carrying inductor and the current tries to continue — through the opening contacts, through the air as a spark, through your transistor — at whatever voltage is necessary, because V = L × dI/dt and a forced, near-instant dI/dt makes V enormous. A modest 0.6 H relay coil carrying 0.2 A, interrupted in a microsecond, would theoretically demand 0.6 × 0.2 ÷ 10−6 = 120,000 V; reality caps it at whatever arcs or breaks down first, which is quite enough to pit contacts and puncture semiconductors. The flyback diode exists to give that current a safe circular path to die in, over a civilised few time constants.
How to use
- Enter the DC supply voltage and the total resistance in the RL loop.
- Enter the inductance and pick its unit (H, mH or µH).
- Enter the time since the switch closed and click "Calculate".
- Check the time constant against your expectations first: a relay coil should give milliseconds, a big electromagnet seconds. If τ surprises you, a unit has slipped.
Worked examples
Example 1 — the reference RL circuit. A 3 H inductor is connected through a 6 Ω resistor to a 12 V supply.
τ = L/R = 3/6 = 0.5 s, and the final current is Imax = 12/6 = 2 A.
After t = 1 s: I = 2 × (1 − e−1/0.5) = 2 × (1 − e−2) = 2 × 0.8647 = 1.73 A — 86.47% of the final value.
Example 2 — a relay coil's pull-in delay. A 24 V relay coil has R = 120 Ω and L = 0.6 H: τ = 0.6 ÷ 120 = 5 ms, Imax = 24 ÷ 120 = 0.2 A. After 5 ms the current is 0.2 × 0.6321 = 126.4 mA, and reaching 90% of full pull takes 2.303 × 5 = 11.5 ms — the mechanical delay of the relay starts life as this electrical one.
Example 3 — a small RF choke. A 10 mH inductor with 50 Ω in a 5 V circuit: τ = 0.01 ÷ 50 = 0.2 ms, Imax = 5 ÷ 50 = 0.1 A. After 0.1 ms (half a time constant) the current is 0.1 × (1 − e−0.5) = 39.3 mA — small inductances and modest resistances make for very quick circuits.
Example 4 — the slow electromagnet. An 8 H magnet coil on 48 V with 4 Ω resistance: τ = 8 ÷ 4 = 2 s, Imax = 48 ÷ 4 = 12 A. After 2 s the current is 12 × 0.6321 = 7.59 A; full strength (99.3%) needs 5τ = 10 s, when the current reaches 11.92 A. Big L and small R is the recipe for majestic slowness.
Example 5 — timing the rise. Using Example 1's circuit (τ = 0.5 s, Imax = 2 A): the current reaches 1 A — half its final value — at t = 0.5 × ln 2 = 0.347 s, and 1.9 A (95%) at t = 0.5 × ln 20 = 1.50 s. The last 5% takes longer than the first 50%: the exponential's signature, again.
Example 6 — the energy riding on the current. At Example 1's 1-second mark the 3 H inductor carries 1.73 A, storing U = ½ × 3 × 1.73² = 4.49 J. At the final 2 A it will store ½ × 3 × 2² = 6 J. That stored energy is what the switch-off spike is made of — it has to go somewhere, and the flyback path decides where.
Inductor current in real life
Relays and solenoids. Every relay's datasheet "operate time" begins with this curve: the coil current must climb to the pull-in threshold before the armature even starts to move. Example 2's 11.5 ms to 90% is typical of the species.
Flyback and boost converters. Switching power supplies deliberately ramp current up a inductor along this curve (usually only the first, nearly straight slice of it), then harvest the energy at switch-off. The whole topology is this formula, cycled a hundred thousand times a second.
Motor windings. A DC motor's windings are inductors; their current — hence torque — cannot change instantly. Drive electronics and current loops are designed around τ = L/R of the winding.
Ignition coils. The coil primary charges along this curve for a few milliseconds (the "dwell"), storing energy in the field; the points or transistor then open, and the collapsing field makes the spark. Too short a dwell means the current — and the spark — never grew.
MRI and superconducting magnets. The extreme case: L is enormous and R (in persistent mode) is essentially zero, so τ stretches to years. The current, once established, circulates for a decade — the flywheel analogy made literal.
Inrush and soft-start. Large inductors and transformer primaries draw a controlled rising current rather than a step, easing the stress on switches and supplies — the gentle front of this curve doing quiet protective work.
Switch-off: the spike, and the diode that tames it
Everything in this page so far describes the polite half of the inductor's life. The impolite half begins when the circuit is broken. The inductor's current cannot stop instantly — its stored energy ½LI² forbids it — so the inductor becomes a source, generating whatever voltage is needed to keep the current flowing momentarily. Across an opening mechanical switch that means an arc; across a transistor it can mean a voltage many times the supply rail. The standard cure costs one diode: a flyback (freewheeling) diode across the coil, reverse-biased and invisible while the switch is closed, which at switch-off becomes forward-biased by the inductor's own voltage and offers the current a circular path through the coil's resistance. The current then decays with the same τ = L/R as it rose — a controlled fade instead of a spark. The trade-off is speed: a relay released through a plain diode drops out more slowly, because its current lingers. Where fast release matters, engineers add a Zener diode in series with the flyback diode, letting the coil voltage rise to a chosen, safe spike that burns the energy off faster — dI/dt is bought with volts, and the art is choosing how many.
Quick reference: the rise, in time constants
| Elapsed time | Current reached | Inductor voltage remaining |
|---|---|---|
| 0.5τ | 39.35% | 60.65% |
| 1τ | 63.21% | 36.79% |
| 2τ | 86.47% | 13.53% |
| 3τ | 95.02% | 4.98% |
| 4τ | 98.17% | 1.83% |
| 5τ | 99.33% | 0.67% |
The two columns are mirror images because the resistor and inductor divide the supply between them: whatever fraction of the journey the current has completed, the inductor's voltage has surrendered. At the first instant the inductor takes everything; in the steady state it takes nothing and behaves, for DC, like the wire it is wound from.
The straight-line start: ramps, ripple and converter design
Look again at the very beginning of the rise curve, where t is much smaller than τ. There the exponential is nearly straight, and the current grows at an almost constant rate set by the inductor alone: dI/dt ≈ V/L, the resistor not yet relevant because the current — and so the resistor's voltage drop — is still tiny. This innocent approximation is the working equation of switch-mode power design. In a buck converter, the inductor sees a fixed voltage during each switch-on pulse and its current ramps linearly: ΔI = V × Δt / L. With 7 V across a 10 µH inductor for 5 µs, the ripple is 7 × 5 µs ÷ 10 µH = 3.5 A — a number the designer chooses deliberately, trading ripple (and its losses) against inductor size.
The same ramp governs the inductor's other switching life: in a boost or flyback stage the "charging" phase is this ramp, and the peak current at switch-off — the value that sets the stored energy ½LI² — is just the ramp's height. The smooth exponential of the textbook RL circuit and the triangular ripple of a converter are one phenomenon viewed at two timescales: zoom into any small slice of the curve and it straightens; zoom out and the slices compose the exponential. Knowing which view you are in — ramp or curve — is most of practical inductor craft.
Common mistakes
- Expecting the current to jump to V/R instantly. That is the resistor-only behaviour. With an inductor present the current starts at zero and climbs; circuits designed without the delay (relay timing, converter control loops) misbehave in ways that look mysterious until τ is computed.
- Computing τ as R/L. The time constant is L ÷ R, with units of seconds. R/L has units of "per second" — it is the rate in the exponent, not the time constant. Swapping them inverts every timescale.
- Forgetting the coil's own resistance. The R in τ and in V/R is the total loop resistance, including the winding itself. A "3 H inductor" measured alone may bring 50 Ω of its own; ignoring it overstates both the final current and the speed.
- Switching an inductor with no flyback path. The current will find a path — through your transistor. Any coil driven by electronics needs a diode, a snubber, or a clamp rated for the stored energy ½LI².
- Mixing mH and H. A 10 mH choke entered as 10 H makes τ a thousand times too large. Use the unit menu, and sanity-check: everyday inductors give time constants from microseconds to a few seconds, not minutes.
FAQ
Why doesn't the current jump straight to V/R?
The inductor opposes any change in current by generating a back-EMF. At the instant the switch closes, the back-EMF equals the supply voltage, so the current starts at zero and only builds up as the magnetic field grows.
What does the time constant mean here?
τ = L/R is the time for the current to reach 63.2% of its final value. After 5τ the current is within 1% of V/R and the inductor behaves like a plain wire (for DC).
What happens when the switch is opened again?
The current decays with the same time constant, I = I₀e−Rt/L. Because the inductor tries to keep the current flowing, opening the switch suddenly can produce a large voltage spike — which is why relays and motors use flyback diodes.
Why does more resistance make the rise faster but the final current smaller?
τ = L/R, so a larger R shortens the time constant — but the destination Imax = V/R shrinks in the same proportion. The current arrives sooner at a lower value; the two effects are the same resistor seen from two sides.
What voltage appears across the inductor at switch-on?
The full supply voltage, briefly — the current is zero, so the resistor drops nothing and the inductor takes it all. From there VL decays as V × e−t/τ while the resistor's share grows.
How is this different from a charging capacitor?
The curves are twins with the roles swapped: a capacitor's voltage rises as (1 − e−t/RC) while an inductor's current rises as (1 − e−t/(L/R)). Capacitors resist voltage changes; inductors resist current changes. The mathematics of "rate proportional to the remaining gap" governs both.
Can the current ever overshoot V/R?
Not in a simple RL circuit driven by a steady DC supply — the approach is monotonic. Overshoot and ringing need a capacitor in the circuit too (an RLC), where energy sloshes between the two storage elements.
Why does my relay release slowly with a flyback diode?
The diode lets the coil current circulate and decay with τ = L/R of the coil itself, which can be tens of milliseconds, and the armature holds until the current (and field) fades. A Zener in series with the diode raises the decay voltage and releases the relay faster, at the price of a controlled spike.
What limits the final current in a real coil?
The total resistance — supply, wiring and especially the winding's own resistance. An "ideal" inductor on an ideal supply would draw infinite current in the steady state; every real circuit is saved by its resistance, which is why R appears in both τ and Imax.
How much energy is stored once the current settles?
U = ½LImax² — 6 J for Example 1's circuit. The companion Inductor Energy Solver on this site runs that relationship backwards, finding L from a measured energy or the current a given energy implies.