Other Calculator
SMPTE Timecode Calculator
Perform arithmetic operations on SMPTE timecodes. Easily add or subtract two video timecodes, calculate the duration between a start and end point, or convert between total frames and timecode format (HH:MM:SS:FF). Fully supports all industry standard frame rates, including drop frame options.
Timecode Calculator
Calculate, convert, and find duration of video timecodes
Results
Enter timecode values and click Calculate
What is a Timecode Calculator?
In professional video post-production, film editing, and audio design, timing is measured in video frames rather than standard decimals. Because frame rates vary by region, medium, and cameras (such as 24 frames per second for cinema or 29.97 for NTSC television), performing standard calculations like adding scene lengths or finding the exact duration of a clip becomes challenging.
A Timecode Calculator converts the human-readable HH:MM:SS:FF (Hours:Minutes:Seconds:Frames) structure into absolute, raw frame counts. Once converted to integer frame counts, operations like subtraction or addition are computed flawlessly, and then translated back to the target SMPTE code representation without rounding errors.
Drop Frame vs. Non-Drop Frame Timecode
A common source of confusion in television broadcast is the distinction between Drop Frame (DF) and Non-Drop Frame (NDF) timecode:
- Non-Drop Frame (denoted with colons, e.g., 01:00:00:00): Counts frames sequentially. For 29.97 fps NDF, the timecode assumes exactly 30 frames per second. Over time, this 0.03 frame discrepancy accumulates, leading to a drift of 3.6 seconds every hour relative to an actual wall clock.
- Drop Frame (denoted with a semicolon, e.g., 01:00:00;00): Adjusts for this drift by dropping specific frame *numbers* (not actual video frames) from the display. In 29.97 DF, frame numbers 0 and 1 are skipped at the start of every minute, except when the minute ends in zero (e.g. 10, 20, 30, etc.). This ensures that video timecode duration perfectly matches actual real-world clock time.
Timecode Conversion & Arithmetic Formulas
Standard Frame Rates and Their Applications
| Frame Rate | Rounded Base | Typical Usage |
|---|---|---|
| 23.976 fps | 24 | US/NTSC Film post-production & streaming video |
| 24.00 fps | 24 | Native cinematic film projection |
| 25.00 fps | 25 | PAL standard for European & UK television broadcast |
| 29.97 fps (NDF/DF) | 30 | US Standard Definition NTSC television & broadcast |
| 30.00 fps | 30 | Early high-definition video standards & games |
| 59.94 fps | 60 | High-frame-rate television broadcasts & action sports |
Benefits of Using the Timecode Calculator
Step-by-Step Example Calculations
Example Calculation 1 — Adding Timecodes
Timecode 1: 01:23:45:12, Timecode 2: 00:15:30:18 at 30 fps (Non-Drop Frame)
Convert Timecode 1 to frames: ((1 × 3600) + (23 × 60) + 45) × 30 + 12 = 150,762 frames
Convert Timecode 2 to frames: ((0 × 3600) + (15 × 60) + 30) × 30 + 18 = 27,918 frames
Add frames: 150,762 + 27,918 = 178,680 frames
Convert back: 178,680 ÷ 30 = 5956 seconds with 0 frames remaining
Hours: 5956 ÷ 3600 = 1 hour, remainder 2356 seconds
Minutes: 2356 ÷ 60 = 39 minutes, remainder 16 seconds
Result: 01:39:16:00
Example Calculation 2 — Duration Calculation
Start Timecode: 00:45:30:10, End Timecode: 01:12:15:22 at 24 fps
Convert Start to frames: ((0 × 3600) + (45 × 60) + 30) × 24 + 10 = 65,530 frames
Convert End to frames: ((1 × 3600) + (12 × 60) + 15) × 24 + 22 = 104,062 frames
Subtract Start from End: 104,062 - 65,530 = 38,532 frames
Convert 38,532 frames back to 24 fps timecode:
Resulting Duration: 00:26:45:12
Example Calculation 3 — Frames to Timecode Conversion
Total Frames: 5400 at 30 fps (Non-Drop)
Divide 5400 by 30 to get seconds: 5400 ÷ 30 = 180 seconds, remainder 0 frames
Minutes: 180 seconds ÷ 60 = 3 minutes, remainder 0 seconds
Resulting Timecode: 00:03:00:00
Key Concepts of Timecode Mathematics
- Absolute Frames Base: All mathematical operations are done on absolute frame integers to avoid precision errors that creep in when adding decimals.
- Frame Rate Bounds: The maximum index value for the frame field is always (FPS - 1). For example, at 24 fps, the frames count from 00 to 23. Entering 24 as a frame count is invalid and rolls over into the next second.
- Drop Frame Offsets: Because 29.97 and 59.94 are fractional speeds, they require specific logic to skip displaying frame indices 00 and 01 at minute boundaries to maintain sync.
Frequently Asked Questions
- How does the Timecode Calculator work?
- The Timecode Calculator allows you to add or subtract timecodes, calculate durations, and convert between frames and timecodes (HH:MM:SS:FF). It performs operations by converting all input timecodes to total absolute frames using the chosen frame rate, performing the addition or subtraction, and then converting the final frame count back to the standard SMPTE timecode string format.
- What is the difference between Drop Frame (DF) and Non-Drop Frame (NDF)?
- Non-Drop Frame counts every single frame sequentially without skipping any frame numbers. Drop Frame is used for frame rates like 29.97 and 59.94 to keep the timecode synchronized with real-world clock time. In Drop Frame, frame numbers 0 and 1 (or 0, 1, 2, and 3 at 59.94 fps) are skipped at the start of every minute, except for minutes ending in zero (00, 10, 20, 30, 40, 50). Crucially, no actual video frames are discarded; only the timecode numbers are skipped to correct for drift.
- Why does 29.97 fps drift from real time?
- NTSC television runs at 29.97 frames per second, which is slightly slower than exactly 30 fps (actually 30000/1001 fps). If you count it as exactly 30 fps, after one hour the timecode will display a time that is 3.6 seconds ahead of the actual elapsed time. Using Drop Frame timecode corrects this error so that 24 hours of video matches 24 hours of wall-clock time.
- What is SMPTE timecode?
- SMPTE timecode is a set of cooperating standards to label individual frames of video or film, created by the Society of Motion Picture and Television Engineers. It is formatted as Hours:Minutes:Seconds:Frames (HH:MM:SS:FF) and is essential for video editing, audio synchronization, logging, and color grading.
- How do you calculate the duration between two timecodes?
- To calculate duration, convert both the start and end timecodes into total frames based on your project's frame rate. Subtract the start frames from the end frames to find the difference in total frames. Finally, convert that difference back into the HH:MM:SS:FF timecode format.
- What frame rates are supported by this calculator?
- This calculator supports standard film and television frame rates: 23.976 fps (standard film edit in NTSC countries), 24 fps (native cinema), 25 fps (PAL / UK & Europe broadcast), 29.97 fps (NTSC television), 30 fps (classical ATSC), 59.94 fps (high-frame-rate NTSC broadcast), and 60 fps (high-frame-rate digital video).