Audio Sample Rate Converter
Our media sound & motion design calculator teaches audio sample rate step by step. Perfect for students, teachers, and self-learners.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Audio Sample Rate Converter
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: File Size = Sample Rate x Bit Depth x Channels x Duration / 8
Worked example โ File size increases by 32.1 MB (8.8%), Nyquist frequency increases from 22.05 kHz to 24.0 kHz
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 Target: 48,000 x 16 x 2 x 2700 / 8 = 414,720,000 bytes = 395.5 MB Conversion ratio: 48000 / 44100 = 1.088435 File size increase: 395.5 - 363.4 = 32.1 MB (+8.8%) Nyquist 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 Target: 44,100 x 16 x 2 x 300 / 8 = 105,840,000 bytes = 100.9 MB Conversion ratio: 44100 / 96000 = 0.459375 File size reduction: 329.6 - 100.9 = 228.7 MB (-69.4%) Anti-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.
What happens to frequencies above the Nyquist limit when downsampling?
When downsampling audio, any frequency content above the new Nyquist frequency (half the target sample rate) must be removed with a low-pass anti-aliasing filter before the sample rate reduction occurs. If these frequencies are not properly filtered, they fold back into the audible spectrum as aliasing artifacts, creating harsh, unmusical distortion. For example, downsampling from 96 kHz to 48 kHz requires filtering out all content above 24 kHz before reducing the sample rate. High-quality sample rate converters use steep, linear-phase anti-aliasing filters that remove these frequencies with minimal impact on the audible spectrum. Cheap converters may use simpler filters that either allow aliasing or attenuate desired frequencies.
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.
Can sample rate conversion introduce latency in real-time applications?
Yes, high-quality sample rate conversion introduces latency because the interpolation algorithms require a buffer of input samples to compute each output sample accurately. A sinc interpolation filter with a 64-tap kernel needs 32 samples of lookahead, adding approximately 0.67 milliseconds of latency at 48 kHz. In real-time applications like live performance or gaming, this latency accumulates with other sources of delay in the audio chain. Some hardware interfaces use dedicated ASRC chips that perform conversion with minimal latency, while software converters may add several milliseconds. For lowest latency, avoid sample rate conversion entirely by ensuring all devices in your signal chain operate at the same native sample rate.
What is the relationship between bit depth and sample rate?
Bit depth and sample rate are independent parameters that control different aspects of digital audio quality. Sample rate determines the highest frequency that can be captured (temporal resolution), while bit depth determines the dynamic range and noise floor (amplitude resolution). Each additional bit of depth adds approximately 6 dB of dynamic range, so 16-bit audio provides about 96 dB and 24-bit provides about 144 dB. Increasing sample rate does not improve dynamic range, and increasing bit depth does not extend the frequency response. Both parameters together determine the uncompressed file size, calculated as sample rate multiplied by bit depth multiplied by number of channels multiplied by duration in seconds divided by 8 to convert bits to bytes.
How do I choose the right sample rate for my project?
Choose your sample rate based on your final delivery format and workflow requirements. For music intended for streaming platforms like Spotify or Apple Music, 44.1 kHz or 48 kHz is standard since these services convert everything to their own formats anyway. For video production, always use 48 kHz as this is the universal video audio standard. For high-resolution music releases on platforms supporting lossless audio, 96 kHz at 24-bit is a common choice. Start your project at the target delivery rate when possible to avoid conversion entirely. If you plan heavy processing with nonlinear plugins, consider recording at 96 kHz and downsampling for delivery. Avoid unnecessary upsampling of existing 44.1 kHz masters to higher rates as this adds no genuine quality improvement.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎLearning Retention Rate Calculator
Calculate learning retention rate with inputs, formulas, and instant results.
๐งฎArchitectural Scale Converter
Calculate architectural scale converter with inputs, formulas, and instant results.
๐งฎCmyk to Pantone Converter
Calculate cmyk to pantone converter with inputs, formulas, and instant results.
๐งฎColor Space Converter
Calculate color space converter with inputs, formulas, and instant results.
๐งฎHue to Rgb Converter
Calculate hue to rgb converter with inputs, formulas, and instant results.
๐งฎPantone to RGB Converter (with Hex Code)
Calculate pantone to rgb converter with inputs, formulas, and instant results.
๐งฎSaturation Luminance Converter
Calculate saturation luminance converter with inputs, formulas, and instant results.
๐งฎGrading Scale Converter
Calculate grading scale converter with inputs, formulas, and instant results.