Signal resampling length planner calculator

Calculate nominal output sample count and input record duration with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use nominal output sample count and input record duration to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Input sample rate (Hz)
48000
Input sample count
48000
Output sample rate (Hz)
44100
Filter group delay in input samples
16
Nominal output sample count
44100
Input record duration (seconds)
1
Filter delay (seconds)
0.000333
Equivalent output delay (samples)
14.7

Try another scenario

Input sample rate (Hz)
52800.00000000001
Input sample count
48000
Output sample rate (Hz)
44100
Filter group delay in input samples
16
Nominal output sample count
40091
Input record duration (seconds)
0.909091
Filter delay (seconds)
0.000303
Equivalent output delay (samples)
13.363636
Calculation method

Calculation method

Nominal output sample count

ceil(input count × output rate/input rate), interval-count convention.

Input record duration (seconds)

Input count/input rate.

Filter delay (seconds)

Supplied delay/input rate.

Equivalent output delay (samples)

Supplied delay × output/input rate.

Symbols and units
a
Input sample rate (Hz)
b
Input sample count
c
Output sample rate (Hz)
d
Filter group delay in input samples

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Input sample rate-count, output rate, filter delay. Returns Output length and timing alignment. All coefficients and observations are user supplied; results describe only the stated mathematical model. Quantities are deterministic calculations from supplied observations and assumptions; no external data is fetched. Supported limits: Finite inputs only; numeric fields bounded as labelled. Lists and JSON records are limited to 256 entries unless a stricter tool bound is stated. No automatic design approval, legal conclusion, treatment recommendation or safety certification. Input sample rate (Hz): minimum 1e-12, maximum 1000000000000.0. Input sample count: minimum 1, maximum 100000000. Output sample rate (Hz): minimum 1e-12, maximum 1000000000000.0. Filter group delay in input samples: minimum 0, maximum 1000000000000.0.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Further reading

Method reference ↗

Background reading; this does not imply endorsement or independent review of SumFizz.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.