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). Optionally convert a sample count from the source rate to the target rate.
For example, 44.1 kHz to 48 kHz is a ratio of ≈1.0884, or 160/147 in lowest terms. Everything is computed locally in your browser.