AJ Designer

RC & RL Time Constant Calculator

Solution

Share:

RC Time Constant

The RC time constant equals resistance multiplied by capacitance. After one time constant, a charging capacitor reaches 63.2% of the supply voltage; after five time constants it is within 1% of full charge.

τ = R × C

Resistance from RC Time Constant

Rearrange τ = RC to find the resistor value required to hit a specific time constant with a known capacitor. Useful when picking a charging resistor for a known timing capacitor.

R = τ / C

Capacitance from RC Time Constant

Solve for the capacitor value that, combined with a known resistor, produces the desired time constant. Common when sizing decoupling, filter, or timing capacitors.

C = τ / R

RL Time Constant

The RL time constant equals inductance divided by resistance. After one time constant the current in an inductor reaches 63.2% of its steady-state value V/R; the same 1τ–5τ rules apply.

τ = L / R

Inductance from RL Time Constant

Find the inductor value needed for a target time constant with a known coil resistance. Useful when sizing energy-storage chokes in switch-mode supplies.

L = τ × R

Resistance from RL Time Constant

Solve for the series resistance required to produce a given RL time constant with a known coil. Useful when adding damping or current-limiting resistors to inductive loads.

R = L / τ

How It Works

A capacitor stores energy in its electric field; an inductor stores energy in its magnetic field. When either is connected through a resistor to a fixed voltage, the voltage across the capacitor (or current through the inductor) approaches its steady-state value along an exponential curve. The time constant τ — equal to R × C for an RC circuit and L / R for an RL circuit — is the time required to traverse 63.2% of the gap to steady state, and the energy storage element is essentially settled (within 1%) after about five time constants.

Example Problem

Design a simple debounce filter: a 1 kΩ resistor charges a 100 µF capacitor from a 5 V switched supply. How long does it take the capacitor to reach 5 V (within 1%), and what is the corresponding low-pass filter cutoff frequency? Then verify the analogous RL case: a 10 mH coil with 100 Ω of winding resistance.

  1. Identify the RC components: R = 1 kΩ = 1000 Ω and C = 100 µF = 1 × 10⁻⁴ F.
  2. Apply τ = R × C: τ = 1000 × 1 × 10⁻⁴ = 0.1 s = 100 ms.
  3. Apply the 63.2% rule: V_C(τ) = 5 × (1 − e⁻¹) ≈ 3.16 V at t = 100 ms.
  4. Apply the 99% rule: V_C(4.6τ) ≈ 4.95 V, i.e. the capacitor is effectively full at t ≈ 460 ms.
  5. Compute the corner frequency for use as a low-pass filter: f_c = 1 / (2π × 0.1) ≈ 1.59 Hz — perfect for filtering switch bounce in the 1–10 ms range.
  6. Cross-check the RL canonical case: L = 10 mH = 0.01 H, R = 100 Ω ⇒ τ = 0.01 / 100 = 1 × 10⁻⁴ s = 100 µs. The same 63.2 / 95 / 99% rules apply to the inductor current.

The 63.2% and 99% milestones are universal for first-order systems — they apply to any quantity whose rate of change is proportional to its distance from equilibrium, including capacitor voltage, inductor current, and even Newton's law of cooling.

When to Use Each Variable

  • Solve for τ (time constant)when you know R and C (or L and R) and need to predict how fast a transient settles — e.g., sizing a debounce filter or estimating coil rise time.
  • Solve for Rwhen you have a target time constant and a known capacitor or inductor — e.g., picking the charging resistor for a 555 timer or a snubber for an inductive load.
  • Solve for Cwhen you have a target RC time constant and a known resistor — e.g., choosing a timing capacitor in an oscillator or a hold-up cap on a power rail.
  • Solve for Lwhen you have a target RL time constant and a known coil resistance — e.g., sizing an energy-storage choke in a buck or boost converter.

Key Concepts

The 63.2% / 95% / 99% rules are universal to all first-order linear systems and follow directly from the exponential function: 1 − e⁻¹ ≈ 0.632, 1 − e⁻³ ≈ 0.950, 1 − e⁻⁴·⁶ ≈ 0.990. Conceptually the time constant plays the same role as the relaxation time in a damped mechanical oscillator — both describe how fast a system shrinks the gap to equilibrium. In filter design the same τ appears in the cutoff frequency f_c = 1 / (2π × τ): an RC low-pass filter with τ = 1.59 ms has a cutoff at 100 Hz, which is why audio coupling capacitors are chosen with the load resistance in mind.

Applications

  • Switch-debounce networks — an RC filter that smooths the contact-bounce transient in mechanical switches and rotary encoders
  • 555-timer and relaxation oscillator design — τ sets the frequency and duty cycle directly
  • Audio coupling and DC-block filters — the high-pass cutoff f_c = 1/(2πRC) sets the lowest frequency that passes through
  • Snubber networks — RC across an inductive load (relay, motor) damps the kickback transient when the load is switched off
  • Switch-mode power supply chokes — the L/R time constant of the inductor determines current ripple and start-up behavior
  • Defibrillator pulse-shaping circuits — large capacitors discharged through the patient's chest resistance follow an exponential V₀·e⁻ᵗ⁄τ profile
  • Sensor signal conditioning — RC low-pass filters smooth high-frequency noise on ADC inputs before sampling

Common Mistakes

  • Mixing units when computing τ — R must be in ohms, C in farads, and L in henries to give τ in seconds. A 100 µF capacitor is 1 × 10⁻⁴ F, not 100 F; a 10 mH coil is 0.01 H, not 10 H.
  • Using the series RC formula on a parallel RC circuit — the τ = RC rule applies to a capacitor charging through a series resistor. A capacitor in parallel with a resistor (e.g., across a power supply) discharges with τ = RC where R is the parallel-path resistance, but charging is driven by whatever upstream source impedance feeds it.
  • Forgetting the e⁻ᵗ⁄τ in V(t) — the time-constant value τ is the rate, not the absolute voltage. V(t = τ) is 63.2% of V_max for charging or 36.8% of V₀ for discharging, never the full value.
  • Assuming the capacitor or inductor is 'fully' charged or de-energized at t = τ — it's only 63.2% there. Use t = 5τ as the practical 'settled' point (within 1%).
  • Mixing up the RC and RL formulas — for capacitors τ = RC (multiply), for inductors τ = L/R (divide). The unit check is the giveaway: ohms × farads gives seconds, and henries / ohms also gives seconds.

Frequently Asked Questions

What is the RC time constant?

The RC time constant τ (tau) is the product of resistance and capacitance, τ = R × C. It is the time required for a charging capacitor to reach 63.2% of the applied voltage, or for a discharging capacitor to fall to 36.8% of its initial voltage. R is in ohms, C is in farads, and τ is in seconds.

What is the formula for the time constant?

For a resistor–capacitor (RC) circuit the time constant is τ = R × C. For a resistor–inductor (RL) circuit it is τ = L / R. In both cases τ is measured in seconds when the inputs use SI units (ohms, farads, henries).

How long until a capacitor charges up fully?

A capacitor never reaches the supply voltage exactly — the exponential charging curve approaches it asymptotically. In practice it is considered fully charged after about five time constants (5τ), at which point it is within 1% of the supply voltage. After one time constant it has reached 63.2%, after three it is at 95%, and after 4.6τ it crosses 99%.

What is the difference between RC and RL time constants?

An RC circuit stores energy in a capacitor's electric field; its time constant is τ = R × C. An RL circuit stores energy in an inductor's magnetic field; its time constant is τ = L / R. Both produce the same exponential approach-to-steady-state curve and obey the same 63.2 / 95 / 99% milestone rules — only the variable being tracked changes (capacitor voltage for RC, inductor current for RL).

What is the 63.2% rule?

After one time constant, a first-order RC or RL circuit has covered 63.2% of the distance from its starting value to its steady-state value. The exact figure comes from 1 − e⁻¹ ≈ 0.6321, where e ≈ 2.71828 is Euler's number. The same rule produces 86.5% at 2τ, 95.0% at 3τ, 98.2% at 4τ, and 99.3% at 5τ.

How do I calculate the cutoff frequency of an RC filter?

The −3 dB cutoff frequency of a first-order RC low-pass or high-pass filter is f_c = 1 / (2π × R × C) = 1 / (2π × τ). A 1 kΩ resistor with a 100 nF capacitor gives τ = 100 µs and f_c ≈ 1.59 kHz. For an RL filter the same formula applies with τ = L / R.

How are RC time constants used in 555 timers?

In a 555 astable oscillator the output period is set by two RC charge / discharge cycles: T = ln(2) × (R_A + 2R_B) × C ≈ 0.693 × (R_A + 2R_B) × C. The same exponential charging behavior described by τ = RC drives the timing, just with the comparator thresholds at ⅓ V_CC and ⅔ V_CC instead of the usual 63.2%.

Why does my inductor current take time to build up?

Inductors oppose changes in current by generating a back-EMF proportional to dI/dt. When voltage is first applied across an RL circuit, all the supply voltage initially drops across the inductor (zero current flows), and the current then ramps up exponentially with time constant τ = L / R until it reaches its steady-state value I = V / R. A large L or a small R both extend this rise time.

Reference: Horowitz, P. & Hill, W. (2015). The Art of Electronics (3rd ed.). Cambridge University Press. See also Halliday, Resnick & Walker, Fundamentals of Physics, chapters on RC and RL circuits.

Time Constant Formulas

The first-order time constant τ measures how fast a resistor–capacitor (RC) or resistor–inductor (RL) circuit settles toward its steady-state value. The two governing equations are:

τRC = R × C
τRL = L / R

Where:

  • τ — time constant, in seconds (s)
  • R — resistance, in ohms (Ω)
  • C — capacitance, in farads (F)
  • L — inductance, in henries (H)

On a charging RC circuit the capacitor voltage follows V(t) = Vmax · (1 − e−t/τ); on a discharging circuit it follows V(t) = V0 · e−t/τ. The corresponding RL equations track the inductor current with the same exponential shape.

RC and RL Circuit Diagrams

RC and RL first-order circuits with exponential response curvesV_sRCRC circuitτ = R × CV_C(t) = V_s · (1−e^(−t/τ))V_stV_sRLRL circuitτ = L / RI_L(t) = (V_s/R)·(1−e^(−t/τ))I_maxt

Top: a capacitor charges through a series resistor toward Vs. Bottom: an inductor builds current through a series resistor toward Vs/R. Both transients are exponential with the same time-constant shape — only the storage element differs.

Worked Example — RC debounce filter

How long does a 1 kΩ × 100 µF RC network take to settle?

  • R = 1 kΩ, C = 100 µF
  • τ = R × C = 1000 × 1e-4 = 0.1 s = 100 ms
  • At 1τ (100 ms) the capacitor is at 63.2% of the supply voltage.
  • At 4.6τ (≈ 460 ms) it crosses 99% — effectively settled.

Result: The output is steady within 1% after about half a second. The corresponding low-pass cutoff is fc = 1 / (2π × 0.1) ≈ 1.59 Hz — well below typical switch-bounce frequencies.

Worked Example — RL motor coil

What is the current rise time for a 10 mH coil with 100 Ω resistance?

  • L = 10 mH = 0.01 H, R = 100 Ω
  • τ = L / R = 0.01 / 100 = 1 × 10⁻⁴ s = 100 µs
  • At 1τ (100 µs) coil current is at 63.2% of its steady state.
  • At 5τ (500 µs) it is within 1% of I = V / R.

Result: The coil reaches operational current in about half a millisecond — much faster than the RC filter above because L / R is six orders of magnitude smaller than the example R × C.

Reference: Horowitz, P. & Hill, W. (2015). The Art of Electronics (3rd ed.). Cambridge University Press. See also Halliday, Resnick & Walker, Fundamentals of Physics, chapters on RC and RL circuits.

Related Calculators

Related Sites