Use this free time duration calculator to find how long it is between two times, work out the duration between two dates and times, add or subtract hours and minutes, add durations together, convert time units, or turn hours and minutes into decimal hours for a timesheet. Results update as you type.

Time does not work in tens. With 60 minutes in an hour and 24 hours in a day, mental math often goes wrong, and a calculator keeps timesheets, schedules, and travel plans accurate.

How to use the time duration calculator

Pick the calculator that matches your question and fill in the boxes. The result and the details appear instantly.

  • Time between two times: enter a start and end time to get the duration. Times that pass midnight are handled automatically.
  • Duration between date & times: enter two dates with times to get days, hours, and minutes.
  • Add or subtract time: start from a date and time, then add or subtract hours and minutes.
  • Add two durations: combine two lengths of time, such as two shifts or two trips.
  • Convert time units: switch between seconds, minutes, hours, days, and weeks.
  • Hours & minutes to decimal: get decimal hours for payroll and billing.

Time duration formulas

QuestionFormulaExample
Time betweenEnd time − Start time9:00 to 17:30 = 8 h 30 min
Past midnightEnd time + 24 h − Start time22:00 to 6:15 = 8 h 15 min
Minutes to hoursMinutes ÷ 6090 ÷ 60 = 1.5 hours
Decimal hoursHours + Minutes ÷ 607 h 45 min = 7.75
Decimal to minutesDecimal part × 600.25 × 60 = 15 min
Hours to daysHours ÷ 2454 ÷ 24 = 2.25 days

Minutes to decimal hours chart

Use these values when entering time on a timesheet that needs decimal hours.

MinutesDecimal hoursFraction of an hour
50.081/12
100.171/6
150.251/4
200.331/3
300.501/2
450.753/4
Whether you are tracking work hours, planning a flight, or timing a recipe, a time duration calculator gives the exact length of time with no carrying minutes in your head.

Worked examples

Time between two times

From 9:00 AM to 5:30 PM is 8 hours and 30 minutes. As a decimal, that is 8.5 hours, or 510 minutes.

Time that passes midnight

A shift from 10:00 PM to 6:15 AM runs 2 hours until midnight plus 6 hours and 15 minutes after, for a total of 8 hours and 15 minutes.

Duration between date & times

From March 1, 2026 at 8:00 AM to March 3, 2026 at 2:30 PM is 48 hours plus 6 hours and 30 minutes. That is 2 days, 6 hours, and 30 minutes, or 54.5 hours.

Adding time

Adding 5 hours and 45 minutes to 10:30 PM on January 15, 2026 gives 4:15 AM on January 16, 2026.

Converting for payroll

A worker logs 7 hours and 45 minutes. In decimal hours that is 7 + 45 ÷ 60 = 7.75. At $20 per hour, pay is 7.75 × 20 = $155.

Converting units

90 minutes equals 5,400 seconds, 1.5 hours, or 0.0625 days.

Common time calculation mistakes

  • Treating minutes as decimals. 7 hours and 45 minutes is 7.75 hours, not 7.45. Convert minutes by dividing by 60.
  • Forgetting to cross midnight. An end time earlier than the start time means the period runs into the next day.
  • Ignoring unpaid breaks. Subtract lunch or break time from the total if it is not counted as work.
  • Overlooking daylight saving time. Clock changes can make a day 23 or 25 hours long, which this calculator does not adjust for.

Frequently asked questions

How do I calculate the time between two times?

Subtract the start time from the end time. From 9:00 AM to 5:30 PM is 8 hours and 30 minutes, which is 8.5 hours.

How do I calculate time that passes midnight?

If the end time is earlier than the start time, add 24 hours to the end time first. From 10:00 PM to 6:15 AM is 8 hours and 15 minutes.

How do I convert hours and minutes to decimal hours?

Divide the minutes by 60 and add the result to the hours. 7 hours and 45 minutes is 7 + 45 ÷ 60 = 7.75 hours.

How do I add two durations together?

Add the hours and minutes separately, then carry every 60 minutes into an hour. 2 hours 45 minutes plus 1 hour 30 minutes is 4 hours 15 minutes.

How many seconds are in an hour and a day?

There are 3,600 seconds in an hour and 86,400 seconds in a day.

Does the calculator adjust for daylight saving time?

No. It works with the clock times you enter and does not adjust for daylight saving changes or time zones.

Share this article