Time Code Calculator – Add, Subtract, & Convert SMPTE Timecodes


Time Code Calculator

Accurately add and subtract SMPTE timecodes for any project.

Timecode A

Hours : Minutes : Seconds : Frames

Timecode B

Hours : Minutes : Seconds : Frames

Select your project’s frames-per-second. DF = Drop-Frame.



Result

01:34:15:15
HH:MM:SS:FF

Breakdown

Timecode A Total Frames: 120850

Timecode B Total Frames: 18885

Resulting Total Frames: 139735

Timecode Progression Example

Frame Count Timecode Value
Example progression over 35 frames at 29.97 FPS (DF). Note the dropped frames.

Total Frames Comparison

A visual comparison of the total frames for each timecode value.

What is a time code calculator?

A time code calculator is an essential tool for professionals in video and audio production. It is used to perform arithmetic operations—like addition and subtraction—on SMPTE timecodes. Timecode is a system that assigns a unique, sequential number to each frame of a video, in the format Hours:Minutes:Seconds:Frames (HH:MM:SS:FF). This allows for precise synchronization, logging, and editing. Unlike standard math, timecode calculations must account for varying frame rates and the complexities of standards like drop-frame timecode, which a specialized calculator handles automatically.

The Time Code Calculation Formula and Explanation

There isn’t a single algebraic formula for timecode math. Instead, it’s an algorithmic process based on converting timecode values to a total frame count, performing the math, and converting back. This time code calculator automates that process.

  1. Conversion to Total Frames: Each timecode (A and B) is converted into a single unit: total frames. The formula for Non-Drop-Frame (NDF) is:
    Total Frames = (HH * 3600 * FPS) + (MM * 60 * FPS) + (SS * FPS) + FF
  2. Drop-Frame (DF) Adjustment: For DF rates (like 29.97), the calculation is more complex. Drop-frame timecode skips certain frame numbers to keep the timecode aligned with real-world clock time. It drops two frames every minute, except for every tenth minute. Our calculator handles this logic automatically when a DF frame rate is selected.
  3. Arithmetic Operation: The total frames of Timecode B are added to or subtracted from the total frames of Timecode A.
  4. Conversion Back to Timecode: The resulting total frame count is converted back into the HH:MM:SS:FF format, again accounting for the specific frame rate and whether it’s drop-frame or not.
Timecode Calculation Variables
Variable Meaning Unit Typical Range
HH Hours Time 00-23
MM Minutes Time 00-59
SS Seconds Time 00-59
FF Frames Count 0 to (Frame Rate – 1)
FPS Frames Per Second Rate 23.976 – 60

Practical Examples

Example 1: Adding Clip Durations

An editor needs to find the total running time of two clips on a 24 FPS timeline.

  • Clip A Duration: 00:02:30:12
  • Clip B Duration: 00:05:15:20
  • Operation: Addition (+)
  • Frame Rate: 24 FPS
  • Result from time code calculator: 00:07:46:08

Example 2: Finding a Segment Duration (with Drop-Frame)

On a broadcast project at 29.97 DF, an editor marks an in-point and an out-point to find the duration of a segment.

  • Out-Point (Timecode A): 01:10:05:15
  • In-Point (Timecode B): 01:08:00:10
  • Operation: Subtraction (-)
  • Frame Rate: 29.97 DF
  • Result from time code calculator: 00:02:05:05

How to Use This time code calculator

  1. Enter Timecode A: Input the first timecode value into the ‘HH’, ‘MM’, ‘SS’, and ‘FF’ fields under “Timecode A”.
  2. Select Operation: Choose whether you want to add (+) or subtract (-) the second timecode.
  3. Enter Timecode B: Input the second timecode value into the fields under “Timecode B”.
  4. Choose Frame Rate: Select the correct Frames Per Second (FPS) from the dropdown. This is the most critical step for accuracy. Pay close attention to NDF (Non-Drop-Frame) vs. DF (Drop-Frame) options. Need to convert formats? Check our video format converter guide.
  5. Interpret Results: The calculator instantly updates the final timecode in the “Result” section and provides a breakdown of the total frames for each value.

Key Factors That Affect Timecode Calculations

  • Frame Rate: The base for all calculations. A wrong rate leads to completely wrong results.
  • Drop-Frame (DF) vs. Non-Drop-Frame (NDF): Crucial for broadcast rates like 29.97 and 59.94. DF ensures your edit length matches clock time, while NDF simply counts frames.
  • Starting Timecode: Projects rarely start at 00:00:00:00. Calculations must often be made relative to a specific start time.
  • Crossing Midnight (24-Hour Rollover): Subtracting a late timecode (e.g., 23:50:00:00) from an early one (e.g., 00:10:00:00) can require careful handling, which this tool manages. For managing project timelines, our Gantt chart tools might be helpful.
  • Source Material Mismatches: Combining footage recorded at different frame rates requires conversion *before* calculation. This calculator assumes all inputs use the same selected rate.
  • Software Interpretation: Different editing software (NLEs) can sometimes handle the final frame of a duration differently (inclusive vs. exclusive). Always double-check in your NLE. Learn more about digital video standards.

Frequently Asked Questions (FAQ)

1. What is SMPTE timecode?
SMPTE timecode is the universal standard for labeling frames of video or audio, developed by the Society of Motion Picture and Television Engineers.
2. Why can’t I just use a normal calculator?
Normal calculators don’t understand that there are not 100 frames in a second or 100 seconds in a minute. Timecode uses different bases (e.g., 24, 30, 60), which requires specialized logic.
3. What is Drop-Frame (DF) timecode?
It’s a system used for NTSC color video (29.97 FPS) to ensure the timecode doesn’t drift from actual wall-clock time. It “drops” frame numbers 00 and 01 at the start of every minute, except for every tenth minute. Our time code calculator handles this for you.
4. Which frame rate should I choose?
You must use the frame rate of your project or timeline. 24 is common for film, 25 for PAL (Europe), and 29.97 for NTSC (North America).
5. What happens if the result is negative?
This calculator will show a negative result if you subtract a larger timecode from a smaller one, indicating the time difference in the opposite direction.
6. Can this tool convert between frame rates?
No, this tool performs math within a single, selected frame rate. To convert a duration from one rate to another, you would need a dedicated frame rate conversion calculator.
7. How accurate is this calculator?
It is frame-accurate for all standard SMPTE timecodes, including complex drop-frame calculations, provided the correct frame rate is selected.
8. Why are my frames input higher than the frame rate?
The calculator will automatically roll over invalid frame counts. For example, at 30 FPS, entering 35 frames is treated as 1 second and 5 frames.

Related Tools and Internal Resources

Explore more of our tools and resources for video professionals:

© 2026 Your Company Name. All Rights Reserved. This time code calculator is for educational and professional use.


Leave a Reply

Your email address will not be published. Required fields are marked *