Capacitor RC Calculator — Time Constant & Charging

One resistor, one capacitor, one number that rules them both: τ = R × C. Find the time constant, the charging curve, and the stored energy.

RC Time Constant — Specification Sheet

Enter resistance and capacitance and press Calculate.

Charging curve — voltage across the capacitor

TimeCharge reachedCapacitor voltage (if 5 V supply)

The RC Time Constant: τ = RC

Connect a resistor and a capacitor in series with a voltage source, and the capacitor does not charge instantly. Current flows through the resistor, charge accumulates on the capacitor's plates, and the voltage across the capacitor rises — quickly at first, then ever more slowly as it approaches the supply voltage. The speed of this process is governed by a single number, the time constant, written with the Greek letter tau: τ = R × C, resistance multiplied by capacitance. A one thousand ohm resistor with a one hundred microfarad capacitor gives a time constant of one thousand times one hundred millionths, which is zero point one seconds.

The time constant has a precise meaning: after one time constant of charging, the capacitor reaches about sixty-three point two percent of the supply voltage. After two time constants, about eighty-six point five percent; after three, ninety-five percent; after four, ninety-eight point two percent; and after five, ninety-nine point three percent. Engineers treat five time constants as effectively fully charged, because the remaining gap is smaller than the tolerance of most real components. The same numbers describe discharging, with the voltage falling to thirty-six point eight percent after one time constant and to under one percent after five.

Why Charging Slows Down

The slowing is not a quirk of the components; it follows from the circuit itself. Current through the resistor equals the voltage across the resistor divided by its resistance, and the voltage across the resistor is the supply voltage minus the capacitor's voltage. At the start, the capacitor is empty, so the full supply voltage appears across the resistor and current is at its maximum. As the capacitor charges, its voltage rises, the resistor's share falls, current falls, and charging slows. This feedback produces the exponential curve described by V(t) = V0(1 − e^(−t/τ)) for charging and V(t) = V0·e^(−t/τ) for discharging.

Exponential behaviour appears throughout nature — radioactive decay, cooling, population growth under limits — and the RC circuit is one of the cleanest places to meet it. The mathematics is the same in each case: the rate of change is proportional to how far the system is from its final state, so progress is rapid when the gap is large and gentle when the gap is small. Understanding the RC curve therefore gives intuition far beyond electronics, into any process that approaches a limit gradually.

Energy Stored in a Capacitor

A charged capacitor stores energy in the electric field between its plates, given by E = ½CV². A one hundred microfarad capacitor charged to five volts stores half times one hundred millionths times twenty-five, which is one point two five millijoules — a small amount, but enough to matter in timing and pulse circuits. Larger capacitors at higher voltages store far more: a camera flash capacitor, for example, stores several joules and releases them in a fraction of a second through the flash tube, producing the brief, intense light. This is why large capacitors demand respect: they can hold a dangerous charge long after the power is switched off, and should be discharged through a resistor before handling.

Capacitor energy also explains why power supplies use large capacitors for smoothing. After a rectifier converts alternating current to pulsing direct current, a capacitor charges on each pulse and discharges between pulses, filling in the gaps and delivering a steadier voltage. The larger the capacitance, the smaller the ripple, but the longer the circuit takes to reach its working voltage — the same time constant, seen from a different angle.

Where RC Circuits Appear

RC circuits are everywhere in electronics. The classic 555 timer chip, used in countless hobby and industrial projects, sets its timing with an external resistor and capacitor: the chip charges the capacitor through the resistor until it reaches a threshold, then discharges it, producing a repeating pulse whose frequency is set by the RC time constant. Audio tone controls use RC networks to filter frequencies, because a capacitor's opposition to current — its reactance — falls as frequency rises, so high frequencies pass more easily than low ones through the right arrangement.

Debounce circuits use a small RC network to clean up the noisy signal from a mechanical switch, which bounces several times on each press. Touch sensors, camera flashes, defibrillators, and the timing circuits in washing machines and traffic lights all contain RC stages. Even the humble reset circuit in a microcontroller, which holds the chip in reset for a moment after power-up, is usually just a resistor and a capacitor. Learn one time constant and you have a key to a large fraction of practical electronics.

Choosing R and C Values

Designers choose resistor and capacitor values to hit a target time constant while respecting practical limits. Resistors are available in standard values, and capacitors in standard series too, so an exact time constant often requires combining values or accepting the nearest standard pair. Large resistances make the circuit sensitive to leakage currents and noise, while very small resistances draw large currents that may exceed a component's rating. Large capacitances are physically bulky and expensive, especially at high voltages, while very small capacitances are swamped by stray capacitance in the wiring itself.

Component tolerance matters as well. A typical electrolytic capacitor may be rated at plus or minus twenty percent, so a time constant calculated from nominal values can be off by a fifth in practice. Precision timing circuits therefore use film capacitors with tighter tolerances, or add a trimmer resistor for adjustment. When a circuit must be accurate, always design with tolerance in mind, and measure the real result rather than trusting the nominal calculation alone.

Charging Versus Discharging

Charging and discharging are mirror images with the same time constant, but they are not always symmetric in a real circuit. If the capacitor charges through one resistor and discharges through a different path — as in many timer and oscillator circuits — the two time constants differ, and the output waveform becomes asymmetric. The 555 timer exploits exactly this: separate charge and discharge paths let designers set the high and low times of the output pulse independently. Recognising which resistor is in the path at each phase is the key to analysing any RC timing circuit.

Safety deserves a final word. Capacitors in mains-powered equipment can store lethal energy, and the stored charge does not vanish when the plug is pulled. Always assume a large capacitor is charged until you have discharged it deliberately through a suitable resistor, never by shorting it with a screwdriver, which can damage the capacitor and spray hot metal. In low-voltage hobby circuits the risk is negligible, but the habit of respecting stored energy should be formed early and kept always.

Using This Calculator

Enter resistance in ohms and capacitance in microfarads, plus the supply voltage if you want the charging curve and stored energy. The calculator returns the time constant in seconds, the time to ninety-five and ninety-nine percent charge, the stored energy, and a table showing the capacitor voltage at each multiple of the time constant. Use the presets to explore a camera flash circuit and a classic timer circuit, and watch how a tenfold change in either component stretches or shrinks the whole curve.

Frequently Asked Questions

What is the RC time constant?

τ = R × C. After one time constant, a charging capacitor reaches about 63.2% of the supply voltage; after five time constants it is about 99.3% charged.

How long does a capacitor take to fully charge?

Engineers treat five time constants (5τ) as fully charged. For a 1 kΩ resistor and 100 µF capacitor, τ = 0.1 s, so full charge takes about 0.5 s.

What is the charging formula?

V(t) = V0(1 − e^(−t/τ)) for charging, and V(t) = V0·e^(−t/τ) for discharging, where V0 is the supply voltage.

How much energy does a capacitor store?

E = ½CV². A 100 µF capacitor at 5 V stores 1.25 millijoules. Energy grows with the square of voltage.

Can a capacitor stay charged after power is off?

Yes. Large capacitors can hold a dangerous charge long after switch-off. Discharge them through a resistor before handling.

Why does charging slow down over time?

As the capacitor's voltage rises, less voltage remains across the resistor, so current falls and charging slows — producing the exponential curve.