Time Constant Calculator Overview
The Time Constant Calculator determines the RC time constant of a resistor-capacitor circuit and the energy stored in a charged capacitor. Enter resistance, capacitance, and voltage to calculate the response time in seconds and stored energy in joules.
The time constant does not represent the exact time required for a capacitor to become completely charged or discharged. Instead, it describes the speed of the exponential response. After one time constant, a charging capacitor has completed about 63.2% of the voltage change, while a discharging capacitor retains about 36.8% of its initial voltage. Five time constants corresponds to about 99.3% of the total change and is commonly used as a practical settling estimate.
This calculator is useful for RC delay circuits, reset networks, sensor filtering, power-supply startup, capacitor discharge planning, pulse circuits, debounce networks, and first-order low-pass or high-pass filters.
What This Calculator Calculates
RC time constant: the characteristic response time of the resistor-capacitor network.
Stored capacitor energy: the electrical energy stored at the entered capacitance and voltage.
Approximate settling time: one to five time constants can be used to estimate charging or discharging progress.
Input Parameters
| Input | Meaning | Common Units |
|---|---|---|
| Voltage, V | The voltage across the capacitor used in the stored-energy calculation. | V |
| Capacitance, C | The capacitance of the capacitor. | F, mF, µF, nF, pF |
| Resistance, R | The effective resistance through which the capacitor charges or discharges. | Ω, kΩ, MΩ |
Output Parameters
| Output | Meaning | SI Unit |
|---|---|---|
| Time constant, τ | The characteristic time for the RC voltage and current response. | s |
| Stored energy, E | The ideal electrical energy stored in the capacitor at the entered voltage. | J |
Capacitor Energy Formula
The ideal energy stored in a capacitor is:
E = 0.5 × C × V2
Where:
E = stored energy in joules
C = capacitance in farads
V = voltage across the capacitor in volts
The voltage is squared, so stored energy rises quickly as voltage increases. Doubling the voltage stores four times as much energy when capacitance remains unchanged.

Capacitor Energy Example
Consider a 1000 µF capacitor charged to 10 V. First convert the capacitance to farads:
1000 µF = 0.001 F
Then calculate the stored energy:
E = 0.5 × 0.001 × 102 = 0.05 J
The ideal stored energy is 0.05 joule. Resistance affects how quickly this energy is transferred, but it does not change the ideal energy stored at a specified capacitance and voltage.
RC Time Constant Formula
For a simple RC circuit, the time constant is:
τ = R × C
Where:
τ = time constant in seconds
R = resistance in ohms
C = capacitance in farads
When more components are connected around the capacitor, use the effective resistance seen from the capacitor terminals rather than automatically using one labeled resistor. Independent voltage sources are set to zero when determining this resistance for a linear RC network.
Time Constant Example
Consider a 2000 µF capacitor charging or discharging through a 10 kΩ resistor:
C = 2000 µF = 0.002 F
R = 10 kΩ = 10000 Ω
τ = 10000 × 0.002 = 20 s
After 20 seconds, the capacitor has completed about 63.2% of a charging transition or retains about 36.8% of its initial voltage during discharge. A practical five-time-constant estimate is 100 seconds.
Capacitor Charging Equation
For a capacitor that starts at 0 V and charges through a resistor toward a constant supply voltage, the capacitor voltage is:
VC(t) = VS × (1 - e-t/RC)
For a capacitor with an initial voltage that is not zero, the more general equation is:
VC(t) = VF + (V0 - VF) × e-t/RC
Where V0 is the initial capacitor voltage and VF is the final steady-state voltage. The capacitor voltage changes rapidly at first, then approaches the final value more slowly.
Capacitor Discharging Equation
For a capacitor discharging through a resistor toward 0 V:
VC(t) = V0 × e-t/RC
The ideal discharge current has the same exponential decay. Its initial magnitude is approximately V0 divided by R, then it decreases as the capacitor voltage falls.

Charging and Discharging Percentages
| Elapsed Time | Charging Voltage | Discharging Voltage Remaining |
|---|---|---|
| 0.5τ | 39.3% of final voltage | 60.7% of initial voltage |
| 1τ | 63.2% of final voltage | 36.8% of initial voltage |
| 2τ | 86.5% of final voltage | 13.5% of initial voltage |
| 3τ | 95.0% of final voltage | 5.0% of initial voltage |
| 4τ | 98.2% of final voltage | 1.8% of initial voltage |
| 5τ | 99.3% of final voltage | 0.7% of initial voltage |
A capacitor never reaches its final value in a mathematically exact sense because the response is exponential. In practical circuit work, five time constants is often treated as fully settled when an error of about 0.7% is acceptable. Precision systems may require a longer settling interval.
How to Calculate Time to a Target Voltage
One time constant is only a reference point. When a circuit must reach a specific threshold, calculate the required time directly.
Charging from 0 V
t = -R × C × ln(1 - VT / VS)
VT is the target capacitor voltage and VS is the charging supply voltage. The target must be lower than the supply voltage for this ideal equation.
Discharging toward 0 V
t = R × C × ln(V0 / VT)
V0 is the initial voltage and VT is the desired lower voltage. These equations are useful for reset thresholds, logic input thresholds, delay circuits, and capacitor safety-discharge calculations.
Useful Unit Combinations
The formula τ = RC gives seconds when resistance is in ohms and capacitance is in farads. The following combinations can reduce conversion mistakes:
| Resistance Unit | Capacitance Unit | Resulting Time Unit |
|---|---|---|
| Ω | F | s |
| Ω | µF | µs |
| kΩ | µF | ms |
| MΩ | µF | s |
| kΩ | nF | µs |
| MΩ | nF | ms |
Capacitance and Resistance Conversions
| Value | Equivalent SI Value |
|---|---|
| 1 mF | 0.001 F |
| 1 µF | 0.000001 F |
| 1 nF | 0.000000001 F |
| 1 pF | 0.000000000001 F |
| 1 kΩ | 1000 Ω |
| 1 MΩ | 1000000 Ω |
How to Use the Time Constant Calculator
Enter the capacitor voltage used for the energy calculation.
Enter the capacitance value and select the correct capacitance unit.
Enter the effective charging or discharging resistance and select its unit.
Calculate the capacitor energy and RC time constant.
Multiply τ by the required number of time constants to estimate settling time.
For a specific threshold, use the charging or discharging logarithmic equation.
Check the result against component tolerances, leakage, source resistance, and load current.
Worked RC Charging Example
A 47 µF capacitor charges from 0 V toward 5 V through a 100 kΩ resistor.
τ = 100000 × 0.000047 = 4.7 s
| Elapsed Time | Approximate Capacitor Voltage |
|---|---|
| 4.7 s | 3.16 V |
| 9.4 s | 4.32 V |
| 14.1 s | 4.75 V |
| 23.5 s | 4.97 V |
If a logic input changes state at 3.0 V, the switching delay is not exactly one time constant. Using the target-voltage equation gives approximately 4.31 seconds for an ideal circuit.
Practical Design Considerations
Component tolerance: the actual RC time may vary with both resistor and capacitor tolerance.
Capacitor leakage: leakage can prevent a high-resistance timing circuit from reaching the expected voltage.
Input and load resistance: connected circuitry may be parallel with the timing resistor and change the effective R value.
Source resistance: a power source, signal generator, switch, or transistor may add series resistance.
Equivalent series resistance: capacitor ESR affects pulse current, loss, and very fast transients.
DC bias: some ceramic capacitors lose substantial effective capacitance as applied voltage increases.
Temperature: resistance, capacitance, leakage, and ESR can change with temperature.
Initial voltage: a capacitor that is not fully discharged requires the general charging equation.
Voltage rating: the capacitor rating must exceed the highest voltage it will experience.
Stored-energy safety: large or high-voltage capacitors may remain hazardous after power is removed.
Common Calculation Mistakes
Entering microfarads as farads without applying the 10-6 conversion.
Entering kilo-ohms as ohms without applying the 103 conversion.
Calling one time constant a complete charge or discharge.
Using reactance instead of resistance in the DC transient formula.
Ignoring the resistance of the source, load, measurement probe, or semiconductor switch.
Assuming the nominal capacitor value is its exact in-circuit capacitance.
Using the energy formula with capacitance in µF while expecting a result directly in joules.
Assuming RC timing alone defines an RC filter without considering its cutoff frequency and surrounding impedances.
Time Constant and RC Filter Cutoff Frequency
For a first-order RC filter, the time constant is related to the cutoff frequency:
fC = 1 / (2 × π × R × C) = 1 / (2 × π × τ)
A larger time constant produces a lower cutoff frequency and a slower transient response. This relationship applies to ideal first-order RC networks; source and load impedances must be included when they affect the resistance seen by the capacitor.
Video References
Frequently Asked Questions
What is an RC time constant?
The RC time constant is the product of effective resistance and capacitance. It describes how quickly capacitor voltage and circuit current respond to a step change.
Why is the charge level 63.2% after one time constant?
Ideal capacitor charging follows 1 - e-t/RC. At t = RC, this becomes 1 - e-1, which is approximately 0.632.
How long does a capacitor take to charge fully?
An ideal capacitor approaches its final voltage exponentially and never reaches it exactly. Five time constants reaches about 99.3%, which is often close enough for practical estimates. Precision applications may need a stricter settling requirement.
Does resistance change the energy stored in the capacitor?
For an ideal capacitor at a fixed final voltage, stored energy depends on capacitance and voltage. Resistance changes charging and discharging speed and controls current, but not the ideal final energy.
Can I multiply kΩ by µF directly?
Yes, but the numerical result is in milliseconds. For example, 10 kΩ × 100 µF = 1000 ms, which equals 1 second.
What resistance should be used in a complex circuit?
Use the effective resistance seen by the capacitor. This may include a timing resistor, source resistance, load resistance, switch resistance, and other paths connected to the capacitor.
Is a five-time-constant estimate always sufficient?
No. Five time constants leaves about 0.7% of the transition unfinished. Systems with tighter accuracy requirements need more settling time, while threshold circuits may require less.
Can a charged capacitor be dangerous?
Yes. Large-capacitance or high-voltage capacitors can store hazardous energy. Use a suitable discharge path and verify the voltage before touching or servicing the circuit.


Product
Brand
Articles
Tools



















