Clock Duration Calculator

Enter a start time and end time to find the exact clock duration between them. Set the hours, minutes, seconds, and AM/PM for each, and the calculator returns the total duration broken down into hours, minutes, and seconds. Works across midnight too — great for shift work, study sessions, or any timed event.

Results

Total Duration

--

Hours

--

Minutes

--

Seconds

--

Total Minutes

--

Total Seconds

--

Frequently Asked Questions

How does the Clock Duration Calculator work?

The calculator converts your start and end times into a 24-hour format, then subtracts the start time from the end time. The difference is displayed in hours, minutes, and seconds. If the end time is earlier than the start time, it assumes the end time falls on the next day (i.e., crosses midnight).

Can this calculator handle time durations that cross midnight?

Yes. If your end time is earlier than your start time — for example, starting at 10:00 PM and ending at 6:00 AM — the calculator automatically accounts for the midnight crossing and calculates the correct duration of 8 hours.

How do I calculate the duration between two times manually?

Convert both times to 24-hour format, then subtract the start time from the end time. For example, 9:00 AM to 5:30 PM becomes 09:00 to 17:30. Subtracting gives 8 hours and 30 minutes. If borrowing from hours is needed (e.g. minutes of end time are smaller), adjust accordingly.

What is the decimal format of time duration?

The decimal format expresses a duration purely as a fraction of hours. For example, 1 hour 30 minutes equals 1.5 hours in decimal. This is useful for payroll, billing, and time-tracking purposes where decimal hours are required.

What is the difference between AM and PM?

AM (Ante Meridiem) refers to times from midnight (12:00 AM) to just before noon (11:59 AM). PM (Post Meridiem) covers noon (12:00 PM) through to just before midnight (11:59 PM). 12:00 AM is midnight and 12:00 PM is noon.

Can I use this calculator for work shift durations?

Absolutely. Enter your shift start time and end time — including AM or PM — and the calculator will give you the exact hours and minutes worked. It handles overnight shifts too, so it's suitable for night shift workers and healthcare staff.

Why would I need seconds in a time duration calculation?

For most everyday uses, hours and minutes are sufficient. However, seconds matter in precise scenarios like athletic timing, cooking, lab experiments, or any task requiring high-precision time tracking. This calculator includes seconds so you can be as precise as you need.

How is total minutes or total seconds useful?

Total minutes and total seconds give you the full duration expressed as a single unit, which is helpful for programming, scientific calculations, or converting between time formats. For example, a 2-hour 15-minute duration equals 135 total minutes or 8,100 total seconds.

More Time & Date Tools