Time Duration Calculator
Find the duration between a start time and an end time, shown in hours and minutes plus the total minutes. Enter two times within a 24-hour day; if the end time is earlier than the start time, the calculator treats the end as the next day and wraps the span past midnight.
Duration
8h 30m
510 minutes total
Who should use it: Anyone measuring the length of a shift, meeting, event, or activity that falls within a single 24-hour period.
How to use this calculator
- 1Enter the start time using the time picker.
- 2Enter the end time using the time picker.
- 3Review the duration in hours and minutes, plus the total minutes.
Understanding the inputs
| Start time | The time your activity begins, in 24-hour HH:MM format. |
| End time | The time your activity ends. If this is earlier than the start time, the calculator assumes the end falls on the following day. |
How the calculation works
The calculator converts both times to minutes since midnight, then subtracts the start minutes from the end minutes. If the result is negative — meaning the end time is earlier than the start time — it adds 1,440 minutes (a full 24-hour day), treating the end as occurring the next day. The result is the elapsed span in minutes, which is then split into whole hours and remaining minutes.
Worked example
Scenario: Start time 09:00, end time 17:30.
Result: 510 minutes total, shown as 8h 30m.
How to interpret your result
The duration is the elapsed time between your two times, expressed in hours and minutes and as a total minute count. A span that crosses midnight — for example a 22:00 start and a 02:00 end — is reported as 4h 0m (240 minutes), because the calculator treats the earlier end time as the next day.
Factors that can affect the result
- Wrap-around: when the end time is earlier than the start time, the calculator assumes the end is on the following day and adds 24 hours.
- Time of day only: the calculation uses times within a single 24-hour day and does not reference calendar dates.
- Minute precision: inputs and results are rounded to whole minutes; seconds are not used.
Limitations and assumptions
- Works with times only, not dates, so it cannot measure a span longer than 24 hours.
- Does not subtract breaks, rest periods, or unpaid time — use the Hours Calculator for that.
- Does not account for daylight saving changes, since it operates on clock times within one day.
- Does not handle payroll, overtime, or shift premiums; it reports a simple elapsed duration.
Frequently asked questions
Related calculators
Related guides
Methodology
The calculator converts each time to minutes since midnight, subtracts the start from the end, and adds 1,440 minutes when the result is negative to handle overnight spans. The total minutes are then split into hours and minutes.
Sources and references
- Mathematical basis — the duration is a simple minute difference between two clock times within a 24-hour day; no external source is required
Disclaimer: Results are provided for informational purposes and may vary depending on the values entered, the assumptions described above, and rounding. They are not a substitute for professional advice specific to your situation. Read the full disclaimer.