Sample Count
Calculate total audio samples and stereo bytes for a duration.
About Sample Count
Multiplying the sample rate by the length yields the total samples captured per channel of a recording. Sample counts and their byte sizes underpin everything from RAM-hungry plugins to the specs of sample libraries.
Formula
Sample Count
Samples = sample rate x duration; bytes = samples x channels x 2
- channels
- Mono is one, stereo is two
Worked example
With the default values below, Sample Count returns Total Samples of 2,880,000. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Sample rateaccepts 8,000–384,000 Hz
- 48,000 Hz
- Durationminimum 0 s
- 60 s
- Channelsaccepts 1–32
- 2
Results
- Total Samples
- 2,880,000
- Samples with Channels
- 5,760,000
- 16-bit Bytes
- 11 MiB
Step by step
- 1Values used
- 2Sample Count
- 3Total Samples= 2,880,000
- 4Samples with Channels= 5,760,000
- 516-bit Bytes= 11,520,000
Assumptions and limits
- The result is derived only from the 3 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to whole numbers, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
How is Sample Count calculated?
Samples = sample rate x duration; bytes = samples x channels x 2 Multiplying the sample rate by the length yields the total samples captured per channel of a recording.
Why does Sample Count matter?
Sample counts and their byte sizes underpin everything from RAM-hungry plugins to the specs of sample libraries.
What values do I need to enter?
This calculator takes 3 inputs: Sample rate, Duration, Channels. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.
