Sample Rate Converter

Find the resampling ratio between two audio sample rates.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Sample rate converter

Find the exact relationship between two audio sample rates: the conversion ratio and the rational L/M resampling factors (upsample by L, downsample by M). You can also convert a sample count from the source rate to the target rate. It is aimed at audio engineers and developers setting up resampling pipelines.

How it works

The ratio is simply target ÷ source. To get the integer resampling factors, the tool divides both rates by their greatest common divisor (GCD):

L = target ÷ gcd(source, target) M = source ÷ gcd(source, target)

Resampling then means inserting samples to upsample by L, then discarding to downsample by M. A converted sample count is original × ratio.

Example

Converting 44,100 Hz to 48,000 Hz:

QuantityValue
Ratio (48000 ÷ 44100)≈ 1.0884
GCD300
L / M160 / 147
44,100 samples →~48,000 samples

Everything is computed locally in your browser; no audio is processed or uploaded.

Ad placeholder (rectangle)