Interpolation Rate Calculator
Enter DSP input and output sample rates to compute the integer interpolation factor L and reduced L/M ratio for sample rate conversion.
Use the Interpolation Rate Calculator
Sample Rate Inputs
Hz
Hz
Common Conversions
Conversion Results
Rational ratio (L/M)
Interpolation factor L
Decimation factor M
GCD of rates
Intermediate rate (Fin × L)
Verified output rate
Anti-Imaging Filter Cutoff
Enter rates above and press Calculate.
Summary
Enter DSP input and output sample rates to compute the integer interpolation factor L and reduced L/M ratio for sample rate conversion.
How it works
- Enter the input sample rate (Fin) in Hz — for example 44100 for CD audio.
- Enter the desired output sample rate (Fout) in Hz — for example 48000.
- The calculator finds GCD(Fin, Fout) and reduces the ratio Fout/Fin to lowest terms L/M.
- L is the interpolation (upsampling) factor; M is the decimation (downsampling) factor.
- The intermediate rate after upsampling equals Fin × L; the final rate after decimation equals Fin × L / M.
- If L = 1, no upsampling is needed; if M = 1, no decimation is needed (pure interpolation).
Use cases
- Determine L and M for a polyphase sample rate converter between two audio standards.
- Plan the intermediate buffer size when upsampling before decimation in a DSP chain.
- Verify that two sample rates share a common integer ratio before designing a filter bank.
- Check whether a simple integer-L FIR upsample is sufficient or a rational L/M SRC is needed.
- Calculate the anti-imaging filter cutoff relative to the interpolated rate.
- Compare multiple target rates to find the one requiring the lowest L for hardware cost.
Frequently Asked Questions
Last updated: 2026-09-19 ·
Reviewed by Nham Vu