Timecode Calculator: Add, Subtract and Convert SMPTE Timecode and Frames

This timecode calculator adds and subtracts SMPTE timecodes and converts between timecode, frames and real time at 23.976, 24, 25, 29.97 (drop-frame and non-drop), 30, 50 and 59.94 fps. Type timecodes as hh:mm:ss:ff, choose a frame rate, and read the result in timecode, frames and real clock time.

Practical Tools Calculators

Timecode Calculator

Add and subtract SMPTE timecodes, and convert between timecode, frames and real time at 23.976, 24, 25, 29.97 drop-frame, 30, 50 and 59.94 fps.

Type timecode as hh:mm:ss:ff. A semicolon before the frames, as in 01:00:00;00, is the usual way to mark drop-frame timecode.

Starting values: the calculator opens in add mode with 01:00:00;00 plus 00:00:30;15 at 29.97 fps drop-frame. The result is 01:00:30;15, which is 108,807 frames and 1 hour 0 minutes 30.527 seconds of real time.

How timecode works

SMPTE timecode labels every video frame with hours, minutes, seconds and a frame number: hh:mm:ss:ff. At a whole frame rate such as 24, 25 or 30 fps, the arithmetic is simple, because there are exactly that many frames in a second. The calculator counts whole frames, adds or subtracts them, and writes the result back as timecode.

The complication is the family of rates close to 30 and 60 fps, such as 29.97, which really run at 30,000 / 1,001 frames per second, a tiny bit slower than 30. A timecode counter that counts 30 frames per second would then run ahead of the wall clock.

Drop-frame explained

Drop-frame timecode solves that drift by skipping frame numbers, not pictures. At 29.97 fps drop-frame, frame numbers 00 and 01 are skipped at the start of every minute, except every tenth minute. At 59.94 fps drop-frame, four numbers are skipped. No picture is removed, and only the labels change, so the clock stays close to real time. A semicolon before the frames, as in 01:00:00;00, is the usual way to mark drop-frame timecode, and the calculator uses it.

The two modes

  • Add / subtract: enter two timecodes, choose add or subtract, and pick the frame rate.
  • Convert: change a timecode to frames, or frames to timecode, and see the real seconds and real time.

The calculator also rejects timecodes that cannot exist, such as a frame number equal to or above the nominal rate, or frame numbers 00 and 01 at the start of a non-tenth minute in 29.97 drop-frame.

Worked examples

Example 1: the default addition

At 29.97 drop-frame, 01:00:00;00 is frame 107,892, because the 108,000 frames of a nominal hour are reduced by the 108 frame numbers dropped over 60 minutes (2 for each of the 54 minutes that are not multiples of ten). The second timecode, 00:00:30;15, is 30 × 30 + 15 = 915 frames. The sum is 108,807 frames, which converts back to 01:00:30;15. In real time that is 108,807 × 1,001 / 30,000 = 3,630.527 seconds.

Example 2: subtraction

Subtracting the same 00:00:30;15 from 01:00:00;00 gives 107,892 – 915 = 106,977 frames, which is 00:59:29;15. That is a natural result: 30 seconds and 15 frames before the hour.

Example 3: frames to timecode

The convert mode opens with 1,800 frames. At 29.97 drop-frame, 1,800 frames is one minute of nominal counting. Because frame numbers 00 and 01 are dropped at the start of the minute, 1,800 frames reads as 00:01:00;02. The real time is 1,800 × 1,001 / 30,000 = 60.06 seconds.

Example 4: why the drop-frame matters

One hour of 29.97 non-drop timecode, 01:00:00:00, is 108,000 frames, which lasts 3,603.6 seconds of real time, 3.6 seconds longer than an hour. In drop-frame, 01:00:00;00 is 107,892 frames, which lasts 3,599.996 seconds, within a few thousandths of a second of the hour. That is why broadcast schedules use drop-frame at 29.97 fps.

Choosing a frame rate

Use the rate of your project, not the rate you wish it had. Film-style work is usually at 24 or 23.976, European broadcast at 25, and North American broadcast at 29.97. If the frame rate is wrong, durations that look right in timecode will be wrong in real time. Setting 29.97 drop-frame for material that is counted in non-drop will give an offset that grows with the length of the program.

Limits and tips

  • Drop-frame only changes the counting, and the result in frames is exact.
  • The real-time figure is frames divided by the actual rate, such as 29.97003 for 29.97 fps.
  • Both timecodes must be entered at the same frame rate.
  • If your editing software disagrees by a frame, check that it is using the same drop-frame setting.

A simple case without drop-frame

At 25 fps, there is no drop-frame, and the arithmetic follows the clock. Adding 00:00:10:00 and 00:00:20:12 gives 00:00:30:12, which is 250 + 512 = 762 frames. A frame number can never reach 25 at this rate, so 00:00:20:25 is rejected as an invalid timecode. At 24 fps, a full hour holds 86,400 frames, and a 90-minute feature holds 129,600.

Typical uses

  • Working out the end time of a program from its start timecode and its duration.
  • Finding the length of a clip from its in and out points.
  • Converting a frame count from a log or an edit list into timecode.
  • Checking that a drop-frame schedule adds up to the real running time.

Frequently asked questions

What is drop-frame timecode?

A counting method for 29.97 and 59.94 fps that skips frame numbers, not pictures, so that timecode stays close to real clock time.

How do I add two timecodes?

Convert each to frames, add the frames, then convert back. The calculator does this for the frame rate that you choose.

Why does 29.97 differ from 30 fps?

The actual rate is 30,000 divided by 1,001, about 29.97003. A 30 fps counter would run slightly ahead of real time.

What does the semicolon mean in a timecode?

It marks drop-frame timecode. A colon between seconds and frames means non-drop.

How many frames are in an hour at 24 fps?

86,400 frames, since 24 times 3,600 is 86,400.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 739