Time Difference Calculator
Enter a start time and end time to calculate the elapsed hours and minutes, decimal hours, and total minutes. Supports same-day and overnight intervals. Free and instant — the calculation runs in your browser with no sign-up.
How to calculate the time between two times
Convert each clock time to minutes after midnight, then subtract the start from the end. For an interval that crosses midnight, add 24 hours to the end before subtracting. The calculation runs instantly in your browser.
Calculating time across midnight
If your interval crosses midnight, choose “Next day” for the End day. For example, 9:00 PM to 2:00 AM with End day set to Next day is 5 hours. The calculator never silently assumes the next day — if you leave End day on “Same day” and the end time is earlier than the start, it asks you to choose Next day instead of guessing.
Hours and minutes vs. decimal hours
The result shows both forms: 8 hours 30 minutes is the same as 8.5 decimal hours. Decimal hours can be convenient when you need to add times together or use them in another calculation.
Frequently asked questions
- Can I calculate a time difference that crosses midnight?
- Yes. Choose “Next day” for the End day and the calculator adds the overnight crossing.
- What if the end time is earlier than the start time?
- On “Same day”, the calculator asks you to choose “Next day” rather than silently assuming an overnight interval.
- Does this calculator account for time zones or daylight saving time?
- No. It calculates the difference between the clock times you enter. It does not use dates, locations, time zones, or daylight-saving transitions.
- Can I use this to calculate payroll hours?
- It provides elapsed clock time only. It does not account for breaks, overtime rules, payroll policies, or labor requirements.