Calculate transfer function magnitude, phase, dB, and cutoff from real/imaginary parts or RC/RL filter frequency, R, C, and L values.
Related Calculators
- Crossover Frequency Calculator
- Time Domain To Phasor Calculator
- Output Voltage Calculator
- Source Voltage Calculator
- All Physics Calculators
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Magnitude and phase from components | Finds the magnitude, phase and decibel level of a complex transfer function value | Requires the real component and the imaginary component |
| Components from magnitude and phase | Converts a magnitude and phase to real and imaginary components | Requires magnitude and phase in degrees or radians |
| Real component from magnitude | Finds the real component when the magnitude and imaginary component are known | Requires magnitude, imaginary component and the sign of the root |
| Imaginary component from magnitude | Finds the imaginary component when the magnitude and real component are known | Requires magnitude, real component and the sign of the root |
| RC low-pass ยท output across C | Finds the gain, phase and cutoff frequency of an RC low-pass filter at one frequency | Requires frequency, resistance and capacitance |
| RC high-pass ยท output across R | Finds the gain, phase and cutoff frequency of an RC high-pass filter at one frequency | Requires frequency, resistance and capacitance |
| RL low-pass ยท output across R | Finds the gain, phase and cutoff frequency of an RL low-pass filter at one frequency | Requires frequency, resistance and inductance |
| RL high-pass ยท output across L | Finds the gain, phase and cutoff frequency of an RL high-pass filter at one frequency | Requires 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| | Magnitude of the transfer function at one frequency |
| Re | Real component of H(jฯ) |
| Im | Imaginary component of H(jฯ) |
Magnitude and phase from components
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
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
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
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
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
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
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
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
- 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
- Harvey Mudd College, E84 lecture notes, First-order system as a filter: RL filters as first-order systems with time constant L รท R
