Resampling Ratio Calculator for Audio Rates

Resampling Ratio Calculator

Calculate audio resampling ratios, pitch changes, semitone and cents offsets, duration changes, anti-alias cutoff targets, and exact frame counts.

🎯 Named Presets
⚙️ Resampling Inputs
Original file, capture, or synthesis rate.
Delivery, session, engine, or converter output rate.
Use 1 for unchanged pitch, 2 for one octave up, 0.5 for one octave down.
Equal-tempered shift added to the cents input.
100 cents equals one semitone.
Use the duration field or the exact source frame count below.
Bars use the tempo and beats-per-bar fields.
When nonzero, frame count is used as the exact duration source.
Low-pass target as a percent of the lower Nyquist frequency.
Used for storage and throughput estimates.
Uncompressed byte estimate uses bit depth and channels.
Changes how the pitch ratio and duration ratio are interpreted.
Only used when the duration unit is bars.
Bar length equals beats per bar times 60 divided by BPM.
Sample-Rate Ratio
target / source
Pitch Ratio
semitones and cents
Output Duration
after selected mode
Output Frames
rounded integer frame count

Calculation Breakdown

📊 Live Spec Grid
Lower Nyquist
Suggested Low-Pass
Output PCM Size
Frame Rounding
🎛️ Common Sample-Rate Conversions
Source RateTarget RateExact RatioDecimalTypical Use
44,100 Hz48,000 Hz160:1471.088435CD music into video sessions
48,000 Hz44,100 Hz147:1600.918750Video audio to music delivery
48,000 Hz96,000 Hz2:12.000000Integer upsampling
96,000 Hz48,000 Hz1:20.500000Downsampling hi-res capture
44,100 Hz176,400 Hz4:14.000000Integer CD-family upsampling
192,000 Hz48,000 Hz1:40.250000Production archive to delivery
🎵 Pitch Shift Ratio Reference
Musical ShiftCentsPitch RatioDuration RatioUse Case
Octave down-12000.5000002.000000Sound-design slowdown
Perfect fifth down-7000.6674201.498307Varispeed harmony bed
Semitone down-1000.9438741.059463Small key correction
Semitone up1001.0594630.943874Instrument retune
Perfect fifth up7001.4983070.667420Bright layer creation
Octave up12002.0000000.500000Double-speed playback
🛡️ Anti-Alias Margin Guide
Conversion TypeLower NyquistConservative CutoffTransition BandComment
Ratio tip: Exact integer ratios such as 2:1, 4:1, and 1:2 are easy to reason about, but non-integer ratios such as 160:147 are normal in high-quality sample-rate conversion. Keep the reduced fraction visible when documenting offline renders or DSP settings.
Pitch tip: A pure sample-rate conversion preserves pitch and duration. Varispeed changes playback speed, so pitch ratio and duration ratio are reciprocal: one octave up halves the duration, and one octave down doubles it.
⏱️ Frame and Duration Examples
ScenarioSource FramesSource TimeOutput FramesOutput Time
📐 Workflow Comparison Table
WorkflowMain RatioPitch ResultDuration ResultBest Check
Sample-rate conversiontarget / sourcePreservedPreservedFrame count at target rate
Varispeed playbackplayback / recordedChanges by ratioReciprocal of ratioSemitone and cents shift
Pitch retune2^(cents / 1200)Requested shiftUsually preservedPitch ratio and formants
Downsamplingtarget / sourcePreserved after SRCPreserved after SRCLow-pass below lower Nyquist
Offline bouncesession to deliveryPreservedPreservedRounded output frame count
Formula check: Sample-rate ratio equals target rate divided by source rate. Equal-tempered pitch ratio equals 2 raised to semitones divided by 12, or cents divided by 1200. For varispeed, duration ratio equals 1 divided by pitch ratio.

Here’s the deal: If you’re given a project to deliver with a different sample rate than what was recorded, you have a dilemma. Your DAW opens up and you realize adjusting the header number isn’t an option. Changing it result in distortion of audio or a thinning of sound due to loss of high frequencies in resample.

Resampling appears easy but has some risky mathematics that can wreck a mix if caution isnt exercised. After all, its just math. Hence, mistakes happen. Why? Because sound is a separate thing. Changing the rate of snapshots taken every second change the relationship between the two.

How to Change Sample Rates Without Ruining Your Audio

Increasing from 44.1 kHz to 48 kHz mean creating new data points where none existed in original recording. The calculator at top does this math for you if you enter both rates along with your desired pitch target. You do not need to work it out by hand and risk aliasing artifacts in your bounced result.

For most engineers, sample rate conversion is a black box function that just works. It generaly works if you honor the Nyquist limit. Whatever your lowest rate is will determine the highest frequency that can be represented accurateley after conversion. When downsampling, for example, from 96 kHz to 48 kHz, any signal content higher than 24 kHz need to be eliminated prior to conversion. Otherwise it folds back on itself in audible range as nasty digital distortion.

That’s what most people miss. They get all concerned with file size or bit depth and ignore that sample rate conversion is a frequency issue, not just a data density issue. Then there is also pitch shifting, which further complicates things by altering not only the spectral element but also temporal aspect. Directly speeding up or slowing down the sample stream itself is what’s called varispeed playback.

If you double the play speed, you speed up by an octave, which halves the time and doubles all frequencies. The trade off is pitch versus time. Newer algorithms are capable of stretching the time while keeping the pitch intact, but again they comes with their own artifact. For transients such as drum hits, piano attack etc., this is especially pronounced.

When choosing the right tool, the first thing to consider is whether preserving duration is important or if letting it stretch will work. For example, the page has some handy reference tables listing standard conversion ratios (for example 160:147 for CD-to-video), which encode the accuracy of interpolation filter being used at conversion time.

Higher numbers such as integer-based ones such as 2:1 can be easily handled efficienty, whereas non-integer ones requires more complicated polyphase filters to preserve phase coherence. Having those precise ratios recorded in your metadata will aid a future engineer who needs to know what happened to the data when you archive material. It’s one of those little things that matter for provenance.

People forget about anti-alias margins. Anti-alias margins are often overlooked in favor of raw speed, but they’re important: setting a conservative low-pass cutoff (attenuating any energy near the Nyquist frequency before it folds back down) is key. For most professional work, 90 percent is a safe bet; it allows the filter to roll-off gradualy without impacting clarity in the upper midrange. The transition band should sits well outside the audible range so you’ll never hear the tail end of the filter curve.

The other place to run into trouble is rounding on frame counts. When projects are converted from rates that don’t divide evenly, the total number of frames will change. For example, a given rate like 44.1 kHz for 60 seconds has an exact integer frame count for its length. A 48 kHz version of the same time have a different integer frame count. So when these don’t line up precisely, there’s going to be a fractional sample remaining. Many systems rounds this off. This can cause timing errors in synch workflows or clicks at the tail end of files. Be sure to double-check your final frame count against your delivery specs.

At its heart, resampling is about dealing with loss. There’s no way to make up what isn’t there; there’s no way to throw out without penalty. It’s all about making those penalties imperceptible to the ear. Thinking of sample rate conversion as an intentional part of the edit process, not some behind-the-scenes tool, allows you to control how something sounds.

Good resampling is like good editing: it fits the thing being edited into a new container without compromising what was intended in original performance.

Resampling Ratio Calculator for Audio Rates

Leave a Comment