Toolvito

Calculates on this device. File exports run online.

Notch Filter Calculator

Find the parts of a notch filter that removes one frequency, such as 50 Hz or 60 Hz mains hum. Choose a twin-T RC notch (passive or active), an LC trap or tank (with the coil resistance that limits the depth), or a speaker notch. You get the notch frequency, the parts, the −3 dB bandwidth, the depth and a response chart.

Enter your values

Your values

50 Hz or 60 Hz for mains hum.

Optional: the loss 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.

Notch analysed on the server

Notch analysed on the server

Uses the circuit of the result above as its transfer function H(s) (for impedance compensation, the driver impedance ÷ Re). The server gives the Bode plot, poles and zeros, the −3 dB points, the step response and the gain at three frequencies, 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 notch filter calculator

  1. Choose the circuit: twin-T RC (audio and hum), LC (radio frequencies, deep and narrow) or speaker (cutting a peak in a driver’s response, or flattening its impedance).
  2. Choose what to find (a part for a notch frequency, or the notch frequency from the parts) and type the values.
  3. For an LC notch give the coil resistance and the source and load resistances: they set the depth and the width.
  4. Press Calculate. The box under the result analyses the transfer function on the server and compares the gains.

The formulas

  • Twin-T: f0 = 1 ÷ (2π R C), with parts R, R, 2C and C, C, R/2. Passive Q = 1/4; with a buffer feeding back a fraction k of the output, Q = 1 ÷ (4 (1 − k)). Bandwidth = f0 ÷ Q.
  • LC: f0 = 1 ÷ (2π √(L C)). A series LC from the line to ground (a trap) shorts f0 away; a parallel LC in the line (a tank) blocks it. The coil resistance limits the depth.
  • Speaker notch (L, C and R in parallel, in series with the driver of impedance Z): L = Z ÷ (2π f0 Q), C = Q ÷ (2π f0 Z), R = Z (10^(dB/20) − 1).
  • Impedance compensation from Re, fs, Qes and Qms: Rc = Re + Re Qes/Qms, Lc = Re Qes ÷ (2π fs), Cc = 1 ÷ (2π fs Re Qes), wired across the driver.

Worked example

A passive twin-T for 50 Hz hum with C = 100 nF needs R = 31.83 kΩ and R/2 = 15.92 kΩ; its −3 dB band runs from 11.8 Hz to 211.8 Hz because Q is only 0.25. With feedback k = 0.9 the band shrinks to 20 Hz.

A series trap of 10 µH and 2.533 nF for 1 MHz between 50 Ω source and load, with a coil resistance of 0.5 Ω, is 34.2 dB deep and 405.7 kHz wide at −3 dB.

Limits you should know

  • Ideal parts: a twin-T with 1 % parts reaches about 40 dB; LC notches are limited by coil resistance, capacitor losses and self-resonance. Speaker impedance is taken as a plain resistance.
  • Digital notch filters are in the digital filter designer; band-stop filters of higher order in the band-pass filter calculator.

Related tools