Skip to content
Electronics

RC Time Constant Calculator

Calculate the RC time constant (τ = R × C), capacitor charge/discharge timing and first-order cutoff frequency. Explore how resistor and capacitor choices affect delay and filtering; use component tolerances and circuit loading when selecting real values.

RC Time Constant & Filtering

The time constant τ (tau) determines how fast an RC circuit charges/discharges. At 5τ, the capacitor is 99.3% charged. Use this for debouncing switches, low-pass filtering, power-on delays, and audio filter design. Also calculates the -3dB cutoff frequency for AC circuits.

TimeVτ5τ63%99%

Charging curve shows voltage rise to 63% at τ and 99% at 5τ

10 000 Ω = 10 kΩ

Common RC values

Debounce: 10 kΩ + 100 nF = 1 ms

Audio LPF: 10 kΩ + 1 μF = 15.9 Hz

RF decoupling: 100 Ω + 100 pF = 15.9 MHz

Time Constant τ

1.00 ms

Charge to 63.2% (1τ)
1.00 ms
Charge to 86.5% (2τ)
2.00 ms
Full charge ≈ 99% (5τ)
5.00 ms
-3 dB cutoff frequency
159.15 Hz

τ = R × C  ·  fc = 1 / (2π × R × C)

The RC time constant

When a capacitor charges through a resistor, its voltage rises along an exponential curve. The time constant sets the speed:

τ = R × C (ohms × farads = seconds)

10 kΩ and 100 µF give τ = 1 s. 10 kΩ and 100 nF give τ = 1 ms.

Charge and discharge percentages

TimeCharging (% of supply)Discharging (% remaining)
1 τ63.2 %36.8 %
2 τ86.5 %13.5 %
3 τ95.0 %5.0 %
4 τ98.2 %1.8 %
5 τ99.3 %0.7 %

Charging: V(t) = Vs × (1 − e^(−t/τ)). Discharging: V(t) = V₀ × e^(−t/τ). After five time constants the capacitor is considered fully charged or discharged.

Cutoff frequency

The same R and C form a first-order filter with cutoff fc = 1 ÷ (2π R C). Signals above fc are attenuated (low-pass) or passed (high-pass). Use the RC filter calculator for the full frequency response.

Practical uses

  • Button debouncing: 10 kΩ and 100 nF (τ = 1 ms) smooth contact bounce; feed the result into a Schmitt-trigger input for clean edges.
  • Power-on reset delay: an RC on an enable or reset pin holds a chip in reset until the supply is stable. The ESP32's EN pin uses 10 kΩ and 1 µF (τ = 10 ms).
  • PWM to analog: a low-pass RC on a PWM pin gives a DC voltage proportional to duty cycle. Choose τ much longer than the PWM period, for example 10 kΩ and 10 µF on 490 Hz Arduino PWM.
  • Timing with a 555: the 555's timing interval is set by an RC network.

The calculation assumes an ideal capacitor and source. Electrolytic capacitors can be −20 % / +80 % off their marked value, so measure if timing matters.

Formula, inputs and worked examples

Formula and method

τ = RC; first-order cutoff frequency fc = 1/(2πRC); an ideal step reaches about 63.2% after one time constant.

Worked examples

A 10 kΩ and 100 nF network

τ = R × C = 10,000 × 0.0000001 = 1 ms. The cutoff frequency is fc = 1 / (2π × 0.001) = 159 Hz, and the output is close to its final value after 5τ = 5 ms.

Smoothing a PWM signal into a voltage

R = 1 kΩ and C = 10 µF: τ = 10 ms and fc = 15.9 Hz. A PWM frequency of 1 kHz or higher is far above the cutoff, so the output settles to an average voltage proportional to the duty cycle, with a small ripple.

Inputs

  • Resistance — Unit: Ω
  • Capacitance — Unit: F

What the result means

  • Time constant — Unit: s
  • Cutoff frequency — Unit: Hz

Practical tips and common mistakes

  • After 1τ the capacitor reaches 63.2% of the final voltage, then 86.5% after 2τ, 95% after 3τ, 98.2% after 4τ and 99.3% after 5τ.
  • Electrolytic capacitors can be off by ±20%, so treat the result as an estimate and measure when timing matters.
  • For a button debounce filter, aim for a time constant of a few milliseconds: longer than typical contact bounce but short enough to feel instant.
  • Anything connected to the node, such as a microcontroller input or a following filter stage, changes the effective R or C.

Assumptions and limitations

  • Use ohms, farads, and hertz consistently.
  • At about 5τ an ideal RC step is near steady state, but tolerances and loading affect real circuits.
  • The cutoff formula assumes a first-order RC network.

Frequently asked questions

What is the RC time constant?

It is R × C, the time for a capacitor charging through a resistor to reach about 63 % of the supply voltage. With R in ohms and C in farads the answer is in seconds.

How many time constants to fully charge a capacitor?

About five. After 5τ the capacitor is at 99.3 % of the supply voltage, which is treated as fully charged in practice.

How do I calculate the RC time constant with µF and kΩ?

Multiply kΩ by µF and the answer comes out in milliseconds: 10 kΩ × 100 µF = 1000 ms = 1 s.

What RC values should I use to debounce a button?

10 kΩ with 100 nF (τ = 1 ms) suits most tactile switches. For noisy switches use 10 kΩ with 1 µF (10 ms), or debounce in software.

Learn more

More Electronics