The 'dB to Hz' Misconception and the Real Formula
If you are searching for a 'dB to Hz calculator,' we need to clear up a fundamental physics misconception immediately: you cannot directly convert decibels (dB) to hertz (Hz). They measure orthogonal physical properties. Decibels represent a logarithmic ratio of power or amplitude (how loud or strong a signal is), while hertz represent linear frequency (how many cycles occur per second). Asking to convert dB to Hz is like asking to convert miles-per-hour into pounds.
However, in practical electronics, this search intent almost always points to a specific, solvable problem: finding the frequency (in Hz) at which a filter attenuates a signal by a specific number of decibels. When you are reading a Bode plot or designing an anti-aliasing filter, you need to map a magnitude coordinate (dB) to a frequency coordinate (Hz).
A realistic answer magnitude depends on your domain. In audio DSP and analog synth design, your calculated frequencies will typically fall between 20 Hz and 20,000 Hz. In RF intermediate-frequency (IF) filtering or switching power supply EMI suppression, your target frequencies will sit in the kHz to MHz range. Attenuation targets are usually -3 dB (the standard cutoff), -10 dB, -20 dB, or -40 dB.
The Core Formula: Finding Frequency from dB Attenuation
To find the exact frequency where a first-order low-pass or high-pass filter reaches a specific attenuation, we invert the standard transfer function magnitude equation.
f = fc × √( 10(AdB / 10) - 1 )
| Symbol | Parameter | Unit | Description |
|---|---|---|---|
| f | Target Frequency | Hz | The frequency at which the specified attenuation occurs. |
| fc | Cutoff Frequency | Hz | The -3.01 dB corner frequency (where power is halved). |
| AdB | Attenuation | dB | The positive magnitude of signal drop (e.g., use 20 for a -20 dB drop). |
Before we rearrange the formula, here is a data-dense reference table showing how this math manifests in the real world. This table tracks the exact attenuation of a first-order low-pass filter with a 1,000 Hz cutoff frequency.
| Frequency (Hz) | Ratio (f / fc) | Voltage Gain (V/V) | Attenuation (dB) | Octaves Above fc |
|---|---|---|---|---|
| 1,000 | 1 | 0.7071 | -3.01 dB | 0 |
| 2,000 | 2 | 0.4472 | -6.99 dB | 1 |
| 5,000 | 5 | 0.1961 | -14.15 dB | 2.32 |
| 10,000 | 10 | 0.0995 | -20.04 dB | 3.32 |
| 100,000 | 100 | 0.0100 | -40.00 dB | 6.64 |
Rearranged Forms for Bench Troubleshooting
Depending on what your oscilloscope or network analyzer is telling you, you will need to isolate different variables. Here are the algebraic rearrangements of the core formula:
- Solving for Target Frequency (f):
f = fc × √( 10(AdB / 10) - 1 ) - Solving for Cutoff Frequency (fc):
fc = f / √( 10(AdB / 10) - 1 ) - Solving for Attenuation (AdB):
AdB = 10 × log10( 1 + (f / fc)2 )
Worked Examples: Tracking Units from dB to Hz
Let's apply this math to real bench scenarios. When I am characterizing an anti-aliasing filter with a function generator and a scope, I never just trust the theoretical math; component tolerances (especially X7R ceramic capacitors, which suffer from severe DC bias and temperature derating) will shift your actual fc. But the math gives us the baseline to measure against.
Problem 1: Finding the Frequency for a Required EMI Attenuation
Scenario: You are designing a first-order RC low-pass filter to clean up a sensor signal. Your cutoff frequency (fc) is designed to be 800 Hz. The system's ADC requires that high-frequency switching noise be attenuated by at least 24 dB. At what frequency (in Hz) does the filter achieve exactly 24 dB of attenuation?
- Identify the knowns: fc = 800 Hz, AdB = 24.
- Select the formula: f = fc × √( 10(AdB / 10) - 1 )
- Calculate the exponent term: AdB / 10 = 24 / 10 = 2.4
- Calculate the base-10 power: 102.4 ≈ 251.1886
- Subtract 1: 251.1886 - 1 = 250.1886
- Take the square root: √(250.1886) ≈ 15.817
- Multiply by fc: 800 Hz × 15.817 = 12,653.6 Hz
Answer: The noise must be at or above 12.65 kHz for the filter to suppress it by 24 dB. If your switching noise is at 5 kHz, a first-order filter is insufficient, and you must upgrade to a second-order active topology.
Problem 2: Reverse-Engineering the Cutoff Frequency from a Bode Plot
Scenario: You've inherited a legacy audio crossover board with no schematics. You inject a sine sweep and measure the output. At 5,000 Hz, your oscilloscope shows the signal amplitude has dropped by 14 dB relative to the passband. What is the -3 dB cutoff frequency (fc) of this hidden filter?
- Identify the knowns: f = 5,000 Hz, AdB = 14.
- Select the rearranged formula: fc = f / √( 10(AdB / 10) - 1 )
- Calculate the exponent term: 14 / 10 = 1.4
- Calculate the base-10 power: 101.4 ≈ 25.1189
- Subtract 1: 25.1189 - 1 = 24.1189
- Take the square root: √(24.1189) ≈ 4.911
- Divide f by the result: 5,000 Hz / 4.911 = 1,018.1 Hz
Answer: The filter's -3 dB cutoff frequency is approximately 1.018 kHz. You can now confidently specify replacement capacitors or design a digital IIR equivalent.
Common Unit Mistakes and Bode Plot Pitfalls
When translating between logarithmic magnitude and linear frequency, small unit errors will result in wildly inaccurate designs. Watch out for these specific traps:
1. Power dB vs. Amplitude (Voltage) dB
The most catastrophic mistake in filter math is confusing the 10 log10 power formula with the 20 log10 voltage formula. The formula provided above assumes you are measuring voltage or current amplitude on an oscilloscope, which is standard for Bode plots. Because power is proportional to voltage squared (P = V2/R), the exponent in the power domain brings down a factor of 2. If your network analyzer is displaying power attenuation (common in RF S-parameter measurements like S21), the math shifts. Always verify if your instrument's dB reading is referenced to voltage (20 log) or power (10 log).
2. The Sign of the Decibel Value
In the formula AdB = 10 × log10(...), AdB represents attenuation as a positive number (e.g., 20 for a 20 dB drop). If your instrument reads '-20 dB' (which is technically the gain), you must use the absolute value (20) when plugging it into the square root equation. Plugging a negative number into the exponent will yield a fractional result less than 1, resulting in a square root of a negative number, which breaks the real-number math entirely.
3. Assuming First-Order Rolloff on Higher-Order Filters
A first-order RC filter drops at exactly 20 dB per decade (or roughly 6.02 dB per octave). If you measure a 40 dB drop over one decade, you are looking at a second-order filter (like an LC circuit or a Sallen-Key op-amp topology). Applying the first-order formula to a second-order system will calculate a frequency that is mathematically valid for a single pole, but physically wrong for the circuit on your bench. For second-order systems, the transfer function denominator becomes a fourth-degree polynomial under the radical, requiring the Analog Devices Bode Plot guidelines for complex conjugate poles.
4. Ignoring Component Parasitics at High Frequencies
The math assumes ideal resistors and capacitors. In reality, a physical capacitor has Equivalent Series Inductance (ESL). At high frequencies (typically above 10 MHz for standard 0805 SMD ceramics), the ESL dominates, and the capacitor begins to act like an inductor. Your attenuation curve will stop dropping and may even rise again. If your calculated Hz value pushes into the VHF range, you must account for parasitic resonance, or the physical circuit will never achieve the dB drop your calculator promised.
Bench Tip: When verifying these calculations on the bench, always measure your input and output voltages using the RMS function on your multimeter or oscilloscope, not peak-to-peak. While the ratio remains the same, tracking RMS ensures your power calculations (if you need to translate back to Watts) remain consistent with standard low-pass filter theory.






