RC time constant calculator
This RC time constant calculator finds τ = RC for a resistor and capacitor, and τ = L/R for a resistor and inductor. It also gives the capacitor voltage and current at any time while charging or discharging, with the curve drawn, and the time a capacitor needs to reach a given percentage of its final voltage.
RC time constant calculator: τ = RC or τ = L/R
RC time constant calculator for the voltage at time t
RC time constant calculator: time to reach a percentage
How to use the RC time constant calculator
The first panel computes the time constant: pick an RC or an RL circuit and enter the components, or enter a target τ to get the capacitor you need. The second panel gives the voltage (or, for an inductor, the current) at any moment t while the circuit charges or discharges, and draws the exponential curve with your point marked. The third gives the time to reach a percentage, such as 90 % or 99 % charged, or to fall to 10 % or 1 % when discharging. Resistance, capacitance and inductance each have a unit menu (Ω, kΩ, MΩ; F, µF, nF; H, mH, µH), and times can be in s, ms, µs or minutes. The RC time constant calculator shows every step with the numbers substituted.
RC time constant calculator formulas
When a capacitor charges through a resistor from a DC source, the current is largest at the start and falls as the capacitor voltage approaches the supply. The result is an exponential curve whose speed is set by one number, the time constant τ. The equations below are those of the OpenStax University Physics section on RC circuits and, for inductors, the OpenStax section on RL circuits:
Charging: V(t) = Vs (1 − e−t/τ)
Discharging: V(t) = V0 e−t/τ
Current: I(t) = (Vs/R) e−t/τ
RL circuit: τ = L / R, I(t) = (V/R)(1 − e−t/τ)
Solving the charging equation for time gives t = −τ ln(1 − V/Vs), and for discharging t = −τ ln(V/V0); the third panel of the RC time constant calculator uses these. If the capacitor already holds some voltage V0 when charging starts, the general form V(t) = Vs + (V0 − Vs) e−t/τ applies, which the second panel uses. In an RL circuit the roles swap: the inductor current rises exponentially toward V/R while the inductor voltage decays.
RC time constant calculator worked example
A 10 kΩ resistor and a 100 µF capacitor are connected to a 5 V supply; the capacitor starts empty. These are the default values of the RC time constant calculator.
- Time constant: τ = 10,000 Ω × 100 × 10⁻⁶ F = 1.000 s. Five time constants are 5 s, and the 10–90 % rise time is 2.197 s.
- Voltage after t = 2 s: t/τ = 2, e−2 = 0.13534, so V = 5 × (1 − 0.13534) = 4.323 V, which is 86.47 % of the supply.
- Current at that moment: (5 − 4.323)/10,000 = 67.67 µA, down from 500 µA at t = 0.
- Time to reach 90 %: t = −1 s × ln(1 − 0.90) = 1 s × 2.3026 = 2.303 s.
The −3 dB cutoff frequency of the same R and C used as a low-pass filter is 1/(2π × 1 s) = 0.1592 Hz.
Time constant table: percent charged after nτ
These percentages, which the RC time constant calculator applies, are the same for every RC or RL circuit, because they depend only on t/τ. Each value is 1 − e−n for charging and e−n for discharging.
| Time | Charged (% of supply) | Discharged (% of start left) |
|---|---|---|
| 0.5τ | 39.3 % | 60.7 % |
| 1τ | 63.2 % | 36.8 % |
| 2τ | 86.5 % | 13.5 % |
| 2.303τ | 90.0 % | 10.0 % |
| 3τ | 95.0 % | 4.98 % |
| 4τ | 98.2 % | 1.83 % |
| 4.605τ | 99.0 % | 1.00 % |
| 5τ | 99.3 % | 0.674 % |
Engineers, and this RC time constant calculator, usually treat a circuit as fully charged or settled after 5τ. For a 1 % accuracy, 4.6τ is enough; for 0.1 %, about 6.9τ.
Practical uses of an RC time constant calculator
RC time constants set the timing of 555 timers and simple delay circuits, the debounce time of a push button (for example 10 kΩ and 1 µF give 10 ms), the reset delay of a microcontroller, the smoothing of a PWM signal into a DC level, and the cutoff of first-order low-pass and high-pass filters. In power electronics they tell you how long a capacitor bank keeps a dangerous voltage after switch-off through its bleeder resistor: a 1,000 µF capacitor with a 100 kΩ bleeder has τ = 100 s, so it needs 4.6τ = 460 s, about 7.7 minutes, to fall to 1 % of its voltage. RL time constants describe how fast the current builds in a relay coil, a solenoid or a motor winding. To size the capacitors themselves, combine them in series or parallel, or find their stored energy, use the Capacitor Calculator; for the resistor, the Ohm’s Law Calculator and the Parallel Resistor Calculator help.
Common mistakes with an RC time constant calculator
- Mixing prefixes. 10 kΩ × 100 µF is 10⁴ × 10⁻⁴ = 1 s, not 1,000 s. Choose the unit in each menu and the RC time constant calculator converts.
- Thinking the capacitor is full after one τ. After 1τ it holds only 63.2 % of the supply voltage.
- Using the wrong resistance. τ uses the total resistance the capacitor sees, including the source resistance and any load in parallel (Thevenin resistance).
- Using the same τ for charge and discharge when the paths differ. If a capacitor charges through one resistor and discharges through another, each direction has its own τ.
- Ignoring tolerances. Electrolytic capacitors are often −20 %/+20 % or wider, so a timer can easily be 20 % off; use film capacitors for accurate timing.
Exponential change with a constant time scale also describes radioactive decay; the Half-Life Calculator covers that case, and the half-life of an RC discharge is τ ln 2 = 0.693τ.
Related calculators
More circuit tools: electrical calculators, including the Voltage Divider Calculator and the LED Resistor Calculator.
- Capacitor Calculator
- Ohm’s Law Calculator
- Parallel Resistor Calculator
- Voltage Divider Calculator
- Half-Life Calculator
- All electrical calculators
Frequently asked questions
What is the RC time constant?
It is τ = R × C, the time a capacitor charging through a resistor needs to reach 63.2 % of the supply voltage, or to fall to 36.8 % when discharging. With R in ohms and C in farads, τ is in seconds.
How long does a capacitor take to fully charge?
In theory it never reaches 100 %, but after 5τ it is at 99.3 %, which is considered fully charged. For 10 kΩ and 100 µF, τ = 1 s, so about 5 s.
How do I calculate the voltage on a capacitor at a given time?
While charging from zero, V = Vs (1 − e^(−t/τ)); while discharging, V = V0 e^(−t/τ). The RC time constant calculator does this in its second panel and draws the curve.
What is the time constant of an RL circuit?
τ = L / R, the RL mode of the RC time constant calculator. After one τ the current has risen to 63.2 % of its final value V/R. For 100 mH and 10 kΩ, τ = 10 µs.
How is the time constant related to the cutoff frequency?
For a first-order RC or RL filter, the −3 dB cutoff frequency is fc = 1/(2πτ). The first panel of the RC time constant calculator gives both.
Is this RC time constant calculator free?
Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.