RC time constant calculator
Find the time constant and charging or discharging voltage after a chosen time. Your inputs stay on your device.
Set up your task
Starting local processing
Ready. Processing stays in this browser.
2 Your result
Your result updates in this browser. Check your input if the result looks unexpected.
How to use RC time constant calculator
Calculate how quickly an ideal resistor-capacitor circuit charges or discharges after a step in voltage. Use the time constant to inspect what happens at the start and several time constants later.
- Enter Resistance (Ω), Capacitance (µF), Elapsed time (ms), Voltage step or initial charge (V).
- Use the units shown beside the inputs and compare the first result with your own calculation.
- Check the substitution and read the assumptions below before applying the result to a different exercise.
Supported inputs and limits
Use an ideal first-order RC circuit and constant resistance and capacitance. Use ohms, microfarads and milliseconds.
How it works
The time constant is τ = RC. Resistance is in ohms and capacitance in farads if τ is in seconds. With the chosen inputs in ohms and microfarads, divide their product by 1,000 to get milliseconds. The ratio t/τ is then dimensionless and can be used in an exponential.
For charging from zero, the capacitor voltage is V × (1 − e^(−t/τ)), where V is the step voltage. For discharge from initial voltage V towards zero, the capacitor voltage is V × e^(−t/τ). Both cases assume the same equivalent resistance and capacitance.
The example uses 10,000 Ω and 10 µF, giving 100 ms. At t = τ, the voltage after charging from zero is about 63.2% of the step. A discharging capacitor retains about 36.8%. The percentages add to 100% because the two calculations are complementary for these specific initial and final voltages.
If a circuit diagram includes additional resistors or sources, first work out the equivalent resistance seen by the capacitor. An oscilloscope trace can include other behaviour, such as component tolerances and measurement loading. Here the result is for one ideal time constant with no inductor or switching transient beyond the supplied step.
Electrical engineering reference
Example
The pre-filled example starts with “Time constant: 100 ms”.
- Resistance (Ω)
- 10000
- Capacitance (µF)
- 10
- Elapsed time (ms)
- 100
- Voltage step or initial charge (V)
- 5
Time constant: 100 ms Charging voltage at elapsed time: 3.16060279 V Discharging voltage at elapsed time: 1.83939721 V τ = RC = 10,000 Ω × 10 µF Charge from zero: V(1 − e^(−t/τ)). Discharge from V: V e^(−t/τ).
Questions about RC time constant calculator
Does the capacitor finish charging after one time constant?
No. It reaches about 63.2% of the voltage step at one time constant. After five it is close to its final voltage.
What does changing resistance do?
At a fixed capacitance, doubling resistance doubles the time constant, so the voltage changes more slowly.
What happens at time zero?
Charging starts at zero volts under the example assumptions. Discharge starts at the entered initial voltage.
Related tools
Last updated