RC Circuit Calculator

Calculate charging and discharging of capacitors in RC circuits with interactive visualization

Circuit Mode

Parameters

Vⓘ
Source voltage applied to the circuit
Ωⓘ
Resistance in the circuit
μFⓘ
Capacitance of the capacitor
μsⓘ
Time elapsed since the process started
Show Trail

Controls

xⓘ
Mode: Charging
Animation: Stopped | Time: 0.00s

Calculated Values

Time Constant:
100000.00;μs100000.00;μs
Capacitor Voltage:
0.00;V0.00;V
Current:
0.01;A0.01;A
Mode:
ChargingCharging

Examples

Example 1: Basic Charging Circuit

A 12V battery charging a 1000Ω resistor and 100μF capacitor.

  • Time Constant: 100.00100.00
  • Capacitor Voltage: 7.597.59
  • Current: 0.000.00

Example 2: Fast Discharging

A 24V capacitor discharging through a 100Ω resistor.

  • Time Constant: 1.001.00
  • Capacitor Voltage: 0.000.00
  • Current: −0.00-0.00

Example 3: Long Time Constant

A 5V circuit with 10kΩ resistor and 1000μF capacitor.

  • Time Constant: 10000.0010000.00
  • Capacitor Voltage: 1.971.97
  • Current: 0.000.00

Circuit Visualization

RC Circuits

An RC circuit consists of a resistor and a capacitor connected in series. The time constant (τ) determines how quickly the capacitor charges or discharges, and is given by τ = R × C.

During charging, the capacitor voltage increases exponentially from 0 to the source voltage, while the current decreases exponentially from its maximum value to zero. The charging equation is Vc = V × (1 - e^(-t/τ)).

During discharging, the capacitor voltage decreases exponentially from the initial voltage to zero, while the current flows in the opposite direction and also decreases exponentially. The discharging equation is Vc = V × e^(-t/τ).

The current in both cases follows the relationship I = (V/R) × e^(-t/τ) for charging and I = -(V/R) × e^(-t/τ) for discharging. The negative sign in discharging indicates current flow in the opposite direction.

After one time constant (t = τ), the capacitor voltage reaches approximately 63.2% of the final voltage during charging, or 36.8% of the initial voltage during discharging. After five time constants, the circuit is considered to have reached steady state.

Key Concepts

  • Time Constant (τ): τ = R × C, determines the rate of charging/discharging
  • Charging: Vc = V × (1 - e^(-t/τ)), I = (V/R) × e^(-t/τ)
  • Discharging: Vc = V × e^(-t/τ), I = -(V/R) × e^(-t/τ)
  • Steady State: Reached after approximately 5 time constants
  • Exponential Decay: Both voltage and current follow exponential functions

Real-World Applications

  • Timing Circuits: Used in oscillators and timing devices
  • Filter Circuits: High-pass and low-pass filters
  • Power Supplies: Smoothing and filtering in DC power supplies
  • Signal Processing: Coupling and decoupling circuits
  • Memory Devices: Dynamic RAM and other memory circuits

Physics Equations

Time Constant:
τ=R×C\tau = R \times C
Charging Voltage:
Vc=V×(1−e−t/τ)V_c = V \times (1 - e^{-t/\tau})
Discharging Voltage:
Vc=V×e−t/τV_c = V \times e^{-t/\tau}
Charging Current:
I=VR×e−t/τI = \frac{V}{R} \times e^{-t/\tau}
Discharging Current:
I=−VR×e−t/τI = -\frac{V}{R} \times e^{-t/\tau}

Step-by-Step Solution

See how the main results are calculated.

1

Step 1: Calculate Time Constant

First, we calculate the time constant using the formula τ = R × C:

Equation:

τ=R×C\tau = R \times C

Calculation:

τ=1000 Ω×100 μF=100000 μs\tau = 1000 \text{ }\Omega \times 100 \text{ }\mu\text{F} = 100000 \text{ }\mu\text{s}

Explanation:

The time constant determines how quickly the capacitor charges or discharges.

2

Step 2: Calculate Capacitor Voltage (charging)

Using the charging equation:

Equation:

Vc=V×(1−e−t/τ)V_c = V \times (1 - e^{-t/\tau})

Calculation:

Vc=12 V×(1−e−0/100000)=0.0000 VV_c = 12 \text{ V} \times (1 - e^{-0/100000}) = 0.0000 \text{ V}

Explanation:

During charging, the capacitor voltage increases exponentially.

3

Step 3: Calculate Current (charging)

Using the charging current equation:

Equation:

I=VR×e−t/τI = \frac{V}{R} \times e^{-t/\tau}

Calculation:

I=121000×e−0/100000=0.012000 AI = \frac{12}{1000} \times e^{-0/100000} = 0.012000 \text{ A}

Explanation:

The current decreases exponentially during charging.

Frequently Asked Questions (FAQ)

What is a time constant in an RC circuit?

The time constant (τ) is the product of resistance and capacitance (τ = R × C). It represents the time it takes for the capacitor voltage to reach 63.2% of the final voltage during charging, or to decay to 36.8% of the initial voltage during discharging.

How long does it take for an RC circuit to fully charge?

An RC circuit is considered fully charged after approximately 5 time constants (5τ). At this point, the capacitor voltage reaches about 99.3% of the source voltage, and the current has decreased to about 0.7% of its initial value.

What happens if I increase the resistance in an RC circuit?

Increasing resistance increases the time constant, making the charging and discharging process slower. The capacitor takes longer to reach its final voltage, and the current decreases more slowly.

What happens if I increase the capacitance in an RC circuit?

Increasing capacitance also increases the time constant, making the charging and discharging process slower. A larger capacitor can store more charge and takes longer to charge and discharge.

Why does current decrease during charging?

As the capacitor charges, the voltage across it increases, reducing the voltage difference across the resistor. Since current is proportional to voltage (I = V/R), the current decreases as the capacitor charges.

What is the difference between charging and discharging?

During charging, the capacitor voltage increases from 0 to the source voltage, and current flows from the source to the capacitor. During discharging, the capacitor voltage decreases from the initial voltage to 0, and current flows from the capacitor back to the circuit.

How do I calculate the energy stored in a capacitor?

The energy stored in a capacitor is given by E = ½ × C × V², where C is capacitance and V is voltage. This energy is released during discharging.

Practice MCQs

  1. What is the time constant for a 1kΩ resistor and 100μF capacitor?
  2. After one time constant, what percentage of the final voltage does a charging capacitor reach?
  3. If the time constant is 2ms, how long does it take for the circuit to reach steady state?
  4. During discharging, the current flows in which direction?
  5. What happens to the time constant if both resistance and capacitance are doubled?