Toolvito

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

Your values

More options

Optional: gives the gain and phase there.

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.

Bode plot, step response and poles

Bode plot, step response and poles

Uses the RC network of the result above as its transfer function H(s). The server gives the gain and phase against frequency (a Bode plot), the group delay, the step and impulse responses, the poles and the −3 dB points, with CSV and JSON files.

The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to use the calculator

  1. 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.
  2. Type the values with their units and press Calculate.
  3. 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.

Related tools