Time Duration & Timesheet
The gap between two clock times, including shifts that run past midnight — plus a duration adder, a decimal-hours converter for timesheets, and a running total with break deductions.
Instant answers
Works offline once loaded
Nothing you type is sent anywhere
Handles overnight shifts
Decimal hours for payroll
Add up a whole week
Between two times
Leave at zero to hide the pay figures
Duration worked
—
Decimal hours—
Total minutes—
Total seconds—
Elapsed before the break—
Share of a 24-hour day
Pay for this shift—
Add or subtract time
Resulting time
—
Hours, minutes and decimals
Type in either side — the other updates. Payroll systems almost always want the decimal form.
| Minutes | Decimal | Minutes | Decimal | Minutes | Decimal |
|---|
Add up a list of shifts
Week total—
Decimal hours—
Standard hours—
Overtime—
Daily average—
Week pay—
Overtime is shown at time and a half against the standard week you set. Check your own contract — overtime rules vary widely.
Instructions
How to use this calculator
Step by step
- Enter a start and end time. If the end is earlier than the start, the calculator assumes an overnight shift and counts through midnight — switch that off in the dropdown if you would rather be warned about a typo.
- Add a break in minutes and it is deducted from the total. The bar underneath shows the shift with the break marked in the middle.
- Read the decimal hours figure for a timesheet. Payroll systems want 7.75, not 7:45, and confusing the two is the classic way to underpay someone by fifteen minutes.
- Enter an hourly rate to see what the shift is worth. Leave it at zero and the pay figures stay hidden.
- Use the add-or-subtract panel for questions like "what time is it seven and three quarter hours from now" — it tells you if the answer lands on a different day.
- The conversion panel works both ways: type hours and minutes to get decimals, or decimals to get hours and minutes. The lookup table underneath covers every minute of the hour.
- Add up a week in the list at the bottom. Set your standard week and anything beyond it is shown as overtime at time and a half.
Good to know
- Decimal hours are minutes divided by 60, not minutes with a decimal point. 7 hours 30 minutes is 7.5, not 7.30 — and 7 hours 15 minutes is 7.25, not 7.15.
- Rounding a timesheet to the nearest quarter hour is common and generally lawful, but it has to round both ways. Always rounding down is wage theft in most jurisdictions.
- An overnight shift that starts at 22:00 and ends at 06:00 is eight hours, not sixteen. If you are getting the complement of the answer you expect, the wrap-over-midnight setting is what you want.
- Unpaid breaks are deducted here. Whether a break is paid depends on your contract and local law — short rest breaks are often paid, while a proper meal break usually is not.
- The overtime figure uses a simple time-and-a-half over a weekly threshold. Daily thresholds, double time, and premium rates for nights and weekends all exist and none of them are modelled here.
- Clock times on this page have no timezone. If a shift crosses a daylight-saving change, the real elapsed time is an hour more or less than the clock suggests.
The maths behind it
- Elapsed time end − start Plus 24 hours when the end time falls on the following day.
- Worked time elapsed − unpaid break Break entered in minutes and converted to seconds internally.
- Decimal hours hours + minutes / 60 45 minutes is 0.75 hours; 20 minutes is 0.333 hours.
- Hours and minutes from decimal h = floor(d), m = round((d − h) × 60) The inverse conversion, rounded to the nearest minute.
- Pay decimal hours × rate Weekly pay adds time-and-a-half above the standard week.
- Overtime max(0, weekly hours − standard week) Paid at 1.5× in the weekly total shown here.
How do I handle a night shift?
Just enter the times as they appear on the clock — 22:00 to 06:00, for instance. With the default setting the calculator recognises that the end is on the following day and counts eight hours. The summary line says "the next morning" so you can see the assumption it made.
Why does my payroll system show 7.75 instead of 7:45?
Because payroll works in decimal hours, where the fractional part is a fraction of an hour rather than a count of minutes. 45 minutes is three quarters of an hour, so 7 hours 45 minutes is 7.75. Entering 7.45 instead would short you by 18 minutes.
Should the break be deducted?
If it is unpaid, yes. Short rest breaks of up to twenty minutes are typically paid and should not be deducted; an unpaid meal break should be. Your contract and local employment law decide, and the two often differ from each other.
Is the overtime calculation right for my job?
It is the simplest common rule — time and a half on everything past a weekly threshold. Real overtime rules can use daily thresholds, double time past a second threshold, premium rates for unsocial hours, or averaging over several weeks. Use this as a check, not as an authority.
Can I add up more than a week?
Yes. Keep pressing "add a day" and the list grows as far as you need. The standard-week threshold still applies to the whole list, so if you are totalling a fortnight, set the threshold accordingly.
Why do the seconds matter?
For most timesheets they do not, and the display rounds to whole minutes. They matter for anything measured rather than scheduled — race times, process durations, call handling — which is why the add-and-subtract panel and the total-seconds figure keep them.