Hours Calculator
Hours Calculator
Enter a start time and an end time (12-hour format) to find exactly how many hours and minutes lie between them — handy for shift lengths, appointment durations, or event spans.
Both times are converted to minutes since midnight internally, and the difference between them gives the duration — a straightforward approach that also handles overnight spans correctly: if the end time is earlier than the start time, the calculator assumes the span crosses into the next day rather than returning a nonsensical negative result, so 10 PM to 6 AM correctly comes out to 8 hours. This is the fastest way to get an exact duration without doing clock-math by hand, which is easy to get wrong specifically around the 60-minutes-in-an-hour carry.
- Method: both times are converted to minutes since midnight, and the difference is taken.
- Overnight spans: if the end time is earlier than the start time, the calculator assumes it falls on the next day (e.g. 10 PM to 6 AM = 8h).
- Example: 9:00 AM to 5:30 PM = 8 hours 30 minutes (8.5 decimal hours).
How do I calculate an overnight shift?
Just enter the start (e.g. 10:00 PM) and end (e.g. 6:00 AM) — the calculator automatically wraps to the next day.
Does this account for unpaid breaks?
No — this is a raw time difference. Subtract break time separately, or use the Work Hours Calculator, which has a dedicated break field.
Hours Calculator


Enter a start time and an end time (12-hour format) to find exactly how many hours and minutes lie between them — handy for shift lengths, appointment durations, or event spans.
Both times are converted to minutes since midnight internally, and the difference between them gives the duration — a straightforward approach that also handles overnight spans correctly: if the end time is earlier than the start time, the calculator assumes the span crosses into the next day rather than returning a nonsensical negative result, so 10 PM to 6 AM correctly comes out to 8 hours. This is the fastest way to get an exact duration without doing clock-math by hand, which is easy to get wrong specifically around the 60-minutes-in-an-hour carry.

- Method: both times are converted to minutes since midnight, and the difference is taken.
- Overnight spans: if the end time is earlier than the start time, the calculator assumes it falls on the next day (e.g. 10 PM to 6 AM = 8h).
- Example: 9:00 AM to 5:30 PM = 8 hours 30 minutes (8.5 decimal hours).
How do I calculate an overnight shift?
Just enter the start (e.g. 10:00 PM) and end (e.g. 6:00 AM) — the calculator automatically wraps to the next day.
Does this account for unpaid breaks?
No — this is a raw time difference. Subtract break time separately, or use the Work Hours Calculator, which has a dedicated break field.
