Time Between Two Times Calculator

Calculate hours between two times or minutes between two times instantly. Supports overnight durations that cross midnight — perfect for shift work, travel, and elapsed time calculations.

Time Between Two Times Calculator

Calculate hours and minutes between any two times of day

Common shifts

What Is a Time Between Two Times Calculator?

A time between two times calculator computes the exact duration between a start time and an end time on the same day — or across a midnight boundary. It's the fastest way to calculate hours between two times without doing clock arithmetic in your head.

Whether you're calculating hours worked, measuring how long a meeting lasted, figuring out a flight duration, or tracking an overnight shift, this tool gives you the exact result in hours and minutes plus the total in minutes and decimal hours for payroll or billing purposes.

How to Calculate Hours Between Two Times

  1. 1Enter your start time in the first field (use 24-hour HH:MM format or the browser time picker).
  2. 2Enter your end time in the second field.
  3. 3If the end time is on the next day (e.g., night shift ending after midnight), toggle "End time crosses midnight."
  4. 4Click "Calculate Time Between Times" to see the result.
  5. 5The result shows hours and minutes, plus total minutes, decimal hours, and total seconds.
  6. 6Use the "Copy" button to grab the result as text for reports, timesheets, or invoices.

Time Between Times Examples

StartEndDuration
9:00 AM5:00 PM8 hours (480 minutes)
9:00 AM5:30 PM8 hours 30 minutes
8:30 AM12:00 PM3 hours 30 minutes
10:00 PM6:00 AM (next day)8 hours
7:15 AM3:45 PM8 hours 30 minutes
12:00 PM12:00 AM12 hours

Common Uses for a Time Between Two Times Calculator

Hours worked
Calculate exact hours worked for timesheets, payroll, or freelance invoicing.
Flight duration
Find how long a flight takes from departure time to arrival time.
Medical procedures
Track how long a surgery, treatment, or procedure lasted.
Shift scheduling
Calculate the length of any work shift including overnight rotations.
Meeting duration
Find out exactly how long a meeting, webinar, or call lasted.
Athletic events
Calculate elapsed time for races, training sessions, or event windows.

Frequently Asked Questions

How do I calculate the time between two times?

Enter your start time and end time into the calculator above, then click "Calculate Time Between Times." The tool instantly returns the duration in hours and minutes, plus the total in minutes, decimal hours, and total seconds.

How do I calculate hours between two times that cross midnight?

Toggle the "End time crosses midnight (next day)" switch before calculating. This tells the calculator the end time is on the next day, giving you the correct overnight duration. For example, 10 PM to 6 AM with the toggle on returns 8 hours.

What is the formula to calculate minutes between two times?

Convert both times to total minutes from midnight (hours × 60 + minutes), then subtract. For example: 5:30 PM = 17:30 = 1,050 minutes. 9:00 AM = 540 minutes. Difference = 1,050 − 540 = 510 minutes (8 hours 30 minutes).

Can I calculate hours worked between a start and end time?

Yes — this is one of the most common uses. Enter your clock-in time as the start and clock-out time as the end. The tool calculates the exact hours worked including minutes. Use the preset buttons for common work shifts.

How many hours between 9 AM and 5 PM?

9 AM to 5 PM is exactly 8 hours (480 minutes). If you take a 30-minute lunch break, the working time is 7 hours 30 minutes (450 minutes). Use the "9–5" preset button to auto-fill these times.

Related Calculators

Time Units Reference

1 hour60 minutes
1 hour3,600 seconds
8 hours480 minutes
24 hours1,440 minutes
1 day86,400 seconds