A capacitor charging or discharging through a resistor follows a precise exponential curve set entirely by the product of resistance and capacitance. This calculator computes that time constant and the voltage at any instant, so you can predict timer-relay delays, power-supply settling, and capacitor-start motor behaviour without a scope.
How it works
The single governing quantity is the time constant:
tau (seconds) = R (ohms) × C (farads)
Capacitance entered in microfarads is converted with C_farads = uF / 1e6.
Voltage then follows one of two exponentials:
charging: V(t) = Vsupply × (1 − e^(−t / tau))
discharging: V(t) = V0 × e^(−t / tau)
To find the time to reach a target voltage fraction f while charging, the
formula is inverted:
t = −tau × ln(1 − f)
The familiar milestones fall out of this: at 1 tau a charging capacitor is at 63.2 percent, and at 5 tau it is at 99.3 percent — the conventional “fully charged” mark.
Example and tips
A 100 kilohm resistor with a 47 microfarad capacitor gives tau = 100000 times 0.000047 = 4.7 seconds. Charging from 0 to a 12 V supply, the capacitor reaches about 7.6 V (63.2 percent) after 4.7 s and is effectively full at roughly 23.5 s (5 tau). When designing timer relays, choose your threshold voltage first, then read the matching time — small drift in R or C shifts the delay proportionally, so use precision parts where timing matters.