Date Calculator
Work out the days between two dates, or add and subtract days from a date, with a years, months, and days breakdown.
Open tool →Work out the time between two times on the same day, or add and subtract hours and minutes from any time. See the answer in hours and minutes.
Last updated: 17 November 2026.
510 minutes in total, 8.5 hours as a decimal
3 hours 45 minutes added to 16:30
The calculator runs fully in your browser. Nothing you type is uploaded or stored. Times use the 24-hour clock, and the between-times mode works within one day.
A time duration calculator works out how much time passes between two points, or what time you get when you add or subtract hours and minutes. Type in two times, such as 09:00 and 17:30, and it tells you the gap is 8 hours and 30 minutes. The sum sounds small, but working across the 60 minute hour in your head is easy to get wrong.
The tool has two modes. The first finds the time between two times on the same day, which covers work shifts, school hours, and travel time. The second adds or subtracts a length of time from a starting time, which answers questions such as what time it will be 3 hours and 45 minutes from now. Both modes show the answer in hours and minutes, so the result is easy to read at a glance.
People reach for this kind of calculator every day: a nurse checks a shift, a parent works out how long a child slept, and a traveller checks the time left before a flight.
Put your earlier time in the start field and your later time in the end field, then press Calculate duration. The calculator subtracts the start time from the end time and shows the gap in hours and minutes. For example, 09:00 to 17:30 is 8 hours and 30 minutes.
If you want to do the same sum by hand, turn both times into minutes first. 09:00 is 540 minutes after midnight, and 17:30 is 1050 minutes. Subtract 540 from 1050 to get 510 minutes. Then divide by 60: 510 divided by 60 is 8 hours with 30 minutes left over.
The between-times mode works within one day, so the end time must be later than the start time. If your span runs past midnight, split it into two parts. A shift from 22:00 to 06:00 is 2 hours up to midnight plus 6 hours after midnight, which is 8 hours in total. If you need the days between two dates instead, the date calculator on this site handles that step.
Switch to the Add or subtract time mode. Type your starting time, then type the hours and minutes to add or subtract, and pick Add or Subtract from the list. Press Work out new time, and the calculator shows the new time in 24-hour form, along with a plain sentence that says what was added or taken away.
Adding time is useful when you plan ahead. If a film starts at 19:20 and runs for 2 hours and 35 minutes, adding the two gives an end time of 21:55. Subtracting time works the other way. If you must leave at 08:00 and the trip takes 1 hour and 20 minutes, subtract to find that you should set off at 06:40.
When the result crosses midnight, the calculator says so clearly. Adding 3 hours to 22:30 gives 01:30 on the next day, and subtracting 2 hours from 01:00 gives 23:00 on the day before. For a longer span measured in days rather than hours, the age calculator shows exact years, months, and days between two dates of birth.
Work is the most common use. Many jobs pay by the hour, so knowing the exact length of a shift matters for pay and for rest. A shift from 07:30 to 15:45 is 8 hours and 15 minutes, and a week of such shifts adds up to a clear total. Students use the same sum to plan study blocks, and parents use it to work out sleep. A child who goes to bed at 20:00 and wakes at 06:30 has slept for 10 hours and 30 minutes.
Travel and cooking are close behind. A flight that leaves at 10:15 and lands at 13:40 takes 3 hours and 25 minutes in the air, and a train change with a 40 minute gap is easy to check before you book. In the kitchen, a roast that goes in at 12:00 and needs 2 hours and 20 minutes will be ready at 14:20.
Time has two common forms, and mixing them up causes most mistakes. Hours and minutes is the everyday form, such as 2 hours and 30 minutes. Decimal hours is the form many timesheets and payroll systems use, where the same span is written as 2.5 hours. Each 15 minutes is 0.25 of an hour, each 30 minutes is 0.5, and each 45 minutes is 0.75.
To turn minutes into a decimal, divide the minutes by 60. 90 minutes divided by 60 is 1.5 hours. To turn a decimal back into minutes, multiply by 60. 1.75 hours times 60 is 105 minutes, which is 1 hour and 45 minutes. This calculator shows both forms for every answer, so you can copy the one your form asks for without doing the conversion yourself.
Rounding matters when a result is not exact. A duration of 1 hour and 37 minutes is 1.62 hours as a decimal. This tool shows the decimal rounded to two places.
Put 09:00 in the start time field and 17:30 in the end time field, then press Calculate. The answer is 8 hours and 30 minutes, which is 510 minutes in total. The calculator counts from the start time up to the end time on the same day.
This calculator works with times on the same day, so the end time must be later than the start time. If your end time is earlier, check whether you typed the times the right way round. For a shift that runs past midnight, split it into two parts, up to midnight and after midnight, and add the two answers together.
Yes. Switch to the Add or subtract time mode, enter your starting time, then type the hours and minutes to add or subtract. The calculator shows the new time, and it tells you if the result falls on the next day or the day before.
90 minutes is 1 hour and 30 minutes, which is 1.5 hours as a decimal. To turn minutes into hours, divide by 60. To turn hours into minutes, multiply by 60. This calculator shows both forms, so you do not need to convert by hand.
No. The calculator runs fully in your browser with plain JavaScript. The times you type are never uploaded, never sent to a server, and never stored. You can close the page and nothing about your times remains.