Compute the duration between two times of day, even across midnight.
Enter values above — results appear automatically, or press Calculate. The formula used is explained below.
Clock arithmetic isn't ordinary subtraction because hours wrap at 24. From 22:00 to 06:00 is not negative sixteen hours but eight — the overnight wrap is the single most common duration error.
Expressing results in decimal hours bridges to payroll and billing systems, where 7¾ hours must be entered as 7.75. Keep the minutes view for humans and decimals for spreadsheets.
The 24-hour format eliminates a whole error class: 12-hour times need AM/PM disambiguation (is 12:00 midnight or noon? midnight is 00:00, noon is 12:00) while 08:45 and 16:15 sort, subtract and compare unambiguously. Teams spanning time zones should standardize on 24-hour plus explicit zone rather than converting casually.
Break deductions follow wage-and-hour logic: unpaid meal breaks (typically 30–60 min) subtract from compensable time, while short paid rest breaks (10–20 min) usually don't. Enter only genuinely unpaid minutes — deducting paid breaks underpays staff and misstates project costs the same direction every time.
Overnight spans need the wrap rule stated plainly: if end < start, add 1,440 minutes before subtracting. Night shifts, red-eyes, hospital rotations and server maintenance windows all live here; forgetting the wrap turns an 8-hour night into a −16-hour impossibility that spreadsheets happily propagate.
Beyond-a-day spans belong elsewhere: this tool handles time-of-day intervals, while multi-day durations need the date-difference calculator (dates) plus leftover minutes here. Chaining them — dates for days, this for the remainder — covers any span without the month-length ambiguity of mixed approaches.
Where a duration goes in a day is not a rounding question, and the arithmetic breaks down for reasons that are worth stating. The standard working day is 8 hours, but a working year is not 8 hours times 365: weekends, public holidays and annual leave take a substantial fraction, and the conventional figure of 250 working days per year excludes roughly 115. Anyone converting an hourly rate to an annual salary by multiplying by 2,080 is using a figure that includes unpaid holiday, so the result overstates earnings by 10-15%. The correction is to divide by the days actually worked, which is the number a person's own timesheet produces and no general figure matches.
Time zones make the arithmetic depend on daylight saving, and a conversion that ignores the transition dates is wrong twice a year. The offsets are not constant, and the two countries involved may transition on different dates — most European countries change on the last Sunday of March and October, while the United States moves in March and November, so for several weeks a year the gap is an hour different from the nominal. A scheduled meeting or a deadline that crosses the boundary can therefore land an hour out, and the failure mode is usually silent because both parties see the same calendar.
The distinction between elapsed time and working time is the one that catches people on projects. Two tasks of eight hours each take sixteen hours of elapsed time, but a working day is rarely eight hours of task — meetings, email and context switching consume a large share, and sustained task time on a knowledge job is commonly four to five hours. A plan that budgets eight hours of work per day will consistently over-promise, and the over-promise compounds across a project so the slip appears at the end rather than being corrected along the way. The practical adjustment is to plan against the shorter figure and treat the remainder as overhead.
Compute the duration between two times of day, even across midnight. Formula: minutes = (end − start). Example: 22:00 to 06:00 minus a 45-minute break: wraps to 480 minutes, less 45, giving 7 h 15 min — 7.25 decimal hours.
Clock arithmetic isn't ordinary subtraction because hours wrap at 24. From 22:00 to 06:00 is not negative sixteen hours but eight — the overnight wrap is the single most common duration error.
Expressing results in decimal hours bridges to payroll and billing systems, where 7¾ hours must be entered as 7.75. Keep the minutes view for humans and decimals for spreadsheets.
The 24-hour format eliminates a whole error class: 12-hour times need AM/PM disambiguation (is 12:00 midnight or noon? midnight is 00:00, noon is 12:00) while 08:45 and 16:15 sort, subtract and compare unambiguously. Teams spanning time zones should standardize on 24-hour plus explicit zone rather than converting casually.
Break deductions follow wage-and-hour logic: unpaid meal breaks (typically 30–60 min) subtract from compensable time, while short paid rest breaks (10–20 min) usually don't. Enter only genuinely unpaid minutes — deducting paid breaks underpays staff and misstates project costs the same direction every time.
Overnight spans need the wrap rule stated plainly: if end < start, add 1,440 minutes before subtracting. Night shifts, red-eyes, hospital rotations and server maintenance windows all live here; forgetting the wrap turns an 8-hour night into a −16-hour impossibility that spreadsheets happily propagate.
Beyond-a-day spans belong elsewhere: this tool handles time-of-day intervals, while multi-day durations need the date-difference calculator (dates) plus leftover minutes here. Chaining them — dates for days, this for the remainder — covers any span without the month-length ambiguity of mixed approaches.
Where a duration goes in a day is not a rounding question, and the arithmetic breaks down for reasons that are worth stating. The standard working day is 8 hours, but a working year is not 8 hours times 365: weekends, public holidays and annual leave take a substantial fraction, and the conventional figure of 250 working days per year excludes roughly 115. Anyone converting an hourly rate to an annual salary by multiplying by 2,080 is using a figure that includes unpaid holiday, so the result overstates earnings by 10-15%. The correction is to divide by the days actually worked, which is the number a person's own timesheet produces and no general figure matches.
Time zones make the arithmetic depend on daylight saving, and a conversion that ignores the transition dates is wrong twice a year. The offsets are not constant, and the two countries involved may transition on different dates — most European countries change on the last Sunday of March and October, while the United States moves in March and November, so for several weeks a year the gap is an hour different from the nominal. A scheduled meeting or a deadline that crosses the boundary can therefore land an hour out, and the failure mode is usually silent because both parties see the same calendar.
The distinction between elapsed time and working time is the one that catches people on projects. Two tasks of eight hours each take sixteen hours of elapsed time, but a working day is rarely eight hours of task — meetings, email and context switching consume a large share, and sustained task time on a knowledge job is commonly four to five hours. A plan that budgets eight hours of work per day will consistently over-promise, and the over-promise compounds across a project so the slip appears at the end rather than being corrected along the way. The practical adjustment is to plan against the shorter figure and treat the remainder as overhead.
22:00 to 06:00 minus a 45-minute break: wraps to 480 minutes, less 45, giving 7 h 15 min — 7.25 decimal hours. A 08:45–16:15 shift with 30 unpaid minutes is 450 − 30 = 420 minutes = 7.0 hours exactly.
Formulas are standard public references (see our methodology). External standards are cited in the text where they apply.
Last reviewed: September 2026 · Report an error