Calcorithmevery number has an answer
πŸ”
All tools β†’
← Date & Time

Time Duration

Calculate the duration between two times in hours and minutes.

Start timei
:
End timei
:
Duration
08h 30m
Total minutes
510 min
Decimal hours
8.50 h

Calculating time duration

Time duration is the difference between a start and end time, expressed in hours and minutes. Converting to decimal hours is especially important for timesheets, billing, and payroll β€” most systems need a decimal (e.g. 7.5 hours) rather than hours and minutes (7h 30m).

Duration (minutes) = (End hours Γ— 60 + End minutes) βˆ’ (Start hours Γ— 60 + Start minutes) Hours = Duration Γ· 60 (integer part) Minutes = Duration mod 60 (remainder) Decimal hours = Duration Γ· 60 Example: 09:00 to 17:30 End: 17Γ—60 + 30 = 1050 minutes Start: 9Γ—60 + 0 = 540 minutes Duration = 1050 βˆ’ 540 = 510 minutes = 8h 30m = 8.5 hours

Decimal hours reference table

MinutesDecimal hoursMinutesDecimal hours
5 min0.08310 min0.167
15 min0.2520 min0.333
25 min0.41730 min0.5
35 min0.58340 min0.667
45 min0.7550 min0.833
55 min0.91760 min1

Common time duration scenarios

Freelance billing
Bill clients for 2h 45m = 2.75 hours at your hourly rate. Rounding to quarter-hours is standard practice.
Payroll
Convert shift hours to decimal for payroll systems: 7h 45m = 7.75 hours Γ— hourly wage.
Meeting efficiency
Track how long meetings actually last vs. scheduled time to improve calendar planning.
Sports & fitness
Pace calculation: 10km in 52 minutes = 0.867 hours β†’ speed = 10 Γ· 0.867 = 11.5 km/h.
Travel planning
Flight 09:40 to 14:15 = 4h 35m = 4.58 hours β€” convert for fuel, range, and crew time calculations.
Study tracking
Pomodoro sessions and study logs need total minutes accumulated across a day.

Frequently asked questions

How do I calculate the time between two times?

Enter a start and end time and the tool returns the duration in hours and minutes, handling periods that cross midnight.

Can it calculate hours worked for a timesheet?

Yes. Enter your clock-in and clock-out times to get the total duration, then subtract any unpaid breaks.

Does it handle times that pass midnight?

Yes. If the end time is earlier than the start time, it treats the period as crossing midnight into the next day.

How do I convert the result to decimal hours?

Divide the minutes by 60 and add to the hours β€” for example, 2 hours 30 minutes equals 2.5 decimal hours, which payroll systems often require.

iFormula / How it works

Duration = End time βˆ’ Start time in minutes. Decimal hours useful for timesheets.

Related Date & Time tools

Age Calculator
Exact age in years, months, days
Date Difference
Calculate the exact number of days, weeks and months between two dates
Add Days to Date
What date is N days from now?
Weekday Finder
What day was a specific date?
Stopwatch
Online stopwatch with lap times
Countdown Timer
Set an online countdown timer with an alarm