---
title: "What Is Sample Rate? 44.1 vs 48 kHz and the Nyquist Limit - CE.SDK Glossary"
description: "Sample rate is how many times a second audio is measured. Hear what a low rate and aliasing do to a sound, and see why video runs at 48 kHz, not 44.1 kHz."
url: "https://img.ly/glossary/sample-rate/"
type: "page"
---

> This is the markdown version of [What Is Sample Rate? 44.1 vs 48 kHz and the Nyquist Limit - CE.SDK Glossary](https://img.ly/glossary/sample-rate/). For all pages in one file, see [llms-full.txt](https://img.ly/llms-full.txt). For an index of all available pages, see [llms.txt](https://img.ly/llms.txt).

---

# 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 highest frequency each sample rate can hold, half the rate:

- **8 kHz**: up to 4 kHz

- **16 kHz**: up to 8 kHz

- **22.05 kHz**: up to 11.025 kHz

- **32 kHz**: up to 16 kHz

- **44.1 kHz**: up to 22.05 kHz, above the 20 kHz top of human hearing

- **48 kHz**: up to 24 kHz, above the 20 kHz top of human hearing

## 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.

- **8 kHz**: Upper limit: Below 4 kHz, Room above 20 kHz: None, Where it is used: Phone calls

- **22.05 kHz**: Upper limit: Below 11.025 kHz, Room above 20 kHz: None, Where it is used: Small WAV files, 78s and AM radio

- **32 kHz**: Upper limit: Below 16 kHz, Room above 20 kHz: None, Where it is used: Broadcast sound, miniDV video

- **44.1 kHz**: Upper limit: Below 22.05 kHz, Room above 20 kHz: 2.05 kHz, Where it is used: CDs and MP3 music

- **48 kHz**: Upper limit: Below 24 kHz, Room above 20 kHz: 4 kHz, Where it is used: Video and pro audio

- **96 kHz**: Upper limit: Below 48 kHz, Room above 20 kHz: 28 kHz, Where it is used: 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](https://img.ly/glossary/aac-vs-mp3.md) store the sound in far fewer bits, at a [bitrate](https://img.ly/glossary/bitrate.md) the encoder targets.

## How Sample Rate Works in CE.SDK

With [CE.SDK video editing](https://img.ly/products/video-sdk.md), clips recorded at different sample rates can share one [timeline](https://img.ly/glossary/timeline.md). 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

### Sample Rate

**Q: What sample rate should I use for video?**

A: 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.

**Q: Is a higher sample rate better?**

A: 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.

**Q: What is the Nyquist frequency?**

A: 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.

**Q: What sample rate do phone calls use?**

A: 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.

**Q: Why is CD audio 44.1 kHz?**

A: 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.

## Links

- [Video Editor SDK](https://img.ly/products/video-sdk.md): Your users mix voice, music and clips on one timeline, then export it all as a video.
- [Create and Edit Audio](https://img.ly/docs/cesdk/js/create-audio/audio-2f700b.md): Add audio blocks, pull a track out of a video and control how it plays.
- [Add Sound Effects](https://img.ly/docs/cesdk/js/create-audio/audio/add-sound-effects-9e984e.md): Generate tones in code as WAV data and play them from an audio block.

---

## More Resources

- **[IMG.LY Website](https://img.ly/index.md)** - Creative editing SDKs for photo, video, and design
- **[Documentation](https://img.ly/docs/cesdk/)** - CE.SDK developer documentation
- **[Build with a coding agent](https://img.ly/SKILL.md)** - A skill that adds a CE.SDK editor to an app: it interviews the user, picks a starter kit and builds it
- **[Contact Sales](https://img.ly/forms/contact-sales.md)** - Get a custom quote. A public JSON API accepts the request directly, no account or key needed. Ask your user for consent and their details first.
- **[Free Trial](https://img.ly/pricing.md)** - Start building with CE.SDK
