Saved

Press the star next to a tool's name to save it.

All my tools

Capacitor Charge Time Calculator

Use this capacitor charge time calculator to find how long a capacitor takes to charge through a resistor to a voltage, and its voltage after a given charging or discharging time.

Restored your last values ·

Choose whether to find the time to reach a voltage, or the voltage after a charging or a discharging time. Enter the resistor and the capacitor with their units, and the supply voltage.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the resistor, the capacitor and the voltage, then press Calculate.

See full result

A capacitor charge time calculator finds how long a capacitor takes to charge through a resistor, and what its voltage is after a given time. It also works for discharging. Enter the resistance, the capacitance and the supply voltage, and a target voltage or a time.

How to use the capacitor charge time calculator

  1. Choose what you want.
  2. Enter the resistance, capacitance and voltage.
  3. Enter the target voltage or the time.
  4. Press Calculate.

Charging

When a capacitor charges through a resistor from a supply V₁, its voltage is V_C(t) = V₁ (1 − e^(−t ÷ RC)) [1]. It rises quickly at first and then more slowly, and it approaches the supply voltage but never quite reaches it. The product R C is the time constant τ [1]. In the calculator, a resistor of 10 kilohms and a capacitor of 100 microfarads have τ = 1 second.

Time to a voltage

Rearranging the formula, the time to reach a voltage V is t = −R C ln(1 − V ÷ V₁). To charge a capacitor from 0 to 9 volts from a 12 volt supply, which is 75 percent, with τ = 1 second, the time is 1.3863 seconds. The rearrangement is our own algebra. A target equal to or above the supply cannot be reached, and the calculator says so.

Percentages of the supply

The page gives the standard figures: about 63.2 percent of the final voltage after one time constant, and over 99.3 percent after about five [1]. It also lists what remains of a discharging capacitor: 36.8 percent after one τ, 13.5 after two, 5 after three, 1.8 after four and under 0.7 after five [1]. The working line shows the elapsed time in time constants.

Voltage at a time

In the second mode, enter the time and read the voltage. After 2 seconds, the capacitor of the example is at 12 × (1 − e^(−2)) = 10.376 volts, which is 86.47 percent of the supply. After 500 milliseconds it is at 4.72 volts. The time can be entered in seconds, milliseconds or microseconds, whichever suits your circuit.

Discharging

The page gives the voltage of a discharging capacitor as V(t) = V₀ e^(−t ÷ RC) [1]. For a capacitor that starts at 12 volts and discharges through the same 10 kilohm resistor, the voltage after 1 second is 4.4146 volts, 36.8 percent of the start, as the page says. The half-life of the discharge is ln 2 times τ, which is 0.693τ [1], 693.15 milliseconds here.

Choosing the values

To get a delay of a given length, choose R and C so that τ matches the time that you need. A longer delay needs a larger resistor or capacitor. Bigger values draw less current from the supply but are more sensitive to leakage. Compare several pairs in the calculator: 100 kilohms with 10 microfarads gives the same τ of 1 second as the example.

Units

Resistances can be in ohms, kilohms or megohms, and capacitances in picofarads, nanofarads, microfarads or millifarads. The results are given in seconds, milliseconds or microseconds, choosing the unit that reads best. The calculator multiplies the two to get τ in seconds and shows it in the working line.

Timers and filters

Charging through a resistor is the basis of simple timers, debounce circuits, power-on delays and the sample-and-hold in converters. It is also the step response of an RC filter, which is why the time constant and the cutoff frequency are related: f = 1 ÷ (2π τ). The RC cutoff calculator on this site finds the frequency for a given pair of values.

Limits

Real capacitors leak, and have a series resistance and tolerances of 5 to 20 percent, so a real delay differs from the calculated one. The formulas also assume that the source can supply the current, and that the capacitor is initially empty when charging. A capacitor that is not empty at the start needs the initial voltage in the formula, which this calculator does not offer.

Using the calculator

Select the mode, enter the resistor and the capacitor, then the supply voltage and a target or a time. Read the result and the number of time constants in the working line. For safety on a real circuit, remember that a charged capacitor holds energy, and discharge it through a resistor before you touch it.

Charge at each time constant

After 1τ a charging capacitor is at 63.2 percent of the supply, after 2τ at 86.5 percent, after 3τ at 95.0 percent, after 4τ at 98.2 percent and after 5τ at 99.3 percent. These come from 1 − e^(−n), our own arithmetic, and they agree with the 63.2 percent and 99.3 percent figures that the page gives for one and five time constants. Use the table to judge how long to wait for a given accuracy.

Safety note

A capacitor can keep a dangerous charge long after the power is off. Large electrolytic capacitors in power supplies, flash units and motor drives can hold enough energy to hurt. Always discharge them through a suitable resistor before you work on a circuit, and never short them out directly. You can use the discharge mode of the calculator to work out how long the discharge takes for a given resistor.

Common mistakes

  • Expecting the capacitor to reach the supply exactly. It approaches it.
  • Mixing up µF and nF. Check the units.
  • Forgetting the series resistance of the source. It adds to R.
  • Using the charging formula for a capacitor that is not empty. The start voltage matters.

What next

Use this often? Add Capacitor Ch to your Home screen.

Frequently asked questions

What is a capacitor charge time calculator?

A tool that finds the time to charge a capacitor through a resistor, or its voltage after a time.

What is the capacitor charging formula?

V(t) = V_s (1 − e^(−t ÷ RC)).

How long does a capacitor take to charge fully?

About five time constants, 5RC, to over 99 percent.

How much does it charge in one time constant?

About 63.2 percent.

What is the discharging formula?

V(t) = V₀ e^(−t ÷ RC).

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools