Duration Calculator

Calculate the duration between two timestamps for FFmpeg commands

Always exercise caution when copying and executing commands from the internet.

Time Range

Formats: HH:MM:SS.mmm, MM:SS.mmm, or SS.mmm

Formats: HH:MM:SS.mmm, MM:SS.mmm, or SS.mmm

Calculated Duration

00:00:00.000

Standard HH:MM:SS.mmm format for video editors

Copied!
0.000

Decimal format for FFmpeg -t duration parameter

Copied!

Usage Notes

  • Accepted Formats: You can use colons (:) or semicolons (;) as separators
  • Hours format: HH:MM:SS.mmm (e.g., "1:23:45.678")
  • Minutes format: MM:SS.mmm (e.g., "23:45.678")
  • Seconds format: SS.mmm (e.g., "45.678")
  • Real-time calculation: Results update as you type
  • Precision: Calculations maintain full precision (displayed to 3 decimal places)