Home / Circuit lab / RC filter

RC low-pass and high-pass filter simulator

A resistor and a capacitor can let low frequencies through and block high ones, or the other way round. Sweep the frequency and watch what happens to the signal.

Intermediate

VinVout

Controls

Readings

What's going on

A capacitor's opposition to AC, its reactance, falls as frequency rises: Xc = 1 ÷ (2πfC). In the low-pass filter, the capacitor sits across the output. At low frequencies it barely conducts, so the signal passes. At high frequencies it shorts the signal to ground. The high-pass filter swaps the parts, so the opposite happens.

The turning point is the cut-off frequency, fc = 1 ÷ (2πRC). There the output is 70.7% of the input, which is −3 dB, and the phase shift is 45°. Beyond it, a first-order filter falls by 20 dB per decade, meaning ten times less output for each tenfold change in frequency.

That gentle slope is the limit of a single RC stage. Try the 50 Hz challenge and you'll see how hard it is to cut hum without also losing some of the signal you want. Steeper filters use more stages or op-amps.

How this simulation works

The gain and phase are the exact results for an ideal first-order RC filter driven by an ideal source, with nothing connected to its output. A load on the output, or a source with its own resistance, changes the response. The plots show a 1 V input.

Keep exploring