RC Filter Time Constant Calculator
- Cutoff frequency
- Hz
- Result
- Resistance
- 1000 Ω
- You entered
- Capacitance
- 0.000001 F
- You entered
This calculator computes the RC time constant (τ) for a resistor–capacitor circuit. You enter the resistance in ohms and the capacitance in farads, and it returns the time constant in seconds, along with the cutoff frequency in hertz. The time constant tells you how quickly the capacitor charges or discharges through the resistor, and it is the single most important number for predicting the behavior of any RC filter.
Formula
The RC time constant is the product of resistance and capacitance:
τ = R × C
- τ (tau) – time constant in seconds (s)
- R – resistance in ohms (Ω)
- C – capacitance in farads (F)
The cutoff frequency (the −3 dB point) is derived from the same values:
fc = 1 / (2πRC)
where fc is in hertz (Hz). Both formulas assume an ideal resistor and capacitor with no parasitic inductance or leakage.
Worked Example
Using the default values from the calculator: R = 1000 Ω, C = 1 µF (0.000001 F).
- Multiply resistance by capacitance: 1000 × 0.000001 = 0.001 s.
- The time constant τ = 1 ms.
- For cutoff frequency: 1 / (2π × 1000 × 0.000001) = 1 / 0.0062832 ≈ 159.15 Hz.
The calculator shows τ = 0.001000 s and fc = 159.15 Hz, matching the hand calculation.
What the Time Constant Actually Means
When a DC voltage is suddenly applied to an RC circuit, the capacitor voltage does not jump instantly. It rises exponentially toward the source voltage. After one time constant (τ), the capacitor reaches about 63.2% of the final voltage. After 5τ, it is over 99% charged, which is why engineers often treat 5τ as “fully charged” for practical purposes.
For a discharging capacitor, the same numbers apply in reverse: after τ, the voltage drops to 36.8% of its initial value; after 5τ, it is essentially zero. These percentages come from the exponential function e−t/τ and are independent of the specific R and C values.
How to Choose R and C for a Filter
The RC pair forms a first-order low-pass or high-pass filter depending on where you take the output.
- Low-pass – output across the capacitor. Passes low frequencies, attenuates high frequencies. Cutoff frequency fc = 1/(2πRC).
- High-pass – output across the resistor. Passes high frequencies, blocks DC and low frequencies. Same cutoff formula.
To set a desired cutoff frequency, rearrange the formula: RC = 1/(2πfc). Then pick a convenient capacitor value (e.g., 0.1 µF) and solve for R. For example, a 1 kHz low-pass filter: RC = 1/(2π×1000) ≈ 1.59×10−4 s. With C = 0.1 µF, R = 1.59×10−4 / 1×10−7 = 1590 Ω (use a standard 1.6 kΩ).
Remember that the load connected to the filter output can change the effective resistance. If you drive a low-impedance load, the filter’s cutoff shifts. Buffer the output with an op-amp if you need a precise response.
Common Mistakes and Unit Mix-ups
The most frequent error is mixing units. Capacitance is often given in microfarads (µF), nanofarads (nF), or picofarads (pF). Always convert to farads before multiplying. For example, 0.1 µF = 0.1×10−6 F = 1×10−7 F. If you plug 0.1 directly into the formula, you get a time constant 106 times too large.
Another common mistake is confusing the time constant with the cutoff period. The cutoff frequency corresponds to a period of 2πτ, not τ. At fc, the output amplitude is 70.7% of the input, and the phase shift is 45°, not 63.2% voltage step.
Rounding too early can also skew results, especially when calculating cutoff frequency from a rounded time constant. Keep extra digits until the final step.
Limits of the Simple RC Model
The ideal RC formula assumes a perfect resistor and capacitor. Real components have parasitic inductance (especially wire-wound resistors and electrolytic capacitors), equivalent series resistance (ESR), and leakage. At very high frequencies, these parasitics dominate and the filter no longer behaves as a simple first-order system.
Also, the time constant formula applies to linear, time-invariant circuits. If the capacitor is nonlinear (e.g., a varactor) or the resistor changes with voltage (e.g., a thermistor), the exponential response is distorted. For most signal filtering, the simple model is accurate enough, but for precision timing circuits you should account for component tolerances (typically ±5% or ±10% for resistors, ±20% for electrolytic capacitors).
Practical Applications
RC time constants appear in many everyday circuits:
- Debouncing switches – an RC low-pass filter smooths out contact bounce so a microcontroller reads a clean signal.
- Audio tone controls – simple treble and bass cut filters use RC networks to shape frequency response.
- Timing circuits – the classic 555 timer uses an RC pair to set pulse width and oscillation frequency.
- Power supply smoothing – the RC time constant determines how quickly a filter capacitor charges after each rectifier pulse.
- Coupling and bypass – high-pass RC filters block DC bias between amplifier stages while passing the AC signal.
In each case, knowing τ helps you predict rise time, settling time, and frequency response without building the circuit.
Frequently Asked Questions
What is the difference between time constant and cutoff frequency?
The time constant τ is the time for the capacitor to charge to 63.2% of the final voltage. The cutoff frequency fc = 1/(2πτ) is the frequency at which the output amplitude drops to 70.7% of the input. They are inversely related: a larger time constant gives a lower cutoff frequency.
How do I convert microfarads to farads?
Multiply by 10−6. For example, 4.7 µF = 4.7 × 10−6 F = 0.0000047 F. Similarly, 1 nF = 10−9 F and 1 pF = 10−12 F. Always do this conversion before using the formula.
Why does the capacitor charge to 63.2% after one time constant?
The charging equation is V(t) = Vfinal × (1 − e−t/τ). At t = τ, the exponent is −1, so the factor is 1 − e−1 ≈ 1 − 0.368 = 0.632. That 63.2% comes directly from the mathematical constant e.
Can I use this calculator for high-pass filters too?
Yes. The time constant is the same for low-pass and high-pass RC filters; only the output node changes. The cutoff frequency formula is identical. The calculator gives you τ and fc for any R and C, regardless of how you configure the filter.
What if my resistor is in kilohms?
Convert to ohms first. Multiply kilohms by 1000. For example, 10 kΩ = 10,000 Ω. If you enter 10 instead of 10000, the time constant will be 1000 times too small.
How accurate is the 5τ rule?
After 5τ, the capacitor voltage is within 0.67% of its final value (e−5 ≈ 0.0067). For most practical purposes, that is considered fully charged. If you need tighter accuracy, use 7τ (0.09% error) or 10τ (0.0045%).
Related
Formula used
in r | Resistance | Ω | 1000 | 0 in c | Capacitance | F | 0.000001 | 0 out tau | Time constant | s | r * c | 6 out fc | Cutoff frequency | Hz | 1 / (2 * pi * r * c) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.