Skip to main content

RC Circuit Time Constant Solver: Charging & Discharging Curves

Analyze basic RC (resistor-capacitor) circuits. Compute the time constant τ = R × C and visualize charging and discharging behavior. Calculate capacitor voltage and current vs time, and find how long it takes to reach a specific voltage or percentage. Compare up to 3 scenarios.

Last Updated: February 2026

An RC circuit calculator computes time constant τ = RC and voltage at any time during charging or discharging. A student last week entered R = 10 kΩ and C = 100 µF but got τ = 0.001 s instead of 1 s—they forgot to convert µF to F. This tool handles unit conversion and shows the exponential curve: voltage rises (or falls) quickly at first, then slows as it approaches the final value. After 5τ, the capacitor is 99.3% charged, which engineers treat as "done."

The diagram matters here. Without seeing how current flows through R into C and how voltage builds across C, students confuse charge time with discharge time and misread signs. A labeled schematic showing the current loop plus a V(t) curve next to it makes the exponential behavior obvious.

Voltage vs Time: The Exponential Curve Explained

Capacitor voltage doesn't jump instantly to the supply—it follows an exponential curve. The shape arises from a feedback loop: current depends on voltage difference (Ohm's law), but as the capacitor charges, the voltage difference shrinks, reducing current, which slows charging.

The Core Equations

Charging: V_C(t) = V_s × (1 − e^(−t/τ))

Discharging: V_C(t) = V_0 × e^(−t/τ)

Time constant: τ = R × C

The time constant τ sets the rate. After 1τ, the capacitor reaches 63.2% of its final voltage (charging) or drops to 36.8% of its initial voltage (discharging). These percentages come from 1 − e^(−1) ≈ 0.632 and e^(−1) ≈ 0.368.

The 5τ Rule

After 5 time constants, the capacitor reaches 99.3% of its final value. Engineers use 5τ as the practical definition of "fully charged" or "fully discharged." The exact values: 1τ = 63.2%, 2τ = 86.5%, 3τ = 95.0%, 4τ = 98.2%, 5τ = 99.3%.

Labeled Diagram: Circuit Schematic, Current Paths, V(t) Plot

Diagram Caption

Circuit schematic (charging): Voltage source V_s connected to resistor R in series with capacitor C. Current I flows clockwise from V_s through R into the positive plate of C. V_C measured across capacitor terminals.

V(t) plot: Horizontal axis is time (multiples of τ). Vertical axis is V_C. Curve starts at 0, rises steeply, then levels off approaching V_s asymptotically. Mark 63.2% line at t = 1τ, 86.5% at 2τ, 99.3% at 5τ.

Current plot: I(t) = (V_s/R) × e^(−t/τ). Starts at maximum I_0 = V_s/R, decays exponentially to zero. Current is highest when capacitor is empty (largest voltage difference across R).

Time (t)V_C (charging)V_C (discharging)Current I
00% of V_s100% of V_0I_max = V/R
63.2%36.8%36.8% of I_max
86.5%13.5%13.5% of I_max
95.0%5.0%5.0% of I_max
99.3%0.7%0.7% of I_max

Draw the schematic with clear current direction arrows. The V(t) curve should show the characteristic "fast then slow" shape. Place the 1τ milestone prominently—it's the most useful reference point for quick estimates.

Reading the Time Constant τ from the Curve

You can extract τ from experimental data without knowing R and C. Find the time when voltage reaches 63.2% of its final value (charging) or drops to 36.8% of its initial value (discharging). That time equals τ.

Method: Graphical Extraction

  1. Identify the final voltage V_s (charging) or initial voltage V_0 (discharging).
  2. Calculate 63.2% of V_s (charging) or 36.8% of V_0 (discharging).
  3. Find the time on the curve where V_C equals this value.
  4. That time is your time constant τ.

Alternative method: draw a tangent to the curve at t = 0. The tangent intersects the final voltage level at t = τ. This works because the initial slope is V_s/τ (charging) or −V_0/τ (discharging).

From R and C: τ = R × C

Units: Ω × F = s. Example: 10 kΩ × 100 µF = 10,000 × 0.0001 = 1 s

From curve: τ = time to reach 63.2% (charging) or 36.8% (discharging)

Current and Voltage Phases: Charge vs Discharge

During charging, current starts high (capacitor empty, full voltage across R) and decays to zero (capacitor full, no voltage across R). During discharging, current again starts high (full capacitor voltage drives current through R) and decays to zero.

Charging Phase

  • At t = 0: V_C = 0, I = V_s/R (maximum)
  • As C charges: V_C rises, voltage across R drops, I decreases
  • At t → ∞: V_C → V_s, I → 0

Discharging Phase

  • At t = 0: V_C = V_0, I = V_0/R (maximum, opposite direction)
  • As C discharges: V_C drops, voltage across R drops, I decreases
  • At t → ∞: V_C → 0, I → 0

Current always decays exponentially with the same time constant τ. The key difference is direction: charging current flows into the capacitor, discharging current flows out. Voltage and current curves have the same τ but complementary shapes during charging (V rises while I falls).

Worked Visual: Camera Flash Capacitor Example

A camera flash uses a capacitor that charges from the battery, then dumps its energy into the flash tube. How long does it take to charge?

Problem Setup

Given: C = 470 µF, R = 220 Ω (charging circuit), V_s = 300 V (boosted from battery)

Find: Time constant τ and time to reach 99% charge (flash ready)

Step 1: Calculate τ

τ = R × C = 220 × 0.000470 = 0.103 s ≈ 103 ms

Step 2: Time to 99%

99% occurs at t ≈ 4.6τ (since e^(−4.6) ≈ 0.01, leaving 1% to go)

t = 4.6 × 0.103 = 0.47 s ≈ 470 ms

Result

The flash takes about half a second to charge to 99% (297 V). The "flash ready" indicator illuminates slightly before this. Larger capacitors (brighter flash) or higher resistance (battery protection) would increase charging time.

Diagram Caption

Flash circuit schematic: Battery → boost converter → 300V supply. Series resistor R = 220 Ω limits charging current. Capacitor C = 470 µF stores energy. Flash tube connected across C with trigger circuit. V(t) curve shows 0 to 300 V rise with τ = 103 ms marked. 99% point at 470 ms indicates flash ready.

This example shows why bigger capacitors give brighter but slower flashes. Doubling C doubles energy stored (E = ½CV²) but also doubles charging time (τ = RC). Professional flashes use high-current charging circuits (lower R) to reduce wait time.

Sign and Reference Table: Charging Up vs Discharging Down

Correct sign conventions prevent confusion. Define positive current as flowing into the positive terminal of the capacitor. Voltage is measured across C with the positive terminal labeled.

ScenarioV_C formulaI formulaI direction
Charging from 0V_s(1 − e^(−t/τ))(V_s/R)e^(−t/τ)Into + terminal
Charging from V_0V_s + (V_0 − V_s)e^(−t/τ)((V_s − V_0)/R)e^(−t/τ)Into + if V_s > V_0
Discharging to 0V_0 e^(−t/τ)(V_0/R)e^(−t/τ)Out of + terminal

Common error: Forgetting the minus sign in the exponent. The formula is e^(−t/τ), not e^(t/τ). Positive exponent gives exponential growth (wrong), negative gives decay (correct).

The general formula V_C(t) = V_final + (V_initial − V_final)e^(−t/τ) covers all cases. For charging from 0 to V_s: V_initial = 0, V_final = V_s. For discharging from V_0 to 0: V_initial = V_0, V_final = 0.

When First-Order RC Approximation Fails

The simple RC model assumes ideal components. Real circuits introduce complications that change the behavior.

Effects the Simple Model Ignores

  • ESR (Equivalent Series Resistance): Real capacitors have internal resistance. Large electrolytics can have several ohms of ESR, which adds to the charging resistor and changes τ.
  • Leakage current: Capacitors slowly discharge through internal leakage. Long time constants (>minutes) can be affected by leakage competing with charging.
  • Dielectric absorption: After discharging, capacitors can "recover" some voltage as charge redistributes internally. Affects precision timing.
  • Inductance: At high frequencies or with fast edges, wire and component inductance creates RLC behavior with ringing, not smooth RC exponentials.

For timing circuits requiring <1% accuracy, verify ESR is much less than R. For long delays (>10 minutes), use film capacitors with low leakage, not electrolytics. For high-frequency filtering, account for parasitic inductance.

Rule of Thumb

The simple RC model works well when: (1) ESR < 10% of R, (2) leakage time constant > 10× the RC time constant, (3) frequencies are low enough that ωL ≪ R (no significant inductance), and (4) the supply can deliver the initial current spike I_max = V_s/R.

Circuit References

The exponential charging behavior follows from Kirchhoff's voltage law and the capacitor equation i = C(dV/dt). Solving this first-order differential equation yields the exponential solutions. These sources provide derivations and practical applications:

  • Horowitz, P. & Hill, W. (2015). The Art of Electronics (3rd ed.). Cambridge University Press. Chapter 1 covers RC time constants with practical examples.
  • Sedra, A. S. & Smith, K. C. (2020). Microelectronic Circuits (8th ed.). Oxford University Press. RC circuit transient analysis in Chapter 6.
  • Nilsson, J. W. & Riedel, S. A. (2019). Electric Circuits (11th ed.). Pearson. First-order RC circuits in Chapters 7–8.
  • All About Circuitsallaboutcircuits.com — Free online textbook with RC examples.
  • HyperPhysics (Georgia State University)hyperphysics.phy-astr.gsu.edu — Accessible derivations of capacitor charging/discharging.

Note: This calculator uses ideal RC circuit equations. For real circuit design, verify component specifications (ESR, leakage, tolerances) and include appropriate safety margins for timing-critical applications.

Limitations and Assumptions

  • Ideal components: Assumes zero ESR, no leakage, perfect linearity. Real capacitors, especially electrolytics, deviate significantly.
  • First-order model: Applies to simple RC circuits only. Multiple capacitors or inductors create higher-order responses with different behavior.
  • Step input: Formulas assume instantaneous voltage step. Slowly varying inputs or PWM require different analysis.
  • Safety warning: Charged capacitors store energy and can deliver dangerous shocks. Always discharge safely before handling. Not for design of safety-critical systems.

Debugging RC Circuit Time Constant Problems

Real questions from students stuck on unit conversions, exponential percentages, parasitic resistance, and charge vs discharge sign conventions.

I calculated τ = 10 but my answer is way off—turns out I used kΩ and µF without converting. What's the right way to handle units?

The time constant τ = R × C requires consistent units. If R is in kΩ and C is in µF, multiply directly: 10 kΩ × 100 µF = 1000 ms = 1 s. That works because kilo (10³) times micro (10⁻⁶) equals milli (10⁻³). If you want τ in seconds, either convert both to base SI (Ω and F) or use this shortcut: kΩ × µF gives milliseconds, MΩ × µF gives seconds, kΩ × nF gives microseconds. Write the unit conversion explicitly until it's automatic.

My capacitor voltage reads 6.3 V after one time constant when charging to 10 V—is 63% always the magic number?

Yes, 63.2% is baked into the exponential math. After one τ, V(t) = V_s × (1 − e⁻¹) = V_s × 0.632. After 2τ it's 86.5%, 3τ is 95%, 4τ is 98.2%, 5τ is 99.3%. These percentages are universal for any first-order RC circuit regardless of component values. Engineers memorize 63% at 1τ and 99% at 5τ; the rest you can derive from e^(−n).

I need the capacitor to reach 90% in under 2 seconds—how do I pick R and C?

Work backwards from the percentage. 90% means V/V_s = 0.9, so 1 − e^(−t/τ) = 0.9, giving e^(−t/τ) = 0.1, thus t/τ = ln(10) ≈ 2.3. You need t = 2.3τ < 2 s, so τ < 0.87 s. Pick any R × C product under 870 ms. Example: R = 8.7 kΩ, C = 100 µF gives τ = 0.87 s, reaching 90% at exactly 2 s. Smaller τ reaches 90% faster but also means higher initial current (I = V_s/R).

The discharge curve on my scope looks linear, not exponential—did I wire something wrong?

Probably not wrong, just zoomed in too far. Near the start of discharge (first 0.5τ), the exponential curve looks almost linear because the slope changes gradually. Zoom out to see the full 5τ range and the curve becomes obvious. Another possibility: if you're using a constant-current source instead of a resistor, you actually get linear discharge (V = V₀ − It/C). Check that you have a plain resistor, not a current regulator.

I calculated τ = 1 ms but my circuit takes way longer to charge—what's adding extra resistance?

Hidden resistance sources: the voltage source has internal resistance (often 50 Ω for function generators), breadboard contacts add 0.1–1 Ω per connection, wire resistance adds up over long runs, and the capacitor itself has ESR (equivalent series resistance), typically 0.1–10 Ω depending on type. For small R values (under 100 Ω), these parasitic resistances dominate. Measure actual τ with a scope and back-calculate total R.

My professor says the capacitor is 'fully charged' after 5τ but it's only at 99.3%—isn't that still incomplete?

Mathematically, the capacitor never reaches 100% because V(t) = V_s × (1 − e^(−t/τ)) only equals V_s when t → ∞. But 99.3% is close enough that the remaining 0.7% is below measurement noise in most instruments. After 5τ, continuing to charge gains almost nothing: from 5τ to 6τ you only go from 99.3% to 99.75%. Engineers define 'full' as 'within tolerance for the application.'

During discharge, my current flows backward—is negative current a real thing or a sign error?

It's real and expected. During charging, current flows into the capacitor (positive by convention). During discharge, current flows out (negative by the same convention). The magnitude follows I(t) = −(V₀/R) × e^(−t/τ) for discharge. The negative sign just indicates direction relative to your reference. If you defined current as always positive magnitude, use |I(t)| and note the direction separately.

I'm comparing two capacitors: same capacitance but one charges faster—what's different?

ESR (equivalent series resistance) varies between capacitor types. Electrolytics have higher ESR (0.1–5 Ω) than ceramics (<0.1 Ω) or film caps. Higher ESR effectively adds to your circuit resistance, increasing τ. Also check capacitor tolerance: a '100 µF' electrolytic might actually be 80–120 µF (±20%), while a film cap is typically ±5%. Measure actual capacitance with an LCR meter if timing matters.

My simulation shows 5 V at t = 0 but my real circuit shows 4.8 V—where's the missing 0.2 V?

Voltage divider effect from source impedance. If your supply has 50 Ω internal resistance and you're measuring across a 1 kΩ resistor, at t = 0 the uncharged cap acts like a short, and you see V × (0 / (50 + 0)) = 0 V across the cap. But if you're measuring across R, you see V × R/(R + R_source). The 'missing' voltage drops across the source impedance. Simulators with ideal sources don't show this unless you add explicit source resistance.

Can I use this calculator for an RL circuit if I pretend L/R is like RC?

Sort of, with care. RL circuits have τ = L/R (inductance divided by resistance), while RC circuits have τ = RC. The exponential behavior is similar, but the physics differs: capacitors store energy in electric fields (½CV²), inductors store energy in magnetic fields (½LI²). Current in RL circuits behaves like voltage in RC circuits. Use an RL-specific calculator to avoid sign and variable confusion.

RC Time Constant Solver - V(t), I(t) Curve