Time Difference Calculator
Calculate elapsed hours, minutes, and seconds between two times, including overnight
Cross-midnight periods (e.g. 22:00 to 06:00) are automatically supported.
Calculation Result
Elapsed Duration
8 hours, 30 minutes
Decimal: 8.5 hoursHours
8
Minutes
30
Total Minutes
510
How this calculator works
1
Enter Start Time (HH:MM).
2
Enter End Time (HH:MM).
3
Get elapsed duration in hours, minutes, and decimal hours for payroll.
Formula & Mathematics
Elapsed Time Formula
ΔT = Time₂ - Time₁ (If Time₂ < Time₁, add 24 hours)
Calculates total elapsed seconds and formats into hours, minutes, and decimal hours.
Worked Example
Work shift from 09:15 to 17:45
Standard working shift.
• Difference: 8 hours and 30 minutes
• Decimal hours: 8.50 hours
Total duration is 8 hours, 30 minutes (8.50 decimal hours).
Frequently Asked Questions
Decimal hours (e.g. 8.5 instead of 8h 30m) can be directly multiplied by your hourly pay rate.
You may also like
Related calculators in Date & Time
Popular
Age Calculator
Calculate exact chronological age in years, months, days, hours, and next birthday
date & timeCalculate
Date Difference Calculator
Calculate the exact number of days, weeks, months, and years between two dates
date & timeCalculate
Date Add / Subtract Calculator
Add or subtract years, months, weeks, and days from any starting date
date & timeCalculate