Worked example
Example: Illustrative 1 kHz band at 10 kHz. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Sampling rate | 10.000 kHz |
| Highest frequency of interest (filter corner) | 1.0000 kHz |
| Attenuation wanted where aliases would fall on f_p (dB) | 60.000 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Lowest frequency that aliases onto f_p | 9.0000 kHz |
| Filter order needed (exact) | 3.1439 |
| Filter order to use | 4.0000 |
| Attenuation at f_a with that order (dB) | 76.339 |
Open this example in the calculator and change any input.
Formula
\(A(f) = 10\log_{10}\left[1 + \left(\frac{f}{f_p}\right)^{2n}\right], \quad f_a = f_s - f_p, \quad n = \frac{\log_{10}(10^{A/10} - 1)}{2\log_{10}(f_a/f_p)}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(f_s\) | Sampling rate | 1/s |
| \(f_p\) | Highest frequency of interest (filter corner) | 1/s |
| \(A\) | Attenuation wanted where aliases would fall on f_p (dB) | - |
| \(f_a\) | Lowest frequency that aliases onto f_p | 1/s |
| \(n\) | Filter order needed (exact) | - |
| \(n_{sel}\) | Filter order to use | - |
| \(A_{sel}\) | Attenuation at f_a with that order (dB) | - |
Method and standards
Anti-aliasing filter.
Where it is used
- Data acquisition and vibration measurement.
- ADC front-end design.
Common mistakes
- Placing the corner at the Nyquist frequency.
- Ignoring the filter's own pass-band droop.
Assumptions and limits
- Butterworth response with the corner at f_p.
References
- Butterworth magnitude response
Questions and answers
What order filter do I need at 10 kHz sampling for a 1 kHz band and 60 dB?
Aliases start at 9 kHz, a ratio of 9, so 4th order (about 76 dB there) is enough.
How does oversampling help?
It pushes the first alias frequency far above the band, so a low-order filter attenuates it enough.
What do the defaults represent?
An illustrative 1 kHz band sampled at 10 kHz needing 60 dB of alias rejection.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Oppenheim and Schafer, Discrete-Time Signal Processing, 3rd ed. (Pearson, 2010)