1. Hours between two times
2. Add or subtract hours and minutes
3. Hours between two dates
Uses your device's clock and time zone, so a daylight saving change in between is counted as it happens. Nothing you type is saved or sent anywhere.
How to calculate hours between two times by hand
- Write both times in 24-hour format: add 12 to PM hours (5:15 PM = 17:15). 12 PM stays 12; 12 AM is 0. The military time chart has every hour.
- Subtract the start from the end: 17:15 − 8:30.
- If the end minutes are smaller, borrow an hour: 17:15 becomes 16:75, and 16:75 − 8:30 = 8 h 45 min.
- If the end time is earlier than the start, the time crosses midnight: add 24 hours to the end first (6:00 − 22:00 becomes 30:00 − 22:00 = 8 h).
- Subtract unpaid breaks, then divide the leftover minutes by 60 for decimals: 8 h 15 min = 8.25 hours.
Worked examples
| Start | End | Unpaid break | Hours | Decimal |
|---|---|---|---|---|
| 8:30 AM | 5:15 PM | 30 min | 8 h 15 min | 8.25 |
| 7:00 AM | 3:30 PM | 30 min | 8 h 00 min | 8.00 |
| 9:45 AM | 2:10 PM | none | 4 h 25 min | 4.42 |
| 10:00 PM | 6:30 AM (next day) | 30 min | 8 h 00 min | 8.00 |
| 7:00 PM | 7:30 AM (next day) | 60 min | 11 h 30 min | 11.50 |
Full-day shift totals, from 9 to 5 to 12-hour shifts, are in how many hours is 9 to 5; overnight work is covered in night shift hours.
Adding hours and minutes without mistakes
Hours have 60 minutes, so a normal calculator gives wrong answers on times: 7:45 + 8:30 is not 15.75 or 16.15, it is 16 h 15 min. Either add hours and minutes separately (7 h + 8 h = 15 h; 45 + 30 = 75 min = 1 h 15 min; total 16 h 15 min) or convert each time to decimal first (7.75 + 8.50 = 16.25 hours). Tool 2 above accepts both formats on the same list.
Which breaks to take out
For a paycheck, subtract only unpaid meal breaks. Under the federal FLSA, rest breaks of about 5 to 20 minutes count as hours worked, and meal periods of usually 30 minutes or more don't, if you are completely relieved from duty (DOL Fact Sheet #22). For a full week with lunch punches and overtime, use the time card calculator.
Hours between two dates
For spans longer than a day (a trip, a hospital stay, a 36-hour on-call), count whole days first: 24 hours each, then the leftover hours. From Friday 7:00 PM to Sunday 7:30 AM is 1 day and 12 h 30 min, or 36.50 hours, which is what tool 3 shows with its sample dates.
The time card app we're building
Hours Calculator: Time Card is an app Gambit Studio is building for iPhone; it is not on the App Store yet. It will log clock-in, clock-out and the break for each day, total the week and the month on its own, keep an hour bank against your contracted schedule, show overtime with the estimated pay from your hourly rate and export a PDF time card, with no account and offline. Leave your email and we will tell you when it launches.