RL Circuit Current Calculator (Transient Simulator)

JJ Ben-Joseph headshot JJ Ben-Joseph

TL;DR: This calculator follows the transient current i(t) in a series RL circuit after a constant DC voltage step. It shows the time constant τ = L/R, the DC steady current ifinal = V/R, and an RK4-generated current curve with magnetic-energy samples available for CSV download.

Series RL step-current calculation

A series resistor–inductor circuit carries current differently from a purely resistive circuit: when a DC source is switched on, the inductor opposes an instantaneous current change. This RL current calculator therefore traces a gradual rise or fall toward the circuit’s steady current, a behavior found in motor windings, solenoids, relays, and power-electronic loads.

This page represents an ideal series RL circuit connected to a constant voltage source at t = 0, with an optional initial current I₀. Select the integration interval Δt and the total duration T to set the plotted RL transient’s resolution and time span.

Series RL current simulation inputs

The RL transient calculation uses the following electrical quantities and timing controls:

Series RL step-response equation

For the series RL loop, Kirchhoff’s Voltage Law equates the applied step voltage to the inductor voltage and resistor voltage:

V = L di dt + Ri

For the current integration used by this RL simulator, that relationship becomes:

di/dt = (V − R·i) / L

Analytical RL current solution

With a constant voltage step, the series RL current also has this closed-form solution for checking the plotted transient:

i(t) = ifinal + (I₀ − ifinal)·e−t/τ

In this RL response:

After one RL time constant, current has completed about 63.2% of the change from I₀ to ifinal. At roughly , the ideal step response is very close to its final current, about 99.3% of the way through the change.

Using the RL current simulator

Use the controls to create and inspect a current trace for the particular series RL values you are evaluating:

  1. Enter V, R, L, and, if needed, an initial current I₀.
  2. Choose Δt small enough to resolve the RL change; Δt ≲ τ/100 is a useful starting point for a smooth plot.
  3. Set T to the time horizon of interest. A span of 3τ to 5τ usually makes the approach to steady current clear.
  4. Press Play to animate the stored RL samples, Pause to stop on a point, or Reset to return to the start.
  5. Use CSV to download the simulated time, current, and inductor-energy samples.

Reading RL transient results

The current plot and summary values describe distinct parts of the series RL response:

Worked example: default series RL current values

With the calculator’s default values—V = 5 V, R = 2 Ω, L = 0.5 H, and I₀ = 0 A—the DC step response has:

Useful analytical current checkpoints for those same RL inputs are:

A duration of at least about 1.25 s shows this current nearly reaching its 2.5 A steady level. The default T = 0.5 s instead displays the first two time constants, where the current has reached about 86.5% of its final value.

Quick series RL comparisons

These input changes show how the current curve’s rate and final DC level respond in a series RL circuit:

Change What happens to τ = L/R? What happens to ifinal = V/R? What you see on the plot
Increase L Increases (slower) No change Slower rise/decay, same final level
Increase R Decreases (faster) Decreases Settles faster but to a lower plateau
Increase V No change Increases Same shape vs time, higher plateau
Nonzero I₀ No change No change Curve starts at I₀ and moves toward V/R

Series RL model assumptions and limitations

This calculator isolates the ideal DC step response of a series RL circuit, so compare its current trace with a physical circuit while keeping these limits in mind:

RL Circuit Current FAQ

What does the RL circuit time constant mean?

For this series RL step response, τ = L/R determines how rapidly the current moves from its initial value toward V/R. After one τ, it has covered about 63.2% of that change; after about five time constants, it is very close to the DC steady current.

Why does the RL simulation time step Δt matter?

This RL current simulator solves di/dt in discrete intervals. A smaller Δt gives the RK4 integration more points along the transient, which is particularly useful when L/R is short or when examining the current and magnetic-energy trace closely.

Can this RL current calculator analyze AC circuits?

No. The calculator models a constant DC voltage step applied to an ideal series RL circuit. Sinusoidal AC RL analysis requires impedance and phase calculations rather than this time-domain step-response model.

Enter parameters and press Play.
Simulation summary will appear here.

Flux Finesse Mini-Game

Practice throttling an RL stage to stay inside the current window. Drag or tap the canvas (or use arrow keys) to steer the switch duty and keep the inductor hugging its target band as load pulses and resistance shifts roll in.

Inductor Current 0.00 A
Target Band
Duty Command 0%
Scenario Nominal
Slide horizontally to modulate duty. Stay within ±Δi to build streaks.