High Pass Filter Calculator
High-Pass Filter Frequency & Phase Analysis
What Is a High Pass Filter Calculator?
A high pass filter calculator determines the cutoff frequency and frequency response of a circuit that attenuates low-frequency signals while allowing higher-frequency signals to pass. This calculator supports passive RC and RL filters, active op-amp filters, and a second-order Butterworth design. It can also solve for resistance or capacitance from a target cutoff frequency.
High-pass filters are used in electronic circuits to reduce low-frequency signals, block DC components, and separate frequency ranges.
The calculator provides six calculation options:
- First-order passive RC high-pass filter: Calculates cutoff frequency from resistance and capacitance.
- First-order passive RL high-pass filter: Calculates cutoff frequency from resistance and inductance.
- Active inverting op-amp high-pass filter: Calculates cutoff frequency and passband gain from input and feedback components.
- Second-order Sallen-Key Butterworth high-pass filter: Calculates cutoff frequency and frequency response for equal resistor and capacitor values.
- RC capacitor solver: Finds the capacitance needed for a specified cutoff frequency and resistance.
- RC resistor solver: Finds the resistance needed for a specified cutoff frequency and capacitance.
Besides the main result, the calculator reports time constant, filter slope or passband gain, and the response at an entered test frequency. These are idealized circuit calculations, so actual measurements may differ because of component tolerances and circuit loading.
How the High Pass Filter Formulas Work
Each filter topology has a mathematical relationship between its components and cutoff frequency. The calculator uses these relationships to calculate the main result and then evaluates the signal response at a selected frequency.
1. RC High-Pass Filter Cutoff Frequency Formula
A first-order passive RC high-pass filter uses a resistor and capacitor. Its cutoff frequency is calculated using:
Where:
- f_c: Cutoff frequency in hertz (Hz).
- R: Resistance in ohms (Ω).
- C: Capacitance in farads (F).
- π: Pi, approximately 3.14159.
The RC time constant is:
The time constant is measured in seconds. Increasing either resistance or capacitance increases the time constant and lowers the cutoff frequency.
For example, the calculator's default preset uses a 3.3 kΩ resistor and a 47 nF capacitor.
The calculator displays the cutoff frequency as 1.026 kHz.
2. RL High-Pass Filter Formula
A first-order passive RL high-pass filter uses a resistor and inductor. The calculator determines its cutoff frequency using:
Where R is resistance in ohms and L is inductance in henries (H).
The corresponding RL time constant is:
Unlike the RC formula, increasing resistance raises the cutoff frequency when inductance stays constant. Increasing inductance lowers it.
For the calculator's RL preset of 330 Ω and 10 mH:
The displayed cutoff frequency is 5.252 kHz.
3. Active Inverting High-Pass Filter Formula
The active inverting filter uses an input resistor, a series input capacitor, and an op-amp feedback resistor.
Its cutoff frequency is calculated from the input resistor and capacitor:
The magnitude of the passband voltage gain is:
Where R_in is the input resistance and R_f is the feedback resistance.
The calculator converts this gain into decibels:
For example, the Active Inverting preset uses a 10 kΩ input resistor, 33 kΩ feedback resistor, and 15 nF capacitor.
This gives a passband gain magnitude of 3.30 V/V, equivalent to approximately +10.37 dB, and a cutoff frequency of about 1.061 kHz.
Because the circuit is inverting, the output also has a 180° inversion relative to the input in the passband. The calculator identifies this inversion in its filter details, although its separate test-frequency phase figure reports only the first-order high-pass phase lead.
4. Second-Order Sallen-Key Butterworth High-Pass Formula
The calculator also includes a second-order Sallen-Key active Butterworth filter using equal resistor values and equal capacitor values.
For this configuration, the cutoff frequency is:
Here, R represents each of the two equal resistors, and C represents each of the two equal capacitors.
The calculator models a Butterworth response with a quality factor of approximately 0.707 and a fixed passband gain:
This is approximately +4.00 dB of passband gain. The calculator's filter details also specify a feedback-to-ground resistor ratio of approximately 0.5858 for this gain configuration.
The second-order response changes at approximately 40 dB per decade in the low-frequency stopband, compared with 20 dB per decade for the first-order modes.
Using the Sallen-Key preset's 15.9 kΩ resistors and 10 nF capacitors:
The calculator displays a cutoff frequency of 1.001 kHz.
For this amplified filter, the cutoff represents a level about 3 dB below its own passband gain. It does not mean the absolute output gain is −3 dB relative to the input.
5. Calculate the Capacitor for a Target Cutoff Frequency
The RC Component Solver can calculate the required capacitor when resistance and cutoff frequency are known.
For example, suppose you want a 1,000 Hz cutoff using a 3.3 kΩ resistor.
The calculator displays 48.229 nF as the required capacitance.
This is the mathematical component value needed for the entered target. Selecting a real capacitor with a different nominal value will change the actual cutoff frequency.
6. Calculate the Resistor for a Target Cutoff Frequency
If capacitance and desired cutoff frequency are known, the calculator can solve for resistance instead.
For example, using a 47 nF capacitor and a target cutoff of 1,000 Hz:
The calculator displays the result as approximately 3.386 kΩ.
Both RC component solver modes also calculate the corresponding time constant and test-frequency response for the entered target cutoff.
7. High-Pass Filter Gain and Attenuation
The calculator evaluates how strongly a signal passes through the selected filter at the entered test frequency.
For first-order modes, the normalized frequency ratio is:
The response magnitude is:
Where f_test is the test frequency, f_c is cutoff frequency, and A_pass is the passband gain magnitude.
For passive RC, passive RL, and RC solver modes, the passband gain is 1. For the active inverting mode, it is the feedback-to-input resistance ratio.
For the second-order Butterworth Sallen-Key filter, the calculator uses:
The magnitude is converted to decibels using:
If a positive input signal amplitude is entered, the calculator estimates the output amplitude:
These formulas calculate signal magnitude. They do not determine the instantaneous output waveform or its polarity.
8. High-Pass Filter Phase Shift
High-pass filters change both signal amplitude and phase. The calculator reports a frequency-dependent phase lead.
For its first-order response calculations, the phase lead at a positive test frequency is:
The result is converted into degrees for display.
For the second-order Butterworth response, the calculator uses a quadrant-aware phase calculation based on the normalized test-frequency ratio. The phase lead approaches 180° as frequency approaches zero and decreases toward 0° at high frequencies.
In active inverting mode, the displayed test-frequency phase lead does not separately add the op-amp's 180° inversion. Keep this distinction in mind when comparing the calculation with an actual circuit waveform.
Worked Example: 3.3 kΩ and 47 nF RC High-Pass Filter
The calculator's default preset uses the following inputs:
| Input | Value |
|---|---|
| Filter Topology | First-Order Passive RC |
| Resistance | 3.3 kΩ |
| Capacitance | 47 nF |
| Test Signal Frequency | 200 Hz |
| Input Signal Amplitude | 5 V |
The RC time constant is:
This equals 155.10 microseconds (μs). The resulting cutoff frequency is approximately 1,026.14 Hz.
Next, calculate the test-frequency ratio:
The response magnitude becomes:
The output signal is about 19.13% of the input amplitude. With a 5 V input, this gives approximately 0.9565 V output amplitude.
The calculator displays these results:
| Calculated Output | Displayed Result |
|---|---|
| Cutoff Frequency | 1.026 kHz |
| Time Constant | 155.10 μs |
| Filter Roll-Off | 20 dB/decade below cutoff |
| Passband Gain | Unity (0 dB) |
| Response Magnitude at 200 Hz | 0.1913 |
| Response Gain at 200 Hz | −14.37 dB |
| Phase Lead at 200 Hz | +78.97° |
| Output Amplitude at 200 Hz | 0.9565 V |
The 200 Hz test signal is well below the approximately 1.026 kHz cutoff frequency. The filter therefore attenuates it substantially. Higher-frequency signals approach the passive filter's unity passband gain.
How to Use the High Pass Filter Calculator
Follow these steps to calculate cutoff frequency, select RC components, or examine a filter's response.
- Select the filter topology and solve mode. Choose passive RC, passive RL, active inverting, Sallen-Key Butterworth, Find Capacitor, or Find Resistor.
- Choose an application preset if desired. The available presets cover an audio crossover, audio DC blocker, RL filter, active inverting filter, and second-order Butterworth filter.
- Enter resistance. For modes requiring resistance, provide the value and select Ω, kΩ, or MΩ.
- Enter capacitance where required. Select the value and unit from pF, nF, μF, or mF.
- Enter inductance for RL mode. Provide the inductance in μH, mH, or H.
- Enter feedback resistance for active inverting mode. Provide R_f and select its resistance unit.
- Enter the target cutoff frequency for component solver modes. Supply a positive frequency in hertz and the known resistor or capacitor value.
- Set the test signal frequency. Enter the frequency in Hz at which you want to examine gain and phase. Enter 0 for DC.
- Enter an optional input signal amplitude. Provide a value in volts if you want the output-amplitude calculation.
- Click Calculate. Review the cutoff frequency or required component value, time constant, filter details, and test-frequency response.
- Click Reset if needed. The calculator restores the default 3.3 kΩ and 47 nF passive RC preset.
The primary result changes with the selected mode. Filter modes display cutoff frequency, while the two RC component solvers display the required capacitor or resistor value. The accompanying results show how the corresponding filter responds at the entered test frequency.
Understanding Cutoff Frequency, Attenuation and Filter Design
What the −3 dB Cutoff Frequency Means
The cutoff frequency marks the transition between the low-frequency stopband and the higher-frequency passband.
For a first-order unity-gain high-pass filter, the signal amplitude at cutoff is approximately 0.707 times its passband value. This corresponds to about −3.01 dB.
The −3 dB point is not a sharp boundary where signals suddenly begin or stop passing. A filter changes its attenuation gradually across frequency.
For active filters with passband gain greater than one, the −3 dB point is measured relative to the amplified passband level. The calculator's reported gain in dB is measured relative to the input, so it can still be positive near cutoff.
First-Order Versus Second-Order Filters
Filter order affects how quickly low-frequency signals are attenuated.
| Filter Type | Order | Stopband Slope | Modeled Passband Gain |
|---|---|---|---|
| Passive RC | First | 20 dB/decade | 1 V/V |
| Passive RL | First | 20 dB/decade | 1 V/V |
| Active Inverting | First | 20 dB/decade | R_f / R_in |
| Sallen-Key Butterworth | Second | 40 dB/decade | Approximately 1.5858 V/V |
| RC Component Solvers | First | 20 dB/decade | 1 V/V |
These slopes describe ideal stopband behavior. They do not represent a constant attenuation rate at every frequency.
Understanding the Practical Application Presets
The calculator includes five presets with example filter components and test conditions.
| Preset | Topology | Main Components |
|---|---|---|
| 1 kHz Crossover / Voice Filter | Passive RC | 3.3 kΩ, 47 nF |
| Audio Subsonic DC Blocker | Passive RC | 47 kΩ, 470 nF |
| First-Order RL Filter | Passive RL | 330 Ω, 10 mH |
| Active Inverting High-Pass | Active Inverting | 10 kΩ input, 33 kΩ feedback, 15 nF |
| Butterworth Sallen-Key | Second-Order Active | 15.9 kΩ equal resistors, 10 nF equal capacitors |
The presets demonstrate different circuit arrangements. They are not automatically optimized for a particular speaker, amplifier, sensor, or other connected device.
Using Test Frequency to Understand Signal Attenuation
The test signal frequency helps show the difference between a filter's cutoff frequency and its behavior at one particular frequency.
When the test frequency is below cutoff, the calculator describes the signal as attenuated. At or above cutoff, it describes the signal as passing through with the calculated gain.
The actual magnitude follows the selected filter's formula. Active filters may amplify signals even when their frequency-dependent response is below the filter's own passband level.
At 0 Hz, the calculator reports zero response magnitude and −∞ dB because DC is blocked in the modeled high-pass filters. It uses a limiting phase display of +90° for first-order modes and +180° for the second-order mode.
How Component Values Affect Cutoff Frequency
In an RC high-pass filter, increasing resistance or capacitance lowers cutoff frequency. Decreasing either value raises it.
In an RL high-pass filter, increasing resistance raises cutoff frequency, while increasing inductance lowers it.
The RC solver modes reverse the cutoff formula to determine a required component value. They calculate mathematical values rather than selecting a standard resistor or capacitor from a commercial component series.
Circuit Loading and Real-World Limitations
The passive filter formulas assume the surrounding circuit does not significantly change the intended resistor, capacitor, or inductor behavior.
A low downstream input impedance can load a passive RC filter and shift its actual frequency response. The calculator's interface advises keeping the downstream load impedance at least 10 times the filter resistance as a practical loading precaution.
Real capacitors and inductors also have tolerances and parasitic electrical properties. Active filters depend on op-amp characteristics, supply conditions, and circuit implementation.
The calculator does not separately model these nonideal effects. Its results are best used for preliminary design calculations and understanding ideal filter behavior.
Input Rules and Error Conditions
Each filter mode requires positive values for the components used in that mode. The RC and Sallen-Key modes require positive resistance and capacitance. RL mode requires positive resistance and inductance. Active inverting mode additionally requires positive feedback resistance.
For the RC component solvers, the known component and target cutoff frequency must both be greater than zero.
Test frequency may be zero or positive. Input signal amplitude may also be zero or positive. A blank input amplitude is treated as zero, and the output-amplitude calculation is normally shown when a positive value is supplied.
If a required input is missing or invalid, the calculator displays an error message instead of the corresponding numerical result.
Frequently Asked Questions
How do you calculate the cutoff frequency of an RC high-pass filter?
Use the formula f_c = 1/(2πRC), where R is resistance in ohms and C is capacitance in farads. For example, a 3.3 kΩ resistor and 47 nF capacitor produce a cutoff frequency of approximately 1,026 Hz. The calculator converts the selected resistance and capacitance units before applying the formula.
What is the −3 dB cutoff frequency of a high-pass filter?
It is the frequency where the response magnitude has dropped to approximately 70.7% of the filter's passband magnitude. This is about 3.01 dB below the passband level. For an active filter with amplification, the absolute gain at cutoff may still be greater than 0 dB.
How do I calculate the capacitor for a high-pass filter?
Choose the RC Component Solver that finds capacitor C. Enter a positive target cutoff frequency and resistance, then click Calculate. The calculator uses C = 1/(2πRf_c). For example, a target cutoff of 1 kHz with 3.3 kΩ resistance requires approximately 48.229 nF.
How is an RL high-pass filter different from an RC high-pass filter?
An RC high-pass filter uses resistance and capacitance, with cutoff frequency calculated as 1/(2πRC). An RL high-pass filter uses resistance and inductance, with cutoff frequency calculated as R/(2πL). Both are modeled as first-order filters in this calculator, but changing their component values affects cutoff frequency differently.
What is the difference between first-order and second-order high-pass filters?
A first-order high-pass filter has an ideal low-frequency response slope of 20 dB per decade. A second-order filter has a steeper 40 dB per decade slope. The calculator supports first-order passive and active modes plus a second-order Butterworth Sallen-Key mode with a fixed modeled passband gain.
Can the calculator determine output signal voltage?
Yes. Enter a positive input signal amplitude and a test frequency. The calculator multiplies the input amplitude by the filter's calculated response magnitude to estimate output amplitude. It also displays the response in decibels. This gives the ideal signal magnitude, not a complete time-domain waveform.
Does a high-pass filter block DC signals?
In the ideal high-pass models used by this calculator, DC at 0 Hz has zero transfer magnitude. When you enter a test frequency of 0 Hz, the calculator displays a magnitude of 0 and an attenuation of −∞ dB. Actual circuit behavior may also depend on operating conditions and component characteristics.