Time Duration Calculator
Calculate the exact duration between two clock times. Handles midnight crossovers automatically.
Time Inputs
24-hour (hh:mm:ss)
24-hour (hh:mm:ss)

Coursera Plus
Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs.
How It Works
Both times are converted to total seconds from midnight, then the difference is computed. If the end is earlier than the start, 24 hours (86,400 s) is added — indicating the end is the next calendar day.
Decimal hours = total seconds ÷ 3600. For example, 1h 30m = 1.5h — the format used in billing and payroll.
Formula
Duration = End − Start
If Duration < 0: Duration += 86400s
Decimal = Duration ÷ 3600
Disclaimer: For informational purposes only.
SponsoredAbout the Time Duration Calculator
Calculate the exact duration between two clock times. Handles midnight crossovers. Enter your values above to get instant results from this free online time duration calculator.
Use whenever you need a fast, reliable estimate without manual spreadsheet work.
Adjust the inputs above to model your specific scenario with the Time Duration Calculator.
Explore More
Related Calculators
Clock
Full-screen live digital clock with timezone support, 12/24h format, and millisecond precision.
Cron Schedule Generator
Build, validate, and understand cron expressions with a visual builder and execution forecast.
Hours & Minutes Calculator
Add or subtract multiple time durations. Perfect for tracking project or travel time.
Stopwatch
Precise stopwatch with lap splits and millisecond accuracy.
Sunrise Sunset Calculator
Find sunrise, sunset, and day length for any location and date.
Time Card Calculator
Weekly timesheet: enter daily start/end times and breaks to calculate total hours and pay.