RC & RL Filter and Time Constant Calculator
Time constant, cutoff frequency, step response and low- or high-pass gain and phase of an RC or RL circuit, plus the time to reach a voltage.
Use SI prefixes: 10k, 4k7, 100n, 10m (10 mH or 10 ms), 1M.
Output taken across the capacitor.
Ideal components, a stiff source and no load on the output. Computed in your browser.
How to use
- Choose RC or RL, and whether the output is the low-pass or the high-pass side.
- Enter R and C (or L) with prefixes such as 10k, 100n or 10m, the step voltage, a time, an optional target voltage and a frequency.
- Read the time constant, cutoff, step response and frequency response; click any value to copy it.
About this tool
ShowHide
Covers the two first-order circuits every electronics course starts with. Enter a resistor and a capacitor (RC) or an inductor (RL) and choose whether the output is taken as a low-pass or a high-pass filter; the tool gives the time constant τ (RC, or L/R), the cutoff frequency fc = 1/(2πτ) where the output is 3.01 dB down, and the 5τ time after which a step has settled to within 0.7 %. For a step of the voltage you give it returns the output at any moment — rising as V(1 − e^−t/τ) for a low-pass, decaying as V·e^−t/τ for a high-pass — and how long the output takes to reach a target voltage, or says that it never will. For a sine wave at a frequency you choose it gives the gain in decibels and as a ratio, the phase shift, the output amplitude, the reactance of the capacitor or inductor and the total series impedance. Which element the output is taken across is stated each time: the capacitor for an RC low-pass, the resistor for an RC high-pass and an RL low-pass, the inductor for an RL high-pass. Values accept SI prefixes (10k, 4k7, 100n, 10m for 10 mH, 1m for 1 ms). The results match a numerical integration of the circuit and scipy's frequency response. The model is ideal: it assumes a source with no internal resistance and no load on the output, so anything connected to the output becomes part of the circuit and moves the cutoff; real inductors have winding resistance and real capacitors leak and have ESR, which matter most at the extremes of frequency.
Frequently asked questions
What is the time constant?
The time for a step response to cover 63.2 % of the way to its final value (1 − 1/e). After 5 time constants it is within 0.7 %, which is usually treated as settled.
Why is the cutoff called the −3 dB point?
At fc the output amplitude is 1/√2 of the input, which is −3.01 dB, and the output power is half. The phase shift there is exactly 45°.
Which element is the output taken across?
RC low-pass: the capacitor. RC high-pass: the resistor. RL low-pass: the resistor. RL high-pass: the inductor. The tool states which for the settings you choose.
Why does my real circuit roll off at a different frequency?
A load on the output, or a source with its own resistance, adds to the circuit and moves the cutoff. Buffer the output or include the load in R to get the ideal result.
How steep is a first-order filter?
Well past the cutoff the gain falls by 20 dB per decade (6 dB per octave). For a sharper roll-off you need a higher-order filter.
Related tools
LC Resonance Calculator: Frequency, L, C & Q
Resonant frequency of an LC circuit, or the L or C for a target frequency, with reactance and impedance; add R for Q, bandwidth and −3 dB points.
Science & Engineering
Ideal Gas Law Calculator (PV = nRT)
Solve PV = nRT for pressure, volume, moles or temperature, with Pa/kPa/bar/atm/mmHg/psi, mL/L/m³, mol/mmol and K/°C/°F units.
Science & Engineering
Reactance & Resonance Calculator
Find capacitive reactance (Xc), inductive reactance (XL), or the LC resonant frequency, with pF–F, nH–H and Hz–GHz unit pickers.
Science & Engineering
555 Timer Calculator (Astable & Monostable)
Frequency, period, high and low time and duty cycle of a 555 astable, the pulse width of a monostable, or RA and RB for a target frequency with E24 values.
Science & Engineering
Doppler Effect Calculator
Calculate the frequency an observer hears when source or observer moves — set emitted frequency, wave speed and each velocity to get the shift.
Science & Engineering
Psychrometric Calculator (Moist Air Properties)
From dry bulb plus relative humidity, wet bulb, dew point or humidity ratio, get every moist-air property: enthalpy, specific volume, density and more.
Science & Engineering