Time Duration Calculator Hours

Time Duration Calculator Hours

Find how many hours and minutes fall between a start time and an end time. Toggle 12-hour AM/PM or 24-hour input, flag overnight shifts that cross midnight, subtract an unpaid break, round to the nearest 1, 5, 6, 15, or 30 minutes, and add an hourly rate to see gross pay. Duration = end minus start, plus 1440 minutes if overnight, minus the break.

Time Input Format

💼Common Shift Presets

📝Shift Details

Hour, minute, then AM or PM. When the clock is over the hour goes 0 to 23.

The clock time the shift finishes. Minute box accepts 0 to 59.

Turn on when the shift runs past 12 midnight, such as 11 PM to 7 AM.

Minutes deducted from the gross span, for example a 30 minute lunch.

Applied to the net duration after the break is subtracted.

Leave at 0 to skip pay. Enter a rate to see gross pay for the shift.

Duration 0h 0m hours and minutes worked
Decimal hours 0.00 for timesheets and payroll
Total minutes 0 net minutes after break
Gross pay decimal hours times rate

🔢Formula Snapshot

end − startgross minutes
+1440if overnight
− breaknet minutes
÷ 60decimal hours

📋Minutes to Decimal Hours Conversion

MinutesDecimal HoursRounded 15 minReads As
0 min0.000.00On the hour
6 min0.100.00One tenth
10 min0.170.25Rounds up
15 min0.250.25Quarter hour
20 min0.330.25Third of hour
30 min0.500.50Half hour
40 min0.670.75Two thirds
45 min0.750.75Three quarters
50 min0.830.75Rounds down
60 min1.001.00Full hour

🕐Common Shift Lengths

Shift NameTypical HoursGross SpanUsual BreakNet Hours
Half day9am to 1pm4h 00m0 min4.00
Six hour9am to 3pm6h 00m30 min5.50
Standard day9am to 5pm8h 00m30 min7.50
Full eight8am to 4:30pm8h 30m30 min8.00
Nine hour8am to 5pm9h 00m60 min8.00
Ten hour7am to 5:30pm10h 30m30 min10.00
Twelve hour7am to 7pm12h 00m30 min11.50
Night eight11pm to 7am8h 00m30 min7.50

📏Payroll Rounding Rules

Round ToIncrementBreakpointExample InExample Out
1 minuteExactNone8h 23m8h 23m
5 minutes0.083 h2.5 min8h 23m8h 25m
6 minutes0.10 h3 min8h 23m8h 24m
15 minutes0.25 h7.5 min8h 23m8h 30m
15 minutes0.25 h7.5 min8h 07m8h 00m
30 minutes0.50 h15 min8h 23m8h 30m
30 minutes0.50 h15 min8h 12m8h 00m

🗃Start to End Duration Comparison Grid

ShiftStartEndBreakNet HoursDecimal
9 to 5 workday9:00 AM5:00 PM30 min7h 30m7.50
Standard 8am8:00 AM4:30 PM30 min8h 00m8.00
Early start6:00 AM2:30 PM30 min8h 00m8.00
Night shift11:00 PM7:00 AM30 min7h 30m7.50
Evening3:00 PM11:00 PM30 min7h 30m7.50
12-hour shift7:00 AM7:00 PM60 min11h 00m11.00
Half day9:00 AM1:00 PM0 min4h 00m4.00
Bar close6:00 PM2:00 AM30 min7h 30m7.50
Double shift10:00 AM10:00 PM60 min11h 00m11.00
Mid shift12:00 PM8:30 PM30 min8h 00m8.00

Formula Breakdown

Convert to minutesTurn each clock time into minutes since midnight. 9:00 AM is 540 minutes and 5:30 PM is 17:30, or 1050 minutes.
Gross = end − startSubtract start from end. 1050 − 540 = 510 gross minutes, which is 8 hours and 30 minutes across the shift.
Cross midnight +1440If the result is negative, or the overnight box is on, add 1440 minutes (one full day) so the span wraps past midnight correctly.
Net = gross − breakTake off the unpaid break. 510 − 30 = 480 net minutes, so the paid duration is exactly 8 hours.
Apply roundingRound net minutes to the chosen increment. Rounding to the nearest 15 leaves 480 unchanged because it is already a multiple of 15.
Decimal = minutes / 60Divide net minutes by 60 for a decimal figure. 480 / 60 = 8.00 hours, the value payroll systems expect.
Pay = hours × rateMultiply decimal hours by the hourly rate. At 20 per hour, 8.00 hours earns 8.00 × 20 = 160.00 gross.

💡Time Tracking Tips

Watch the midnight wrap: When an end time is earlier on the clock than the start, such as 11 PM to 7 AM, turn on the overnight toggle. The calculator then adds a full 1440 minutes so the shift measures 8 hours instead of a negative span. Forgetting this is the most common timesheet error for night and closing shifts.
Decimal is not the minute count: Thirty minutes is 0.50 hours, not 0.30, because an hour has 60 minutes rather than 100. Always convert with minutes divided by 60 before multiplying by a pay rate. Reading 8h 15m as 8.15 instead of 8.25 quietly underpays a quarter hour on every single shift.

It’s a source of anxiety on every Friday afternoon: I don’t know how many hour I’ve worked. There are gaps in my timesheet. My mind races trying to figure it out, wondering whether I’m going to get paid for all those lunch breaks… Or if crossing midnight makes the math tricky.

Mathematically, it seems easy enough: just subtract the start time from the end time. But there is traps: shifts wrapping around midnight, meal breaks shaving off hours, and minutes behaving differently than normal decimals. This tool takes care of all that messily. It adds up your hour in decimal form, calculates your gross pay, and gets you from clock-in to paycheck without questioning math.

How to Calculate Your Hours and Pay

The first step of every calculation is to convert clock times to minutes since midnight. Nine in the morning becomes five hundred forty minutes, while half past five becomes one thousand fifty. Gross span equals end time minus start time. That’s your raw hours before any deductions are made. Next, any unpaid break is subtracted from that, then divided by sixty, producing decimal hours. Working nine to five with a thirty-minute lunch? The net minutes divides evenly for a total of exactly eight hours. That’s why most people expect a clean division like this; but real life seldom provides such tidy numbers.

Shifts spanning midnight create the most common type of timesheet error. If your employee clocks in at eleven PM and then clocks out at seven AM, if you subtract those numbers, you get a negative value. That doesn’t make any sense. To correct it, you have to add enough minutes to get back to zero (exactly 1),440, or the number of minutes in a complete day. It’s an addition of time that gets you from where you were to where you should be: wrapping forward around the calendar date properly. That’s what this calculator do for you by flipping the switch into “overnight” mode. Flip it on whenever you’ve got employee working closing shifts or doing night duty, and the math just works itself out to the next day. No need for you to count up hours manually on the other side of the calendar date line.

The clock face isn’t everything. There are also breaks. Under most labor laws, a meal break is considered unpaid time. That is to say: The clock continues ticking. But the minutes don’t add up against your paycheck. Whatever you input into the dedicated break field gets deducted prior to the decimal conversion. So if you commonly have a half-hour for lunch during an eight-and-a-half hour shift, it’ll net down to a nice, round eight hours of paid work. Your employer provides paid rest breaks on top of an unpaid lunch? Only plug the lunch into that field. The paid time’s already on the books as hours worked.

Most payroll systems don’t even record actual minutes as such; they round up and down to some fixed increment, where your pay will fall into a nice fraction of hour. With this tool, you can round to the nearest one, five, six, fifteen, or thirty minutes. The fifteen-minute rule is common in the U.S. The fifteen-minute rule is dominant in U.S. Payroll practice. However, the six-minute option yields precise tenths of an hour, which is what we all realy want. And it rounds based off actual time spent on duty minus breaks. In other words, if your shift ends at eight hours and twenty-three minutes after breaks are removed, you get credit for working eight hours and thirty minutes. Why? Because 23 is beyond the dividing line between previous and following quarter.

But it’s the decimal hours that trip folks up the most when filling out a timesheet. Not zero point thirty for half an hour, but zero point fifty. That’s because there are sixty minutes in an hour, not one hundred. And so fifteen minutes equals zero point two five, while forty-five minutes is zero point seven five. To avoid the guess work that leads to quiet underpayment, the calculator will print the decimal hours to two places directly on the result card. Getting this conversion right matters the moment a pay rate enters the equation since multiplying by the wrong decimal skews every paycheck slightly. Every time you multiply by the incorrect decimal you skew all your paychecks just a little bit.

To connect money and time, there’s an option for entering an hourly rate. Leave this blank and the thing works like a plain old duration timer. Enter a rate and it multiplies it by your decimal hours. That’s the gross pay of the shift. Twenty bucks for eight becomes one hundred sixty, shown clearly so you can trace logic. This is useful if you work on an hourly rate (check verifiers) or want to estimate how much a project will cost (freelancers).

The calculator uses presets taken from actual schedules that other people have worked for convenience sake. Presets include a classic nine-to-five, a starting at six AM early bird special, a midnight wrapping night shift, and even a block of twelve hours. Each button fills out the form and updates it immediately. From there, tweak away minutes or add breaks.

Payroll disputes are nobody’s friend. Time math seems easy until someone makes a mistake reading a decimal or forgets about their lunch. This calculator eliminates all the guesswork. Midnight wrap, clock conversion, deducting breaks, calculating pay: It all happens in one convenient spot. Enter your own times or choose a preset, set your rules and read the results. Planning a schedule? Logging your own hours? Dependable numbers in seconds trump mental math every time.

Time Duration Calculator Hours