RC Capacitor Charging
Also known as capacitor charging curve · RC rise · one minus e to the minus t over tau
Worked example: 12 V supply after one time constant → 7.585447 V — press Try an example to run it live, then adjust anything.
Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!
Learning zone
Close a switch and a capacitor does not jump to the supply voltage; it approaches it. The reason is a feedback loop running the opposite way from the discharge case: the current that charges the capacitor is set by the voltage across the resistor, which is the supply minus whatever the capacitor has already reached. The fuller the capacitor gets, the smaller that difference, the smaller the current, and the slower the filling. What is left to go shrinks by the same fraction in every equal interval, which is the signature of an exponential, and the curve is with .
The percentages are worth memorising because they turn up everywhere: 63.2% of the supply after one time constant, 86.5% after two, 95.0% after three, 98.2% after four and 99.3% after five. A 12 V supply charging through reaches at . Note what the companion discharge page gives for the same numbers — 4.415 V — and that the two sum to exactly 12. They are the same curve, measured from opposite ends.
Inverting for time is the form most often wanted in practice: . Reaching half the supply takes , which is why a 555 timer's astable period comes out with a in it. Reaching 99% takes , which is why the trade rounds to five time constants and calls it charged.
The first thing to be honest about is that the capacitor never gets there. The exponential approaches asymptotically, so "fully charged" is always a threshold somebody chose, and solving this page for or with at or above correctly returns nothing — there is no finite time. Three practical limits follow. The curve assumes a constant supply and a single series resistance; a supply that sags under the inrush, or a load in parallel with the capacitor, both flatten it and the capacitor settles below rather than at it. It assumes the capacitor started at zero, which a part that was only partly discharged did not — the general form starts from and closes the remaining gap, and using this page on a partly charged capacitor understates the time. And the initial current is with nothing else limiting it, which for a large capacitor across a stiff supply is an inrush measured in tens or hundreds of amps; that is what destroys switch contacts and blows fuses on power-up, and why bulk capacitance gets a soft-start.
- = Voltage at time t (V)
- = Supply voltage (V)
- = Elapsed time (s)
- = Time constant (s)
- Voltage at time t — RC Capacitor Discharge, Ohm's Law
- Supply voltage — Percent Voltage Drop, LED Series Resistor
- Elapsed time — RC Capacitor Discharge, Half-Life Decay
- Time constant — RC Time Constant, RC Capacitor Discharge