QwikCalculator

Time Duration Calculator

Duration

Pick a start time and an end time.

If the end time is earlier than the start time, the calculator assumes it is the next day.

About the Time Duration Calculator

How long was a meeting, a shift or a journey? Subtracting times isn’t like subtracting ordinary numbers, because there are 60 minutes in an hour and the clock rolls over at midnight.

This time duration calculator takes a start time and an end time and shows the length in hours and minutes. It also gives the result as decimal hours, which is what you need for timesheets and billing, and in total minutes and seconds. If the end time is earlier than the start, it assumes the end is on the next day.

How to use the Time Duration Calculator

  1. Enter the start time.
  2. Enter the end time.
  3. Read the duration in hours and minutes.
  4. Use the decimal hours or minutes figure if you need it for a timesheet or invoice.

Time duration formula

  • Minutes = (end hour × 60 + end minute) − (start hour × 60 + start minute)
  • If the result is negative, add 1,440 (the minutes in a day)
  • Hours and minutes = minutes ÷ 60, with the remainder in minutes
  • Decimal hours = minutes ÷ 60

Quick conversions: 15 minutes is 0.25 hours, 30 minutes is 0.5 hours, and 45 minutes is 0.75 hours.

Time duration examples

From 9:15 to 17:45 is 8 hours and 30 minutes. That is 510 minutes, or 8.5 hours.

From 22:00 to 06:30 crosses midnight. 06:30 is earlier than 22:00, so the calculator adds a day: the duration is 8 hours and 30 minutes.

Tips for working with time

  • Use the decimal hours figure when you multiply by an hourly rate. 8 h 30 min is 8.5 hours, not 8.30.
  • The time inputs follow your device’s format, which may be 12-hour or 24-hour. The answer is the same either way.
  • For durations longer than a day, use the Date Difference Calculator.
  • This calculator doesn’t account for daylight saving changes.

Frequently asked questions

How do I calculate the time between two times?

Convert each time to minutes after midnight, subtract the start from the end, and turn the result back into hours and minutes. If the end is earlier than the start, add 24 hours.

How do I convert hours and minutes to decimal hours?

Divide the minutes by 60 and add the hours. 8 hours 30 minutes is 8 + 30 ÷ 60 = 8.5 hours.

What happens if the end time is after midnight?

Enter the actual clock time. If it is earlier than the start time, the calculator assumes it is the next day.

Can I find durations longer than 24 hours?

Not with times alone. Use the Date Difference Calculator for spans of days.

Why do I need decimal hours?

Payroll and invoicing often multiply hours by a rate, and that needs decimal hours. 7 h 45 min is 7.75 hours.