Time Duration Calculator

Find the hours and minutes between two times, including overnight shifts and breaks.

minutes

How to use it

Enter a start and end time. If the end time is earlier than the start time, the calculator assumes the period runs past midnight — a night shift from 22:00 to 06:00 is 8 hours. Subtract an unpaid break in minutes to get the time actually worked.

Decimal hours for timesheets and pay

Payroll systems usually want hours as a decimal, not hours and minutes. To convert, divide the minutes by 60:

  • 15 minutes = 0.25 hours
  • 30 minutes = 0.5 hours
  • 45 minutes = 0.75 hours
  • 7 hours 40 minutes = 7 + 40/60 = 7.67 hours

A common mistake is writing 7 hours 30 minutes as 7.3. It is 7.5. Multiply decimal hours by your hourly rate to get your pay, or use the salary calculator to turn an hourly rate into weekly, monthly and yearly pay.

Example

A shift from 09:00 to 17:30 with a 30-minute lunch is 8 hours 30 minutes minus 30 minutes = 8 hours, or 8.00 in decimal.

Frequently asked questions

How do I calculate hours worked overnight?

Just enter the start and end times. When the end time is earlier than the start, the calculator counts through midnight automatically.

How do I convert minutes to decimal hours?

Divide the minutes by 60. For example, 20 minutes is 20 ÷ 60 = 0.33 hours.

Can it handle shifts longer than 24 hours?

No. For periods longer than a day, use the days between dates calculator.

Last reviewed: