Nyquist Frequency Calculator for Audio Sampling

Nyquist Frequency Calculator

Calculate Nyquist limit, usable audio bandwidth, alias foldback, guard band, oversampling headroom, and uncompressed PCM data rate.

🎧 Quick Presets

📊 Sampling Inputs

Switches how rate, signal, and filter values are entered.
Common values are 44100, 48000, 96000, and 192000 Hz.
Use the highest expected harmonic before sampling or rendering.
Set to the low-pass cutoff before the converter or resampler.
Extra margin between useful bandwidth and Nyquist.
Positive shifts raise the effective source frequency.
Useful for nonlinear synths, saturation, and pitch processing.
Used for data-rate and file-size estimates.
PCM data rate equals rate × bit depth × channels.
Used to estimate sample count and uncompressed size.
Core formulas: Nyquist = sample rate / 2, minimum sample rate = 2 × highest frequency × (1 + guard), alias = |((frequency + Nyquist) mod sample rate) - Nyquist|.
Enter your sampling settings, then calculate to check whether the selected rate leaves enough bandwidth before aliasing begins.
Nyquist Frequency
24.00
kHz maximum representable frequency
Usable Bandwidth
21.60
kHz after guard band
Alias Foldback
None
current signal is below Nyquist
PCM Data Rate
2.30
Mbps before compression

Calculation Breakdown

Selected sample rate48.00 kHz
Nyquist formula48.00 / 2 = 24.00 kHz
Pitch-adjusted source frequency20.00 kHz
Filter cutoff compared with Nyquist22.00 kHz is below 24.00 kHz
Target minimum sample rate44.00 kHz
Oversampled processing rate48.00 kHz, Nyquist 24.00 kHz
Total samples and estimated size2.88M samples, 17.28 MB
Sampling verdictClean with guard band

🎛 Format Snapshot

48.0 kHz
Sample Rate
24.0 kHz
Nyquist Limit
10%
Guard Band
Low
Alias Risk

📐 Sample Rate Reference

Sample RateNyquist FrequencyTypical Audio UsePractical Note
8 kHz4 kHzTelephone speechVoice bandwidth only; music aliases quickly.
16 kHz8 kHzSpeech capture and podcastsUsable for voice, limited for cymbals and air.
22.05 kHz11.025 kHzLow-bandwidth assetsUseful when high frequencies are intentionally removed.
32 kHz16 kHzBroadcast voice and compact mediaCan work for spoken content with careful filtering.
44.1 kHz22.05 kHzCD audio and music mastersEnough for audible-band delivery with steep filters.
48 kHz24 kHzVideo, film, and game audioLeaves slightly more transition band than 44.1 kHz.
88.2 kHz44.1 kHzHigh-resolution music workConvenient integer downsample path to 44.1 kHz.
96 kHz48 kHzHigh-resolution productionGood headroom for nonlinear processing and editing.
192 kHz96 kHzSpecialized capture or DSPLarge files; mainly useful for extreme processing margin.

🔀 Alias Foldback Examples

Sample RateIncoming FrequencyNyquist LimitHeard Alias
44.1 kHz23 kHz22.05 kHz21.1 kHz foldback
44.1 kHz30 kHz22.05 kHz14.1 kHz foldback
48 kHz27 kHz24 kHz21 kHz foldback
48 kHz36 kHz24 kHz12 kHz foldback
96 kHz52 kHz48 kHz44 kHz foldback
96 kHz75 kHz48 kHz21 kHz foldback

🎼 Common Audio Scenarios

ScenarioSuggested RateBandwidth TargetReason
Final music delivery44.1 kHz20 kHzMatches CD-style audio with enough audible bandwidth.
Video production48 kHz20 kHzStandard for video timelines and post-production.
Podcast speech16 to 48 kHz7 to 20 kHzDepends on distribution quality and editing workflow.
Virtual instruments48 to 96 kHz20 to 40 kHzExtra headroom helps oscillators and modulation.
Saturation or distortion2x to 8x oversampling20 kHz outputNonlinear processors create harmonics above Nyquist.
Archival capture96 kHz40 kHzLeaves generous transition room for later processing.

💾 Data Rate Comparison

FormatPCM Data Rate1 Minute SizeNyquist
44.1 kHz, 16-bit, stereo1.41 Mbps10.58 MB22.05 kHz
48 kHz, 24-bit, stereo2.30 Mbps17.28 MB24 kHz
96 kHz, 24-bit, stereo4.61 Mbps34.56 MB48 kHz
192 kHz, 24-bit, stereo9.22 Mbps69.12 MB96 kHz
Filter tip: Keep the anti-alias cutoff below Nyquist, with room for the filter slope instead of placing it exactly at the limit.
DSP tip: If a synth, waveshaper, or pitch process creates new harmonics, oversample during processing and filter before returning to the project rate.

When you record a guitar through an audio interface, you may hear a harsh metallic sound coming from the recording even though that metallic sound was not present in the room in which the guitar was recorded. This metallic sound is created due to the folding of a frequency back onto itself during the sampling process. Folding occurs when the sound wave is traveling at a rate more fast than the audio interface’s ability to sample the incoming sound wave.

While many people consider sample rate to be a quality setting for the audio interface, the sample rate is actualy a physical limit on the sound wave as it relates to the frequencies that the system can capture. The physical limit of the audio interface is referred to as the Nyquist frequency which exists at half the sample rate. Any frequencies that is present in the sound wave that exceed the Nyquist frequency of the audio interface will be represented inaccurately by the interface.

Why Guitar Recordings Can Sound Metallic

As a result, those frequencies will fold back into the audible range. For instance, any sound that has a sample rate of 48 kHz will have a Nyquist frequency of 24 kHz. Because 24 kHz is generally considered to be insufficient for musical instruments and distortion effects, a Nyquist frequency of 24 kHz will often not be sufficient to adequately sample the instruments that are to be played.

Any energy in the sound wave that move past the Nyquist frequency does not simply vanish from that sampling. Instead, that energy folds back into the audible range as an unrelated tone. To avoid folding back into audible frequencies, you can calculate the sample rate of the audio interface in relation to the highest frequency you wish to sample, and establish a guard band between that frequency and the Nyquist frequency.

This guard band is implemented into the audio signal in order to allow for an anti-alias filter that cuts off frequencies higher than the guard band to perform more smoothly; very steep filters can introduce phase distortion into audible frequencies, and using a guard band allows the anti-alias filter to be gentler on the audible range of the audio interface. The sound file size calculator located on this page can calculate Nyquist frequency, guard band, and anti-alias filter settings if you enter the highest frequency you wish to sample, the cutoff frequency for your anti-alias filter, and the percentage of the Nyquist frequency that you would like to allow as a guard band. When pitching up a sample, every frequency in the sample is multiplied by the pitch value.

This can create problems if one of the frequencies in the sample is such that when that frequency is multiplied by the pitch value, that frequency exceed the Nyquist frequency of the audio interface; it will fold into audible frequencies. The calculator will show the Nyquist frequency of the audio interface and also whether aliasing will occur in the pitched sample. You should use this sound file size calculator to determine if you are aware of the risk of aliasing, as pitching musical samples up can easily result in crossing the boundary of the sampling rate.

Oversampling works in the opposite manner to pitching up a sample. By sampling at rates like four or eight times the sample rate at which the audio file will be played back, the Nyquist frequency move into the higher range. This higher range allows for non-linear processing stages to create new harmonics without those harmonics folding back into audible frequencies.

Although the audio signal is passed through a filter to remove data from frequencies other than those that were sampled at the initial rate, the discarded data ensures that the audible data will not contain the metallic artifacts that folding can introduce when sampling at base rates. This calculator reveals both the Nyquist frequency of the audio interface and the oversampled Nyquist frequency. The file size of an audio file is directly related to its sample rate, bit depth, and the number of channels.

A file that has a sample rate of 96 kHz and is 24-bit stereo will contain twice the amount of data as the same length file that is sampled at 48 kHz and is 24-bit stereo. As such, this data is important for those who is interested in the data transfer of these files over slow data connections. The same factors that avoid aliasing also impact the cost of storing these sound files.

This sound file size calculator can calculate the amount of data to be stored based on the sample rate, bit depth, and the length of the sound file. Not all audio projects require the same amount of risk regarding aliasing. Spoken word podcasts, for instance, typically do not require any frequencies above 8 kHz; a sample rate of 16 kHz will be sufficient.

However, music that will be released on vinyl records often is sampled at 96 kHz during mixing so that when it is sampled at a lower rate for mastering, there is still a sufficient margin for the highest frequencies of the music to remain in the audible range. These various settings is represented in the reference tables located on this calculator. In addition to the sample rate setting for your audio interface, there are additional factors to consider regarding the Nyquist frequency.

If you intend to use any plugins that add saturation to your audio files, or if any virtual instruments use frequency modulation, your safe sample rate will increase. If you intend to transpose any audio files upward, your safe sample rate will need to be increased as well. By calculating these variables at the start of your audio project, you can avoid accumulating problems that will become apparent once you have mixed your master audio file.

Each of these factors will help you to ensure that every frequency you wish to include in your song remains on the correct side of the Nyquist frequency.

Nyquist Frequency Calculator for Audio Sampling

Leave a Comment