RC Time Constant & Charge Time Calculator

Enter a resistance and a capacitance and this calculator returns the time constant τ = RC, the capacitor voltage at any instant you choose, the time needed to reach a target voltage, and the current at both the first instant and at your chosen time. Switch between charging and discharging with one control. One time constant always moves the capacitor 63.2% of the way to its final value, and five time constants get it to 99.3%, which is why five τ is the settling rule every timing, snubber and power-up-reset design leans on.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Charging or dischargingChoose charging when the capacitor starts empty and rises toward the supply, discharging when it starts full and falls toward zero.Charging through R
Series resistanceThe total resistance in the charge or discharge path, including the source resistance if it is significant.10 kΩ
CapacitanceThe marked value of the capacitor; switch the unit selector to nF or pF for signal-level parts.100 µF
Supply voltage (or starting voltage)When charging, the voltage the capacitor is climbing toward; when discharging, the voltage it starts from.12 V
Elapsed timeHow long after the switch closes you want the capacitor voltage and current evaluated.1 s
Target voltageThe capacitor voltage you want to reach; it must lie strictly between zero and the supply voltage for a finite answer.6 V

It returns

  • Time constant τ — R × C, the time to move 63.2% of the way to the final value.
  • Capacitor voltage at your elapsed time
  • That voltage as a share of the supply or starting voltage
  • Time to reach the target voltage
  • Current at your elapsed time
  • Current at the first instant — V ÷ R — at the switching instant the whole voltage sits across the resistor, so the capacitance does not affect this figure in either direction.
  • Settling time (5τ, 99.3%)

The formula

τ=RC,VC(t)=VS(1et/τ)
VC(t)=VSet/τ
I(t)=VSRet/τ

In plain text: τ = R C ; Vc(t) = Vs (1 − e^(−t/τ)) charging ; t = −τ ln(1 − Vc/Vs)

  • τTime constant — the time to cover 63.2% of the remaining gap (s)
  • RTotal series resistance in the charge or discharge path (Ω)
  • CCapacitance (F)
  • VₛSupply voltage when charging, starting voltage when discharging (V)
  • Vᴄ(t)Capacitor voltage at time t (V)
  • tTime elapsed since the switch closed (s)
  • I₀Current at the first instant, Vₛ ÷ R (A)

Ohms multiplied by farads give seconds. The exponential shape is the solution of the first-order differential equation RC dVc/dt + Vc = Vs, and it applies to any single resistor charging any single capacitor from a stiff source.

Updated Category AC Circuits, Reactance & Resonance Verified against published test cases Reading time 12 min

What the RC time constant tells you

The time constant τ = RC is the single number that sets how fast a capacitor charges or discharges through a resistor. Multiply ohms by farads and the units genuinely come out in seconds: a volt per amp times a coulomb per volt leaves coulombs per amp, which is seconds. Ten kilohms and one hundred microfarads give exactly one second.

The reason a capacitor charges on a curve rather than a ramp is feedback. Current through the resistor is the voltage across it divided by R, and the voltage across the resistor is whatever the supply has left over after the capacitor's own voltage. So the fuller the capacitor gets, the smaller the driving voltage, the smaller the current, and the slower it fills. Every instant the capacitor closes a fixed fraction of the remaining gap, which is the definition of exponential behaviour.

That fraction is what makes τ so useful. In one time constant the capacitor always covers 63.2% of whatever gap remains, no matter where it started or which direction it is moving. In two it has covered 86.5%, in three 95.0%, and in five 99.3%. Those percentages depend only on t/τ, never on the supply voltage, so the same table serves a 3.3 V logic reset and a 4,160 V capacitor bleed-down.

The four equations, and where each one comes from

All of first-order RC transient response comes from one differential equation, RC · dVC/dt + VC = VS, and four rearrangements of its solution cover everything you will need.

1. The time constant. τ = R × C, with resistance in ohms and capacitance in farads. Raising either one slows the circuit in exact proportion — doubling the resistor and doubling the capacitor gives four times the delay.

2. Voltage while charging. VC(t) = VS(1 − e−t/τ). At t = 0 the exponential is 1 and the capacitor voltage is zero; as t grows the exponential shrinks toward zero and the capacitor voltage approaches the supply. It never arrives, which matters when you specify a target.

3. Voltage while discharging. VC(t) = VS e−t/τ, where VS is now the voltage the capacitor started at. This is the same curve turned upside down; the two always add to the starting voltage at any given t/τ.

4. Time to a target. Take logarithms of the voltage equations. Charging, t = −τ ln(1 − VC/VS); discharging, t = −τ ln(VC/VS). Both require the target to lie strictly between zero and the supply, because the logarithm of zero is undefined — which is the mathematical form of the physical statement that an exponential approach never completes.

Current follows the same exponential in both directions: I(t) = (VS/R) e−t/τ. The magnitude at a given t/τ is identical whether you are charging or discharging; only the direction of flow reverses, and this calculator reports the magnitude. At the first instant the capacitor has no voltage to oppose the source, so it behaves as a short circuit and the current is set entirely by the resistor — plain Ohm's law. That first-instant current is the number that stresses switch contacts and drives inrush limiting.

Worked example: 10 kΩ charging 100 µF from 12 V

Take a 100 µF capacitor charging through a 10 kΩ resistor from a 12 V supply. Every line below can be checked with a scientific calculator.

  1. Convert to base units. R = 10 kΩ = 1.0 × 104 Ω; C = 100 µF = 1.0 × 10−4 F.
  2. Multiply for the time constant. τ = 1.0 × 104 × 1.0 × 10−4 = 1.00 s.
  3. Find the first-instant current. I0 = 12 ÷ 10,000 = 1.20 mA. The resistor dissipates 12 × 0.0012 = 14.4 mW at that moment, falling from there.
  4. Evaluate the voltage after one second. t/τ = 1, e−1 = 0.367879, so VC = 12 × (1 − 0.367879) = 12 × 0.632121 = 7.585 V, which is 63.21% of the supply.
  5. Find the current at that same moment. I = 1.20 mA × 0.367879 = 0.4415 mA. Note the voltage across the resistor, 12 − 7.585 = 4.415 V, divided by 10 kΩ, gives the same answer.
  6. Find how long it takes to reach 6 V. Half the supply, so t = −1.00 × ln(1 − 0.5) = ln 2 = 0.693 s. Every RC halving takes 0.693τ, exactly as every radioactive half-life is 0.693 of its mean lifetime.
  7. Find the settling time. 5τ = 5.00 s, at which point VC = 12 × 0.993262 = 11.92 V, within 0.08 V of the supply.
  8. Check the stored energy. Once fully charged, E = ½CV2 = 0.5 × 1.0 × 10−4 × 144 = 7.2 mJ.

Now discharge the same capacitor through the same resistor. τ is unchanged at 1.00 s, so after one second the capacitor holds 12 × 0.367879 = 4.415 V, and it falls to 6 V after the same 0.693 s. Charging and discharging are symmetric whenever the resistance in both paths is the same — and in a real circuit it very often is not, because the discharge path may be a different resistor entirely.

How to read the result

Start with τ against the timescale you care about. If τ is much shorter than the event you are timing, the capacitor is fully settled and behaves as a DC voltage source; if τ is much longer, the capacitor barely moves and behaves as a short-term open circuit. The interesting design region is where τ is within about a decade of your event, and that is where this calculator earns its keep.

Use 5τ as the settling number and 0.693τ as the halving number. Five time constants leaves 0.67% of the gap, which is below the resolution of most measurements and comfortably inside a logic threshold; that is why power-on reset circuits, soft-start ramps and scope-probe compensation are all specified in multiples of τ. If you need tighter than 1%, 7τ leaves 0.09% and 10τ leaves 0.0045%.

Watch the first-instant current whenever the resistance is small. It equals the full supply divided by R alone, so a 12 V rail charging a bank through 0.1 Ω sees 120 A at the moment of connection. That surge is what welds relay contacts and blows soft-start resistors, and no capacitance value changes it — only more resistance, or active inrush limiting, does.

Finally, treat a long discharge τ as a safety figure, not a convenience. A bleeder resistor is sized so a capacitor bank falls to a safe voltage in a defined time, and the time you need is set by the target you accept: 4.6τ to fall to 1% of the starting voltage, 6.9τ to fall to 0.1%. Enter your own safe-touch voltage as the target and read the time directly. NFPA 70E requires stored electrical energy to be released before you can establish an electrically safe work condition, and equipment standards set the discharge time the design must meet; take the target voltage and the allowed time from whichever document governs your installation rather than from a habit.

Percentage charged and remaining at each time constant

The figures depend only on t ÷ τ, so this table works for every RC circuit ever built. Charging % = 100(1 − e−n); remaining % = 100 e−n.
Time constants (n = t/τ)Charged toward supplyRemaining while dischargingTypical use of this point
00.00%100.00%The switching instant; current is at its peak
0.539.35%60.65%
0.69350.00%50.00%The RC half-time, ln 2
163.21%36.79%The definition of one time constant
286.47%13.53%
2.30390.00%10.00%One decade, ln 10
395.02%4.98%Often adequate for analogue settling
498.17%1.83%
4.60599.00%1.00%Common bleed-down specification
599.33%0.67%The conventional “fully charged” point
799.91%0.09%Ten-bit settling
1099.9955%0.0045%Better than 14-bit settling

Percentages are rounded from the exponential; e⁻¹ = 0.367879, e⁻² = 0.135335, e⁻⁵ = 0.0067379. The 0.693 and 2.303 rows are ln 2 and ln 10, the two logarithms worth memorising.

Assumptions and pitfalls

  • The source must be stiff. The formula assumes the supply holds its voltage regardless of current. If the source has meaningful output resistance, add it to R — that is why the input on this page asks for the total series resistance, not just the visible resistor.
  • One R and one C only. A network of several resistors and capacitors is not a single exponential. Reduce it to a Thévenin equivalent first, or use the capacitor series and parallel calculator to combine capacitors before you start.
  • Leakage sets a ceiling on long time constants. Above about a megohm the capacitor's own insulation resistance and the board surface begin to compete with your resistor, and an electrolytic can leak enough to prevent full charge entirely. Long timers use film or ceramic capacitors for this reason.
  • Charge and discharge paths are usually different. A 555 timer charges through two resistors and discharges through one, so its two time constants differ; the 555 timer calculator handles that asymmetry explicitly.
  • Tolerance stacks multiplicatively. A 5% resistor with a 20% electrolytic gives a time constant good to roughly ±25%. If timing matters, use a 1% resistor and a film capacitor, or trim.
  • A target of exactly zero or exactly the supply has no answer. The exponential approaches but never reaches its limit, so the calculator reports no finite time rather than a misleading large one. Specify a real threshold instead.

The frequency-domain twin, and when to use it instead

The same RC product describes this circuit's behaviour with sine waves, and the translation is one equation: fc = 1 ÷ (2πRC) = 1 ÷ (2πτ). A one-second time constant is a 0.159 Hz corner frequency. Use the time domain when your signal is a step, a pulse or a switch closure; use the RC filter cutoff frequency calculator when it is a continuous waveform whose amplitude and phase you care about. Two constants link the views. The 10% to 90% rise time of a step is τ ln 9 = 2.197τ, usually quoted as 2.2τ; multiply that by the bandwidth 1 ÷ (2πτ) and the τ cancels, leaving 2.197 ÷ 2π = 0.35. That 0.35 figure holds for this single-pole response and is only an approximation for a multi-pole one.

If you want the capacitor's opposition at a single frequency rather than its behaviour over time, that is reactance, and the capacitive reactance calculator gives it. The two views describe the same component: at the corner frequency, the capacitor's reactance is exactly equal to the resistance.

This page models an ideal capacitor and an ideal resistor. It does not include dielectric absorption, which lets a capacitor recover some voltage after being shorted and matters in sample-and-hold and high-accuracy integrator circuits; it does not include the capacitor's series inductance, which only shows up at nanosecond timescales; and it does not model semiconductor switch resistance, which is frequently the dominant resistance in a switched-capacitor circuit.

Key terms

Time constant (τ)
The product RC, in seconds. The time in which the capacitor covers 63.2% of the remaining gap between its present voltage and its final voltage.
Transient
The temporary behaviour of a circuit between one steady state and the next. In an RC circuit the transient is the exponential curve; the steady state is what remains after it has decayed.
Settling time
The time to come within a stated tolerance of the final value. Conventionally 5τ for 1%, but state the tolerance because the multiplier depends on it.
Bleeder resistor
A resistor permanently connected across a capacitor so that stored energy drains to a safe level within a specified time after the supply is removed.

Frequently asked questions

How long does a capacitor take to fully charge?

Strictly, forever — the approach is exponential and never completes. In practice, five time constants is the accepted answer, because at 5τ the capacitor is at 99.33% of the supply. For a 10 kΩ resistor and a 100 µF capacitor, τ = 1 s, so it is treated as charged after 5 s. If you need tighter, use 7τ for 99.91% or 10τ for 99.9955%.

Why is one time constant 63.2% and not something rounder?

Because 63.2% is 1 − e−1, and e is the base that arises naturally when a quantity's rate of change is proportional to the quantity itself. The capacitor closes a fixed fraction of the remaining gap in each equal slice of time, and that behaviour has only one mathematical form. The number 0.632121 is a consequence, not a choice.

Is the discharge time the same as the charge time?

Only if the resistance is the same in both directions. The percentages are perfectly symmetric — a capacitor falls to 36.8% in the same number of time constants it takes to rise to 63.2% — but τ itself is R × C for whichever R the current actually flows through. Many circuits charge through one resistor and discharge through another, giving two different time constants.

What is the current when the switch first closes?

It is the full supply voltage divided by the series resistance, because an uncharged capacitor has no voltage to oppose the source and momentarily behaves as a short circuit. With 12 V and 10 kΩ that is 1.2 mA; with 12 V and 0.1 Ω it is 120 A. Capacitance does not affect this figure at all — it only changes how long the current takes to fall.

How do I calculate the time to reach a specific voltage?

Take the natural logarithm of the fraction remaining. Charging, t = −τ ln(1 − Vtarget/Vsupply); discharging, t = −τ ln(Vtarget/Vstart). To reach 90% of the supply takes 2.303τ, 95% takes 3.0τ, and 99% takes 4.605τ. Enter your target above and the calculator does the logarithm for you.

Why does the calculator refuse a target equal to the supply voltage?

Because ln(0) is undefined, which is the mathematics saying the capacitor never actually arrives. Asking for the time to reach exactly the supply voltage while charging, or exactly zero while discharging, has no finite answer. Pick a realistic threshold instead — the logic level you need, or the safe-touch voltage you must fall below.

What resistance and capacitance should I choose for a one-second delay?

Any pair whose product is one: 1 MΩ with 1 µF, 100 kΩ with 10 µF, or 10 kΩ with 100 µF all give τ = 1 s. Prefer the combination with the larger resistor and the smaller, better-quality capacitor if timing accuracy matters, and the smaller resistor if leakage or input bias current would otherwise compete with your charging current.

How do I size a bleeder resistor for a capacitor bank?

Decide the safe voltage and the time you are given to reach it, then solve for R. Falling to 1% of the starting voltage takes 4.605τ, so τ = t ÷ 4.605 and R = τ ÷ C. Check the resistor's continuous dissipation at full voltage, V²/R, and its pulse rating, and confirm the result against the equipment standard that applies to your installation.

Does the time constant change if I raise the supply voltage?

No. τ depends only on R and C. Raising the supply raises every voltage and every current in proportion, so the capacitor reaches a higher final value, but it still takes exactly one τ to cover 63.2% of the way there and 5τ to settle. This scale-independence is why the percentage table on this page applies to every RC circuit regardless of voltage.

References

  • The Art of Electronics, 3rd edition — Cambridge University Press
  • Fundamentals of Electric Circuits, 7th edition — McGraw-Hill Education
  • Microelectronic Circuits, 8th edition — Oxford University Press
  • NFPA 70E, Standard for Electrical Safety in the Workplace (stored-energy discharge requirements) — National Fire Protection Association