keisoku

Timecode to Frames Calculator

Convert between a timecode (hours:minutes:seconds:frames) and total frames or total seconds using your frame rate. Built for video editing and supports 23.976 to 60 fps.

Input

Calculate the total number of frames and the total duration in seconds from a frame rate (fps) and a timecode in hours:minutes:seconds:frames.

Frame rate (fps)

Timecode (hours : minutes : seconds : frames)

Result

Total frames (30 fps)

2,700frames

Total seconds

90.000 sec

Timecode

00:01:30:00


Calculation breakdown

Frame rate30 fps
Timecode (HH:MM:SS:FF)00:01:30:00
Total frames2,700 frames
Total seconds90.000 sec

Note: this tool calculates in non-drop frame (NDF) mode. Broadcast and streaming at 29.97 fps or 59.94 fps may use drop frame (DF), in which case the relationship between real time and timecode differs from this calculation.

How it works

  • Total frames are found with ((hours x 3600 + minutes x 60 + seconds) x fps) + frames. For example, 00:01:30:00 at 30 fps gives (90 sec x 30) + 0 = 2700 frames.
  • Total seconds are calculated as total frames divided by fps. Use it as an estimate of the playback duration.
  • The frame field is a whole number from 0 up to just below the fps (0-29 at 30 fps, 0-23 at 24 fps). Values beyond the range roll over into the next second.
  • This tool calculates in non-drop frame (NDF) mode, a straightforward count where the timecode always matches the continuous frame number.
  • Broadcast and streaming at 29.97 fps or 59.94 fps may use drop frame (DF), so the relationship between real time and timecode can differ from this calculation.
  • For fractional frame rates such as 23.976 fps or 29.97 fps, the exact fps value is used for the total-seconds calculation, giving a result close to real time.