Calculate transfer function magnitude, phase, dB, and cutoff from real/imaginary parts or RC/RL filter frequency, R, C, and L values.


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Magnitude and phase from componentsFinds the magnitude, phase and decibel level of a complex transfer function valueRequires the real component and the imaginary component
Components from magnitude and phaseConverts a magnitude and phase to real and imaginary componentsRequires magnitude and phase in degrees or radians
Real component from magnitudeFinds the real component when the magnitude and imaginary component are knownRequires magnitude, imaginary component and the sign of the root
Imaginary component from magnitudeFinds the imaginary component when the magnitude and real component are knownRequires magnitude, real component and the sign of the root
RC low-pass ยท output across CFinds the gain, phase and cutoff frequency of an RC low-pass filter at one frequencyRequires frequency, resistance and capacitance
RC high-pass ยท output across RFinds the gain, phase and cutoff frequency of an RC high-pass filter at one frequencyRequires frequency, resistance and capacitance
RL low-pass ยท output across RFinds the gain, phase and cutoff frequency of an RL low-pass filter at one frequencyRequires frequency, resistance and inductance
RL high-pass ยท output across LFinds the gain, phase and cutoff frequency of an RL high-pass filter at one frequencyRequires frequency, resistance and inductance

The four component functions work on a transfer gain, which is an output-to-input ratio, or on a voltage phasor in V, mV or kV. The filter functions take frequency in Hz, kHz or MHz, resistance in ฮฉ, kฮฉ or Mฮฉ, capacitance in F, ยตF, nF or pF and inductance in H, mH or ยตH. The RC functions include presets for common resistor and capacitor pairs.

Magnitude of Transfer Function Formulas

|H| = โˆš(Reยฒ + Imยฒ)
|H|Magnitude of the transfer function at one frequency
ReReal component of H(jฯ‰)
ImImaginary component of H(jฯ‰)

Magnitude and phase from components

Level = 20 ร— logโ‚โ‚€|H| [1]

The phase is the angle of the complex value, ฯ† = atan2(Im, Re), and the level in decibels is 20 times the base-10 logarithm of the magnitude [1]. A transfer function equal to 3 + 4j at some frequency has a magnitude of โˆš(9 + 16) = 5, a phase of 53.13ยฐ and a level of 13.98 dB. For a voltage phasor the level is in dBV, measured against 1 V.

Components from magnitude and phase

Re = |H| ร— cos ฯ†
Im = |H| ร— sin ฯ†

A magnitude of 5 at 53.13ยฐ converts back to 3 + 4j. Phase can be entered in degrees or radians, and exact multiples of 90ยฐ return exact zeros.

Real component from magnitude

Re = ยฑโˆš(|H|ยฒ โˆ’ Imยฒ)

A magnitude of 5 with an imaginary component of 4 leaves a real component of +3 or โˆ’3. The magnitude does not say which, so the sign is chosen in the calculator. The imaginary component cannot be larger than the magnitude.

Imaginary component from magnitude

Im = ยฑโˆš(|H|ยฒ โˆ’ Reยฒ)

A magnitude of 5 with a real component of 3 gives an imaginary component of +4 or โˆ’4. A positive root puts the phase between 0ยฐ and 180ยฐ, and a negative root between 0ยฐ and โˆ’180ยฐ.

RC low-pass ยท output across C

|H| = 1 รท โˆš(1 + xยฒ),
x = 2ฯ€ ร— f ร— R ร— C [1]

The cutoff frequency is fc = 1 รท (2ฯ€ ร— R ร— C), where the gain is 1/โˆš2, or about โˆ’3 dB [1]. The phase is โˆ’atan(x). With R = 10 kฮฉ and C = 47 nF the cutoff is 338.6 Hz [1], and at 1 kHz x = 2.9531, so the gain is 0.3207.

RC high-pass ยท output across R

|H| = x รท โˆš(1 + xยฒ),
x = 2ฯ€ ร— f ร— R ร— C [1]

The gain is 0 at DC and approaches 1 at high frequency [1]. The cutoff is the same 1 รท (2ฯ€ ร— R ร— C), and the phase is 90ยฐ โˆ’ atan(x). The 10 kฮฉ and 47 nF pair passes a 1 kHz signal with a gain of 0.9472.

RL low-pass ยท output across R

|H| = 1 รท โˆš(1 + xยฒ),
x = 2ฯ€ ร— f ร— L รท R [2]

An RL circuit is the same first-order filter with the time constant L รท R in place of R ร— C [2], so the cutoff is fc = R รท (2ฯ€ ร— L). With R = 100 ฮฉ and L = 10 mH the cutoff is 1,591.5 Hz, and the gain at 1 kHz is 0.8467.

RL high-pass ยท output across L

|H| = x รท โˆš(1 + xยฒ),
x = 2ฯ€ ร— f ร— L รท R [2]

Taking the output across the inductor turns the same circuit into a high-pass filter [2]. With 100 ฮฉ and 10 mH the gain at 1 kHz is 0.5320, and it rises toward 1 above the 1,591.5 Hz cutoff.

Limits of This Estimate

  • The filter functions assume ideal parts, a source with no resistance and nothing connected to the output. A load or source resistance shifts both the gain and the cutoff.
  • A magnitude is the gain at one frequency. It says nothing about whether a system is stable.
  • At zero frequency a high-pass filter has zero output, so its phase is undefined there.

Sources

  1. MIT OpenCourseWare, 6.071J Introduction to Electronics, Signals and Measurement, Frequency response: Passive Filters: RC low-pass and high-pass magnitudes, the cutoff frequency and the decibel level
  2. Harvey Mudd College, E84 lecture notes, First-order system as a filter: RL filters as first-order systems with time constant L รท R