Time Duration Calculator

Calculate time duration instantly with this free online time duration calculator.

Use the tool below to calculate the time between two dates and times, subtract break time, add a duration to a date and time or subtract a duration from a date and time.

Example: From 09:00 to 17:30 with a 30-minute break = 8 hours.

Duration 0 seconds

Choose a calculation type and enter your values.

Days 0
Hours 0
Minutes 0
Seconds 0
Decimal hours 0
Decimal days 0

What is a Time Duration Calculator?

A time duration calculator is an online tool that calculates the amount of time between two dates and times. It can also add or subtract a duration from a selected date and time.

Instead of manually counting hours, minutes, days or seconds, you can enter your values and get the result instantly.

This time duration calculator runs directly in your browser and processes the calculation locally.

What can you use it for?

You can use this time duration calculator to calculate work shifts, study sessions, travel times, event durations, project time, countdowns, deadlines, breaks, elapsed time and time differences between two moments.

The calculator can show the result in days, hours, minutes, seconds, decimal hours and decimal days.

How to use the Time Duration Calculator

Step 1: Choose the calculation type

Select the time calculation you need.

You can calculate:

  • Time between two dates and times
  • Add a duration to a date and time
  • Subtract a duration from a date and time

Step 2: Enter your dates, times or duration

For a time difference, enter the start date and time and the end date and time.

For adding or subtracting time, enter the base date and time and the duration in days, hours, minutes and seconds.

Step 3: Add break time if needed

If you are calculating a work shift or timed session, you can subtract break hours and minutes from the total duration.

Step 4: Calculate the result

Click the calculate button to see the duration or resulting date and time instantly.

Time duration results

This calculator can show:

  • Duration in days, hours, minutes and seconds
  • Total seconds
  • Decimal hours
  • Decimal days
  • Date and time after adding a duration
  • Date and time after subtracting a duration
  • Duration after subtracting break time

Time between two dates and times

The time between two dates and times is calculated by subtracting the start date and time from the end date and time.

For example:

From 09:00 to 17:30 = 8 hours and 30 minutes

If you subtract a 30-minute break, the final duration is 8 hours.

Add or subtract time

You can also use the calculator to add or subtract a duration from a specific date and time.

Examples:

Add 2 days and 5 hours to Monday at 10:00.

Subtract 3 hours and 20 minutes from Friday at 18:00.

This is useful for deadlines, planning, schedules, travel, events and time tracking.

Decimal hours

Decimal hours convert time into a number format.

For example:

  • 30 minutes = 0.5 hours
  • 45 minutes = 0.75 hours
  • 1 hour 30 minutes = 1.5 hours
  • 8 hours 15 minutes = 8.25 hours

Decimal hours are useful for timesheets, billing, payroll, freelance work and productivity tracking.

Common use cases

For work shifts

Calculate the duration of a work shift and subtract break time.

For timesheets

Convert time duration into decimal hours for reports, invoices or payroll.

For study sessions

Measure how long a study session lasted.

For travel planning

Calculate the time between departure and arrival.

For events

Calculate the duration of meetings, classes, appointments, shows or activities.

For deadlines

Add or subtract time from a date and time to plan deadlines or reminders.

Related tools

Is this Time Duration Calculator free?

Yes. This time duration calculator is completely free to use.

No. Your dates and times are processed directly in your browser. They are not uploaded, saved or stored.

Yes. You can enter a start date and time and an end date and time to calculate the duration.

Yes. You can enter break hours and minutes to subtract them from the total duration.

Yes. You can add days, hours, minutes and seconds to a selected date and time.

Yes. You can subtract days, hours, minutes and seconds from a selected date and time.

Yes. The calculator shows decimal hours and decimal days.

Yes. It can be used to calculate work shifts, breaks and total worked time.

Yes. You can copy the time duration result to your clipboard.

Explore more text tools

Need more simple utilities? Explore our collection of free text tools to count words, clean text, remove duplicates, generate slugs and format content faster.

Scroll al inicio