RC Circuit Simulator
Interactive RC circuit simulator with animated transient response, low-pass filter visualization, Bode plots, and real-time waveform display. Learn time constants, cutoff frequency, and filter behavior.
Loading simulation...
Loading simulation, please waitRC Circuit Simulator: Master Time Constants and Filter Design
✓ Verified Content: All equations, formulas, and reference data in this simulation have been verified by the Simulations4All engineering team against authoritative sources including IEEE standards, electronics textbooks, and peer-reviewed publications. See verification log
The RC circuit calculator is an essential tool for electrical engineers, students, and hobbyists working with capacitors and resistors. Whether you're analyzing transient response, designing low-pass filters, or studying time constants, this interactive RC circuit simulator provides real-time visualization of circuit behavior. Our comprehensive tool combines animated waveforms, Bode plots, and instant calculations to help you truly understand RC circuits.
Introduction
Why does your audio signal sound muddy after passing through what should be a simple DC blocking capacitor? The datasheet says 1uF. In practice, that capacitor plus your amplifier's input impedance just created a high-pass filter with a cutoff frequency right in the middle of your bass range.
RC circuits seem deceptively simple. A resistor. A capacitor. What could go wrong? Experienced engineers find that the answer is: plenty. That "1ms time constant" you calculated assumes your capacitor is ideal. Real electrolytics have ESR, tolerance variations, and temperature coefficients that shift your cutoff frequency by 20% or more. When you probe this node to debug, your oscilloscope's input capacitance adds to the total, changing the very behavior you are trying to measure.
Circuit designers know RC networks as the fundamental building block that appears in places you do not expect. Power supply decoupling. Input filters. Debounce circuits. Audio tone controls. Every one of these applications requires understanding not just the formula, but how parasitic elements and loading effects modify real-world behavior [1].
This interactive RC circuit simulator offers two complementary views: transient response (time-domain behavior during charging and discharging) and filter response (frequency-domain behavior as a low-pass filter). The simulator provides real-time animation of current flow, synchronized voltage and current waveforms, and an interactive Bode plot showing magnitude and phase response. These visualizations help you develop the intuition that makes the difference between circuits that work on paper and circuits that work on your bench.
How to Use This Simulation
In an ideal world, you'd calculate tau = RC, trust the exponential formula, and move on. But real circuits have ESR in your capacitors, parasitic inductance in your leads, and oscilloscope probes that add 10-15 pF to every node you measure. This simulator helps you build intuition for how time constants and cutoff frequencies behave before you encounter those parasitic surprises on the bench.
Mode Selection
| Mode | What It Shows | Best For |
|---|---|---|
| Transient | Charging/discharging curves, animated current flow | Understanding time constants, step response analysis |
| Filter | Bode magnitude and phase plots, input/output comparison | Designing low-pass filters, understanding cutoff frequency |
Input Parameters
| Control | Range | Default | What It Affects |
|---|---|---|---|
| Resistance (R) | 100 ohm - 100 kohm | 1 kohm | Charging current limit, time constant |
| Capacitance (C) | 0.1 uF - 1000 uF | 1 uF | Energy storage, time constant |
| Supply Voltage (Vs) | 1 - 24 V | 5 V | Final charge voltage |
| Signal Frequency | 1 - 10,000 Hz | 100 Hz | Input signal for filter mode |
Output Display
The circuit schematic animates current flow direction and magnitude. The waveform canvas shows:
- Transient Mode: Capacitor voltage (blue) and current (green) vs. time with tau markers
- Filter Mode: Input sine wave overlaid with filtered output, showing attenuation and phase shift
The statistics panel displays calculated values:
- Time Constant (tau): R times C in appropriate units
- Cutoff Frequency (fc): The -3 dB point in Hz
- 5tau (99% Charged): Time to reach effectively full charge
- Capacitor Voltage: Real-time voltage during animation
- Current: Instantaneous current through the resistor
- Energy Stored: 0.5 times C times V-squared in the capacitor
Presets for Common Circuits
| Preset | R | C | tau | fc | Application |
|---|---|---|---|---|---|
| Standard | 1 kohm | 1 uF | 1 ms | 159 Hz | General-purpose demo |
| Audio Filter | 10 kohm | 0.1 uF | 1 ms | 159 Hz | Audio high-frequency rolloff |
| Power Supply | 100 ohm | 1000 uF | 100 ms | 1.6 Hz | Smoothing ripple |
| Fast RC | 1 kohm | 0.1 uF | 0.1 ms | 1.59 kHz | Signal processing |
Tips for Exploration
When you probe this node on a real oscilloscope, you add probe capacitance. The signal sees this as extra C in parallel, lowering your cutoff frequency. Use these exercises to understand why:
-
Verify the 5-tau rule: Set any R and C, start charging, and watch the voltage at t = 5tau. It should read 99.3% of Vs. This is why engineers say "five time constants to fully charged."
-
Switch between Transient and Filter modes with identical R and C values. Notice that tau = 1 ms corresponds to fc = 159 Hz. The relationship fc = 1/(2 pi tau) connects both domains.
-
In Filter mode, sweep the input frequency through the cutoff point. Watch the output amplitude drop to 70.7% (-3 dB) exactly at fc, and observe the -45 degree phase shift.
-
Try the Power Supply preset and watch how slowly the capacitor charges. This long time constant is what smooths rectified AC in power supply filter stages.
-
Halve the resistance, then double the capacitance. The time constant stays identical (tau = R times C), but current doubles with halved R. This is the design trade-off between component stress and timing.
Understanding RC Circuits
What is an RC Circuit?
An RC circuit is an electrical circuit containing a resistor and capacitor connected in series or parallel. When voltage is applied to a series RC circuit, the capacitor charges through the resistor, creating a time-dependent voltage that follows an exponential curve.
| Component | Symbol | Role in Circuit |
|---|---|---|
| Resistor | R | Limits current flow, determines charging rate |
| Capacitor | C | Stores electrical energy, accumulates charge |
| Voltage Source | Vs | Provides the driving voltage |
| Ground | GND | Reference point (0V) |
Types of RC Circuit Behavior
Transient Response (Charging)
When a DC voltage is suddenly applied to an uncharged capacitor through a resistor, the capacitor voltage rises exponentially toward the source voltage. The current starts at maximum (Vs/R) and decays exponentially to zero. The datasheet says "instantaneous" voltage application, but in practice your power supply has rise time, your switch has contact bounce, and your wires have inductance. The signal sees all of these as modifications to the ideal step input.
Transient Response (Discharging)
When a charged capacitor is connected through a resistor (with no voltage source), the stored energy dissipates through the resistor. Both voltage and current decay exponentially toward zero. In an ideal world, discharge would continue forever asymptotically approaching zero. But real circuits have leakage currents, and below a few millivolts your measurement noise dominates anyway.
Frequency Response (Low-Pass Filter)
For AC signals, the RC circuit acts as a frequency-dependent voltage divider. Low frequencies pass through with little attenuation, while high frequencies are increasingly blocked by the capacitor's decreasing reactance. Experienced engineers find this dual personality of RC circuits, acting as both time-domain and frequency-domain elements, essential for debugging unexpected filter behavior.
High-Pass Filter Configuration
By measuring output across the resistor instead of the capacitor, the same RC circuit becomes a high-pass filter, passing high frequencies while blocking low frequencies. When you probe this node, remember that the output impedance looking back into the circuit depends on frequency, which affects how much your measurement disturbs the signal.
Key Parameters
| Parameter | Symbol | Units | Typical Range | Description |
|---|---|---|---|---|
| Resistance | R | Ω (ohms) | 100Ω - 1MΩ | Limits current flow |
| Capacitance | C | F (farads) | 1pF - 10mF | Charge storage capacity |
| Time Constant | τ | s (seconds) | μs - s | Time for 63.2% change |
| Cutoff Frequency | fc | Hz | Hz - MHz | -3dB frequency point |
| Supply Voltage | Vs | V (volts) | 1V - 24V | Driving voltage |
| Maximum Current | Imax | A (amps) | μA - A | Initial current (Vs/R) |
Key Equations and Formulas
Time Constant
Formula:
Where:
- τ = time constant (seconds)
- R = resistance (ohms)
- C = capacitance (farads)
The time constant represents the time required for the voltage to reach 63.2% of its final value during charging, or to decay to 36.8% during discharging.
Charging Voltage
Formula:
Where:
- Vc(t) = capacitor voltage at time t
- Vs = supply voltage
- e = Euler's number (≈2.718)
- t = elapsed time
- τ = time constant
Discharging Voltage
Formula:
Where:
- V0 = initial capacitor voltage
- The voltage decays exponentially toward zero
Cutoff Frequency (Low-Pass Filter)
Formula:
Where:
- fc = cutoff frequency in Hz
- At fc, output is -3dB (70.7%) of input
Filter Transfer Function Magnitude
Formula:
This gives the ratio of output to input voltage at any frequency f.
Filter Phase Shift
Formula:
The phase shift ranges from 0° (at DC) to -90° (at very high frequencies), with -45° occurring at the cutoff frequency.
Learning Objectives
After completing this simulation, you will be able to:
- Calculate the time constant of any RC circuit from resistance and capacitance values
- Predict the charging/discharging behavior of capacitors using exponential equations
- Determine the cutoff frequency of RC low-pass and high-pass filters
- Interpret Bode plots showing magnitude and phase response
- Analyze how changing R or C affects both time-domain and frequency-domain behavior
- Apply the 5τ rule to estimate when capacitors are fully charged (99.3%)
- Design RC filters for specific cutoff frequencies
Exploration Activities
Activity 1: Investigating the Time Constant
Objective: Understand how τ affects charging speed
Setup:
- Set R = 1 kΩ, C = 1 μF, Vs = 5V
- Select "Transient" mode
Steps:
- Click "Start" and observe the charging curve
- Note the time when voltage reaches ~3.16V (63.2% of 5V)
- This time should equal τ = 1 ms
- Now double C to 2 μF and reset
- Start again and observe the slower charging
Observe: The voltage reaches 63.2% at exactly t = τ. Doubling C doubles the charging time.
Expected Result: With R = 1kΩ and C = 1μF, τ = 1ms. The capacitor reaches 3.16V at t = 1ms. With C = 2μF, τ = 2ms.
Activity 2: The 5τ Rule for Full Charging
Objective: Verify that 5τ gives 99.3% charge
Setup:
- Set R = 10 kΩ, C = 10 μF (τ = 100ms)
- Vs = 5V, Transient mode
Steps:
- Start the simulation and let it run to completion
- Watch for the 5τ marker on the time axis
- Record the final voltage (should be ~4.97V)
- Calculate: 5V × 0.993 = 4.965V
Observe: The waveform becomes nearly flat after 5τ, confirming the capacitor is essentially fully charged.
Expected Result: At t = 5τ = 500ms, Vc ≈ 4.97V, which is 99.3% of 5V.
Activity 3: Filter Cutoff Frequency
Objective: Understand the -3dB point in filter response
Setup:
- Set R = 10 kΩ, C = 0.01 μF (fc ≈ 1.59 kHz)
- Switch to "Filter" mode
Steps:
- Observe the Bode plot magnitude response
- Find where the curve crosses -3dB
- Verify this occurs at fc = 1/(2π×10kΩ×0.01μF) = 1.59 kHz
- Adjust the signal frequency slider to fc
- Note the output is 70.7% of input at this frequency
Observe: The magnitude response rolls off at -20dB/decade above fc.
Expected Result: At fc, |H| = 0.707 (-3dB). The phase shift at fc is exactly -45°.
Activity 4: Comparing Charge and Discharge
Objective: Observe the symmetry in exponential behavior
Setup:
- R = 1 kΩ, C = 10 μF, Vs = 5V
- Transient mode
Steps:
- Let the capacitor fully charge (wait for 5τ = 50ms)
- Click "Discharge" to switch modes
- Reset and start the discharge simulation
- Compare the discharge curve to the charge curve
Observe: Charging and discharging have the same time constant. The curves are mirror images about the 50% point.
Expected Result: Both curves reach 63.2% of their total change at t = τ = 10ms.
Real-World Applications
Understanding RC circuits is essential in many fields:
-
Power Supply Filtering: RC circuits smooth the ripple in DC power supplies. A large capacitor with appropriate resistor creates a filter that blocks AC ripple while passing DC. This is essential in every electronic device from phone chargers to computer power supplies.
-
Audio Signal Processing: RC filters are used in audio equalizers, tone controls, and crossover networks. A simple treble cut control is just an RC low-pass filter. Speaker crossovers use RC networks to direct bass to woofers and treble to tweeters.
-
Timing Circuits: The 555 timer IC uses RC networks to set timing intervals. The charge/discharge time of a capacitor through resistors determines oscillation frequency or one-shot pulse duration. RC timing appears in everything from blinking LEDs to motor controllers.
-
Sensor Interfaces: Many sensors require RC filters to remove noise. Temperature sensors, strain gauges, and photodiodes often need RC low-pass filters to reject high-frequency interference while preserving the slow-changing signal of interest.
-
Anti-Aliasing Filters: Before analog-to-digital conversion, RC low-pass filters prevent high-frequency signals from causing aliasing artifacts. This is critical in audio recording, instrumentation, and data acquisition systems.
Reference Data
Common Time Constant Values
| R Value | C Value | Time Constant (τ) | 5τ (Full Charge) |
|---|---|---|---|
| 1 kΩ | 1 μF | 1 ms | 5 ms |
| 10 kΩ | 1 μF | 10 ms | 50 ms |
| 10 kΩ | 100 μF | 1 s | 5 s |
| 100 kΩ | 0.1 μF | 10 ms | 50 ms |
| 1 MΩ | 1 μF | 1 s | 5 s |
Common Cutoff Frequencies
| R Value | C Value | Cutoff Frequency (fc) |
|---|---|---|
| 10 kΩ | 0.01 μF | 1.59 kHz |
| 1 kΩ | 0.1 μF | 1.59 kHz |
| 10 kΩ | 0.1 μF | 159 Hz |
| 100 Ω | 1 μF | 1.59 kHz |
| 1 kΩ | 0.001 μF | 159 kHz |
Percentage Charged at Each Time Constant
| Time | % Charged | % Remaining |
|---|---|---|
| 1τ | 63.2% | 36.8% |
| 2τ | 86.5% | 13.5% |
| 3τ | 95.0% | 5.0% |
| 4τ | 98.2% | 1.8% |
| 5τ | 99.3% | 0.7% |
Challenge Questions
Level 1: Basic Understanding
-
If R = 4.7 kΩ and C = 22 μF, what is the time constant? How long until the capacitor is 99% charged?
-
A capacitor takes 50 ms to reach 63.2% of full charge. If R = 5 kΩ, what is C?
Level 2: Intermediate
-
Design an RC low-pass filter with a cutoff frequency of 1 kHz using a 10 kΩ resistor. What capacitor value is needed?
-
An RC circuit has τ = 2 ms. If Vs = 12V, what is the capacitor voltage after 3 ms of charging from zero?
Level 3: Advanced
-
For an RC low-pass filter, at what frequency is the output attenuated by -20 dB? Express in terms of fc.
-
A circuit needs to filter out 60 Hz noise while passing signals below 10 Hz. Design an appropriate RC filter (specify R and C values).
-
Prove mathematically that the current during charging is I(t) = (Vs/R) × e^(-t/τ).
Common Misconceptions
Misconception 1: "The capacitor charges completely after 1 time constant"
Reality: After 1τ, the capacitor is only 63.2% charged. It takes 5τ to reach 99.3%, which engineers consider "fully charged." The exponential curve never truly reaches 100%, it only asymptotically approaches it.
Misconception 2: "A larger capacitor always means slower response"
Reality: The time constant τ = RC depends on both resistance AND capacitance. A larger capacitor with proportionally smaller resistance maintains the same time constant. What matters is the product, not either value alone.
Misconception 3: "The cutoff frequency is where the signal is completely blocked"
Reality: At the cutoff frequency fc, the signal is only reduced to 70.7% (or -3 dB). Complete attenuation never occurs. The filter has a gradual rolloff. Even at 10×fc, some signal (about 10%) still passes through.
Misconception 4: "Charging and discharging currents flow in the same direction"
Reality: During charging, current flows into the capacitor (positive direction). During discharging, current flows out of the capacitor (negative direction). The current magnitude follows the same exponential decay in both cases, but the direction reverses.
Advanced Topics
Second-Order RC Filters
Cascading multiple RC stages creates steeper rolloff (-40 dB/decade for two stages). However, each stage loads the previous one, requiring buffer amplifiers between stages for accurate response.
RC Phase Shift Oscillators
By cascading three RC high-pass sections with an inverting amplifier, you can create an oscillator. The 180° phase shift from three RC stages plus 180° from the inverter creates the 360° (0°) feedback needed for oscillation.
Complex Impedance Analysis
In AC analysis, capacitors have impedance Zc = 1/(jωC). The RC voltage divider becomes a complex number calculation, naturally yielding both magnitude and phase relationships.
Summary
RC circuits are fundamental to electronics, appearing in timing, filtering, and signal conditioning applications. The time constant τ = RC governs transient behavior, determining how quickly capacitors charge and discharge. For frequency-domain applications, the cutoff frequency fc = 1/(2πRC) defines the transition between passband and stopband in filter applications.
Key takeaways:
- After 1τ, voltage reaches 63.2% of final value
- After 5τ, the capacitor is effectively fully charged (99.3%)
- At fc, filter output is -3 dB (70.7% voltage)
- Increasing R or C decreases the cutoff frequency
- The same RC circuit can be configured as low-pass or high-pass
Use this simulator to explore these concepts interactively. Adjust parameters, observe waveforms, and build intuition for RC circuit behavior that will serve you throughout your electronics journey.
Verification Log
| Claim/Data | Source | Status | Date Verified |
|---|---|---|---|
| Time constant τ = RC formula | Basic circuit theory, Sedra & Smith | ✓ Verified | Dec 2025 |
| Charging equation: V(t) = Vs(1 - e^(-t/τ)) | Nilsson & Riedel Electric Circuits | ✓ Verified | Dec 2025 |
| Cutoff frequency fc = 1/(2πRC) | IEEE filter design standards | ✓ Verified | Dec 2025 |
| -3 dB at cutoff (70.7% voltage) | Filter theory fundamentals | ✓ Verified | Dec 2025 |
| 63.2% at one time constant | Exponential decay mathematics | ✓ Verified | Dec 2025 |
| 99.3% at five time constants | Standard engineering approximation | ✓ Verified | Dec 2025 |
| Phase shift formula: φ = -arctan(ωRC) | AC circuit analysis | ✓ Verified | Dec 2025 |
This simulation is part of the Electrical Engineering collection on Simulations4All. Explore more circuit simulations to deepen your understanding of electronics.
Related Simulations

Op-Amp Circuit Builder
Interactive operational amplifier circuit builder with 6 configurations, animated waveforms, gain calculation, and output saturation visualization. Learn inverting, non-inverting, summing, and difference amplifiers.
View Simulation
Capacitor Circuit Simulator - RC Charging & Electric Fields
Interactive capacitor circuit simulator with RC charging/discharging curves, real-time electric field visualization, animated charge distribution, and dielectric effects. Explore parallel plate capacitors with adjustable geometry, materials, and voltage.
View Simulation
Voltage Divider Calculator
Interactive voltage divider calculator with loading effect analysis, Thevenin equivalent, power dissipation, and standard resistor finder. Design resistor divider circuits for sensors, microcontrollers, and analog electronics.
View Simulation