RC Time Constant Calculator
Compute τ = R·C, the −3 dB cutoff frequency, and the charge / discharge curve of a resistor–capacitor pair. Useful for filters, debouncers, and timing circuits.
Resistance R
Capacitance C
Supply voltage Vs
Time constant
τ = 1 ms
fc = 159 Hz (−3 dB cutoff)
Charge curve
Practical Examples
- Button debouncer — 10 kΩ pulled up to 3.3 V with a 100 nF cap to ground gives τ = 1 ms. Settles in ~5 ms — long enough to ignore mechanical bounce (typically < 2 ms), short enough to feel instant to the user.
- Audio coupling cap — 1 µF in series with a 10 kΩ input gives fc ≈ 16 Hz, comfortably below the audible band. Bumping the cap to 10 µF drops fc to 1.6 Hz for sub-bass headroom on a hi-fi input stage.
- 555 monostable pulse — The 555's one-shot uses the same R·C product: t = 1.1 · R · C. For a 1 s output pulse with C = 10 µF, pick R ≈ 91 kΩ. The RC time constant here is exactly what sets the pulse width.
How it works
When a capacitor charges through a resistor toward a supply voltage, it follows an exponential curve: v(t) = Vs · (1 − e−t/τ). The time constant τ = R·C is the time to reach about 63.2 % of the final voltage — a single number that captures how fast the circuit responds.
Discharging mirrors the same shape: v(t) = V0 · e−t/τ. After one τ the cap has dropped to 36.8 % of its starting voltage; after five τ, it's effectively zero (0.7 %). Designers usually treat 5τ as “fully charged / discharged” in practice.
The same R and C also define a first-order low-pass filter with cutoff fc = 1 / (2π·R·C). Below fc the cap passes signals through; above fc, R and C divide the signal down at 20 dB/decade. Swap their positions and you get a high-pass filter with the same cutoff.
Design rules of thumb
- Treat 5τ as "settled" — The error after five time constants is 0.7 %, well below the noise floor of most analog circuits. For 12-bit precision or better, allow 8–10τ.
- Target τ ≈ 1 ms for debouncing — Long enough to filter mechanical bounce (usually < 2 ms), short enough that the user can't feel the delay between press and response.
- Pick R first, then C — Resistor values span 10 Ω → 10 MΩ comfortably; capacitor selection is narrower (pF to µF in standard parts), so let R do the fine-tuning.
- Watch source impedance — The R in τ = R·C is the total path resistance — including the driver's output impedance and any series elements, not just the labelled resistor.
- Capacitor tolerance dominates — Ceramic caps swing ±10–20 %; electrolytics are worse. Don't design RC timing that needs better than ±5 % accuracy from the cap alone.
- Low-pass for noise, high-pass for DC blocking — A small RC at an ADC input cleans up sampling noise; a coupling cap in front of an amplifier blocks DC offset between stages.
FAQ
Why 63.2 %?
It's 1 − 1/e. After one time constant, the capacitor has charged through (1 − e^(−1)) ≈ 0.632 of the remaining gap to the supply. The number falls out of the exponential, not from a design choice.
Is "fully charged" really 5τ?
At 5τ the cap is at 99.3 % of the supply. Most circuits treat that as "done." Precision applications — sample-and-hold front-ends, fast ADCs — may wait 7τ (99.9 %) or longer.
What is the −3 dB cutoff frequency?
The frequency at which a low-pass RC attenuates the signal by 3 dB (≈ 0.707×). It's the point where the resistor's voltage drop equals the capacitor's reactance: R = 1 / (2π·fc·C), so fc = 1 / (2π·R·C).
Can I use an RC for long delays (seconds)?
Yes, but tolerance gets ugly. A 1 s delay from a 10 µF electrolytic at ±20 % and a 1 % resistor is really 0.8–1.2 s. For accurate timing, use a 555 monostable with a film capacitor, or just a microcontroller.
Does it matter whether R or C comes first?
For the time constant, no — τ = R·C either way. For the filter behaviour, yes: R-then-C-to-ground is a low-pass filter; C-then-R-to-ground is a high-pass filter. They share the same fc.
What about the capacitor's ESR?
ESR (equivalent series resistance) adds to R in τ = (R + ESR)·C. Negligible for ceramic and film caps; can matter for large electrolytics where ESR is several ohms.
Related Tools
Ohm's Law Calculator
Enter any two of V, I, R, P — get the other two instantly. Includes power triangle diagram.
↳ V = 12 V · I = 240 mA · R = 50 Ω
Resistor Color Code Decoder
Decode 4-band, 5-band, and 6-band resistors. Reverse lookup: type a value, get the color bands.
↳ 4.7 kΩ · ±5% · Brown Black Red Gold
LED Resistor Calculator
Required resistor, nearest standard value, and power rating from supply voltage and LED specs. Color presets included.
↳ 5 V · Red LED (2 V, 20 mA) → 150 Ω, ¼ W