Calculates on this device. File exports run online.
RC Filter Calculator
Choose an RC filter or circuit. Type the resistor and capacitor (or the frequency you want) to get the cut-off frequency, the time constant, the ripple of a PWM filter or the response of several RC stages.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use the calculator
- Choose what you want to work out: an RC filter, charging and discharging, a PWM filter, several RC stages, a band-pass filter, a CRC filter or a differential filter.
- Type the values with their units and press Calculate.
- For a Bode plot, the step response and the poles, use the box under the result.
The formulas
- Cut-off: fc = 1 ÷ (2π R C); time constant τ = R C. After one τ a charging capacitor is 63.2% of the way, after five τ 99.3%.
- PWM ripple: ΔV = V (1 − e^(−DT/τ))(1 − e^(−(1−D)T/τ)) ÷ (1 − e^(−T/τ)); the average is D × V.
- Two equal stages: loaded −3 dB at 0.374 fc; with buffers between them 0.644 fc.
- RC band-pass: H(s) = s R1 C1 ÷ (s² R1 R2 C1 C2 + s (R1 C1 + R2 C2 + R1 C2) + 1).
Worked example
R = 10 kΩ and C = 100 nF: fc = 159.15 Hz and τ = 1 ms. A 20 kHz PWM signal of 3.3 V at 50% through this filter gives 1.65 V with 41 mV of ripple (peak to peak), and settles to within 1% in 4.6 ms.
Limits you should know
- Ideal parts, a source with no resistance and no load on the output unless stated. A load on the output changes the cut-off.
- The CRC filter result is a first estimate: rectifier and capacitor details (ESR, tolerance, inrush) are not included.