Calculator: Capacitor charging

Enter the labelled inputs to calculate: Voltage Vc (V); Current (mA).

Voltage Vc (V)
0
Current (mA)
5

How the calculation works

Vc=Vs(1−e^(−t/RC)); I=Vs·e^(−t/RC)/R; Vc(0)=0

Ideal lumped components are assumed. Parasitics, saturation, mutual inductance, losses and switching ripple are excluded unless explicitly included in the formula.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

Vc=Vs(1−e^(−t/RC)); I=Vs·e^(−t/RC)/R; Vc(0)=0

What assumptions apply?

Ideal lumped components are assumed. Parasitics, saturation, mutual inductance, losses and switching ripple are excluded unless explicitly included in the formula.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Voltage (V) = 12
Resistance (Ω) = 10000
Capacitance (µF) = 100
Time (s) = 1
Voltage Vc (V): 7.585446706
Current (mA): 0.4414553294
2
Voltage (V) = 5
Resistance (Ω) = 1000
Capacitance (µF) = 10
Time (s) = 0.02
Voltage Vc (V): 4.323323584
Current (mA): 0.6766764162
3
Voltage (V) = 400
Resistance (Ω) = 100000
Capacitance (µF) = 470
Time (s) = 60
Voltage Vc (V): 288.4058307
Current (mA): 1.115941693

How we test our calculators →

Also try:

Back to category →