Skip to content
DeviceCheckHub

RC Time Constant Calculator

The time constant and cutoff frequency of a resistor and capacitor, the voltage and current at any moment while the capacitor charges or discharges, the time to reach a voltage, or the standard part that gives the time constant you want.

τ = R × C

Use a prefix such as k, M, µ (or u), n or p: 4k7, 100u, 22n. Times take ms, µs or min, such as 10m or 2 min.

Examples:
10 kΩ and 100 µF give τ = 1 s and a cutoff frequency of 159.15 mHz.

τ = 1 s

Time constant τ
1 s
Cutoff frequency
159.15 mHz
Halfway, ln 2 × τ
693.15 ms
Five time constants, 99.33%
5 s
Starting current
500 µA
Energy when charged
1.25 mJ
Charging, one τ at a time
τTimeChargedVoltage
1τ1 s63.21%3.1606 V
2τ2 s86.47%4.3233 V
3τ3 s95.02%4.7511 V
4τ4 s98.17%4.9084 V
5τ5 s99.33%4.9663 V

Steps

  1. τ = R × C = 10 kΩ × 100 µF = 1 s.
  2. Cutoff frequency of the RC filter: f = 1 ÷ (2π × τ) = 159.15 mHz.
  3. Charging: V(t) = Vs − (Vs − V0) × e^(−t ÷ τ), so after each τ the gap to 5 V shrinks to e⁻¹, 36.79% of what it was.

How to use the RC time constant calculator

  1. Enter the resistance and the capacitance, with a prefix such as 10k or 100µ, to get the time constant, the cutoff frequency and how far the capacitor charges in each time constant.
  2. Choose whether the capacitor is charging toward a supply or discharging, and enter the voltages.
  3. Choose “Voltage at a time” to see the voltage and current at any moment, or “Time to a voltage” to see how long the capacitor takes to reach a level.
  4. Choose “R or C for a τ” to find the resistor or capacitor that gives the time constant you need, rounded to a standard value.

What the RC time constant is

When a capacitor charges or discharges through a resistor, its voltage does not change at a steady rate. It moves quickly at first, while the voltage across the resistor and so the current are large, and then more and more slowly as it nears its final value. The time constant, written τ (the Greek letter tau), sets the pace of the whole curve. It is the product of the resistance and the capacitance: τ = R × C. With the resistance in ohms and the capacitance in farads, τ comes out in seconds.

A 10 kΩ resistor with a 100 µF capacitor gives 10,000 × 0.0001 = 1 s. A larger resistor lets less current through, and a larger capacitor holds more charge, so making either one bigger makes the circuit slower in proportion: 47 kΩ with 10 µF gives 470 ms, and 10 kΩ with 1 nF gives just 10 µs.

Charging a capacitor

A capacitor charging from V0 toward a supply voltage Vs through a resistor follows V(t) = Vs − (Vs − V0) × e^(−t ÷ τ). In each time constant, the gap between the capacitor and the supply shrinks to e⁻¹, about 36.8%, of what it was, so the capacitor covers about 63.2% of the remaining way. After one τ it has charged to 63.2%, after two to 86.5%, and after five to more than 99.3%, which is why five time constants are often treated as fully charged. In theory it never quite reaches the supply.

With 10 kΩ, 100 µF and a 5 V supply, the capacitor reaches 3.1606 V after 1 s, one time constant. The current is largest at the start, when the whole supply voltage is across the resistor: 5 V ÷ 10 kΩ = 500 µA. It then falls away along the same curve, to 183.94 µA after one τ.

Charge and discharge by time constant
TimeChargedLeft when discharging
1τ63.2%36.8%
2τ86.5%13.5%
3τ95%5%
4τ98.2%1.8%
5τ99.3%0.7%

Discharging a capacitor

A charged capacitor connected across a resistor discharges along V(t) = V0 × e^(−t ÷ τ). After one time constant 36.8% of the starting voltage is left, after two 13.5%, after three 5%, and after five less than 0.7%. The time for the voltage to halve is ln 2 × τ, about 0.693 τ: a capacitor at 5 V with τ = 1 s is down to 2.5 V after 693.15 ms. A 1,000 µF capacitor at 12 V discharging through 1 kΩ, τ = 1 s, takes 2.4849 s to fall to 1 V.

The time to reach a voltage

Solving the charging curve for t gives the time a capacitor takes to reach a target voltage V: t = τ × ln((Vs − V0) ÷ (Vs − V)). From 0 V on a 5 V supply with τ = 1 s, the capacitor reaches 3.3 V in 1.0788 s, which is 1.079 τ. For a discharge the time is t = τ × ln(V0 ÷ V). The target must lie between the start and the final voltage, because the curve only approaches its end and never passes it. This is the calculation behind simple RC timers, where a circuit acts when the capacitor crosses a threshold voltage.

Cutoff frequency

The same resistor and capacitor make a simple filter. The frequency at which the filter cuts the signal to half its power, where the gain falls to 1 ÷ √2, is the cutoff frequency, f = 1 ÷ (2π × R × C) = 1 ÷ (2π × τ). Taking the output across the capacitor gives a low-pass filter, which passes slow changes and smooths fast ones; taking it across the resistor gives a high-pass filter. A time constant of 1 s goes with a cutoff of 159.15 mHz, while 10 kΩ with 1 nF has its cutoff at 15.915 kHz.

Energy stored in the capacitor

A capacitor at voltage V stores an energy of ½ × C × V². The 100 µF capacitor charged to 5 V holds 1.25 mJ. When it charges from 0 V through a resistor, the supply delivers a charge of C × V at the voltage V, an energy of C × V², so half the energy drawn ends up stored and the other half is turned to heat in the resistor, whatever the resistance.

Choosing the resistor and capacitor

To design for a time constant, fix one part and work out the other: C = τ ÷ R or R = τ ÷ C. For a 1 s time constant with a 10 kΩ resistor you need 100 µF; for 1 ms with a 100 nF capacitor you need 10 kΩ. The exact answer is rarely a part you can buy, so the calculator rounds it to the nearest value in a standard series and shows the time constant that value gives. For 100 ms with 4.7 kΩ the exact capacitor is 21.277 µF; the nearest E12 value is 22 µF, giving 103.4 ms (+3.4%), and the nearest E96 value is 21.5 µF, giving 101.05 ms (+1.05%).

The E6, E12, E24 and E96 series space their values to suit tolerances of 20%, 10%, 5% and 1%. The tolerance matters as much as the nominal value: a capacitor that is 10% high makes the time constant 10% longer. With the capacitor fixed, the resistor can be picked from a finer series to bring the time constant close to what you need.

Where RC time constants matter

RC circuits set the timing in many simple circuits, smooth and filter signals, and debounce switches. A switch’s contacts bounce for a short time when pressed, and an RC network such as 10 kΩ with 100 nF, τ = 1 ms, smooths those bounces into one clean change. Inside chips, the resistance and capacitance of the wiring cause RC delay, which slows signals on long wires. The same exponential curve describes any first-order system, so the milestones in the table above apply wherever a time constant appears.

Your values stay on your device

Everything is worked out in your browser. Nothing you type is sent anywhere or stored.

Frequently asked questions

How do I calculate the RC time constant?

Multiply the resistance in ohms by the capacitance in farads: τ = R × C, and the answer is in seconds. A 10 kΩ resistor with a 100 µF capacitor gives 10,000 × 0.0001 = 1 s.

Why is it 63.2% after one time constant?

A charging capacitor closes the gap to its final voltage by a fixed share in each time constant: the gap left is e⁻¹, about 36.8%, of what it was. So after one τ it has covered 1 − e⁻¹, about 63.2%, of the way, and after five it has covered more than 99.3%.

How long does a capacitor take to fully charge?

In theory it never quite gets there, but after five time constants it is within 0.7% of the supply, which is usually treated as fully charged. For 10 kΩ and 100 µF that takes 5 s.

How is the time constant related to the cutoff frequency?

The cutoff frequency of an RC filter is f = 1 ÷ (2π × τ), so a time constant of 1 s goes with a cutoff of 159.15 mHz, and 10 kΩ with 1 nF, τ = 10 µs, gives 15.915 kHz.

How do I find the time to reach a voltage?

For a capacitor charging toward a supply Vs from V0, t = τ × ln((Vs − V0) ÷ (Vs − V)). From 0 V on a 5 V supply with τ = 1 s, it reaches 3.3 V in 1.0788 s. For a discharge from V0, t = τ × ln(V0 ÷ V).

Is anything I type sent anywhere?

No. Everything is worked out in your browser, and nothing you type is sent anywhere or stored.

Last updated · About DeviceCheckHub