science calculator

Capacitor Charge Calculator

Compute capacitor voltage and charge at any point during RC charging.

Results

Capacitor voltage (V)
3.16
Charge (C)
0.00

Overview

Useful for electronics projects and lab assignments that need RC timing math without scribbling exponential curves by hand.

In a simple RC charging circuit, a resistor limits current into a capacitor as it charges toward a supply voltage. The voltage across the capacitor rises along an exponential curve instead of in a straight line, which makes back‑of‑the‑envelope calculations tricky when you want to know “what is Vc at 0.3 seconds?” or “how much charge is on the capacitor after 5τ?”.

This capacitor charge calculator handles that exponential math for you. You enter the supply voltage, resistance, capacitance, and elapsed time, and it returns the instantaneous capacitor voltage and charge under an ideal first‑order model. That gives you quick answers for timing circuits, sample‑and‑hold stages, debounce filters, and classroom exercises.

How to use this calculator

  1. Enter the supply voltage (in volts), series resistance (in ohms), capacitance (in farads), and the time in seconds since the charging step began.
  2. We compute the time constant τ = R × C and use Vc(t) = V × (1 − e^(−t/τ)) to find the capacitor voltage at that specific time.
  3. We then multiply Vc(t) by the capacitance C to compute the instantaneous charge in coulombs on the capacitor plates.
  4. Review the voltage and charge outputs and, if needed, adjust R, C, or t to explore how different component values affect charging speed and stored energy.

Inputs explained

Supply voltage (V)
The DC voltage source charging the capacitor, expressed in volts. This might be a logic rail (for example, 3.3 V or 5 V), a battery, or any other fixed supply level.
Resistance (Ω)
The series resistance in ohms that limits charge current into the capacitor and sets the RC time constant. Typical timing resistors are in the kiloohm to megaohm range.
Capacitance (F)
The capacitor value in farads. Most practical caps are specified in microfarads (µF) or nanofarads (nF), so convert to farads before entering (for example, 1 µF = 1e‑6 F, 100 nF = 1e‑7 F).
Time since start (s)
The elapsed time in seconds since the supply voltage was applied (t = 0). You can enter fractions of a second (for example, 0.001 s for 1 ms) to see behavior at very short times.

How it works

We model a standard series RC circuit being charged by a constant DC supply that steps from 0 V to the supply voltage at time t = 0.

For such a circuit, the capacitor voltage as a function of time is given by the classic first‑order step response: Vc(t) = V × (1 − e^(−t / (R × C))).

Here, V is the supply voltage, R is the series resistance in ohms, C is the capacitance in farads, and t is the elapsed time in seconds.

Once Vc(t) is known, the instantaneous charge on the capacitor is simply Q(t) = C × Vc(t). This gives you the actual coulombs stored at that moment.

The time constant of the circuit is τ = R × C. At t = τ, Vc has risen to about 63% of the supply; at about 5τ, the capacitor is effectively fully charged (>99%). The calculator uses the full exponential expression rather than approximations so you get accurate values at any t.

Formula

Vc(t) = V(1 − e^(−t / RC))
Q(t) = C × Vc(t)

When to use it

  • Sizing RC delays for LEDs, relays, or debounce circuits, where you want a signal to reach a certain voltage threshold within a specific time window.
  • Estimating capacitor voltage mid‑charge to determine whether an ADC sample, comparator threshold, or logic input will see a valid high or low at a given sampling instant.
  • Teaching or checking RC exponential math in physics or electronics labs without manually computing exponentials for each problem.
  • Performing quick “sanity checks” on circuit ideas before firing up a SPICE simulator or building on the bench, especially for low‑frequency or slow‑changing signals.

Tips & cautions

  • Remember that the time constant is τ = R × C. At t = 1τ, the capacitor is about 63% charged; at t ≈ 3τ it is about 95% charged; by 5τ it is effectively at the supply voltage for many practical purposes.
  • Keep your units consistent: R in ohms, C in farads, time in seconds. If you prefer thinking in kiloohms and microfarads, convert to base units before entering values to avoid scaling mistakes.
  • For discharge scenarios, use the complementary exponential decay formula Vc(t) = V0 × e^(−t/RC), where V0 is the initial voltage across the capacitor. This tool focuses on the charging case but the math is similar.
  • Be mindful of component tolerances. Real‑world R and C values can vary by ±5%, ±10%, or more, which shifts the time constant and actual voltage at a given time compared with the ideal calculation.
  • Models an ideal RC circuit only—ignoring equivalent series resistance (ESR), leakage currents, parasitic inductance, and source or load impedance effects.
  • Assumes a perfect step input (voltage instantly jumps to the supply value) and no load on the capacitor during charging; real supplies ramp and real circuits often load the node.
  • Handles a single‑stage RC network; cascaded RC filters, RC plus diode clamps, or other complex topologies require circuit simulation or multi‑stage analysis.

Worked examples

5 V supply, 1 kΩ, 1 mF at 1 second

  • Vc ≈ 4.33 V
  • Charge ≈ 0.0043 C

Time constant

  • t = RC (1 s) gives Vc ≈ 63% of supply voltage.

Deep dive

This capacitor charge calculator applies Vc(t)=V(1−e^(−t/RC)) to show capacitor voltage and charge at any time. Enter supply voltage, resistance, capacitance, and elapsed seconds for instant RC math.

Use it for timing circuits, lab work, or sanity checks. It assumes an ideal RC; real parts have ESR and leakage that slightly change the curve.

Behind the scenes, the calculation uses the classic first‑order step response for an RC network, where the capacitor voltage rises exponentially toward the supply. By exposing both the voltage and charge at a specific time t, the tool makes it straightforward to answer questions like “has my capacitor reached the logic threshold yet?” or “how much charge has accumulated in this sample‑and‑hold circuit by the time the ADC reads it.” This is especially helpful in education or early‑stage design, where you care more about intuition and ballpark values than exact SPICE waveforms.

Instead of juggling separate datasheets, approximate time constants in your head, and repeated calculator keystrokes, you can simply plug in R, C, V, and t and let the tool do the exponential math. That frees you up to sweep different resistor or capacitor values to see how they change response time, or to test how much margin you have between a desired threshold (for example, 2.5 V on a 5 V logic rail) and the actual voltage at a given delay. The ability to iterate quickly is often more valuable than exact analytical expressions when you are exploring design options.

Because the equations are unit‑sensitive, the calculator assumes standard SI units—ohms, farads, seconds, volts, and coulombs—but nothing stops you from reasoning in more familiar component scales. You can think in kiloohms and microfarads while converting to base units for input, then interpret the resulting voltages and charges back in terms of component ratings and logic thresholds. This keeps the math honest while still fitting into the way most designers and students think about components.

Although the model is idealized, it closely matches real measurements for many low‑frequency, low‑noise circuits, making it a dependable teaching aid. Later, when you graduate to more complex or high‑precision designs, you can treat this tool as a quick first pass: if an RC idea doesn’t work even in the ideal model, it almost certainly won’t work once you factor in parasitics, tolerances, and loading. That makes it a useful filter before investing time in full circuit simulation or bench prototypes.

FAQs

Does this handle discharge?
Not directly. Use Vc(t) = V0 × e^(−t/RC) for discharge scenarios.
What is the time constant?
τ = R × C. At 1τ, voltage is about 63% of supply; at 5τ it’s effectively fully charged.
Do I need to convert units?
Keep R in ohms, C in farads, and time in seconds. Microfarads must be converted to farads (e.g., 100 µF = 0.0001 F).
How accurate is this vs. real circuits?
Real components have ESR/leakage and load effects. This is an ideal model for quick estimates.
Can I model a different final voltage?
Yes—set supply voltage to your final target. For discharge, use the exponential decay formula instead.

Related calculators

Ignores parasitic effects. Real circuits have leakage and ESR that modify results slightly.