Time Duration Calculator
Work out exactly how much time sits between two moments. Enter a start date and time and an end date and time, and this time duration calculator gives you the length between them as days, hours, minutes and seconds - plus the totals in weeks, days, hours, minutes and seconds. Only have two clock times, like 9:15 AM and 4:50 PM? Switch to Times only mode above and skip the dates entirely. No sign-up, no paid plans, and nothing you enter ever leaves your device.
Free for unlimited use | No sign-up | Works on phone, tablet and computer | Your numbers stay on your device
What this time duration calculator does
Plenty of calculators work with clock times inside a single day. A duration question is usually bigger than that. How long is the flight, door to door, when it leaves at 10:30 at night and lands the next morning? How many hours did a project actually span from the Monday it started to the Friday three weeks later? How long has it been since a date that matters to you? Each of those is a gap between two full moments - a date and a time at each end - and that is exactly what this time duration calculator measures.
Give it the start moment and the end moment and it returns the gap in the most useful shape: a breakdown in days, hours, minutes and seconds, and underneath it the same gap expressed as a single total in each unit - total weeks, total days, total hours, total minutes and total seconds. The breakdown is the human answer ("the trip took 1 day, 3 hours and 20 minutes"). The totals are the working numbers, the ones you feed into a cost estimate, a timesheet, a training log or a countdown. If you accidentally enter the end before the start, the calculator quietly swaps the two and tells you it did, because the length of the gap is the same either way round.
How to use the time duration calculator
- Pick a mode. "Dates and times" measures between two full moments; "Times only" measures between two clock times, with no dates to fill in.
- In Dates and times mode, enter the start date and time in the first box. If the starting moment is right now, press "Start = now" instead of typing. In Times only mode, just enter the two clock times.
- Enter the end date and time in the second box. The "End = now" button is the quick way to ask "how long has it been since...?". In Times only mode, an end time earlier than the start time is counted as crossing midnight, and the result says so.
- Press Calculate Duration.
- Read the breakdown first - days, hours, minutes and seconds - then use the totals line for whichever single unit you need.
Both boxes accept seconds, so short spans are measured properly too. A duration of ninety seconds between two timestamps comes out as 1 minute and 30 seconds, with a total of 90 seconds, rather than being rounded away. And because the inputs carry real dates, month lengths, leap years and year boundaries are all handled by the calendar itself - you never have to remember whether February had 28 or 29 days in the year you are measuring.
Duration, elapsed time and interval - what the words actually mean
Three words get used for almost the same idea, and it helps to know which one you are really asking about. A duration is simply a length of time: a film runs for 2 hours 10 minutes, a battery lasts 40 hours, a flight takes 7 hours 45 minutes. It does not matter when the thing starts; the duration is the size of the stretch itself. That is the number this calculator produces.
Elapsed time is a duration viewed from a starting point. When someone asks "how much time has elapsed since the meeting began?", they want the duration between the start of the meeting and now (or between the start and some end moment). Teachers use the term a lot, and so do project managers: elapsed time is always anchored to a real start, which is why this calculator asks for full dates and times rather than bare lengths.
An interval is the gap between two points or two events - the space in between. In everyday speech it often means the same as duration, and in a phrase like "at 20-minute intervals" it means the repeating gap between events. If you need the single gap between two moments, duration and interval give you the same number. If you need to add or subtract lengths of time rather than measure a gap, the time calculator on the home page is the better tool, and if your two moments are clock times inside one working day, the hours calculator strips out breaks and shows decimal hours for payroll.
How to work out a duration by hand
The by-hand method is subtraction with borrowing, done column by column: seconds from seconds, minutes from minutes, hours from hours, days from days. The catch is that the columns borrow in sixties and twenty-fours, not tens. Take a same-day example: from 09:42 to 17:18. The minutes column cannot do 18 minus 42, so borrow one hour from the 17, turning the end into 16:78. Now the sum works cleanly: 78 minus 42 is 36 minutes, and 16 minus 9 is 7 hours - a duration of 7 hours 36 minutes.
When the span crosses midnight, split it at midnight and add the two pieces. From 22:30 on Friday to 06:15 on Saturday: 22:30 to midnight is 1 hour 30 minutes, midnight to 06:15 is 6 hours 15 minutes, and the total is 7 hours 45 minutes. For spans of many days, count whole days between the dates first, then adjust for the time of day at each end - if the end time is earlier in the day than the start time, the last day is not complete and you take the difference off. It is all doable on paper, but every extra boundary - midnight, a month end, a leap day - is another chance to slip, which is the honest reason this page exists.
Worked examples
A flight that lands the next morning
A flight leaves on Friday, March 6, 2026 at 22:30 and lands on Saturday, March 7, 2026 at 06:15. Entered into the calculator, the duration is 7 hours 45 minutes - 0.32 days, or 465 minutes, or 27,900 seconds in total. Splitting at midnight, as in the by-hand method above, gives the same answer: 1 hour 30 minutes to midnight plus 6 hours 15 minutes after it. (This is the pure time gap between the two clock readings; airlines also cross time zones, which is why a timetable can make the same flight look shorter or longer on paper.)
A project from start to finish
A project kicks off on Monday, January 5, 2026 at 09:00 and is delivered on Friday, February 13, 2026 at 17:00. The duration is 39 days and 8 hours. The totals line is where this gets useful for planning: 5.62 weeks, 944 total hours, or 56,640 total minutes. If the project was budgeted at a fixed number of hours, comparing 944 elapsed hours against the hours the team actually logged is the quickest way to see how much of the calendar the work really occupied.
Time since a past date
To find how long it has been since something happened, put the past moment in the start box and press "End = now". As a fixed example: from June 15, 2023 at 14:30 to June 15, 2026 at the same time is exactly three years, and because 2024 was a leap year the duration is 1,096 days - 26,304 hours in total. Anniversaries, ages of buildings and businesses, time since a qualification or a move: all of them are this same sum, and the leap day is exactly the detail people forget when they count 365 three times and land a day short.
Counting down to an event
The mirror image works too: start = now, end = the future moment. From November 22, 2026 at 12:00 to December 25, 2026 at 00:00 is 32 days and 12 hours. Event planners, students facing an exam date and anyone watching a deadline all use the totals line here - total hours is the number that makes a countdown feel real, because 780 hours reads very differently from "about a month".
Common duration mistakes
AM and PM mix-ups. The single most common error. 11:30 PM to 12:30 AM is one hour, not thirteen. When you type times into this calculator, the date and the AM/PM choice travel together - a time after midnight belongs to the next day's date. If a duration comes out wildly longer or shorter than you expected, an AM/PM slip at one end is the first thing to check.
Treating midnight as an end-of-day time. Midnight is 00:00 at the start of a day, not 24:00 at the end of the previous one. A shift or a flight that ends "at midnight on Friday" ends at 00:00 on Saturday in calculator terms. Entering it as Friday 00:00 quietly removes a full day from the answer.
Forgetting the date when a span crosses midnight. Two clock times, 23:00 and 01:00, look like a negative gap until the dates are attached: 23:00 on one date to 01:00 on the next is a clean 2 hours. Any span that crosses midnight needs the end date to be the following day - this calculator forces that honesty by always asking for the date.
Date order confusion. 03/04/2026 means March 4 in the US and 3 April in most of the rest of the world. The date boxes on this page follow your own device settings, so the format you see is the format you are used to - but when you copy a date from a document written elsewhere, pause and check which convention wrote it.
Daylight saving changes. Twice a year the clocks jump, and a span crossing that jump contains one real hour more or less than the clock faces suggest. This calculator measures the actual timestamps on your device, so a duration across a spring-forward night comes out an hour shorter than the naive clock-face subtraction. For flights, shifts and deadlines planned across those weekends, that real elapsed figure is the one that matters.
Quick duration facts
| Question | Answer |
|---|---|
| How many seconds are in a day? | 86,400 seconds |
| How many hours are in a week? | 168 hours |
| How many minutes are in a week? | 10,080 minutes |
| How many days are in a leap year? | 366 days |
| What is 100,000 seconds in days? | 1 day, 3 hours, 46 minutes, 40 seconds |
| What is 1,000 hours in days? | 41 days and 16 hours |
Which calculator should you use?
| Your question | Use this tool |
|---|---|
| How much time is between two dates and times? | The time duration calculator on this page |
| Add or subtract lengths of time, or add time to a date | Time calculator |
| How many hours between a start and an end time at work? | Hours calculator |
| How many days between two dates, or a date plus 90 days? | Date calculator |
| Convert hours and minutes into decimal hours for payroll | Decimal hours converter |
Frequently asked questions
Is this time duration calculator free?
Yes. It is free to use as often as you like, with no sign-up, no download and no limit on calculations.
What is the difference between duration and elapsed time?
They describe the same measurement from two angles. A duration is the length of a stretch of time, such as a flight lasting 7 hours 45 minutes. Elapsed time is that same length measured from a starting moment up to now or up to an end moment - how much time has elapsed since something began.
Can this calculator handle durations longer than 24 hours?
Yes. Because both inputs are full dates with times, the calculator handles spans of days, weeks, months or years just as easily as a few minutes, and the result includes total weeks and total days alongside the breakdown.
What happens if I enter the end before the start?
The calculator swaps the two moments automatically and tells you it did so. The duration between two moments is the same whichever way round they are entered, so you still get the correct length of time.
Does the result include seconds?
Yes. Both inputs accept seconds, the breakdown shows seconds, and the totals line includes the full duration in seconds as well as in minutes, hours, days and weeks.
Is my data private?
Yes. The calculation runs in your browser on your own device. The dates and times you enter are not sent to a server or stored by us.
All time calculators
Time Calculator
Add or subtract days, hours, minutes and seconds, add time to a date, or work out a full time expression in one line.
Open the time calculatorHours Calculator
Work out the hours between two times, with a break taken off and the answer in hours and minutes plus decimal hours.
Open the hours calculatorWork Time Calculator
Add up a week of work time with lunch breaks, your rounding rule, decimal totals and gross pay. Your entries save on your device.
Open the work time calculatorTime Card Calculator
A full weekly or biweekly time card with lunch punches, overtime, gross pay, a printable report and a spreadsheet export.
Open the time card calculatorTime Sheet Calculator
Total a full timesheet of daily start and end times, with breaks, rounding and pay worked out for the whole period.
Open the time sheet calculatorDate Calculator
Count the days between two dates, or find the date a set number of days before or after any day you choose.
Open the date calculatorDecimal Hours Converter
Convert hours and minutes into decimal hours for payroll, and back again, with a full conversion chart.
Open the decimal hours converterOvertime Calculator
Work out overtime pay past 40 hours at time and a half or double time, with regular and overtime pay split out.
Open the overtime calculatorMilitary Time Converter
Convert between regular time and military (24-hour) time instantly, with a full chart for every hour of the day.
Open the military time converterPrintable Timesheet Template
Free printable weekly and biweekly timesheet templates you can fill in by hand or on screen and print.
Get the timesheet templateSalary to Hourly Calculator
Turn a yearly salary into an hourly rate, or an hourly rate into a salary, based on your real working week.
Open the salary to hourly calculatorDuration guides
How to Calculate the Duration Between Two Times
The full method, step by step: borrowing in sixties, splitting at midnight, and checking the answer the quick way.
Read the guideHow Long Has It Been? Working Out Time Since an Event
Anniversaries, ages and "how long since" questions answered properly, leap years included.
Read the guideHow to Work Out a Flight Duration
Departure and arrival times, overnight legs and why the clock on the ticket rarely tells the whole story.
Read the guideHow to Calculate Hours Between Two Dates
When a span runs past a single day, here is how to turn it into total hours without losing a day at the edges.
Read the guideHow to Calculate the Time Until an Event
Countdowns for deadlines, exams and events - in days, and in the total hours that make it feel real.
Read the guideDuration Mistakes With AM, PM and Midnight
The errors that quietly wreck duration sums, and the quick checks that catch every one of them.
Read the guide