Time Duration Calculator

Calculate exact hours, minutes, and decimal payroll hours between two clock times.

Calculate Hours & Minutes Between Times

Enter your start time, end time, and unpaid break minutes to find net duration and payroll decimal hours.

Shift or event start (e.g. 09:00)

Shift or event end (e.g. 17:30)

min

Unpaid break (e.g. 30 min)

Calculated Result

Your result

Duration from 09:00 to 17:30 (−30m break) is:

8 hrs 0 mins
Formula & Live Calculation:
Decimal Hours: 8.00 hrs · Total Minutes: 480 mins

Quick Formula & Verification Check

Full Example ↓
Decimal Hours = (End Minutes − Start Minutes − Break Minutes) ÷ 60
Shift from 09:00 to 17:30 with a 30-minute break:
Gross Span = 8 hours 30 minutes (510 minutes)
Subtract 30-minute break = 8 hours 0 minutes (480 minutes)
Decimal Hours = 480 ÷ 60 = 8.00 hours
Need reference examples or calculation notes?
Last updated: November 13, 2026 · Calculation Methodology

24-Hour Clock Modulo & Payroll Decimal Conversion

The formula to calculate net time duration and payroll decimal hours is:

Decimal Hours = (End Minutes − Start Minutes − Break Minutes) ÷ 60

Worked Shift Calculation With Unpaid Lunch Deduction

Shift from 09:00 to 17:30 with a 30-minute break:

Gross Span = 8 hours 30 minutes (510 minutes)
Subtract 30-minute break = 8 hours 0 minutes (480 minutes)
Decimal Hours = 480 ÷ 60 = 8.00 hours

Entering Clock-In, Clock-Out & Break Minutes

  1. 1Enter the Start Time in the first field.
  2. 2Enter the End Time in the second field.
  3. 3Enter any unpaid Break Deduction in minutes (or 0 for no break).
  4. 4View your net hours and minutes, decimal hours for payroll, and total minutes.

Handling Overnight Shifts That Cross Midnight (00:00)

Time math uses base-60 (sexagesimal) for minutes and seconds, and base-24 for hours. To find the duration between 08:45 AM and 05:15 PM, convert both timestamps into total minutes since midnight: 08:45 is 525 minutes (8 × 60 + 45) and 17:15 is 1,035 minutes (17 × 60 + 15). Subtract 525 from 1,035 to get 510 minutes—which divides by 60 into 8 hours and 30 minutes (8.50 decimal hours).

Net Minutes = (End Time − Start Time) − Break Minutes

If your clock-out time is earlier than your clock-in time (such as a 10:00 PM to 06:30 AM hospital or warehouse shift), add 1,440 minutes (24 hours) to the end time before subtracting.

Payroll & FLSA Calculation Note · The 7-Minute (Quarter-Hour) Rounding Rule

How the federal 7-minute rule rounds clock-in punches to 15-minute blocks

Under US Department of Labor (29 CFR § 785.48) rules, employers that round timecard punches to the nearest quarter-hour (15 minutes) must use the 7-minute split so rounding averages out fairly over time. Punches from 1 to 7 minutes past the quarter-hour round back down (e.g., 8:06 AM → 8:00 AM = .00), while punches from 8 to 14 minutes round forward (e.g., 8:08 AM → 8:15 AM = .25).

Common Pitfall: Typing "8.30" into payroll software for an 8-hour, 30-minute shift

Payroll systems multiply hourly wage by base-10 decimals. Typing 8.30 pays for 8 hours and 18 minutes (0.30 × 60 = 18m), shorting the worker 12 minutes of pay every single shift.

Calculation Note: Convert minutes to decimal by dividing by 60

For any minute count, divide by 60: 12 minutes = 0.20 hrs, 20 minutes = 0.33 hrs, 36 minutes = 0.60 hrs, and 48 minutes = 0.80 hrs.

Clock Format (8h 45m) vs. Payroll Decimal Hours (8.75 hrs)

Your net duration is 8 hours and 0 minutes, which equals 8.00 decimal hours ( 480 total minutes). When entering timesheets into payroll software, use the decimal hours value so minutes are billed accurately.

Payroll Minute-to-Decimal Conversion Chart (6-Minute & 15-Minute Increments)

Standard conversion table used by payroll processors, legal billing (1/10th hour = 6 min), and contractor timesheets.

Reference Lookup Table · Updated November 2026
Clock MinutesPayroll Decimal (÷ 60)15-Min Quarter RoundingLegal 6-Min Tenths
06 Minutes0.10 HoursRounds to .00 (0m)0.1 Billable Hour
15 Minutes0.25 HoursExact .25 Quarter0.3 Billable Hours (18m)
24 Minutes0.40 HoursRounds to .50 (30m)0.4 Billable Hours
30 Minutes0.50 HoursExact .50 Half-Hour0.5 Billable Hours
45 Minutes0.75 HoursExact .75 Three-Quarter0.8 Billable Hours (48m)
54 Minutes0.90 HoursRounds to 1.00 (60m)0.9 Billable Hours

Timesheet, Overtime & Overnight Shift Questions

View All Date & Time Tools
Why is 8 hours 30 minutes equal to 8.50 decimal hours?
Because 30 minutes is half of a 60-minute hour (30 ÷ 60 = 0.50). Similarly, 15 minutes is 0.25 hours and 45 minutes is 0.75 hours.
Does this calculator work for overnight shifts?
Yes. If the End Time is earlier than the Start Time (such as 22:00 to 06:00), the calculator automatically treats the end time as the following morning.
How do I calculate gross duration without a break?
Simply enter 0 in the Break Deduction (Min) field to see the full uninterrupted time span.
How do I convert minutes to decimal hours manually?
Divide the number of minutes by 60. For example, 20 minutes ÷ 60 = 0.3333 hours.
What formula does the Time Duration Calculator use?
The calculation uses Decimal Hours = (End Minutes − Start Minutes − Break Minutes) ÷ 60. For example (Shift from 09:00 to 17:30 with a 30-minute break:): Gross Span = 8 hours 30 minutes (510 minutes)
Convert minutes to decimal by dividing by 60?
For any minute count, divide by 60: 12 minutes = 0.20 hrs, 20 minutes = 0.33 hrs, 36 minutes = 0.60 hrs, and 48 minutes = 0.80 hrs.
Formulas and constants reference published standards (see Methodology).