Audio Sample Rate Converter
Our media sound & motion design calculator teaches audio sample rate step by step. Perfect for students, teachers, and self-learners.
Formula
File Size = Sample Rate x Bit Depth x Channels x Duration / 8
Where Sample Rate is in Hz, Bit Depth is bits per sample, Channels is the number of audio channels, and Duration is in seconds. The result is in bytes. The Nyquist frequency equals half the sample rate and represents the maximum frequency that can be accurately reproduced.
Worked Examples
Example 1: Converting a Music Album from CD to Broadcast Standard
Problem: A 45-minute stereo album recorded at 44.1 kHz 16-bit needs to be converted to 48 kHz for a television broadcast. Calculate the file size change and conversion ratio.
Solution: Source: 44,100 x 16 x 2 x 2700 / 8 = 381,024,000 bytes = 363.4 MB\nTarget: 48,000 x 16 x 2 x 2700 / 8 = 414,720,000 bytes = 395.5 MB\nConversion ratio: 48000 / 44100 = 1.088435\nFile size increase: 395.5 - 363.4 = 32.1 MB (+8.8%)\nNyquist shift: 22.05 kHz to 24.0 kHz
Result: File size increases by 32.1 MB (8.8%), Nyquist frequency increases from 22.05 kHz to 24.0 kHz
Example 2: Downsampling a High-Resolution Recording for Streaming
Problem: A 5-minute stereo recording at 96 kHz 24-bit needs to be converted to 44.1 kHz 16-bit for streaming. Calculate the file size reduction.
Solution: Source: 96,000 x 24 x 2 x 300 / 8 = 345,600,000 bytes = 329.6 MB\nTarget: 44,100 x 16 x 2 x 300 / 8 = 105,840,000 bytes = 100.9 MB\nConversion ratio: 44100 / 96000 = 0.459375\nFile size reduction: 329.6 - 100.9 = 228.7 MB (-69.4%)\nAnti-aliasing filter needed below 22.05 kHz
Result: File size decreases by 228.7 MB (69.4%), anti-aliasing filter required to prevent aliasing below 22.05 kHz
Frequently Asked Questions
What is audio sample rate and why does it matter?
Audio sample rate is the number of times per second an analog audio signal is measured and converted to digital data, expressed in Hertz. According to the Nyquist-Shannon sampling theorem, the sample rate must be at least twice the highest frequency you want to capture accurately. Since human hearing ranges up to approximately 20 kHz, the standard CD sample rate of 44.1 kHz can theoretically reproduce frequencies up to 22.05 kHz. Higher sample rates like 96 kHz or 192 kHz capture ultrasonic frequencies and provide more headroom for anti-aliasing filters. The sample rate directly affects file size, processing requirements, and the maximum reproducible frequency in your audio.
What is the difference between 44.1 kHz and 48 kHz sample rates?
The 44.1 kHz sample rate was established as the Compact Disc standard in the early 1980s and remains the standard for music distribution. The 48 kHz sample rate was adopted as the standard for professional video and broadcast audio including DVD, Blu-ray, and digital television. The practical difference in audio quality is minimal since both capture the full audible frequency range. However, converting between these two rates requires a non-integer ratio conversion (approximately 147 to 160), which can introduce subtle artifacts if not performed with high-quality algorithms. For this reason, it is best to work at the sample rate matching your final delivery format throughout the production process.
Does upsampling improve audio quality?
Upsampling does not add new audio information that was not captured in the original recording. When you convert from 44.1 kHz to 96 kHz, the converter interpolates new samples between existing ones using mathematical algorithms, but no new frequency content above the original Nyquist frequency is created. However, upsampling can provide practical benefits in certain workflows. It can reduce intermodulation distortion in some DAC designs, provide more precise timing resolution for audio editing, and create headroom for digital signal processing operations. Some audiophiles report subjective improvements from upsampling, though double-blind tests generally show these differences are not reliably perceptible.
How does sample rate conversion affect file size?
File size for uncompressed audio (WAV or AIFF) is directly proportional to the sample rate. Doubling the sample rate exactly doubles the file size because there are twice as many samples to store. A stereo 16-bit audio file at 44.1 kHz uses approximately 10.1 MB per minute, while the same audio at 96 kHz uses approximately 22 MB per minute. At 192 kHz with 24-bit depth, a stereo file uses approximately 66 MB per minute. This storage increase also means higher bandwidth requirements for streaming and more processing power needed for real-time playback and editing. For compressed formats like MP3 or AAC, the final file size depends on the encoder bitrate rather than the source sample rate.
What is the best algorithm for sample rate conversion?
The highest quality sample rate conversion algorithms use sinc interpolation, which mathematically reconstructs the continuous waveform from the discrete samples before resampling at the new rate. The quality depends on the length of the sinc filter kernel, with longer kernels providing more accurate reconstruction at the cost of processing time. Industry-standard converters like iZotope, SoX with the very-high-quality flag, and the Weiss Saracon are known for transparent conversions. Linear interpolation is the simplest and fastest method but introduces the most distortion. For professional work, always use a converter that specifies sinc-based or polyphase filter interpolation. Avoid simple nearest-neighbor resampling which creates significant aliasing artifacts.
When should I use 96 kHz or 192 kHz sample rates?
Higher sample rates are most beneficial during recording and mixing stages where multiple rounds of digital signal processing will be applied. Processing audio at 96 kHz gives plugins twice the frequency headroom, reducing aliasing distortion from nonlinear effects like saturation, compression, and distortion plugins. Orchestral and acoustic recordings sometimes benefit from 96 kHz capture for the extended frequency response and improved transient detail. However, for final delivery, most content is distributed at 44.1 kHz or 48 kHz since the audible differences are negligible for most listeners. Working at 192 kHz is generally considered excessive except for archival purposes or specialized scientific audio analysis applications.