Compute the duration between two times of day, even across midnight.
Compute the duration between two times of day, even across midnight.
Enter values above and click Calculate — results will appear here with the formula explained.
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.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID
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. Formula: minutes = (end − start); wrap through midnight if negative
Time Duration Calculator: 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.
Compute the duration between two times of day, even across midnight. Formula: minutes = (end − start); wrap through midnight if negative
| Field | What to enter |
|---|---|
| Start time | e.g. 08:45 |
| End time | e.g. 16:15 |
| Break to deduct (minutes) | Enter a value |
All fields use the exact formulas shown below — results include step-by-step breakdowns you can verify by hand.
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.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID
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.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID