Time Duration CalculatorFree Online Tool

Enter start and end times, click Calculate, and see elapsed duration — same day or overnight.

Time Duration Calculator

Duration

Click Calculate to see results.

Duration--h --m
Decimal hours-.-h
h:mm format-:--

Free Time Duration Calculator Between Two Times

Calculate how much time passed between a start time and an end time. Use this time duration calculator for shifts, meetings, travel, or any task where you need elapsed hours and minutes. Check "End is next day" for overnight spans.

  • Start time and end time entry
  • "End is next day" for overnight duration
  • Click Calculate to update duration results
  • Decimal hours for payroll-friendly totals

How to Calculate Time Duration

Duration is elapsed time between a start and end clock time. When the end is on the next calendar day, add 24 hours before subtracting start from end.

Formula

Duration minutes = End time − Start time

If overnight: Duration minutes = (End + 24 h) − Start

Decimal hours = Duration minutes ÷ 60

  1. Convert start and end times to minutes from midnight.
  2. If end is before start, add 24 hours to the end time.
  3. Subtract start from end and format as h:mm or decimal hours.
  4. Click Calculate to run the calculation and update the results panel.

Example Calculation

An overnight span from 10:00 PM to 6:00 AM the next day.

Worked example

End (adjusted) = 6:00 AM + 24 h = 30:00 on timeline

Duration = 30:00 − 22:00 = 8 h 00 min

Result = 8:00 (8.00 decimal hours)

Free time duration calculator between two times: overnight shift from 10:00 PM to 6:00 AM next day, 8 hours 0 minutes elapsed time, 8:00 h:mm format, and 8.00 decimal hours after Calculate
10:00 PM to 6:00 AM (overnight) → 8:00 duration (8.00 decimal hours) after Calculate.
FAQ

Frequently asked questions

Subtract start from end in minutes. If end is before start on the clock, add 24 hours (overnight). This calculator handles that automatically when "End is next day" is checked or when end is earlier than start.
This duration calculator shows gross elapsed time. To deduct breaks, use the work hours calculator or break time calculator.
Yes for simple elapsed time. For paid hours after breaks, use the work hours calculator which subtracts lunch break minutes.

Need a printable template? Download a free employee time card or biweekly timesheet in PDF or Excel.

Download PDF

Estimate only. Not tax, legal, or payroll advice. Overtime rules, break policies, and rounding vary by employer, state, and country. Confirm totals with your payroll department before submitting a timesheet.

Need print, CSV export, custom pay periods, or advanced overtime? Use the full time card calculator on the home page.