Capacitor Charge & Discharge Calculator

This calculator works out the voltage on a capacitor at any moment as it charges or discharges through a resistor, the classic behaviour of an RC circuit. When a capacitor is connected to a supply through a resistor, it does not charge instantly: the voltage rises gradually along a curve, fast at first and then slowing as it approaches the supply voltage. Discharging mirrors this, falling quickly then tailing off toward zero. The pace is set by the time constant, the resistance times the capacitance, and after one time constant a charging capacitor reaches about 63 percent of the supply, after five it is essentially full. This exponential charging and discharging is the basis of timing circuits, filters, flashes, and the smoothing in power supplies. This tool computes the state at any instant. You enter the capacitance, the resistance, the supply voltage, the time elapsed, and whether the capacitor is charging or discharging, and the calculator returns the voltage at that time, the percentage charged or remaining, the charge stored at that moment, and the time constant. The results update as you type, so you can trace the curve by varying the time. Use it for electronics study, for designing timing and filter circuits, or to understand RC behaviour. Charging follows the supply voltage times one minus e to the minus time over the time constant; discharging follows the supply voltage times e to the minus time over the time constant. The time constant, resistance times capacitance, is the key scale: express your time as a multiple of it to read the curve easily, since the shape is always the same. Use scientific notation for the small capacitance values typical in real circuits.

7.585 V
voltage at time t
Charged / remaining63.2%
Charge at t758.6 µC
Time constant0.1 s

Charging: V = supply x (1 - e^(-t/RC)). Discharging: V = supply x e^(-t/RC). Time constant = R x C. After 1 time constant a capacitor is ~63% charged. Mode below.

How it works

The time constant is the resistance times the capacitance. While charging, the voltage is the supply voltage times one minus e raised to minus the time divided by the time constant, rising toward the supply. While discharging, it is the supply voltage times e to that power, falling toward zero. The charge stored is the capacitance times the voltage at that time.

Worked example

With a 100 microfarad capacitor charging through a 1,000 ohm resistor from a 12 volt supply, the time constant is 0.1 seconds. After 0.1 seconds, exactly one time constant, the voltage is 12 times one minus e to the minus one, about 7.585 volts, or 63.2 percent of the supply, with a charge of about 758.6 microcoulombs.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

© 2019 to 2026 Calculate.co.nz. All rights reserved.