Skip to main content

Time Duration Calculator

Add, subtract, and calculate durations between times.

How it works

  1. 1

    Choose a mode

    Select "Add / Subtract" to combine times or "Duration Between" to find elapsed time.

  2. 2

    Enter times

    Fill in hours, minutes, and seconds for your calculation.

  3. 3

    Read the result

    View the answer in multiple formats and copy what you need.

Common use cases

  • Add meeting durations

    1h 30m + 2h 45m

  • Night shift duration

    Start 22:00, End 06:30, crosses midnight

About This Tool

Calculate the duration between two clock times or add and subtract hours, minutes, and seconds with the Time Duration Calculator. This tool is purpose-built for working with time-of-day values — the hours, minutes, and seconds that make up a day — as opposed to calendar dates. Whether you need to total up billable hours on a timesheet, figure out how long a shift lasted, plan travel time, or add up the durations of multiple meetings, this calculator handles the arithmetic instantly and accurately.

The calculator offers two primary modes. In "Duration Between" mode, you enter a start time and an end time, and the tool computes the exact elapsed duration. It correctly handles overnight spans that cross midnight — for example, a night shift from 10:00 PM to 6:30 AM is correctly calculated as 8 hours and 30 minutes. Simply enable the "Crosses midnight" option when the end time falls on the following day.

In "Add / Subtract" mode, you can combine multiple time durations arithmetically. This is ideal for totaling up meeting lengths, summing billable sessions, or computing net work time after subtracting breaks. For example, adding 1 hour 30 minutes plus 2 hours 45 minutes plus 50 minutes gives 5 hours and 5 minutes. The calculator handles minute and second overflow automatically, so you never need to manually carry values.

Results are displayed in multiple formats simultaneously: standard hours:minutes:seconds (e.g., 8:30:00), decimal hours (e.g., 8.50h), total minutes (e.g., 510), and total seconds (e.g., 30,600). The decimal hours format is particularly valuable for timesheet and billing systems, which typically require hours expressed as decimals rather than hours and minutes. Each format can be copied to your clipboard with a single click.

Common use cases are numerous and span both personal and professional contexts. Employees and freelancers use it to calculate daily work hours for timesheets. Shift workers use it to determine the length of their shifts, including overnight shifts. Fitness enthusiasts use it to total exercise durations across multiple sessions. Event planners use it to build agendas by adding session lengths. Students use it to track study time. Travelers use it to estimate journey durations. Cooks use it to add up recipe preparation times. The applications are virtually limitless.

It is important to distinguish this tool from the Date Difference Calculator. The Date Difference Calculator works with calendar dates (e.g., "March 1 to April 15") and counts days, weeks, and months. The Time Duration Calculator works with clock times (e.g., "9:15 AM to 5:30 PM") and counts hours, minutes, and seconds. For durations within a single day or spanning overnight, this is the right tool. For durations spanning multiple calendar dates, use the Date Difference Calculator.

All calculations run locally in your browser. No data is transmitted to any server, no account is required, and the tool is completely free with no usage limits. The interface is responsive and works on all screen sizes, from desktop monitors to mobile phones.

More examples

Examples

Add meeting durations

Input

1h 30m + 2h 45m

Output

4h 15m 0s (4.25 hours)

Night shift duration

Input

Start 22:00, End 06:30, crosses midnight

Output

8h 30m 0s
Frequently Asked Questions
Can I calculate time across midnight?
Yes. In Duration Between mode, check the "Crosses midnight" option when the end time is the next day (e.g., 11 PM to 6 AM = 7 hours). The calculator correctly adds 24 hours to the end time before computing the difference.
What formats does the result show?
Hours:minutes:seconds, decimal hours (e.g., 5.39h), total minutes, and total seconds. Each format can be copied to your clipboard with a single click. The decimal hours format is especially useful for timesheets and billing.
Can I chain multiple operations?
Currently you can perform one operation at a time. Use the result as input for the next calculation to chain operations manually. For adding multiple durations together, use the Add / Subtract mode with successive entries.
Is this the same as the Date Difference Calculator?
No. The Date Difference Calculator works with calendar dates (days, weeks, months). This tool works with clock times (hours, minutes, seconds). Use this for time-of-day calculations and the Date Difference Calculator for date span calculations.
How do I calculate hours between two times?
Switch to "Duration Between" mode, enter the start time and end time, and the calculator shows the exact hours, minutes, and seconds between them. If the end time is the next day (e.g., 10 PM to 6 AM), enable "Crosses midnight".
How do I convert time duration to decimal hours?
The calculator automatically shows your result in decimal hours alongside the standard hours:minutes:seconds format. For example, 2 hours 15 minutes = 2.25 decimal hours — useful for timesheets and billing systems that require decimal input.
Can I add multiple time durations together?
Use "Add / Subtract" mode. Enter the first duration, then add the second. For example, 1h 30m + 2h 45m + 0h 50m = 5h 05m. The calculator handles minute and second overflow automatically — no manual carrying needed.

Learn More

Related Guides

Discover More Tools

View all Date & Time Tools →