GestureSynth.me

Music calculator

Frame to Time Calculator

Convert elapsed video frames into seconds and milliseconds for music cues. Use exact fractional frame rates for 23.976, 29.97 and 59.94 fps footage.

frame to time calculator

Frame to Time Calculator guide

To place a musical hit on a picture edit, count the elapsed frame intervals between two positions on the same constant-rate timeline. Enter that count and select the project frame rate. The result is a duration from a defined origin. It works equally well for a transition lasting a few frames and a cue several minutes into a sequence.

Play the instrument ↑
Default result
10 elapsed seconds

Calculation and units

Duration equals frames divided by frames per second. For the fractional rates used here, keep the exact rational value until the final conversion. For example, at 30000/1001 fps each frame takes 1001/30000 seconds. Multiplying by a long frame count before rounding avoids a growing error caused by substituting a rounded display rate.

Worked examples

Select a named case in the Worked example control to load these values. You can then edit any input to compare the result.

Ten seconds of film

Elapsed frame count = 240 · Frame rate = 24 fps.

10 elapsed seconds. 10000 milliseconds · constant frame rate · frame zero marks the origin. This is elapsed duration, independent of timecode numbering.

A sequence of 240 frame intervals spans ten seconds at true 24 fps. Check that the project rate says 24 exactly before using this value for a long synchronized cue.

Half-second cue

Elapsed frame count = 12 · Frame rate = 24 fps.

0.5 elapsed seconds. 500 milliseconds · constant frame rate · frame zero marks the origin. This is elapsed duration, independent of timecode numbering.

The small count makes an off-by-one mistake easy to hear or see. Counting inclusive frame labels instead of elapsed intervals would move the cue by one full frame.

PAL-rate second

Elapsed frame count = 25 · Frame rate = 25 fps.

1 elapsed seconds. 1000 milliseconds · constant frame rate · frame zero marks the origin. This is elapsed duration, independent of timecode numbering.

Twenty-five complete intervals at this rate represent one second. The count between the start of frame zero and the start of frame 25 agrees with that duration.

Fractional-rate long clip

Elapsed frame count = 30000 · Frame rate = 29.97 fps (30000/1001).

1001 elapsed seconds. 1001000 milliseconds · constant frame rate · frame zero marks the origin. This is elapsed duration, independent of timecode numbering.

Thirty thousand elapsed frames take 1001 seconds at this rational rate. Treating the footage as true thirty would give 1000 seconds and a one-second discrepancy.

High-rate music edit

Elapsed frame count = 60 · Frame rate = 60 fps.

1 elapsed seconds. 1000 milliseconds · constant frame rate · frame zero marks the origin. This is elapsed duration, independent of timecode numbering.

Sixty frames at true 60 fps fill one second. At the fractional 59.94 setting the same count takes slightly longer, which can accumulate over many edits.

Origin marker

Elapsed frame count = 0 · Frame rate = 23.976 fps (24000/1001).

0 elapsed seconds. 0 milliseconds · constant frame rate · frame zero marks the origin. This is elapsed duration, independent of timecode numbering.

The start of frame zero has zero elapsed duration at any rate. A nonzero starting timecode in a project belongs to the labeling convention and does not add frames to the interval.

Interpreting the result

If a cue starts at frame 120 and ends at the start of frame 180, the elapsed count is 60. If a selection includes both the first and last numbered frame as whole displayed pictures, the end of that selection lies one interval after the start of its last frame. Pick the end boundary before calculating duration.

Measurement and model limits

A timecode label contains hours, minutes, seconds and a frame field. The field alone does not represent the total elapsed frame count. Drop-frame numbering omits certain labels to keep the readout closer to wall time while preserving the physical rate. Supply an elapsed count derived by the editing system when working from drop-frame labels.

Answers before you play

Common questions

What if the footage has a variable frame rate?

Per-frame presentation timestamps determine its actual timing. A single nominal rate may give a rough estimate but cannot locate individual cue boundaries precisely. Use the timestamps from the file or a known constant-rate timeline export.

Why are 24 and 23.976 separate choices?

They describe different playback clocks. A clip containing the same number of frames lasts slightly longer at 24000/1001 than at 24. The discrepancy can become visible when a long music cue is synchronized to the wrong project preset.

How do I turn the result into an audio sample offset?

Multiply elapsed seconds by the project sample rate and round to a whole sample at the final editing step. Retain the exact frame-rate ratio until that step for a long cue.

Does selecting 29.97 apply drop-frame numbering?

The selection sets the physical rate to 30000/1001. A drop-frame labeling scheme changes which timecode labels are written, while an elapsed count follows the same rate.