Time Duration Calculator

Calculate the time duration between two dates and times, with results in days, hours, minutes, and total hours.

Calculate Time Duration

Duration

  • Duration = End Date/Time − Start Date/Time

Conversions

  • Total hours = milliseconds ÷ 3,600,000
  • Total minutes = milliseconds ÷ 60,000

From 9:00 AM to 5:30 PM on the same day is 8 hours and 30 minutes.

Select a start date/time and an end date/time. The calculator subtracts the start from the end and converts the result.

Use it for work shifts, travel times, project tracking, events, and time logs.

Make sure the end time is after the start time unless you intentionally want a negative duration warning.

Examples

Example 1: Work Shift

Start: 09:00
End: 17:30

Duration: 8h 30m

Example 2: Multi-day

Start Monday 10:00
End Tuesday 12:00

Duration: 1d 2h

Example 3: Short Time

Start: 14:15
End: 15:00

Duration: 45m
ADVERTISEMENTAd Slot 3 - In-content Leaderboard728x90

When to Use This Calculator

  • Calculate work hours
  • Track project duration
  • Measure event length
  • Plan travel time
  • Compare start and end times

How It Works

  • Choose start date and time.
  • Choose end date and time.
  • The calculator returns days, hours, minutes, and total hours.

Common Mistakes

  • Entering end time before start time
  • Ignoring date when time crosses midnight
  • Forgetting time zone differences
  • Rounding minutes incorrectly

Related Calculators

Frequently Asked Questions

Can this calculate across multiple days?

Yes. Use date and time fields for both start and end.

What happens if the end is before the start?

The calculator will show that the end must be after the start.

Can I use it for work hours?

Yes. It is useful for work shifts and time logs.

Does it include breaks?

No. Subtract breaks manually from the final duration if needed.

ADVERTISEMENTAd Slot 4 - Footer Leaderboard728x90