PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Electricity & Magnetism

Other simulators in this category — or see all 56.

View category →
NewSchool

RC Filter (LP / HP)

Bode gain vs frequency, f_c at −3 dB; live sine V_in and V_out.

Launch Simulator
NewSchool

RL Circuit

Series RL: τ = L/R, i(t) rise & decay, v_L; DC steady i = V/R.

Launch Simulator
NewSchool

RLC Series (AC)

Resonance peak, |Z|, phase. I(f) curve and live V & I waves.

Launch Simulator
NewSchool

Resistor Color Code

Click bands to see resistance, or enter value to see bands.

Launch Simulator
School

Magnetic Field

Bar magnets and current-carrying wires with field line visualization.

Launch Simulator
School

Electromagnetic Induction

Move magnet through coil. Faraday's law visualized.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Electricity & Magnetism/RC Circuit

RC Circuit

An RC circuit, consisting of a resistor (R) and a capacitor (C) in series with a voltage source and a switch, is a fundamental system for studying transient electrical behavior. This simulator models the dynamic processes of charging and discharging the capacitor. When the switch is closed to connect the battery, charge flows onto the capacitor plates, but the resistor limits the current. The voltage across the capacitor does not rise instantly; instead, it follows an exponential growth curve described by V_C(t) = V_source * (1 - e^{-t/τ}), where τ (tau) is the time constant, τ = R*C. The current in the circuit decays exponentially from an initial maximum of V_source/R to zero. Conversely, when the battery is disconnected and the capacitor is allowed to discharge through the resistor, both the capacitor voltage and the circuit current decay exponentially to zero according to V_C(t) = V_0 * e^{-t/τ}. The simulator simplifies real-world conditions by assuming ideal components: the resistor and capacitor have no parasitic inductance or capacitance, the wires have zero resistance, and the battery maintains a perfect constant voltage regardless of load. By interacting with this model, students can visualize the direct relationship between the time constant τ and the circuit's speed, observe how changing R or C stretches or compresses the exponential curves, and verify that after one time constant (t = τ), the capacitor voltage reaches approximately 63.2% of its final value during charging, or falls to 36.8% during discharging. This provides a concrete foundation for understanding exponential decay processes, time-domain analysis, and the ubiquitous role of RC circuits in timing, filtering, and signal shaping applications.

Who it's for: Undergraduate physics and electrical engineering students studying DC circuit transients, as well as advanced high school physics courses covering capacitors and exponential processes.

Key terms

  • RC Circuit
  • Time Constant (τ)
  • Exponential Decay
  • Capacitor Charging
  • Capacitor Discharging
  • Transient Response
  • Resistor-Capacitor Network
  • Ohm's Law

Live graphs

Series R–C

12 V
1000 Ω
100 µF

τ = RC sets how fast the capacitor charges or discharges. Current is largest at the start of each phase.

Shortcuts

  • •Charge — start from V_C = 0
  • •Discharge — from current V_C
  • •Reset — clear capacitor

Measured values

τ = RC100.00ms
V_C0.000V
I0.000mA

How it works

A resistor and capacitor in series with a battery: charging follows V_C = V(1 − e^(−t/τ)), discharging V_C = V_0 e^(−t/τ), with τ = RC. Current obeys the same exponential: during charge I = (V − V_C)/R, during discharge I = V_C/R through the resistor.

Key equations

τ = RC, dV_C/dt = (V − V_C)/(RC) (charging)
dV_C/dt = −V_C/(RC) (discharging through R)

Frequently asked questions

What exactly does the time constant τ = R*C represent physically?
The time constant τ represents the time required for the capacitor voltage to rise to 63.2% of the source voltage during charging, or fall to 36.8% of its initial voltage during discharging. It is a measure of the circuit's speed: a larger τ (from a larger R or C) means a slower charge/discharge process. After about 5τ, the process is effectively complete (>99% charged or discharged).
Why does the current start high and then drop to zero during charging?
Initially, the uncharged capacitor acts like a short circuit, allowing maximum current to flow as determined by Ohm's Law (I_initial = V_source / R). As charge builds on the capacitor plates, it creates a voltage that opposes the battery voltage. This reducing net voltage across the resistor causes the current to decrease exponentially until it stops when the capacitor voltage equals the source voltage.
Can an RC circuit ever instantly charge or discharge a capacitor?
No, not in this ideal model. The exponential equations show the process is asymptotic, always approaching but never instantly reaching its final state. In theory, it takes infinite time to fully charge. In practice, circuits are considered fully charged after ~5τ. This limitation is a fundamental consequence of the energy storage in the capacitor's electric field and the power dissipation in the resistor.
Where do we see RC circuits in real-world devices?
RC circuits are everywhere in electronics. They are used as simple timers in blinking lights and windshield wipers, as filters to block certain frequencies (like in audio crossovers or signal conditioning), for debouncing mechanical switches, and for shaping digital signal waveforms. The time constant directly controls the timing or frequency cutoff in these applications.