How to calculate hours between two times
- Enter the start and end times. Check AM and PM, or use the equivalent 24-hour times.
- Leave the break at 0 for elapsed time. To exclude an unpaid break, enter its length in minutes.
- Read the result as hours and minutes, total minutes, or decimal hours.
For example, 8:00 AM to 3:00 PM is 7 hours. A 30-minute unpaid break leaves 6 hours 30 minutes: 390 minutes ÷ 60 = 6.50 decimal hours. Decimal hours use fractions of an hour, so 6 hours 30 minutes is 6.50, not 6.30. Use the decimal hours calculator to convert a duration you already know.
Add or subtract time from a clock
Start with a clock time, then add or subtract hours and minutes. For example, 9:00 AM plus 2 hours 30 minutes is 11:30 AM; 1:00 AM minus 2 hours is 11:00 PM on the previous day. The result uses a 24-hour clock and wraps at midnight.
For a lunch return time with AM/PM and a next-day label, use the lunch break calculator. To add durations such as 2 hours 20 minutes plus 3 hours 50 minutes, use the hours and minutes calculator.
Common time duration examples
These examples show the full span before any break is deducted.
Hours between start and end times| Start → end | Duration | Minutes |
|---|
| 8 AM → 3 PM | 7h 00m | 420 |
|---|
| 12:30 PM → 8:30 PM | 8h 00m | 480 |
|---|
| 9 AM → 5:30 PM | 8h 30m | 510 |
|---|
| 10 PM → 6 AM next day | 8h 00m | 480 |
|---|
Overnight times, noon and midnight
If the end time is earlier than the start time, it is treated as the next day. From 10:00 PM (22:00) to 6:00 AM (06:00), count 2 hours to midnight and 6 more hours to the end: 8 hours total.
12:00 AM is midnight (00:00); 12:00 PM is noon (12:00). Equal start and end times give zero, not a full day. This calculator uses clock times without dates or time zones, so it does not adjust for daylight-saving changes.
To total multiple shifts and days, use the time card calculator.
Frequently asked questions
Can it calculate time across midnight?
Yes. If the end time is earlier than the start time, the elapsed-time calculator treats the end as occurring the next day.
How many hours is 8 to 3?
From 8:00 AM to 3:00 PM is 7 hours, or 420 minutes, before breaks. Subtracting a 30-minute unpaid lunch leaves 6 hours 30 minutes, or 6.50 decimal hours.
How many hours is 12:30 to 8:30?
From 12:30 PM to 8:30 PM is 8 hours before breaks. From 12:30 AM to 8:30 AM is also 8 hours. Choose the correct AM or PM for both times; a different pairing can change the duration.
Can I subtract a lunch break?
Yes. Leave Subtract break at 0 for the full duration, or enter unpaid break minutes to see the time remaining after the break.
Do matching start and end times mean 24 hours?
No. Matching times mean zero hours in this calculator. It measures a single clock-time interval shorter than 24 hours, without dates or daylight-saving adjustments.