Skip to content
FiftyOhm
Esc
  • Air-core coilSingle-layer air-core solenoid inductance from Nagaoka's exact coefficient, compared with Wheeler's formula. Solve for the number of turns for a target inductance.Components & magnetics
  • Attenuator PadsResistor values for Pi, T, bridged-T and minimum-loss L-pad attenuators, with unequal impedances, power dissipation per resistor and E24/E96 rounding.Couplers, dividers & attenuators
  • CoaxCoax Z0, capacitance and inductance per length, velocity factor, loss, exact TE11 cutoff and breakdown voltage. Solve for D, d or εr from Z0.Transmission lines
  • CPW / GCPWCoplanar waveguide and grounded CPW impedance, effective permittivity, dispersion, delay and loss by conformal mapping. Solve for centre width or gap.Transmission lines
  • dBm ↔ W ↔ VConvert RF power between dBm, dBW, watts, Vrms, Vpeak, Vpp, dBµV and dBmV for any system impedance. Instant, accurate, with formulas.Fundamentals & conversions
  • Differential pairEdge-coupled microstrip and stripline differential impedance, Z0 even/odd, common-mode impedance, coupling and delay. Solve for spacing or width from Zdiff.Transmission lines
  • Filter OrderMinimum filter order to meet a passband/stopband attenuation mask for Butterworth, Chebyshev and elliptic responses, with the attenuation actually achieved.Filters
  • Free-space path lossFree-space path loss from the Friis equation, received power with antenna gains, and a far-field check. Solve for distance or frequency.Propagation & link budget
  • L / Pi / T MatchingDesign lumped L, Pi and T matching networks between complex source and load impedances. Both L solutions, loaded-Q Pi/T, component values and bandwidth.Matching & Smith chart
  • LC Filter DesignerDesign lumped LC ladder filters: Butterworth, Chebyshev or Bessel; low-pass, high-pass, band-pass, band-stop to order 10, with exact insertion loss and group delay.Filters
  • LED ResistorSeries resistor for one LED or a string of LEDs: exact value, next standard E12/E24/E96 value, actual current, resistor power and recommended rating.Electronics basics

RC and RL Time Constant Calculator (Cutoff Frequency, Rise Time)

Time constant τ of an RC or RL circuit, its −3 dB cutoff frequency, the 10–90 % rise time and the time to charge to any percentage of the final value.

Inputs

For charging (or current build-up in an RL circuit). For discharging to y % of the start, enter 100 − y.

Results

Time constant(τ)
1
Cutoff frequency (−3 dB)(fc)
159.15
Rise time, 10 % to 90 %(tr)
2.1972
Time to reach the target %(tx)
2.3026
Five time constants (99.3 % settled)(5τ)
5
Cutoff angular frequency(ωc)
1000

Formulas

τRC=RC,τRL=LR\tau_{RC} = R C,\qquad \tau_{RL} = \frac{L}{R}fc=12πτ,ωc=1τf_c = \frac{1}{2\pi\tau},\qquad \omega_c = \frac{1}{\tau}v(t)=Vfinal(1−e−t/τ)  ⇒  tx=−τln⁡(1−x)v(t) = V_\mathrm{final}\left(1 - e^{-t/\tau}\right) \;\Rightarrow\; t_x = -\tau\ln(1 - x)tr=t90%−t10%=τln⁡9≈2.2 τ,trfc=ln⁡92π≈0.35t_r = t_{90\%} - t_{10\%} = \tau\ln 9 \approx 2.2\,\tau,\qquad t_r f_c = \frac{\ln 9}{2\pi} \approx 0.35

What this calculator does

When you switch on a supply connected to a resistor and a capacitor, the capacitor does not charge instantly. The current through the resistor is largest at first, and shrinks as the capacitor voltage rises towards the supply. The voltage follows an exponential curve:

v(t)=Vfinal(1−e−t/τ).v(t) = V_\mathrm{final}\left(1 - e^{-t/\tau}\right).

The time constant τ\tau (the Greek letter tau) sets how fast this happens. For a resistor and capacitor it is τ=RC\tau = RC; for a resistor and inductor, where the current builds up the same way, it is τ=L/R\tau = L/R. With R in ohms, C in farads and L in henries, τ\tau comes out in seconds.

Some milestones are worth remembering:

TimeReached (charging)Left (discharging)
1τ1\tau63.2 %36.8 %
2τ2\tau86.5 %13.5 %
3τ3\tau95.0 %5.0 %
5τ5\tau99.3 %0.7 %

Engineers usually say a circuit has "settled" after about 5τ5\tau. The calculator also turns any percentage into a time by rearranging the curve: to reach a fraction xx of the final value takes

tx=−τln⁡(1−x).t_x = -\tau \ln(1 - x).

Rise time and cutoff frequency

The rise time is the time to go from 10 % to 90 % of the final value. From the formula above, 90 % is reached at τln⁡10\tau\ln 10 and 10 % at τln⁡(10/9)\tau\ln(10/9), so the difference is exactly tr=τln⁡9t_r = \tau \ln 9, which is about 2.2τ2.2\tau.

The same circuit used as a filter (a resistor in series, the capacitor across the output) passes low frequencies and blocks high ones. Its cutoff frequency, where the output has fallen to 1/21/\sqrt{2} of the input (−3 dB), is

fc=12πτ.f_c = \frac{1}{2\pi\tau}.

Combining the two gives a useful rule: tr×fc=ln⁡9/2π≈0.35t_r \times f_c = \ln 9 / 2\pi \approx 0.35. A circuit with a 1 µs rise time has a bandwidth of roughly 350 kHz, and the other way round. The rule is exact only for a single RC or RL stage.

How to use solve-for

To design for a given cutoff frequency, keep the capacitor you have, click ⇄ Solve next to the resistance, choose Cutoff frequency (−3 dB) and type the frequency you want. You can solve the capacitance the same way, or, for an RL circuit, the inductance. Solving the target percentage for Time to reach the target % tells you how far the capacitor will have charged after a given time.

Worked example

A 10 kΩ resistor charges a 100 nF capacitor from a step input. These are the calculator's defaults.

  1. Time constant: τ=RC=10 000 Ω×100×10−9 F=10−3\tau = RC = 10\,000\ \Omega \times 100 \times 10^{-9}\ \text{F} = 10^{-3} s = 1 ms.
  2. Cutoff frequency: fc=1/(2π×0.001)f_c = 1/(2\pi \times 0.001) = 159.15 Hz.
  3. Rise time: tr=ln⁡9×1 mst_r = \ln 9 \times 1\ \text{ms} = 2.1972 ms (the "2.2τ" rule gives 2.2 ms).
  4. Time to 90 %: t=−1 ms×ln⁡(1−0.9)=ln⁡10t = -1\ \text{ms} \times \ln(1 - 0.9) = \ln 10 ms = 2.3026 ms.
  5. Settled (5τ): 5 ms.

The angular cutoff frequency ωc=1/τ\omega_c = 1/\tau is 1000 rad/s.

For an RL example, choose RL, set 1 mH and 100 Ω: τ=L/R\tau = L/R = 10 µs and fcf_c = 15.915 kHz.

Accuracy and validity

The exponential curve is exact for an ideal resistor and an ideal capacitor or inductor, driven by an ideal voltage step. Real circuits differ in predictable ways:

EffectWhat happens
Source resistanceAdds to R and lengthens τ. Include it in R.
Capacitor toleranceElectrolytic capacitors are often −20/+80 % or ±20 %, so τ is only approximate. Film and C0G ceramics are much closer.
Capacitor leakageA leaky capacitor never reaches the full supply voltage; matters for timers with megohm resistors.
Inductor resistanceThe winding resistance adds to R.
Load on the outputAnything connected across the capacitor changes both the time constant and the final value.

Practical notes

  • Debouncing a switch. An RC of 10 kΩ and 1 µF (τ\tau = 10 ms) smooths out contact bounce, which lasts a few milliseconds.
  • Reset circuits. A microcontroller reset pin often uses an RC so the chip starts only after the supply is stable: several τ after power-up.
  • Inductors and switches. Breaking the current in an inductor suddenly creates a large voltage spike (v=L di/dtv = L\,di/dt). Always give the current a path, such as a diode across a relay coil.
  • Units. Megohms with microfarads give seconds; kilohms with microfarads give milliseconds; kilohms with nanofarads give microseconds.

References

  1. P. Horowitz and W. Hill, The Art of Electronics, 3rd ed., Cambridge University Press, 2015, §1.4.2 (RC circuits: V and I versus time) and §1.7.1 (RC filters, −3 dB point).
  2. W. H. Hayt, J. E. Kemmerly and S. M. Durbin, Engineering Circuit Analysis, 8th ed., McGraw-Hill, 2012, ch. 8 (basic RL and RC circuits).