Date & Time Calculator

Time Duration Calculator

Calculate elapsed time between two times, including durations that pass midnight.

Calculator

Results

Duration
8 hours 15 minutes
Minutes495
Decimal hours8.25
Seconds29700
Results are calculated instantly in your browser using the inputs shown. Date and time calculations follow the stated assumptions below.

How it works

Calculate elapsed time between two times, including durations that pass midnight.

Duration = end time − start time; when overnight mode is enabled, 24 hours are added if the end time is earlier.

Example

ExampleResult
09:30 to 17:458 hours 15 minutes.

Important notes

  • Calendar calculations use Gregorian calendar rules.
  • Business-day calculations exclude Saturday and Sunday unless stated otherwise.
  • Time-zone calculations depend on the browser's IANA time-zone data.
  • For planning purposes, verify dates and times when a contractual or legal deadline is involved.

Frequently Asked Questions

Does this handle overnight shifts?

Yes, if the end time is earlier and overnight mode is enabled.

How to use this calculator

What to enter

Enter or select the following as requested: Start time; End time; If end is earlier. Follow the units, valid ranges, examples, and options displayed beside each field.

What the result means

The date or duration result is calculated from the entered dates, times, calendar rules, and exclusions. Check inclusive versus exclusive counting, time zone, daylight-saving changes, and whether weekends or holidays are excluded.

When to use it

Use this to plan a date, measure elapsed time, or estimate a deadline. Verify the relevant calendar, location, and legal or workplace rules when they affect the answer.