How to Calculate RC Time Constants
Learn how to calculate the RC time constant (τ = RC) for charging and discharging circuits, and how to use it to design timers, filters, and debounce circuits.
What the RC Time Constant Represents
The RC time constant (τ, tau) is the time it takes for a capacitor in series with a resistor to charge to approximately 63.2% of the supply voltage, or to discharge to approximately 36.8% of its initial voltage. The formula is simply τ = R × C, where R is resistance in ohms and C is capacitance in farads, giving τ in seconds. A 10 kΩ resistor (10,000 Ω) paired with a 100 µF capacitor (0.0001 F) gives τ = 10,000 × 0.0001 = 1 second.
Charging Equation
The voltage across the capacitor during charging follows an exponential curve: V(t) = Vs × (1 − e^(−t/τ)), where Vs is the supply voltage and e is Euler's number (≈2.718). At t = τ, V = Vs × (1 − e⁻¹) ≈ 0.632 × Vs. At t = 2τ, V ≈ 0.865 × Vs. At t = 5τ, V ≈ 0.993 × Vs, which is considered full charge for practical purposes. The charging current starts at its maximum (I = Vs/R) and decays exponentially as the capacitor voltage rises.
Discharging Equation
When a charged capacitor discharges through a resistor, the voltage follows: V(t) = V0 × e^(−t/τ), where V0 is the initial voltage. At t = τ, the voltage has fallen to V0/e ≈ 0.368 × V0 (36.8%). After 5τ the voltage is less than 1% of its initial value. The current during discharge starts at I = V0/R and decays at the same rate as the voltage. Knowing these equations allows you to design circuits that wait a predictable time before triggering.
Using RC Circuits as Timers
To find the time at which the capacitor reaches a specific threshold voltage Vth during charging, rearrange the charging equation: t = −τ × ln(1 − Vth/Vs). For a 555 timer in monostable mode, the timing capacitor charges to 2/3 of Vcc, so t = −τ × ln(1 − 2/3) = τ × ln(3) ≈ 1.1 × R × C. To produce a 1-second delay pulse with Vcc = 5 V, choosing C = 10 µF requires R = 1 / (1.1 × 0.00001) ≈ 91 kΩ; the nearest standard value is 91 kΩ.
RC Filters: Low-Pass and High-Pass
RC circuits act as frequency-selective filters. A low-pass filter (resistor in series, capacitor to ground) passes low frequencies and attenuates high frequencies. The −3 dB cutoff frequency is fc = 1 / (2π × R × C). A high-pass filter (capacitor in series, resistor to ground) passes high frequencies. At fc, the output is 3 dB below input (about 70.7% of the input amplitude). For a low-pass filter with R = 1 kΩ and C = 160 nF: fc = 1 / (2π × 1000 × 0.00000016) ≈ 1 kHz.
Switch Debouncing with RC Circuits
Mechanical switches produce multiple brief contact closures (bounce) when pressed, which digital circuits interpret as multiple button presses. An RC network on the switch output filters out these transitions by making the voltage change slowly relative to the bounce duration. A typical debounce RC with τ = 5–10 ms (e.g., 10 kΩ and 1 µF, τ = 10 ms) smooths the bounce. A Schmitt trigger (e.g., 74HC14) with hysteresis then converts the slow RC ramp back into a clean digital edge.
Choosing R and C Values for a Target Time Constant
To design for a specific τ, use τ = R × C and solve for either R or C given the other. Practical resistor values range from 1 Ω to 10 MΩ; practical capacitor values range from 1 pF to 10,000 µF. Very large resistors paired with large capacitors can achieve time constants of minutes or more. Leakage current in electrolytic capacitors limits accuracy for very long time constants — film capacitors are preferred for precision timing. Also consider that resistor tolerance (±1–5%) and capacitor tolerance (±5–20%) multiply to set the worst-case τ error.
Try These Calculators
Put what you learned into practice with these free calculators.
Related Guides
How to Calculate Capacitance
Understand how to calculate capacitance, read capacitor markings, combine capacitors in series and parallel, and use capacitance in timing and filter circuits.
How to Calculate Resistor Values and Color Codes
Learn how to read resistor color codes and calculate resistance values using the standard 4-band and 5-band color code system with real formulas and examples.
How to Calculate Voltage Dividers
Learn how to design a resistive voltage divider using the voltage divider formula. Covers output voltage calculation, loading effects, and practical design guidelines.