Guide · Horas

Hours calculator: hours between two times, minus breaks

Quick answer

This hours calculator finds the time between a start and an end time, including shifts that cross midnight, and subtracts an unpaid break. You get hours and minutes, decimal hours and total minutes. Two more tools below add or subtract a list of hours, or count the hours between two dates.

Updated 4 min readGambit Studio

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

  1. 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.
  2. Subtract the start from the end: 17:15 − 8:30.
  3. If the end minutes are smaller, borrow an hour: 17:15 becomes 16:75, and 16:75 − 8:30 = 8 h 45 min.
  4. 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).
  5. Subtract unpaid breaks, then divide the leftover minutes by 60 for decimals: 8 h 15 min = 8.25 hours.

Worked examples

StartEndUnpaid breakHoursDecimal
8:30 AM5:15 PM30 min8 h 15 min8.25
7:00 AM3:30 PM30 min8 h 00 min8.00
9:45 AM2:10 PMnone4 h 25 min4.42
10:00 PM6:30 AM (next day)30 min8 h 00 min8.00
7:00 PM7:30 AM (next day)60 min11 h 30 min11.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.

Sources

  1. U.S. Department of Labor, Wage and Hour Division: Fact Sheet #22, Hours Worked Under the FLSA

Frequently asked questions

What people ask most about this, answered with the source.

How many hours is 8:30 AM to 5:15 PM?
8 hours 45 minutes, or 8.75 hours. With a 30-minute unpaid lunch it is 8 hours 15 minutes, 8.25 hours.
How do I calculate hours between two times?
Convert both times to 24-hour format, subtract the start from the end (borrow 60 minutes when needed) and add 24 hours if the end is after midnight. Then subtract unpaid breaks.
How do I add hours and minutes together?
Add the hours and the minutes separately, then turn every 60 minutes into 1 hour: 7:45 + 8:30 = 15 h 75 min = 16 h 15 min. Or convert each to decimal (7.75 + 8.50 = 16.25).
How do I calculate hours with a lunch break?
Find the hours between start and end, then subtract the unpaid lunch: 8:30 AM to 5:15 PM is 8 h 45 min, minus 30 minutes is 8 h 15 min (8.25 hours).
What is 7 hours 45 minutes in decimal?
7.75 hours. Divide the minutes by 60: 45 ÷ 60 = 0.75.
HorasComing soon to the App Store
Notify me at launch