Time Duration Calculator

Calculate the duration between two times of day.

MW

Reviewed by

Marcus Webb

Software Engineer & Developer Tools Specialist

· BSc Computer Science, University of Washington· Senior Engineer at Cloudflare (2018–2023)· Open-source contributor to Temporal API proposals

About the Time Duration Calculator

Time duration calculation is fundamental to payroll, invoicing, scheduling, and project management. This calculator converts a start and end time into a precise duration in hours, minutes, and seconds — and in decimal hours for direct use in timesheets and billing.

The calculator automatically handles overnight durations: if the end time is earlier than the start time, it assumes the interval crosses midnight and adds 24 hours accordingly. A night shift from 22:00 to 06:00 is correctly calculated as 8 hours, not −16 hours.

Decimal Hours Quick Reference

Hours : MinutesDecimal HoursCalculation
1:151.2515 ÷ 60 = 0.25
1:301.5030 ÷ 60 = 0.50
1:451.7545 ÷ 60 = 0.75
7:307.5030 ÷ 60 = 0.50
8:208.3320 ÷ 60 = 0.333…
10:0010.00Full hours, no fraction

Common Use Cases

Timesheets & payroll

Calculate exact hours worked per shift. Multiply decimal hours by your hourly rate to get billable or payable amounts without manual arithmetic.

Freelance invoicing

Track time spent on client work. Convert hours:minutes to decimal hours and multiply by your rate. 3 hours 20 minutes at $75/hr = 3.33 × $75 = $250.

Meeting & event duration

Quickly calculate how long a meeting, webinar, or live event ran from its start and end times for records, reporting, or billing.

Night & rotating shifts

Calculate overnight shift durations without manual midnight-crossing math. Enter clock-in and clock-out times and get the exact hours worked.

Frequently Asked Questions