Skip to content

Time Duration Calculator

Enter a start and end date and time to get the elapsed time in days, hours and minutes, and as total hours and total minutes.

Result

Duration
0 days, 8 hours, 30 minutes
Hours and minutes
8:30
Total hours
8.5 hours
Total minutes
510 minutes
Total seconds
30,600 seconds
Total days
0.354 days

Both times are treated as being in the same time zone. A daylight saving change between them is not applied.

Formula

  • Duration = end date and time − start date and time
  • Total hours = total minutes ÷ 60
  • Days = total minutes ÷ 1,440

How the Time Duration Calculator works

Elapsed time is the end moment minus the start moment. The calculator converts both to minutes, subtracts, and breaks the result into days, hours and minutes.

For times on the same day, leave both dates the same. For a period that crosses midnight, set the end date to the next day.

Worked example

From 9:00 AM to 5:30 PM on the same day is 8 hours 30 minutes, which is 8.5 hours or 510 minutes.

Frequently asked questions

How many hours are between 9 AM and 5 PM?

Eight hours. Count from 9 to 12, which is 3 hours, then add the 5 hours after noon.

How do I calculate time across midnight?

Set the end date to the following day. From 10:00 PM to 6:00 AM the next day is 8 hours.

Related calculators

All date and time calculators · All calculators

Related unit converters

Calculations run in your browser and nothing you enter is sent to a server. Results are provided for general information. Check critical figures independently before relying on them.

☕ Like this tool?

Buy me a coffee to support development

☕ Support UnitGenie

If this tool has been helpful, consider buying me a coffee to support development and keep it free for everyone!