Physics & Chemistry
RC Time Constant Calculator (Charging, Discharging, Cut-off Frequency)
Calculate how quickly a capacitor charges or discharges through a resistor. A circuit with a resistor and a capacitor, called an RC circuit, does not change voltage instantly: when a voltage is applied, the capacitor charges along an exponential curve, quickly at first and then more and more slowly. The pace of this curve is set by the time constant, tau, equal to the resistance in ohms multiplied by the capacitance in farads, giving a time in seconds. After one time constant, a charging capacitor reaches about 63.2% of the supply voltage; after five, it is above 99%, which engineers usually treat as fully charged. A discharging capacitor follows the mirror image, falling to about 36.8% after one time constant. RC circuits are used for timers, delays, debouncing switches, smoothing power supplies and simple low-pass and high-pass filters, whose cut-off frequency is 1 divided by 2π times R times C. Enter the resistance, the capacitance in microfarads, the voltage and the elapsed time in milliseconds. For 1,000 ohms and 100 microfarads, the time constant is 100 milliseconds, and a 5-volt supply charges the capacitor to about 3.16 volts in that time.
How to use this calculator
- Enter the resistance in ohms.
- Enter the capacitance in microfarads.
- Enter the supply or starting voltage.
- Enter the elapsed time in milliseconds and choose charging or discharging.
- Read the voltage, time constant and cut-off frequency.
Exponential behaviour
Because the charging current depends on the voltage difference between the supply and the capacitor, the current shrinks as the capacitor fills, so the voltage curve flattens. In theory the capacitor never quite reaches the supply voltage.
The same exponential law describes many natural processes, such as cooling and radioactive decay, each with its own time constant.
Using RC circuits
In a 555 timer, the time constant sets the length of pulses. In audio and sensors, RC filters remove high-frequency noise or block slow drifts.
For switch debouncing, a time constant of a few milliseconds is usually enough to smooth out contact bounce.
Formula & method
Time constant τ = R × CCharging: V(t) = V × (1 − e^(−t/τ))Discharging: V(t) = V × e^(−t/τ)Cut-off frequency f꜀ = 1 ÷ (2πRC); about 5τ to charge or discharge fullyTime constant τ = R × C (ohms × farads = seconds); 1 µF = 10⁻⁶ F. Charging from 0 V: V(t) = V × (1 − e^(−t/τ)). Discharging: V(t) = V₀ × e^(−t/τ). After 1τ: 63.2% charged or 36.8% left; 2τ: 86.5%; 3τ: 95.0%; 4τ: 98.2%; 5τ: 99.3%. Cut-off (−3 dB) frequency of a first-order RC filter: f꜀ = 1 ÷ (2πRC). Charge stored Q = C × V. The formulas assume ideal components; real capacitors have leakage and tolerance.
Worked example
1 kΩ, 100 µF, 5 V, after 100 ms
- τ = 1,000 × 0.0001 = 0.1 s = 100 ms.
- Charging: V = 5 × (1 − e⁻¹) = 5 × 0.632 = 3.16 V.
- Cut-off frequency = 1 ÷ (2π × 0.1) ≈ 1.59 Hz.
Answer: τ = 100 ms; capacitor at about 3.16 V; full charge in about 500 ms.
Frequently asked questions
What is the RC time constant?
The product of resistance and capacitance, in seconds.
How much does a capacitor charge in one time constant?
About 63.2% of the supply voltage.
How long does it take to fully charge?
About five time constants.
What is the cut-off frequency of an RC filter?
1 ÷ (2πRC).
How much voltage is left after one time constant of discharge?
About 36.8% of the starting voltage.
What units should I use?
Ohms and farads give seconds; this calculator accepts microfarads and milliseconds.