Time Duration Calculator
Calculate elapsed time using 24-hour inputs or hour, minute, and AM/PM controls, including break minutes and overnight spans.
- hours calculator
- elapsed time calculator
- time difference calculator
Choose direct 24-hour time entry or separate 12-hour AM/PM controls.
Enter HH:MM from 00:00 to 23:59.
Enter HH:MM from 00:00 to 23:59. An earlier end is treated as next day.
Optional non-working minutes subtracted from the gross duration.
Status: initial
Results
Awaiting calculation
8 hr 0 min net duration
09:00 to 17:30 on the 24-hour clock is 8 hours 30 minutes; subtracting 0 break minutes gives 8.00 decimal hours.
- Net duration480 minutes
- Decimal hours8 hours
Use the elapsed time result
- 1Choose the correct clock format and verify AM or PM when using the 12-hour controls.
- 2Subtract only breaks that should not count toward the net duration.
- 3Use decimal hours for timesheets only after checking the employer's rounding policy.
Start and end treated as the same day. This tool does not apply payroll rounding, time-zone, or daylight-saving rules.
Time Duration Calculator with 12-hour and 24-hour clocks
Calculate elapsed clock time from either 24-hour HH:MM values or separate 12-hour hour, minute, and AM/PM controls. The result shows gross and net duration, decimal hours, overnight handling, and calculation steps. The calculator converts both clock readings to minutes, rolls an earlier end time into the next day, and then separates gross elapsed time from the net duration after breaks.
When to use this time duration calculator
Use it for work shifts, study blocks, travel timing, appointment gaps, and simple payroll hour checks. Use it for a single interval of less than 24 hours. Payroll rules, paid-break policies, time zones, and daylight-saving changes require separate verification.
How the calculation works
Gross duration = end time - start time, with overnight spans adding 24 hours. Net duration subtracts break minutes. An end time earlier than the start time is treated as next-day time by adding 1,440 minutes before subtracting the start and any break minutes.
Variable explanations
Understand what each input and result means before calculating.
Clock format
Enter clock format carefully because this value directly affects the result.
Start time
Enter start time carefully because this value directly affects the result.
End time
Enter end time carefully because this value directly affects the result.
AM/PM period
Enter am/pm period carefully because this value directly affects the result.
Break minutes
Enter break minutes carefully because this value directly affects the result.
Gross minutes
Enter gross minutes carefully because this value directly affects the result.
Net minutes
Enter net minutes carefully because this value directly affects the result.
Reviewed by the Calculator.org.in Editorial Team
Formula behavior, validation cases, explanatory examples, and cited sources are checked before publication. This review supports educational accuracy and is not a substitute for qualified professional advice.
Last reviewed: 2026-08-25
Formula guide
See the calculation logic, variable definitions, and practical meaning.
Time Duration Calculator
Gross duration = end time - start time, with overnight spans adding 24 hours. Net duration subtracts break minutes.
- Clock format
- Start time
- End time
- AM/PM period
- Break minutes
- Gross minutes
- Net minutes
The calculator keeps the computation visible through labeled inputs, a primary result, and supporting checks so users can verify the answer before applying it.
Worked examples
Follow realistic inputs through the calculation step by step.
Worked example
Calculate a work shift
- 1Choose 24-hour format and enter 09:00 as the start and 17:30 as the end, or choose 12-hour format and select 9:00 AM to 5:30 PM.
- 2Enter 30 break minutes.
- 3Net duration is 480 minutes, or 8 decimal hours.
Worked example
Calculate an overnight shift
- 1Enter 22:00 as the start and 06:30 as the end.
- 2Treat 06:30 as occurring on the following day.
- 3Gross duration is 8 hours 30 minutes before breaks.
Worked example
Subtract a break from a study block
- 1Enter 13:15 to 16:45 with a 20-minute break.
- 2Gross duration is 210 minutes.
- 3Net duration is 190 minutes, or 3 hours 10 minutes.
Common mistakes
Avoid these common input and interpretation errors.
Entering 12-hour values while 24-hour mode is selected
Review this point before using the result in coursework, planning, purchasing, or documentation.
Forgetting unpaid breaks
Review this point before using the result in coursework, planning, purchasing, or documentation.
Not checking whether the time span crosses midnight
Review this point before using the result in coursework, planning, purchasing, or documentation.
Confusing 12 AM and 12 PM
12 AM is midnight and 12 PM is noon. The normalized-time outputs make the selected values explicit.
Applying payroll rules automatically
The calculator does not round punches, apply overtime, or determine paid breaks.
Frequently asked questions
Quick answers to the questions users ask most often.
What time format should I use?
Does it handle overnight time?
Can I select hours and AM or PM?
How are 12 AM and 12 PM converted?
Does an earlier end time mean the next day?
Does this account for daylight-saving time?
What happens if start and end times are equal?
Are decimal hours the same as hours and minutes?
References
Sources used to support the calculator guidance.
Related calculators
Continue with calculators that solve nearby problems.
Version history
A transparent record of calculator content updates.
- 1.2.0 · 2026-08-25
Added a selectable 12-hour workflow with hour choices, minute inputs, AM/PM controls, normalized times, calculation steps, and shared overnight handling.
- 1.1.0 · 2026-08-25
Added a result-aware gross and net duration summary, overnight context, decimal-hour guidance, and payroll rounding cautions.
- 1.0.0 · 2026-08-03
Initial calculator release with formula tests and SEO-ready content.
