Sample Rate Conversion Calculator
Calculate how many audio samples a file will contain after converting from one sample rate to another. Useful when resampling audio between formats like 44.1 kHz, 48 kHz, and 96 kHz for post-production or streaming.
About this calculator
Sample rate conversion (resampling) changes the number of discrete audio samples used to represent a given duration of audio. The relationship is straightforward: if you have a fixed length of audio, the number of samples is directly proportional to the sample rate. The formula is: newSamples = (originalSamples × targetRate) / originalRate. For instance, 1 second of audio at 44,100 Hz contains 44,100 samples. Converting that to 48,000 Hz yields (44,100 × 48,000) / 44,100 = 48,000 samples — still 1 second but now represented with more data points. The audio duration itself does not change; only the sample count and file size are affected. This calculation is essential for synchronizing audio with video (which typically uses 48 kHz) or for reducing file size by downsampling to 22,050 Hz.
How to use
You have a 44,100-sample audio clip recorded at 44,100 Hz (exactly 1 second) and need to convert it to 48,000 Hz for a video project. Enter 44,100 in Original Sample Count, 44,100 in Original Sample Rate, and 48,000 in Target Sample Rate. The calculator computes: (44,100 × 48,000) / 44,100 = 48,000 samples. Now try a longer clip: 132,300 samples at 44,100 Hz (3 seconds) converted to 96,000 Hz gives (132,300 × 96,000) / 44,100 = 288,000 samples — still 3 seconds but with more than double the sample count.
Frequently asked questions
How does sample rate conversion affect audio quality and file size?
Upsampling (e.g., 44.1 kHz to 96 kHz) increases the sample count and file size without adding new frequency information — the extra samples are interpolated. Downsampling (e.g., 96 kHz to 44.1 kHz) reduces file size and may discard high-frequency content above the new Nyquist limit (half the sample rate). A well-implemented converter applies an anti-aliasing filter before downsampling to prevent artifacts. For most listening purposes, 44.1 kHz or 48 kHz is sufficient; higher rates are mainly beneficial during recording and processing.
What is the difference between 44.1 kHz and 48 kHz sample rates in audio production?
44.1 kHz is the standard for music CDs and most consumer audio, chosen historically to fit on video tape. 48 kHz is the broadcast and video production standard, used in film, television, and game audio. The two are not integer multiples of each other, which makes conversion mathematically complex and can introduce subtle artifacts if done poorly. When delivering music to video projects, it is best practice to work natively at 48 kHz throughout the session rather than converting at the end.
Why does converting sample rates change the number of samples but not the audio duration?
Audio duration is determined by the number of samples divided by the sample rate. When you resample, both the sample count and the rate change proportionally, so the ratio (and therefore duration) stays constant. For example, 44,100 samples at 44,100 Hz = 1.000 second; 48,000 samples at 48,000 Hz = 1.000 second. The waveform is reconstructed at the new rate to represent the same moment-in-time audio. This is why sample rate conversion is transparent to the listener when done correctly — you hear the same audio, just stored differently.