Back to Glossary
Video

Sample Rate

Also known as: Sampling rate, Sampling frequency

What Is Sample Rate?

Sample rate is the number of times per second a digital recording measures a sound wave, given in hertz. At 48 kHz, each channel stores 48,000 of these measurements, called samples, for each second of sound, and the rate decides the highest frequency the recording can hold.

The sampling theorem says a sound can be captured exactly when it contains nothing at or above half the sample rate, a limit called the Nyquist frequency. Anything higher folds back down and shows up as a lower tone that was never in the source, an error known as aliasing, so recorders and converters remove it first with a low-pass filter.

Halve the sample rate to find the highest frequency it keeps

A 44.1 kHz recording holds frequencies below 22.05 kHz, and a 48 kHz one below 24 kHz, both past the 20 kHz usually given as the top of human hearing. Phone audio at 8 kHz stops below 4 kHz, and the G.711 telephone codec passes only 300 to 3,400 Hz.

What Does a Low Sample Rate Sound Like?

A lower rate takes the top off a sound: music turns dull, and at 8 kHz speech stays clear while its s sounds start to blur. Turn the filter off and the frequencies above the limit come back as new tones, so the sweep you hear turns around and falls while the source keeps rising.

Play a sweep at a lower sample rate

Pick a rate, play the sweep or a file of your own, and switch the filter off to hear the folded tones.

The frequency you hear (dark line) against the sweep itself (light line), on a scale up to 24 kHz.

At 8 kHz, nothing above 4 kHz survives. The filter removes the rest, so the sweep goes quiet once it climbs past 4 kHz.

Everything runs in your browser and nothing is uploaded. Your device then plays the result at its own sample rate.

What Are the Common Sample Rates?

Most rates belong to one of two families, multiples of 44.1 kHz from the CD and multiples of 48 kHz from professional video, with a few lower ones for speech and broadcast. The middle column is the gap each rate leaves between 20 kHz and its limit, the room an anti-aliasing filter has to work in.

  Upper limit Room above 20 kHz Where it is used
8 kHz Below 4 kHz None Phone calls
22.05 kHz Below 11.025 kHz None Small WAV files, 78s and AM radio
32 kHz Below 16 kHz None Broadcast sound, miniDV video
44.1 kHz Below 22.05 kHz 2.05 kHz CDs and MP3 music
48 kHz Below 24 kHz 4 kHz Video and pro audio
96 kHz Below 48 kHz 28 kHz Studio recording, Blu-ray audio

44.1 kHz vs 48 kHz: Which Should You Use?

Use 48 kHz for anything that ends up in a video, and 44.1 kHz when the finished audio is headed for CD. A podcast that also publishes each episode as a YouTube video, for example, can record and edit at 48 kHz, the rate YouTube recommends, and never convert its audio. The two rates come from different machines. CDs inherited 44.1 kHz from the PCM adaptors that stored audio on video tape, while 48 kHz was picked to work with the frame rates of video and became the standard rate of professional video and audio gear.

When to use 48 kHz

  • Any audio that goes with video

  • Uploads to YouTube

  • DVD-Video and Blu-ray Disc

When to use 44.1 kHz

  • Music mastered for CD

  • MP3 files made from CD audio

  • Sessions already recorded at 44.1 kHz

Is Sample Rate the Same as Bit Depth?

No. Sample rate counts how often a sound is measured, which sets the highest frequency a file can hold, while bit depth sets how finely each measurement is stored. More bits push the noise floor down by about 6 dB each, so 16-bit audio has a dynamic range of about 96 dB and 24-bit audio could reach 144 dB in theory.

How Much Space Does Uncompressed Audio Take?

Multiply the sample rate by the bit depth and the number of channels. A CD’s 44,100 samples a second at 16 bits in stereo add up to 1,411,200 bits a second, and a 48 kHz, 24-bit stereo recording to 2,304,000, about 1.04 GB an hour. Compressed codecs such as AAC and MP3 store the sound in far fewer bits, at a bitrate the encoder targets.

How Sample Rate Works in CE.SDK

With CE.SDK video editing, clips recorded at different sample rates can share one timeline. In our test of a browser export, every MP4 carried one stereo audio track at 48 kHz, whichever rates and channel counts we gave the clips.

48 kHz

audio rate of each MP4 we exported

from clips at 8, 22.05, 44.1 and 96 kHz

2 channels

in each export

mono clips came out as stereo

1 kHz

a 1 kHz tone recorded at 96 kHz, after export

played back at its original pitch

Read the sample rate of each track in a video

getAudioInfoFromVideo reports the sample rate, channel count, codec and language of each audio track a video holds. createAudioFromVideo then moves the track you pick onto a separate audio block, ready for your users to trim and mix like any other clip.

Sound your app generates in code

Your app can also create sound itself, for example a notification chime, by writing WAV data into a buffer and playing it from an audio block. The Add Sound Effects guide builds its tones this way and recommends 16-bit stereo WAV at 48 kHz for the best compatibility.

FAQs

48 kHz. It is the standard rate of professional video equipment, YouTube recommends it for uploads, and DVD-Video and Blu-ray Disc use multiples of 48 kHz only.

A higher rate holds higher frequencies, but 44.1 and 48 kHz already reach past the 20 kHz usually given as the top of human hearing. Mastering often runs at 88.2 or 176.4 kHz, and some studio gear records at 96 kHz, because the wider gap above 20 kHz makes the low-pass filter easier to build and leaves the audio less sensitive to distortion from editing.

Half the sample rate, and the limit a recording at that rate has to stay below: 22,050 Hz for a CD sampled at 44,100 Hz. It is also called the folding frequency, because anything above it folds back down into the recording as aliasing.

Classic phone audio runs at 8 kHz. The G.711 codec samples at 8,000 Hz and passes 300 to 3,400 Hz, which keeps speech clear but blurs s sounds into something closer to f.

The rate came from the PCM adaptors that recorded digital audio onto video tape in the late 1970s, three samples on each line of the picture. It works out to 44,100 for both 50 and 60 Hz video, and the Red Book standard made it the CD rate in 1980.