Calculators.Life Calculator
Engineering

RC Filter Calculator

Input Parameters

Scenarios
Resistance value
Capacitance value
Cutoff frequency (-3 dB point)
Optional evaluation frequency to calculate gain and phase shift

Computed Results

Calculated Parameter
159.1549
Time Constant (τ)1
Voltage Gain (Vout / Vin)0.1572
Attenuation / Gain (dB)-16.07
Phase Shift (°)-80.96

The RC filter calculator determines the cutoff frequency, required resistance, or required capacitance for passive low-pass and high-pass circuits. By entering your component values and an optional test frequency, you can also evaluate the circuit's time constant, voltage gain, decibel attenuation, and phase shift.

Practical Use Cases

RC (resistor-capacitor) filters are fundamental building blocks in electronics, used to block or pass specific ranges of frequencies. Common applications include:

How to Use the Calculator

Follow these steps to analyze or design your RC filter circuit:

  1. Select the Target Parameter: Choose whether you want to calculate the Cutoff Frequency (fc), Resistance (R), or Capacitance (C).
  2. Choose the Filter Configuration: Select either a low-pass filter (passes frequencies below the cutoff) or a high-pass filter (passes frequencies above the cutoff).
  3. Enter Known Values: Input the two known parameters (e.g., Resistance and Capacitance if calculating Cutoff Frequency). Ensure you select the correct units (such as ohms, kilo-ohms, microfarads, or picofarads).
  4. Set a Test Frequency (Optional): To evaluate how the filter behaves at a specific frequency, enter a test frequency (f). This calculates the voltage gain, attenuation in decibels (dB), and phase shift.
  5. Review the Results: The calculator will display your primary calculated parameter, the circuit's time constant, and the frequency response metrics at your test frequency.

Formula & Explanation

The behavior of a passive RC filter is governed by the relationship between the resistor and the capacitor. The most critical parameter is the cutoff frequency (also known as the -3 dB frequency or corner frequency), where the output power is half of the input power, and the output voltage is approximately 70.7% of the input voltage.

Cutoff Frequency Formula

fc = 1 ÷ (2 × π × R × C)

Where:

The calculator rearranges this formula algebraically if you choose to solve for Resistance or Capacitance instead.

Time Constant

The time constant (τ) represents the time it takes for the capacitor to charge to about 63.2% of the supply voltage, or discharge to 36.8%.

τ = R × C

Frequency Response (Gain and Phase)

When a test frequency (f) is applied, the filter's response depends on its configuration. The ratio of the test frequency to the cutoff frequency determines the gain and phase shift.

For a Low-Pass Filter:

Voltage Gain = 1 ÷ √(1 + (f ÷ fc)²)
Phase Shift = -arctan(f ÷ fc)

For a High-Pass Filter:

Voltage Gain = (f ÷ fc) ÷ √(1 + (f ÷ fc)²)
Phase Shift = arctan(fc ÷ f)

The attenuation in decibels is calculated as:

Gain (dB) = 20 × log₁₀(Voltage Gain)

Verified Scenario Walkthroughs

Here are examples of how the calculator processes different filter design scenarios:

High-Frequency Audio Filter Design

Designing a low-pass filter to calculate the cutoff frequency using a 4.7 kΩ resistor and a 2.2 nF capacitor, evaluated at a 20 kHz test frequency.

Calculate Required Resistance for Specific Cutoff

Finding the necessary resistor for a high-pass filter with a 100 pF capacitor to achieve a 15.915 MHz cutoff, tested at 5 MHz.

Determine Capacitance for Low Frequency Timing

Calculating the required capacitor for a low-pass filter using a 10 MΩ resistor to set a 1 Hz cutoff, evaluated at 500 Hz.

Small Signal Filter Analysis

Analyzing a high-pass filter with a 150 Ω resistor and a 470 pF capacitor to find the cutoff frequency, tested at 1 MHz.

Inputs & Outputs Table

Field Type Description
Calculate Input The target parameter to solve for: Cutoff Frequency, Resistance, or Capacitance.
Filter Configuration Input Select low-pass (attenuates high frequencies) or high-pass (attenuates low frequencies).
Resistance (R) Input The resistor value in the circuit.
Capacitance (C) Input The capacitor value in the circuit.
Cutoff Frequency (fc) Input The frequency at which the signal power is reduced by half (-3 dB).
Test Frequency (f) Input An optional frequency used to evaluate the filter's gain and phase shift.
Calculated Parameter Output The primary result based on your selected calculation mode.
Time Constant (τ) Output The product of resistance and capacitance, expressed in milliseconds.
Voltage Gain (Vout / Vin) Output The linear ratio of output voltage to input voltage at the test frequency.
Attenuation / Gain (dB) Output The voltage gain expressed in decibels. A value of -3 dB occurs exactly at the cutoff frequency.
Phase Shift (°) Output The phase difference between the output and input signals at the test frequency, in degrees.

Frequently Asked Questions

What is the cutoff frequency of an RC filter?

The cutoff frequency, also known as the -3 dB point or corner frequency, is the frequency at which the filter attenuates the input signal power by half. At this point, the output voltage is approximately 70.7% of the input voltage.

How does a low-pass filter differ from a high-pass filter?

A low-pass filter allows frequencies below the cutoff frequency to pass through with minimal attenuation while blocking higher frequencies. A high-pass filter does the opposite, allowing frequencies above the cutoff to pass while blocking lower frequencies.

What does the time constant tell me about the circuit?

The time constant (τ), calculated as Resistance multiplied by Capacitance, indicates how quickly the capacitor charges or discharges. It represents the time required for the capacitor voltage to reach approximately 63.2% of its final value during a step change.

Why is the gain negative in decibels?

Passive RC filters cannot amplify a signal; they can only attenuate it. Because the output voltage is always less than or equal to the input voltage, the linear gain is less than 1, which translates to a negative value when expressed in decibels (dB).

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.