THE TUNING WORKSPACE

Audio Sample Duration Calculator

Convert a known sample-frame count and sample rate into seconds, milliseconds and minutes for excerpts up to six minutes.

Audio Sample Duration Calculator

Convert a known sample-frame count and sample rate into seconds, milliseconds and minutes for excerpts up to six minutes.

CALCULATED RESULT—

Your result appears below the controls.

Entered values, result and interpretation limits

Ready. Use supplied values; no audio is measured by this calculator.

Calculate duration when you already know the sample-frame count and the matching sample rate. A stereo frame includes one sample from each channel; do not double the frame count simply because the recording is stereo. This calculator does not inspect compressed file metadata.

Before you start
You supplyA whole sample-frame count and sample rate
You getDuration in seconds, milliseconds and minutes
Keep in mindA frame contains all channels; this tool neither decodes nor trims files

Find duration from a known frame count

Enter the number of sample frames and the rate in frames per second. Dividing the frame count by the sample rate gives duration. The result is shown in seconds, with milliseconds and minutes in the table. This calculation is useful when you inspect audio metadata, verify a selected excerpt or compare a numerical duration with an editor. It does not decode a file, detect the length of an uploaded video or change the playback speed of a recording. Use the Voice Recording Size Calculator for payload and channel-memory estimates after checking duration. The audio note identifier groups provisional notes in a selected soundtrack while keeping detected labels separate from edits.

Distinguish a frame from a channel sample

A sample frame contains one sample for each channel at the same time position. A forty-eight-thousand-Hz stereo recording still has forty-eight thousand frames per second; it has twice as many individual channel samples. If an API reports a per-channel buffer length, that length is normally the frame count for this task. Do not double it merely because the source is stereo. Conversely, a count of all interleaved channel samples must be interpreted correctly before it is entered here. Read Sample Rate vs Voice Frequency before entering the speaker’s fundamental as a recording rate. A deliberate stereo channel choice matters when the two sides contain different speakers or partly cancel when mixed.

Check a one-second and a six-minute fixture

Forty-eight thousand frames at forty-eight thousand Hz equals exactly one second. Seventeen million two hundred eighty thousand frames at the same rate equals three hundred sixty seconds, or six minutes. Adding one frame produces a duration greater than the six-minute boundary and is rejected. At forty-four thousand one hundred Hz, one second instead contains forty-four thousand one hundred frames. These examples show why a frame count without its sample-rate label is incomplete information. The Mono vs Stereo Voice Analysis guide explains why stereo does not double elapsed time.

Sample rate is not the pitch of the voice

A person whose fundamental is one hundred ten Hz can be recorded using a sample rate of forty-eight thousand Hz. The two numbers describe different repetition rates: the sound's periodicity and the recording's sampling clock. Enter the recording rate for the duration calculation, not the measured speaking frequency. If you accidentally divide by the voice pitch, the answer may become implausibly long. The accepted sample-rate range is one clue, but correct source labels are more important than validation alone. Read Six-Minute Audio before assuming the duration boundary is the only file-analysis limit. Use the note identifier to establish a natural speech sample under the same recording conditions.

Do not confuse relabelling with resampling

The Hz to note converter maps a supplied frequency to a musical reference. It does not independently measure that frequency, listen to a recording or extract a trace. Retain the original source and conditions with every entered value before treating a calculation as evidence about a real sound.

Use integer values and the stated scope

Frame count and sample rate must be whole positive numbers. Sample rate is accepted from eight thousand through one hundred ninety-two thousand Hz, with a maximum frame count of sixty-nine million one hundred twenty thousand and a computed duration no greater than three hundred sixty seconds. A smaller rate can therefore reach the duration limit before the frame-count ceiling. Invalid input clears stale results. The arithmetic is local and bounded, and its CSV is a numerical record rather than a playable audio export.

Calculate, verify and retain the result

Enter your own values using the labels above, then choose Calculate or the reference-pair action. Use example restores the displayed illustrative inputs and labels them as an example rather than a personal measurement. Changing a field clears the previous result so it cannot be mistaken for a calculation from the new inputs. An invalid submission produces an actionable message instead of keeping a stale answer.

Copy result and Download CSV retain the numerical table, including its units and scope. The CSV is not an audio recording, an image or a professional assessment. Keep the input source and task notes with it. Reset restores the starting fields and clears the committed result. Calculations run in this browser without a calculation API or a personal account; ordinary website requests and any separately enabled Analytics are distinct from this local arithmetic.

Check a known example

Numerical example, not a personal measurement.
Stated input17,280,000 frames at 48,000 frames/s
Expected relationship360 seconds; one additional frame exceeds the duration bound

Frequently asked questions

Do I multiply duration by channels?

No. Channels affect storage, not the elapsed duration of a given frame count. Use the separate recording-size calculator when you need bytes.

Can this trim audio to six minutes?

No. It checks a supplied duration calculation only. Select or trim an excerpt in an appropriate editor, then verify the actual resulting frame count and rate.