Formula: RC Time Constant Calculator
- : Series resistance
- : Capacitance
- : Time constant
- : First-order corner frequency
Explore capacitor charging speed and RC low-pass cutoff from resistance and capacitance.
Estimate charge timing with a 5 V ideal source.
For an ideal charge step, the capacitor reaches about 63.2% of its final voltage after one time constant.
The capacitance field takes farads, so convert first. One microfarad is 0.000001 F and one nanofarad is 0.000000001 F, which is also the smallest value the field accepts. If the result comes out a million times longer than you expected, you almost certainly typed the microfarad value straight in. Resistance is plain ohms, so a 10 kΩ resistor goes in as 10000 with no prefix.
Because they are the same quantity. After exactly one time constant, 1 - e^(-1) is 0.632, so the capacitor sits at 63.2% of its final voltage. The page lists it separately so you can see it next to the 90% figure in the same units. On the default both read 10 ms, while the 90% time is 23.03 ms.
In the ideal model, never exactly. Each time constant closes 63.2% of the remaining gap, so the voltage creeps towards the supply forever. Five time constants brings it to about 99.3%, which is the usual working definition of fully charged. The page shows this as its settled line: 50 ms on the default 10 kΩ and 1 µF circuit.
Yes, provided it discharges through the same resistance. The voltage then falls as Vs times e^(-t/RC), dropping to 36.8% of its starting value after one τ and to 10% after the 2.3τ shown in the 90% line. If the discharge path has a different resistance, for example a load or a bleed resistor, calculate a separate time constant with that value.
Every point on the charging curve is a fixed fraction of the supply. Doubling the voltage doubles the voltage at every moment, so the time to reach 63.2% or 90% is unchanged. The supply only rescales the chart. If you need the time to a particular voltage, divide that voltage by the supply to get a fraction, then use t = -RC ln(1 - fraction).
Yes. Taking the output across the capacitor gives a low-pass filter, and taking it across the resistor gives a high-pass filter, and both have their minus 3 dB point at 1/(2πRC). On the default parts that is 15.92 Hz. What differs is which side of that frequency passes through, not where the corner sits.
At the corner frequency the output amplitude is about 70.7% of the input, which is half the power. It is not a hard cut. Signals a little above the corner still get through, only somewhat reduced. A single RC stage keeps falling at roughly a factor of ten in amplitude for each tenfold increase in frequency, so strong attenuation needs distance from the corner.
If it is a noticeable fraction of your resistor, yes. The capacitor sees the total resistance in its charging path, so a source with its own output resistance makes the real time constant longer than the page predicts. Add the two and enter the sum. A microcontroller pin or op-amp output is usually small enough to ignore against a resistor in the kilohm range.
Many circuits act at a threshold below 63.2%. A logic input that switches at half the supply responds at about 0.693τ, so roughly 6.93 ms on the default rather than 10 ms. Capacitance tolerance and DC bias loss on ceramic parts can also make the real value smaller than marked, which shortens every time on the page.
Yes. Only the product RC enters the formulas, so 10 kΩ with 1 µF and 1 kΩ with 10 µF give identical times and corner frequencies. Choose between them on practical grounds. The lower resistance draws ten times more charging current from the source, while the larger capacitor costs more, takes more board space and usually leaks more.
With its defaults, the calculator takes a 10 kΩ resistor feeding a 1 µF capacitor from a 5 V step. Multiply the two and you get τ = RC = 0.01 seconds, shown as a time constant of 10.00 ms.
Everything else on the result is built from that single number. The time to 63.2% is the time constant itself, 10 ms. The time to 90% is 23.03 ms. A settled line, at five time constants and 99.3%, reads 50 ms. The corner frequency is 15.92 Hz.
Notice that the resistance field wants plain ohms and the capacitance field wants plain farads. A 1 µF part is typed as 0.000001, not as 1. Type 1 there and you have asked for a one farad capacitor, which on 10 kΩ gives a time constant of hours rather than milliseconds. Most wrong answers on this page come from that one slip, so look at the result's unit first. The time lines switch between nanoseconds, microseconds, milliseconds and seconds to suit the value, and the corner frequency moves between mHz, Hz, kHz and MHz the same way. If you expected milliseconds and got seconds, or a corner in mHz, count the zeros in the capacitance.
Behind the summary sits the curve Vc(t) = Vs(1 - e^(-t/RC)). The chart draws it from zero out to five time constants, in half-τ steps, using the supply voltage you entered.
The shape is fixed. Only the time axis stretches. After half a time constant the capacitor is at about 39% of the supply. After one τ it is at 63.2%. After two it is near 86.5%, after three about 95%, and after five about 99.3%. On the default those marks fall at 5, 10, 20, 30 and 50 ms.
There is no point at which the ideal capacitor is fully charged. Each further time constant closes 63.2% of whatever gap is left. That is why engineers talk about "five tau" as practically settled: the remaining error is under one percent, which is below the tolerance of most capacitors anyway.
The curve starts steep. In the first instant the full supply voltage sits across the resistor, so the charging current is Vs/R, 0.5 mA on the default. As the capacitor voltage rises, the voltage across the resistor falls, the current falls with it, and charging slows. That self-slowing behaviour is the whole reason the curve is exponential.
Solving the charging equation for a chosen fraction gives t = -RC ln(1 - fraction). For 63.2% that fraction makes the logarithm exactly one, so t equals τ. For 90% the logarithm is ln 10, about 2.3026, and the calculator multiplies τ by that. Hence 23.03 ms on the default, shown to four significant figures.
The same rule lets you work out any other threshold by hand. Half the supply is reached at 0.693τ, about 6.93 ms here. That figure matters for logic inputs, which often switch near the middle of the supply range, so an RC delay feeding a gate input has a delay close to 0.7RC rather than RC.
The 10% to 90% rise time used on oscilloscopes is about 2.2τ, because you subtract the short time to reach 10% from the 90% figure. On the default that is roughly 22 ms. The page shows the time from zero to 90%, which is slightly longer, so do not compare its 90% line directly with a scope's rise time readout.
The third line, fc = 1/(2πRC), treats the very same resistor and capacitor as a low-pass filter. Take the output across the capacitor, feed in a sine wave, and the corner frequency is where the output has fallen to about 70.7% of the input, or minus 3 dB. On the default that is 15.92 Hz.
Below the corner, signals pass almost untouched. Above it, the output falls by roughly a factor of ten for every tenfold rise in frequency, the familiar 20 dB per decade slope of a first-order filter. At the corner itself the output lags the input by 45 degrees.
Swap the positions of the two parts, with the output taken across the resistor, and you have a high-pass filter with exactly the same corner. The calculator does not ask which arrangement you mean because the number is identical.
This is the link between the two halves of the page. A slow time constant means a low corner frequency, and a circuit that smooths out fast steps is the same circuit that blocks high frequencies. Multiply the time constant by 2π and invert it, and you move from one view to the other.
The page lets you try lower and higher resistances against the same 1 µF. Dropping R to 6000 Ω gives a time constant of 6.00 ms, a 90% time of 13.82 ms, a settled time of 30 ms and a corner of 26.53 Hz. Raising it to 15000 Ω gives 15.00 ms, 34.54 ms, 75 ms and 10.61 Hz.
Two patterns are worth seeing in those runs. First, the times scale in direct proportion to R: half the resistance, half the delay. Second, the corner frequency moves the opposite way, by the same ratio. A 50% increase in resistance cut the corner from 15.92 Hz to 10.61 Hz, a fall by a factor of 1.5.
Capacitance behaves in exactly the same way, because only the product RC appears in the formulas. A 10 kΩ and 1 µF pair has the same timing as a 1 kΩ and 10 µF pair. In practice you choose between those combinations on other grounds. A small resistor draws more current from whatever drives it, and a large capacitor is bulkier, costs more and leaks more.
The chart makes the same point visually. Its time axis is labelled in multiples of τ, so the curve always looks the same shape whatever values you enter. What changes is how many milliseconds each step along that axis represents, which you read from the time constant line.
Change the supply from 5 V to 12 V and the summary lines do not move. Time constant, 63.2% time, 90% time, settled time and corner frequency all stay where they were. That is correct physics, not a fault. Every point on the charging curve is a fixed fraction of the supply, so the time to reach a fraction does not depend on how big the supply is.
The voltage matters only to the chart, which labels the curve in volts, and to you, if your real question is "when does the capacitor reach 3.3 V?". The page has no direct field for that. Work it out as a fraction first. For a 5 V supply, 3.3 V is 66% of the final voltage, and t = -RC ln(1 - 0.66) gives about 1.08τ, or 10.8 ms on the default.
The page states its assumption plainly: an ideal voltage step, an ideal resistor and capacitor, and nothing else in the circuit. Real circuits break that in predictable ways.
Component tolerance is the first. Ceramic capacitors in particular can be well off their marked value and can lose a large share of their capacitance when a DC voltage sits across them. Electrolytic parts commonly carry wide tolerances too. If your timing must be right to a few percent, measure the capacitor or use a film part.
The source and load are the second. Whatever drives the circuit has its own output resistance, which adds to R. Whatever reads the capacitor voltage draws current, which acts like a resistor in parallel with C and stops it charging all the way to the supply. Add the source resistance to R before typing it in, and keep the load resistance much larger than R.
Leakage is the third. Large electrolytic capacitors leak, which matters most with big resistors where the charging current is tiny. If a high-value RC never seems to reach the voltage you expect, leakage is a likely cause. At very high frequencies the leads and the capacitor's own inductance also start to matter, and the simple single-pole picture behind the corner frequency no longer holds.
A typical use is a power-on reset or switch debounce. You want the voltage to stay below a threshold for long enough, so you pick a threshold fraction, work out the multiple of τ, and size RC to suit. Read the 63.2% line as a guide, not as the moment the circuit acts.
For a filter, start from the frequency you want to keep and the one you want to remove. Put the corner between them, closer to the wanted signal than you might expect, because a single RC only rolls off gently. If the unwanted signal is not at least ten times the corner, one stage will not remove much of it.
A worked case makes this concrete. Say a button should be ignored for the first 20 ms after it closes, and the input reads high above about 63% of the supply. That threshold is one τ, so you need RC near 0.02 seconds. With a 1 µF capacitor, R comes out at 20 kΩ. Enter 20 kΩ in ohms with 0.000001 F on the page and the time constant line should read 20.00 ms. If the input instead switches at half the supply, the delay will be closer to 0.7 of that, so you would raise R to keep the same 20 ms margin.
Either way, pick a standard capacitor first, since the choice of values is narrower, and then solve for R. Enter both here to confirm the time constant and corner together before you build.