RC Time Constant Calculator
Calculators · Added
A resistor feeding a capacitor produces the most useful curve in electronics: an exponential approach that is 63% complete after one time constant and treated as finished after five. That one constant, tau, is simply R times C — and it sets the delay of a timer, the corner of a filter, the debounce on a switch and the rise time of a signal edge. Enter the two components and this gives tau, the whole curve, the time to any charge level you name, and the filter frequency the same pair produces.
How to use the rc time constant calculator
- 1Enter the resistance and pick its unit — ohms, kilohms or megohms.
- 2Enter the capacitance and pick its unit; most real capacitors are microfarads or nanofarads.
- 3Optionally enter a percentage to find the time to reach exactly that charge level.
- 4Press Calculate.
- 5Read tau at the top, the curve in the table, and the corner frequency if the pair is being used as a filter.
Examples
A slow timing circuit
- Input
- 10 kΩ and 100 µF
- Result
- τ = 1 s, effectively charged after 5 s, corner frequency 0.159 Hz
A one-second time constant is easy to observe with an LED and makes the exponential visible.
An audio-band filter
- Input
- 1 kΩ and 100 nF
- Result
- τ = 100 µs, corner frequency 1.592 kHz
The same pair read as a filter rather than a timer — the constant and the corner are the same fact twice.
Time to a specific level
- Input
- 1 MΩ and 1 µF, asking for 99%
- Result
- 4.605 s — a little over four and a half time constants
Reaching 99% takes ln(100) time constants, which is why five is the conventional stopping point.
About the rc time constant calculator
One constant, four circuits
The reason the RC pair turns up everywhere is that a great many problems reduce to needing something to happen a little later, or needing a signal to change no faster than a certain rate. Those are the same problem, and a resistor with a capacitor solves both.
As a timer, it delays a threshold crossing: charge a capacitor through a resistor into a comparator or a logic input, and the output changes state a predictable time after the input does. As a filter, it attenuates whatever changes faster than it can follow — a low-pass if the output is taken across the capacitor, a high-pass if taken across the resistor. As a debounce, it does both at once, smoothing the millisecond chatter of a mechanical switch contact into a single clean edge.
The fourth use is the one nobody chooses: every real signal path has stray capacitance and some series resistance, so every trace is an unintended RC filter. That is why a long cable rounds off fast digital edges, and why probe capacitance changes the very waveform an oscilloscope is trying to measure.
Reading the curve properly
The table on this page lists the conventional points, and the useful thing about them is that they are proportional rather than absolute. After one time constant, 63.2% of the gap has been covered. After the next, 63.2% of what remained is covered, leaving 13.5%. The process is memoryless in the same way radioactive decay is: how far the capacitor has already charged does not affect how quickly it covers the next fraction of what is left.
That is why five time constants became the working definition of finished. It leaves 0.67% of the gap, which is below the tolerance of the components involved and below the noise on most supplies. Three constants, at 95%, is often close enough for a timer; seven, at 99.9%, is the figure to use if a measurement is about to be taken.
Discharge is the same curve upside down, and the last column of the table shows it: a capacitor that has charged to 86.5% in two time constants will fall to 13.5% of its starting voltage in the same two. In a circuit that repeatedly charges and discharges, both halves matter, and a design that allows five constants to charge but only one to discharge will drift upwards until it stops working.
Frequently asked questions
Why is the capacitor never fully charged?
Where does the figure 63.2% come from?
How does a time constant become a filter frequency?
Does the supply voltage change the timing?
Why does my built circuit not match the calculated time?
Related tools
Capacitor Code Calculator
Calculators
Decode the three-digit marking on a capacitor into pF, nF and µF at once.
LC Resonant Frequency Calculator
Calculators
Resonant frequency of an LC circuit, or the inductor or capacitor to reach one.
Voltage Divider Calculator
Calculators
Find the output of a two-resistor divider, or the resistor that hits a target voltage.