The capacitor and voltage equation for a charging RC (resistor-capacitor) network is Vc(t) = Vs × (1 - e-t/RC). This formula calculates the exact voltage across a capacitor at any given time after a step DC voltage is applied. Whether you are designing a 555 timer delay, sizing a soft-start circuit for a power supply, or calculating the dropout time for a UPS hold-up bank, this single exponential relationship governs the energy storage behavior of the circuit.
While the fundamental electrostatic definition of capacitance is C = Q / V (Charge equals Capacitance times Voltage), practical electronics relies on the time-domain voltage equation. Below, we break down the formula, map it to real-world components, and solve practical design problems with strict unit tracking.
The Core Formula and Symbol Definitions
The standard charging equation assumes the capacitor begins at 0V and charges toward a constant DC source voltage through a series resistor. The voltage across the capacitor asymptotically approaches the source voltage but theoretically never reaches it.
| Symbol | Unit | Description |
|---|---|---|
| Vc(t) | Volts (V) | Voltage across the capacitor at time t. |
| Vs | Volts (V) | Source (supply) voltage. The maximum theoretical voltage the capacitor will reach. |
| e | Dimensionless | Euler’s number, the base of the natural logarithm (≈ 2.71828). |
| t | Seconds (s) | Elapsed time since the DC voltage was applied to the circuit. |
| R | Ohms (Ω) | Series resistance limiting the charging current. |
| C | Farads (F) | Capacitance value of the component. |
| τ (tau) | Seconds (s) | The RC time constant (τ = R × C). The time required to reach ≈ 63.2% of Vs. |
Real-World Component Data and Magnitudes
Theoretical formulas assume ideal components. On the bench, parasitic elements like Equivalent Series Resistance (ESR) and dielectric absorption alter the charging curve, especially at the extremes of time and voltage. The table below maps the capacitor and voltage equation to physical components you will actually pull from your parts bin.
| Dielectric / Type | Typical Value | Max Voltage | Typical ESR | τ with 10kΩ Resistor | Practical Application |
|---|---|---|---|---|---|
| MLCC (X7R Ceramic) | 100 nF (0.1 μF) | 50 V | < 5 mΩ | 1 ms | High-frequency decoupling, fast signal filtering. |
| Aluminum Electrolytic | 470 μF | 25 V | ≈ 150 mΩ | 4.7 s | Power supply bulk storage, audio coupling, timer delays. |
| Metallized Polypropylene (Film) | 1 μF | 400 V | ≈ 20 mΩ | 10 ms | Snubber circuits, motor run, high-voltage timing. (Warning: 400V film caps can retain lethal charge due to dielectric absorption; always use a bleeder resistor). |
| EDLC Supercapacitor | 10 F | 2.7 V | ≈ 50 mΩ | 100,000 s (27.7 hrs) | RTC backup, energy harvesting, short-term UPS hold-up. |
Notice the massive spread in time constants. A 10kΩ resistor charges a ceramic capacitor in milliseconds, but that same resistor would take over a day to charge a supercapacitor to 63.2% of its rated voltage. Sizing your resistor to match the capacitor’s physical reality is the core challenge of RC design.
Rearranged Forms for Circuit Design
In practical design, you rarely know all variables and just need to find the final voltage. Usually, you have a target voltage and a time constraint, and you need to select the resistor or capacitor. Here are the algebraically rearranged forms of the capacitor and voltage equation, solving for every primary variable.
- Solving for Time (t):
t = -R × C × ln(1 - (Vc(t) / Vs))
Use when: You have fixed R and C values and need to know how long it takes to trigger a threshold (e.g., a microcontroller interrupt or 555 timer). - Solving for Resistance (R):
R = -t / (C × ln(1 - (Vc(t) / Vs)))
Use when: You have a fixed capacitor and a strict timing requirement, and need to calculate the required series resistor. - Solving for Capacitance (C):
C = -t / (R × ln(1 - (Vc(t) / Vs)))
Use when: You are constrained by available resistor values or PCB trace resistance and need to size the capacitor to meet a delay. - Solving for Source Voltage (Vs):
Vs = Vc(t) / (1 - e-t/RC)
Use when: You measure a capacitor’s voltage at a known time and resistance, and need to deduce the original supply voltage (useful in forensic circuit debugging).
Worked Problems with Strict Unit Tracking
The most common point of failure in RC calculations is unit mismanagement. The formula demands base SI units: Ohms, Farads, and Seconds. Let’s walk through two real-world scenarios with explicit unit conversions.
Problem 1: Calculating Delay Time for a 555 Timer Trigger
Scenario: You are building a monostable delay circuit. The supply voltage (Vs) is 9V. The internal comparators of the NE555 chip trigger when the capacitor voltage (Vc) reaches exactly 2/3 of Vs (which is 6V). Your timing resistor (R) is 470 kΩ and your capacitor (C) is 10 μF. How long is the delay (t)?
- Convert to base units:
R = 470,000 Ω (or 4.7 × 105 Ω)
C = 0.00001 F (or 10 × 10-6 F)
Vc(t) = 6 V
Vs = 9 V - Calculate the time constant (τ):
τ = R × C = 470,000 × 0.00001 = 4.7 seconds. - Apply the rearranged time formula:
t = -τ × ln(1 - (Vc / Vs))
t = -4.7 × ln(1 - (6 / 9))
t = -4.7 × ln(1 - 0.6667)
t = -4.7 × ln(0.3333) - Solve the natural log:
ln(0.3333) ≈ -1.0986
t = -4.7 × -1.0986 = 5.16 seconds.
Note: The ratio 2/3 Vs means the ln() term will always evaluate to roughly -1.0986, which is why the standard 555 monostable formula is often simplified to t = 1.1 × R × C.
Problem 2: Sizing a Capacitor for a Soft-Start Circuit
Scenario: You are designing a soft-start for a 12V motor controller. You need the enable pin to reach 10V (Vc) exactly 200 milliseconds (t) after power is applied. The supply (Vs) is 12V. You have a standard 10 kΩ resistor (R) in your BOM. What capacitor (C) do you need?
- Convert to base units:
t = 0.2 seconds (200 ms / 1000)
R = 10,000 Ω
Vc(t) = 10 V
Vs = 12 V - Apply the rearranged capacitance formula:
C = -t / (R × ln(1 - (Vc / Vs)))
C = -0.2 / (10,000 × ln(1 - (10 / 12)))
C = -0.2 / (10,000 × ln(1 - 0.8333))
C = -0.2 / (10,000 × ln(0.1667)) - Solve the natural log and denominator:
ln(0.1667) ≈ -1.7917
Denominator = 10,000 × -1.7917 = -17,917 - Calculate final capacitance:
C = -0.2 / -17,917 = 0.00001116 Farads. - Convert to standard component units:
0.00001116 F = 11.16 μF.
Design Decision: 11.16 μF is not a standard E12/E24 value. You would select the next closest standard value, such as 10 μF (which will trigger slightly early, at ≈179ms) or 15 μF (which will trigger late, at ≈268ms), depending on whether your system fails safely on early or late enablement. For precision, use a 10 μF capacitor in parallel with a 1 μF ceramic.
Assumptions, Edge Cases, and Unit Traps
The capacitor and voltage equation is a mathematical idealization. To use it reliably on the bench, you must understand where the math diverges from physical reality.
When the Formula Applies (and When It Doesn’t)
This specific equation assumes three conditions:
- Zero Initial Charge: The capacitor starts at exactly 0V. If the capacitor has a residual charge (V0), the equation must be modified to:
Vc(t) = Vs + (V0 - Vs)e-t/RC. - Constant DC Source: Vs must be a stiff, unchanging DC voltage. If Vs is an AC waveform or a drooping power supply, this formula is invalid; you must use differential equations or Laplace transforms.
- Lumped Element Model: The physical layout is small enough that trace inductance and propagation delays are negligible. At RF frequencies (above ≈100 MHz), the capacitor behaves as a complex impedance network, not a pure C.
The "Micro-Milli" Unit Trap
The most frequent error hobbyists make is plugging microfarads and milliseconds directly into the formula without converting to base units, or incorrectly assuming they cancel out.
Here is the rule: Mega (Ω) and Micro (μF) cancel to Seconds. Kilo (Ω) and Micro (μF) cancel to Milliseconds.
If you multiply 10 kΩ (104) by 10 μF (10-5), the result is 10-1 seconds, or 100 milliseconds. If you accidentally type 10 * 10 into your calculator without adjusting the exponents, you will calculate a 100-second delay instead of a 0.1-second delay. Always write out the scientific notation during your first pass of the calculation.
Realistic Answer Magnitudes
Developing an intuition for the output prevents catastrophic design errors. In low-voltage DC logic circuits (3.3V or 5V), realistic time constants (τ) range from 1 μs to 5 seconds. If your calculation yields a time constant of 4,000 seconds for a simple LED fade circuit, you have likely missed a decimal place in your capacitor conversion. Conversely, if you are designing a supercapacitor backup for an RTC (Real Time Clock), time constants in the tens of thousands of seconds are entirely normal and expected.
For further reading on the physical limitations of capacitors in timing circuits, review the parasitic effects detailed in Electronics Tutorials' RC Time Constant guide, and consult SparkFun’s Capacitor Primer for practical component selection advice regarding ESR and temperature coefficients.






