First order circuit equations describe how voltage or current changes over time in circuits with one energy-storing element—a capacitor (RC circuits) or an inductor (RL circuits). You enter the circuit parameters (resistance, capacitance or inductance, and initial conditions), and the calculator returns the time constant and the transient response value at a given time. This page explains the standard equations, how to use them, and what the results mean.
Formula
The behavior of a first-order RC circuit is governed by the exponential decay or growth of voltage across the capacitor. The general equation for the voltage across the capacitor at time \( t \) is:
\( v(t) = V_f + (V_0 – V_f) \, e^{-t/\tau} \)
where:
- \( V_0 \) = initial voltage across the capacitor (volts, V)
- \( V_f \) = final (steady-state) voltage (V)
- \( \tau \) = time constant (seconds, s) = \( R \times C \) for RC circuits
- \( R \) = resistance (ohms, Ω)
- \( C \) = capacitance (farads, F) – note that the calculator input is in microfarads (μF), so \( C = \text{input} \times 10^{-6} \) F
- \( t \) = time after the switch changes (s)
For an RL circuit, the same form applies to current: \( i(t) = I_f + (I_0 – I_f) e^{-t/\tau} \), with \( \tau = L/R \), where \( L \) is inductance in henries (H). The calculator above is set for RC voltage, but you can adapt it by replacing capacitance with inductance and voltage with current.
Worked Example
Using the default inputs: \( R = 1000 \, \Omega \), \( C = 100 \, \mu F = 100 \times 10^{-6} \, F = 1.00 \times 10^{-4} \, F \), \( t = 0.1 \, s \), \( V_0 = 5 \, V \), \( V_f = 0 \, V \) (discharging).
Step 1: Compute the time constant:
\( \tau = R \times C = 1000 \times 1.00 \times 10^{-4} = 0.1000 \, s \)
Step 2: Compute the exponential factor:
\( e^{-t/\tau} = e^{-0.1/0.1} = e^{-1} \approx 0.367879 \)
Step 3: Apply the voltage equation:
\( v(0.1) = 0 + (5 – 0) \times 0.367879 = 1.8394 \, V \)
The calculator rounds to 4 decimal places, giving \( v = 1.8394 \, V \). The percent change toward final is \( (1 – 0.367879) \times 100 = 63.21\% \), matching the known result that after one time constant, the value moves 63.2% of the way from initial to final.
Assumptions
- The circuit is linear and time-invariant (constant R, L, C).
- The switch action is ideal (instantaneous).
- There is no external energy source other than the initial condition and final value.
- The capacitor is initially charged to \( V_0 \) or the inductor has initial current \( I_0 \).
- For RC, the capacitor is ideal (no leakage); for RL, the inductor has zero resistance.
When to Use These Equations
First-order equations apply whenever a circuit has exactly one independent energy-storage element. Common situations include:
- Charging or discharging a capacitor through a resistor (e.g., timing circuits, filters).
- Current buildup or decay in an inductor with a series resistor (e.g., relay coils, DC motor windings).
- Analyzing step response of RC low-pass or high-pass filters.
- Estimating switching times in digital logic (RC delays).
If a circuit has two capacitors or two inductors (or one of each), it becomes second-order, and these equations do not apply directly.
How to Read the Result
The time constant \( \tau \) tells you how fast the circuit responds. After one \( \tau \), the value reaches 63.2% of the way from initial to final; after 5τ, it is within 0.67% of final (often considered “settled”). The voltage at time \( t \) is the instantaneous value you would measure across the capacitor. The percent change is useful for understanding how close the circuit is to steady state.
For example, if you need a capacitor to charge to 99% of a battery voltage, you must wait about 4.6τ (since \( 1 – e^{-4.6} \approx 0.99 \)).
Common Mistakes
- Forgetting to convert microfarads to farads: \( 1 \mu F = 10^{-6} \) F. Using 100 instead of \( 100 \times 10^{-6} \) gives a time constant off by a factor of a million.
- Confusing initial and final values. For a charging circuit, \( V_0 \) is the starting voltage (often 0) and \( V_f \) is the source voltage; for discharging, \( V_0 \) is the charged voltage and \( V_f \) is 0.
- Using the wrong sign in the exponent. The exponent is always negative: \( e^{-t/\tau} \).
- Rounding too early. Keep at least 4-5 significant figures in intermediate steps, especially when \( t \) is close to \( \tau \).
- Assuming the equation gives current when it gives voltage. For RC, the standard equation is for capacitor voltage; current is \( i(t) = \frac{V_0 – V_f}{R} e^{-t/\tau} \).
Limits of the Formula
The exponential equation assumes ideal components. Real capacitors have leakage resistance, real inductors have series resistance, and wires have parasitic inductance. At very high frequencies or very short times, parasitic effects dominate. The formula also assumes the circuit is driven by a step change (a switch) and that the final value is constant. If the source is sinusoidal or time-varying, you need AC analysis or differential equations, not this simple transient form.
Frequently Asked Questions
What is the time constant in an RC circuit?
The time constant \( \tau \) is the product of resistance and capacitance: \( \tau = R \times C \). It has units of seconds and represents the time it takes for the voltage to change by about 63.2% of the total change. For example, with 1 kΩ and 100 μF, \( \tau = 0.1 \) s, as in the example above.
How do I calculate the time constant for an RL circuit?
For an RL circuit, \( \tau = L/R \), where \( L \) is inductance in henries and \( R \) is resistance in ohms. The current equation is identical in form to the RC voltage equation, with initial and final currents replacing voltages.
Why is 63.2% used as the standard for one time constant?
Because \( 1 – e^{-1} \approx 0.632 \). The exponential function naturally gives this value after one time constant. It is a convenient reference point because the math is simple, and after five time constants (99.3%) the circuit is considered fully settled.
What if my circuit has two resistors and one capacitor?
You can often reduce the resistors to a single equivalent resistance using series/parallel combinations, as seen from the capacitor’s terminals. For charging, use Thevenin’s theorem to find the equivalent source and resistance. The first-order equation still applies as long as there is only one capacitor.
Does the formula work for current in an RC circuit?
Yes, but you must use the derivative of the voltage. For a discharging capacitor, \( i(t) = -\frac{V_0}{R} e^{-t/\tau} \). The magnitude decays with the same time constant. The calculator here gives voltage; to get current, divide the voltage across the resistor by R, respecting sign conventions.
Can I use this for AC circuits?
No. This transient analysis applies only to step changes (DC switching). For sinusoidal AC, you need phasor analysis or the full differential equation with sinusoidal forcing. The time constant still appears in the transient part, but the steady-state response is sinusoidal.
When working with real circuits, always follow your lab method, the safety data sheet (SDS) and your supervisor. Double-check component values and polarity before connecting power.
Related
Formula used
in r | Resistance (R) | Ω | 1000 | 0 in c | Capacitance (C) | μF | 100 | 0 in t | Time (t) | s | 0.1 | 0 in v0 | Initial voltage (V0) | V | 5 | 0 in vf | Final voltage (Vf) | V | 0 | 0 out tau | Time constant (τ) | s | r * c / 1000000 | 6 out v | Voltage at time t | V | vf + (v0 - vf) * exp(-t / (r * c / 1000000)) | 4 out pct | Percent change toward final | % | (1 - exp(-t / (r * c / 1000000))) * 100 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Calcium Nitrate Boiling Point
- Cation Formula for Magnesium Nitrate0.0788 mol/L
- Potassium Nitrate Solubility in Water: Full Data25.9 g/100 mL
- Greenhouse Grade Potassium Nitrate: Uses & Rates0.2000 mol/L
- Molar Mass of KNO2: Formula & Calculation0.1373 mol/L
- Potassium Nitride Formula & How to Write It