Skip to main content
ELECTRICAL

RC Time Constant Calculator

Calculate RC circuit time constant tau (τ = RC), cutoff frequency (fc = 1/2πRC), and charging voltages. Analyze capacitor transients with instant steps.

DOCUMENTED FORMULA intermediate
Interactive Workbench
intermediate
Quick PresetsClick to autofill values
Parameters2 variables
Resistance value in Ohms (Ω).
Capacitance value in Farads (F).
Calculation ResultAwaiting Input
Time Constant (τ)
--.--

RC time constant representing time to charge/discharge to ~63.2% of total voltage.


On this page Jump to section ▾

Practical Worked Example

Step-by-step practical problem and numerical calculation scenario.

Problem Statement

A first-order passive resistor-capacitor (RC) network consists of a series resistor R=15.8 kΩR = 15.8\text{ k}\Omega (15,800 Ω15{,}800\text{ }\Omega) and a shunt capacitor C=10.0 nFC = 10.0\text{ nF} (10.0×10−9 F10.0 \times 10^{-9}\text{ F}).

Calculate:

  1. The characteristic circuit time constant (τ\tau).
  2. The −3 dB-3\text{ dB} corner cut-off frequency (fcf_c).
  3. The 99.3%99.3\% practical settling time (5τ5\tau) following an input step voltage.

Step-by-Step Solution

Step 1: Identify Input Variables

  • Resistance (RR): 15,800 Ω15{,}800\text{ }\Omega (15.8 kΩ15.8\text{ k}\Omega)
  • Capacitance (CC): 10.0×10−9 F10.0 \times 10^{-9}\text{ F} (10.0 nF10.0\text{ nF})

Step 2: Calculate the Time Constant (τ\tau)

The time constant of a linear series RC network is the product of resistance and capacitance: τ=R×C\tau = R \times C τ=15,800 Ω×(10.0×10−9 F)=0.000158 s=158.0 μs\tau = 15{,}800\text{ }\Omega \times (10.0 \times 10^{-9}\text{ F}) = 0.000158\text{ s} = 158.0\text{ }\mu\text{s}

The circuit time constant is 158.0 μs158.0\text{ }\mu\text{s} (0.158 ms0.158\text{ ms}). During this time interval, capacitor voltage charges to approximately 63.2%63.2\% of an applied step voltage (1−e−1≈0.63211 - e^{-1} \approx 0.6321).


Step 3: Compute Cut-Off Frequency (fcf_c)

The −3 dB-3\text{ dB} half-power bandwidth cutoff frequency is related to τ\tau by: fc=12πτ=12π×(158.0×10−6 s)≈10.0009927≈1007.3 Hzf_c = \frac{1}{2\pi \tau} = \frac{1}{2\pi \times (158.0 \times 10^{-6}\text{ s})} \approx \frac{1}{0.0009927} \approx 1007.3\text{ Hz}

The low-pass filter cutoff frequency is approximately 1007 Hz1007\text{ Hz} (1.007 kHz1.007\text{ kHz}). Frequencies above this threshold undergo progressive −20 dB/decade-20\text{ dB/decade} attenuation.


Step 4: Evaluate Transient Settling Time (5τ5\tau)

Full settling to within 99.3%99.3\% of the steady-state final value requires approximately 55 time constants: tsettle=5×τ=5×158.0 μs=790.0 μs=0.790 mst_{\text{settle}} = 5 \times \tau = 5 \times 158.0\text{ }\mu\text{s} = 790.0\text{ }\mu\text{s} = 0.790\text{ ms}

The circuit completes its transient charging phase in 0.790 ms0.790\text{ ms}.


Step 5: Circuit Interpretation & Application

  • Charge Dynamics: Each successive time constant τ\tau reduces the remaining voltage deficit toward asymptotic full charge by another factor of 1/e≈0.3681/e \approx 0.368.
  • Signal Conditioning: Signals below 1000 Hz1000\text{ Hz} pass with minimal attenuation, while noise at higher frequencies is attenuated.

Variables & Units Reference

Input parameters, calculated outputs, and supported SI/US customary units.

Mathematical Variables and Units Summary Table
Variable Symbol Parameter Name & Description Role Supported Units
resistance Resistance (R) Resistance value in Ohms (Ω). Input mΩ, Ω, kΩ, MΩ
capacitance Capacitance (C) Capacitance value in Farads (F). Input pF, nF, uF, F
result Time Constant (τ) RC time constant representing time to charge/discharge to ~63.2% of total voltage. Output s
ℹ

Result Interpretation & Practical Meaning

Physical significance, evaluation guidelines, and domain context for the calculated output.

The computed time constant (τ = R·C) defines the characteristic exponential time scale of an RC network. During charging through a series resistor, capacitor voltage reaches 63.2% of the input step after one time constant (1τ), 86.5% after 2τ, 95.0% after 3τ, and 99.3% after 5τ (the conventional threshold for engineering steady state). In the frequency domain, the network behaves as a first-order low-pass filter with a half-power corner frequency fc = 1 / (2πRC), above which signals attenuate at −20 dB per decade.

What is the RC Time Constant?

Definition:
The time constant of a first-order resistor-capacitor circuit represents the duration required to charge a capacitor to approximately 63.2%63.2\% of supply voltage, defined as τ=R⋅C\tau = R \cdot C, where τ\tau is time in seconds, RR is series resistance in Ohms, and CC is capacitance in Farads.

The RC Time Constant (τ\tau, pronounced “tau”) is a fundamental parameter in electrical engineering that quantifies the time required for a capacitor to charge or discharge through a series resistor in response to a step voltage input. It is defined as the product of Resistance (RR) in Ohms (Ω\Omega) and Capacitance (CC) in Farads (F\text{F}):

τ=R⋅C\tau = R \cdot C

Dimensional Consistency: [τ]=[Ω]⋅[F]=(VA)⋅(A⋅sV)=seconds (s)[\tau] = [\Omega] \cdot [\text{F}] = \left(\frac{\text{V}}{\text{A}}\right) \cdot \left(\frac{\text{A} \cdot \text{s}}{\text{V}}\right) = \text{seconds } (\text{s})

During charging, one time constant (t=1τt = 1\tau) represents the time required for capacitor voltage VC(t)V_C(t) to rise from 0 V0\text{ V} to approximately 63.2%63.2\% of the supply voltage (V0V_0). During discharging, t=1τt = 1\tau represents the time required for the voltage to decay to 36.8%36.8\% of its initial charge.


Mathematical Derivation from Kirchhoff’s Voltage Law (KVL)

Consider a series circuit with a DC supply V0V_0, resistor RR, and capacitor CC. Applying Kirchhoff’s Voltage Law around the loop:

V0=vR(t)+vC(t)V_0 = v_R(t) + v_C(t)

Since current through the resistor equals the capacitive displacement current i(t)=CdvC(t)dti(t) = C \frac{dv_C(t)}{dt}:

V0=R⋅C⋅dvC(t)dt+vC(t)V_0 = R \cdot C \cdot \frac{dv_C(t)}{dt} + v_C(t)

Rearranging into standard first-order linear differential equation form:

dvC(t)dt+1R⋅CvC(t)=V0R⋅C\frac{dv_C(t)}{dt} + \frac{1}{R \cdot C} v_C(t) = \frac{V_0}{R \cdot C}

Integrating with initial condition vC(0)=0 Vv_C(0) = 0\text{ V} yields the classic exponential step response:

vC(t)=V0⋅(1−e−t/τ)v_C(t) = V_0 \cdot \left(1 - e^{-t / \tau}\right)


Capacitor Charging vs Discharging Curves

Time Elapsed (tt)Charging Voltage (vC/V0v_C / V_0)Discharging Voltage (vC/Vinitialv_C / V_{\text{initial}})Practical Engineering Interpretation
0τ0\tau0.00%0.00\%100.00%100.00\%Initial state immediately after switch closure
1τ1\tau63.21%63.21\%36.79%36.79\%Standard time constant reference point (1−e−11 - e^{-1})
2τ2\tau86.47%86.47\%13.53%13.53\%Moderate charge milestone
3τ3\tau95.02%95.02\%4.98%4.98\%Practical digital logic threshold level
4τ4\tau98.17%98.17\%1.83%1.83\%Near-complete stabilization
5τ5\tau99.33%99.33\%0.67%0.67\%Settling Time Rule: Circuit is considered at steady state (>99%>99\%)

Discharging Equation

When the capacitor is disconnected from the supply and discharged through resistor RR: vC(t)=Vinitial⋅e−t/τv_C(t) = V_{\text{initial}} \cdot e^{-t / \tau}


Frequency-Domain Cutoff Frequency (fcf_c)

In frequency-domain filter analysis, an RC circuit acts as a first-order passive low-pass or high-pass filter. The half-power (−3 dB)(-3\text{ dB}) cutoff frequency (fcf_c) is directly related to the time constant τ\tau:

fc=12π⋅R⋅C=12π⋅τf_c = \frac{1}{2 \pi \cdot R \cdot C} = \frac{1}{2 \pi \cdot \tau}

At frequency f=fcf = f_c, the output signal voltage drops to 12≈70.7%\frac{1}{\sqrt{2}} \approx 70.7\% of the input amplitude, and the phase shift between input and output is exactly 45∘45^\circ.


Step-by-Step Worked Example

Problem: A microcontroller power-on reset circuit uses a R=47 kΩR = 47\text{ k}\Omega pull-up resistor and a C=10 μFC = 10\text{ }\mu\text{F} ceramic capacitor connected to a V0=5.0 VV_0 = 5.0\text{ V} rail.

  1. Convert to Base SI Units:

    • R=47 kΩ=47,000 ΩR = 47\text{ k}\Omega = 47{,}000\text{ }\Omega
    • C=10 μF=10×10−6 F=1.0×10−5 FC = 10\text{ }\mu\text{F} = 10 \times 10^{-6}\text{ F} = 1.0 \times 10^{-5}\text{ F}
  2. Calculate Time Constant (τ\tau): τ=R⋅C=47,000 Ω×1.0×10−5 F=0.47 seconds=470 ms\tau = R \cdot C = 47{,}000\text{ }\Omega \times 1.0 \times 10^{-5}\text{ F} = 0.47\text{ seconds} = 470\text{ ms}

  3. Calculate Voltage after t=1τt = 1\tau (470 ms470\text{ ms}): vC(1τ)=5.0 V×(1−e−1)=5.0×0.6321=3.16 Vv_C(1\tau) = 5.0\text{ V} \times (1 - e^{-1}) = 5.0 \times 0.6321 = 3.16\text{ V}

  4. Calculate Full Settling Time (5τ5\tau): tsettle=5×0.47 s=2.35 secondst_{\text{settle}} = 5 \times 0.47\text{ s} = 2.35\text{ seconds} vC(5τ)=5.0 V×(1−e−5)=5.0×0.9933=4.97 Vv_C(5\tau) = 5.0\text{ V} \times (1 - e^{-5}) = 5.0 \times 0.9933 = 4.97\text{ V}

  5. Calculate Equivalent 3dB Low-Pass Filter Cutoff (fcf_c): fc=12π×0.47 s≈0.338 Hzf_c = \frac{1}{2 \pi \times 0.47\text{ s}} \approx 0.338\text{ Hz}


Engineering Assumptions & Physical Limitations

  1. Ideal Component Behavior: The model assumes constant resistance RR (ignoring thermal coefficient effects) and constant capacitance CC (ignoring voltage coefficient of capacitance in Class 2/3 ceramics).
  2. Capacitor Leakage Resistance: High-value electrolytic capacitors exhibit parallel internal leakage resistance (RleakR_{\text{leak}}), which forms a voltage divider with RR and prevents the capacitor from reaching 100%100\% supply voltage in multi-second delay circuits.
  3. Source & Switch Impedance: Practical voltage sources have non-zero internal output impedance (RsR_s) that adds in series to RR, slightly increasing the effective time constant (τeff=(R+Rs)⋅C\tau_{\text{eff}} = (R + R_s) \cdot C).

Mathematical Derivation & Formula

Theoretical formulation derived from standard physics and engineering textbooks and models.

Step-by-Step Mathematical Proof

Step 1

Formulate First-Order Loop Differential Equation

Vin=vR(t)+vC(t)=RCdvC(t)dt+vC(t)V_{\text{in}} = v_R(t) + v_C(t) = R C \frac{d v_C(t)}{dt} + v_C(t)

Kirchhoff's voltage law combined with capacitive displacement current i = C(dv/dt).

Step 2

Solve Homogeneous and Particular Transient Response

vC(t)=Vin(1−e−t/(RC)),τ=RCv_C(t) = V_{\text{in}} \left(1 - e^{-t / (RC)}\right), \quad \tau = R C

Integrating from initial condition v(0) = 0 yields exponential charging with time constant tau.

Common Engineering & Calculation Pitfalls

Frequent calculation errors, unit confusion, and model boundary conditions.

Equating Time Constant (τ) with Full Charge Time

Why it happens: Assuming the capacitor is fully charged after one time constant τ.

Correct approach: Allow at least 5τ (5 × RC) for the capacitor to reach 99.3% of the target step voltage.

Overlooking Source and Load Resistances

Why it happens: Assuming R consists only of the discrete resistor without including signal generator source impedance.

Correct approach: Use the Thevenin equivalent resistance viewed from the capacitor terminals when evaluating tau.

Capacitor Tolerance and Dielectric Absorption

Why it happens: Using high-dielectric electrolytic or Y5V ceramic capacitors for precision timing circuits.

Correct approach: Use C0G/NP0 ceramic or polypropylene film capacitors for stable, temperature-invariant timing filters.

Real-World Engineering Applications

Industry deployment scenarios, practical design constraints, and field applications.

Embedded Systems

Hardware Switch Debouncing

Filtering mechanical pushbutton contact bounce by suppressing microsecond transient spikes.

Signal Processing

Anti-Aliasing Filter Cutoff Tuning

Setting the analog −3 dB bandwidth corner ahead of ADC sampling stages to satisfy Nyquist requirements.

Frequently Asked Questions

Technical explanations grounded in governing physical laws and textbook derivations.

Frequently Asked Questions

Why does an RC charging circuit reach exactly 63.2% of supply voltage after one time constant?

The instantaneous voltage across a charging capacitor follows the first-order differential solution VC(t)=Vs(1−e−t/τ)V_C(t) = V_s (1 - e^{-t / \tau}), where τ=R×C\tau = R \times C. Evaluating this equation at precisely t=1τt = 1\tau:

VC(τ)=Vs(1−e−1)=Vs(1−12.71828)=Vs(1−0.3679)=0.6321×VsV_C(\tau) = V_s (1 - e^{-1}) = V_s \left(1 - \frac{1}{2.71828}\right) = V_s (1 - 0.3679) = 0.6321 \times V_s

Hence, after one time constant, the voltage has completed 63.21% of its total trajectory toward VsV_s. Conversely, during discharging from initial charge V0V_0, VC(τ)=V0e−1=0.3679×V0V_C(\tau) = V_0 e^{-1} = 0.3679 \times V_0, retaining exactly 36.79% of initial voltage.

How does excessive series resistance degrade analog-to-digital converter (ADC) sampling accuracy?

Microcontroller internal ADCs feature a sample-and-hold circuit comprising an analog multiplexer switch resistance (RswR_{\text{sw}}) and an internal sampling capacitor (CshC_{\text{sh}}, typically 5 pF−15 pF5\text{ pF} - 15\text{ pF}). When an external RC anti-aliasing filter has an excessively large resistance RextR_{\text{ext}}, the total charging resistance (Rext+RswR_{\text{ext}} + R_{\text{sw}}) inflates the sampling time constant τsamp\tau_{\text{samp}}. If the microcontroller’s configured sample acquisition window (tacqt_{\text{acq}}) is shorter than 9τ−12τ9\tau - 12\tau, CshC_{\text{sh}} cannot fully track input voltages before the switch opens, resulting in severe gain error, inter-channel crosstalk, and high-frequency code distortion.

At what threshold can an RC circuit be practically treated as fully charged or discharged?

In pure mathematics, exponential decay e−t/τe^{-t/\tau} approaches zero asymptotically and requires infinite time. In practical engineering, settling time is evaluated in multiples of time constants (τ\tau):

  • 3τ3\tau: 95.02% settled (5% residual error) — adequate for crude turn-on delays.
  • 5τ5\tau: 99.33% settled (< 1% residual error) — the universal engineering rule of thumb for stable steady state.
  • 7τ7\tau: 99.91% settled — required for high-resolution 10-bit to 12-bit ADC data acquisition systems where 1/2 LSB1/2\text{ LSB} accuracy is needed.

What dictates whether an RC circuit functions as a low-pass integrator or a differentiator?

The operating behavior depends on the ratio of the circuit time constant (τ=RC\tau = RC) relative to the input waveform pulse period (TT):

  • Integrator (Low-Pass Filter): When τ≫T\tau \gg T and output is taken across the capacitor (Vout=VCV_{\text{out}} = V_C), the capacitor charges slowly and linearly, producing an output proportional to the integral of the input signal ∫Vindt\int V_{\text{in}} dt. High frequencies are attenuated toward ground.
  • Differentiator (High-Pass Filter): When τ≪T\tau \ll T and output is taken across the resistor (Vout=VRV_{\text{out}} = V_R), the capacitor blocks DC while transmitting rapid step transients, producing narrow impulse spikes proportional to the rate of change dVin/dtdV_{\text{in}}/dt.

Academic References & Textbooks

Curated academic sources, engineering textbooks, and relevant technical references.

  • Engineering Circuit Analysis (9th Edition)
    Authors: William H. Hayt, Jack E. Kemmerly, Steven M. Durbin • Source: McGraw-Hill Education • Year: 2019