Sampling and aliasing calculator

A signal above half the sampling rate does not disappear. It folds back and appears at a lower frequency, indistinguishable from a real one.

Hz
Hz
Hz
Frequency it appears at
300.000Hz
≈ Rounded Aliasing
The signal will alias
1
Nyquist frequency
500.00 Hz
Filter attenuation at that frequency
20.48 dB
Attenuation at Nyquist
3.88 dB
Oversampling ratio
1.250
Minimum sample rate to capture it properly
2600.0 Hz
Show the working
  1. Sample rate = 1000
  2. Signal frequency = 1300
  3. Anti-alias filter cutoff = 400
  4. Filter order = 2
  5. Nyquist frequency = 1000 / 2 = 500
  6. Frequency it appears at = abs(1300 - 1000 * round(1300/1000)) = 300
  7. The signal will alias = 1300 > 500 ? 1 : 0 = 1
  8. Filter attenuation at that frequency = 400 > 0 ? 20 * 2 * log10(1300/400) : 0 = 20.4753
  9. residual_db = -20.4753 = -20.4753
  10. Oversampling ratio = 400 > 0 ? 1000/(2*400) : 0 = 1.25
  11. Minimum sample rate to capture it properly = 1300 * 2 = 2600
  12. Attenuation at Nyquist = 400 > 0 ? 20 * 2 * log10(500/400) : 0 = 3.8764

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • aliased frequency = |f - fs x round(f / fs)|
    • a filter of order n rolls off at 20n dB per decade

    An anti-alias filter must sit before the sampler. No amount of digital filtering afterwards can undo aliasing.

    Oversampling relaxes the filter requirement, which is why delta-sigma converters sample far faster than they output.

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library