Home / Tools / RC time constant and filter calculator

RC time constant and filter calculator

Enter a resistor and capacitor to get the time constant, how long the capacitor takes to charge, and the cut-off frequency when it's used as a filter.

  • Electronics tool
  • Runs in your browser
  • Tested 19 November 2026
  • Sources
Use k, M, µ (or u), n and p, for example 4k7 or 100n.
See how much a low-pass filter passes at this frequency.

The time constant

The time constant, τ (tau), is simply R × C. With R in ohms and C in farads, τ comes out in seconds. When a capacitor charges through a resistor, it reaches 63.2 % of the final voltage after one τ, 86.5 % after two, 95 % after three, and is treated as fully charged after five, at 99.3 %. Discharging follows the same curve in reverse.

The voltage while charging from 0 V is V(t) = Vs (1 − e−t/τ). Rearranged, the time to reach a fraction x of the supply is t = −τ ln(1 − x), so 90 % takes 2.3 τ.

As a filter

A resistor followed by a capacitor to ground is a first-order low-pass filter. Its cut-off frequency is fc = 1 / (2πRC). At that frequency the output is 3 dB down, about 70.7 % of the input voltage, and lags it by 45°. Above it, the output falls by 20 dB for every tenfold increase in frequency. Swap the resistor and capacitor and you have a high-pass filter with the same cut-off.

Worked example. 10 kΩ and 10 nF give τ = 100 µs and a cut-off of 1.59 kHz. A 10 kHz signal passes at about 16 % of its amplitude, which is −16 dB.

Where it differs in real life

  • Whatever the filter drives loads it. A low-impedance load in parallel with the capacitor lowers the output and shifts the cut-off, so buffer it with an op-amp if needed.
  • The source's own resistance adds to R.
  • Capacitor tolerance moves everything. Ceramic capacitors with X7R or Y5V dielectrics also lose capacitance with DC bias voltage.

Watch the charging curve and the frequency response move in the RC charging and RC filter simulators.

Sources

Where the formulas and figures on this page come from. We test every tool against worked examples from these before publishing.

  • First-order RC circuit equations, standard circuit theory