RC Time Constant Calculator
Enter a resistance and a capacitance to get the time constant tau, the cutoff frequency of the filter they make, the 10% to 90% rise time and the half-life of a discharge. Switch to Voltage at a time to find the voltage across the capacitor after a given time while it charges or discharges, or to Time to a share to find how long it takes to reach a percent of the final or starting voltage. A table lists the first five time constants. Everything runs in your browser.
| Time | Seconds | Charged to | Left |
|---|---|---|---|
| 1 tau | 1 s | 63.21% | 36.79% |
| 2 tau | 2 s | 86.47% | 13.53% |
| 3 tau | 3 s | 95.02% | 4.98% |
| 4 tau | 4 s | 98.17% | 1.83% |
| 5 tau | 5 s | 99.33% | 0.67% |
The time constant of a resistor and a capacitor is tau = R x C, in seconds when R is in ohms and C is in farads. While the capacitor charges toward a supply Vs, its voltage is Vs x (1 - e^(-t / tau)), which is 63.2% after one time constant and 99.3% after five. While it discharges, the voltage is V0 x e^(-t / tau), which is 36.8% after one time constant and 0.7% after five. The cutoff frequency of a first-order RC filter is 1 / (2 pi R C), where the output is down by 3 dB. The rise time from 10% to 90% is ln 9, about 2.197, time constants. This is the ideal model: it ignores the leakage of the capacitor, the resistance of the source and the load on the output. A µF value is entered in microfarads. Everything runs in your browser.
Related Tools
[6 suggestions]Ohm's Law Calculator: Voltage, Current, Resistance and Power
Enter any two of voltage, current, resistance and power to get the other two with Ohm's law, and add resistors in series or in parallel.
Student ToolsVoltage Divider Calculator: Output Voltage and Resistor Values
Find the output of a resistor voltage divider, with the effect of a load, or find the second resistor for the output you want, with the closest standard value.
Student ToolsLED Resistor Calculator: Series Resistor for an LED or Several LEDs
Find the series resistor for an LED from the supply voltage, the LED forward voltage and the current, with the standard value, the real current and the heat.
Student ToolsResistor Color Code Calculator: 4, 5 and 6 Band Resistors
Read the value, tolerance and range of a 4, 5 or 6 band resistor from its colors, or type a resistance and see the color bands to look for.
Student ToolsScientific Notation Converter
Convert a number to scientific, engineering, E and standard notation, round to significant figures and see the SI prefix, with every digit kept exact.
Student ToolsBattery Life Calculator: Runtime from mAh, Ah or Wh and the Load
Work out how long a battery runs a load from its capacity in mAh, Ah or Wh and the load in mA, A or W, with cells in series and parallel, sleep time and Peukert.
Student ToolsAbout the RC Time Constant Calculator
The time constant of a resistor and a capacitor is tau = R x C, in seconds when R is in ohms and C is in farads, so 10 kilohms and 100 microfarads make exactly 1 second. While the capacitor charges toward a supply voltage Vs from empty, its voltage is Vs x (1 - e^(-t / tau)): 63.2% of Vs after one time constant, 86.5% after two, 95.0% after three, 98.2% after four and 99.3% after five. While it discharges from V0 the voltage is V0 x e^(-t / tau), which leaves 36.8%, 13.5%, 5.0%, 1.8% and 0.7% after the same times. The time to reach a share p of the final voltage is -tau x ln(1 - p), and the time for a discharge to fall to a share p is -tau x ln(p). The rise time from 10% to 90% is tau x ln 9, about 2.197 time constants, and the half-life of a discharge is tau x ln 2, about 0.693. The cutoff frequency of a first-order RC low-pass or high-pass filter is 1 / (2 pi R C), where the output is 3 dB below the input. The model is ideal: it ignores the leakage of the capacitor, the resistance of the source, the load on the output and the tolerance of the parts, which for an electrolytic capacitor can be large, so use the result as an estimate and measure when it matters. Resistance can be in ohms, kilohms or megohms, and capacitance in picofarads, nanofarads, microfarads, millifarads or farads.
What is the RC time constant?▾
It is tau = R x C, in seconds for ohms and farads. It is the time a capacitor takes to charge to 63.2% of the supply voltage, or to fall to 36.8% of its starting voltage when it discharges through the resistor.
How long does a capacitor take to charge fully?▾
In theory it never quite does. After 5 time constants it has reached 99.3% of the supply, and many designs treat that as full. After 1 time constant it has reached 63.2%.
How do I find the cutoff frequency of an RC filter?▾
Use f = 1 / (2 pi R C). For 10 kilohms and 10 nanofarads that is about 1.59 kHz. At that frequency the output is 3 dB below the input, and it falls off beyond it.
How do I find the voltage across the capacitor after a time t?▾
While charging from empty it is Vs x (1 - e^(-t / tau)). While discharging from V0 it is V0 x e^(-t / tau). Enter the supply or starting voltage and the time in the Voltage at a time mode.
How long does the capacitor take to reach a given voltage?▾
Use the Time to a share mode. Enter the percent of the final voltage you want, such as 90, and it gives -tau x ln(1 - 0.9), which is about 2.3 time constants. For a discharge it uses the share left.