Time Calculator
Find the time between two times or add and subtract time or work out hours worked. Convert time to decimal and military time in one place.
Time Calculator
Choose what you want to work out.
Leave both dates empty for a same day or overnight count. Add both dates to count across several days.
Set overtime to 0 for no overtime. An overnight shift is counted past midnight.
Result
The calculation runs in your browser. The times you type are not sent to our server.
A time calculator does the time math you would otherwise do on paper. It finds the time between two times and the hours worked on a shift. It adds and subtracts hours and minutes. It also converts time to decimal hours and military time to standard time and back.
How to use the time calculator
- Pick a tab. Time between and Hours worked and Add or subtract and Time to decimal and Military time each answer a different question.
- Enter your times. The boxes use your device clock format.
- Press the button. The answer appears below with a short breakdown.
- Press Copy result to paste the answer anywhere.
How to calculate the time between two times
To find the time between two times subtract the start time from the end time. If the end time is earlier than the start time the count runs past midnight so the tool adds 24 hours. This works as an elapsed time calculator for a drive or a call or a study session. Add both dates when the span is longer than a day.
| From | To | Time between | Decimal hours |
|---|---|---|---|
| 9:15 AM | 4:45 PM | 7 hours 30 minutes | 7.50 |
| 8:20 AM | 5:05 PM | 8 hours 45 minutes | 8.75 |
| 10:00 PM | 6:00 AM | 8 hours 0 minutes | 8.00 |
| 1:10 PM | 1:55 PM | 0 hours 45 minutes | 0.75 |
| 12:00 AM | 11:59 PM | 23 hours 59 minutes | 23.98 |
You can also do it by hand. Subtract the minutes first. If the end minutes are smaller borrow 60 minutes from the hours. For 8:50 AM to 11:20 AM the minutes are 20 minus 50 so borrow an hour. That gives 80 minus 50 which is 30 minutes and the hours are 10 minus 8 which is 2. The answer is 2 hours 30 minutes.
How to calculate hours worked
Hours worked are the end time minus the start time minus any unpaid break. Use the Hours worked tab and enter the break in minutes. The result shows the hours and minutes and the decimal hours that payroll uses. Add an hourly rate to see the pay for the day. Set the days worked to get a total for a week or a pay period.
This table shows common shifts. The last two columns take away a 30 minute break and a 1 hour break.
| Start | End | Total | Decimal | With 30 minute break | With 1 hour break |
|---|---|---|---|---|---|
| 6:00 AM | 2:00 PM | 8 hours 0 minutes | 8.00 | 7.50 | 7.00 |
| 7:00 AM | 3:00 PM | 8 hours 0 minutes | 8.00 | 7.50 | 7.00 |
| 7:00 AM | 3:30 PM | 8 hours 30 minutes | 8.50 | 8.00 | 7.50 |
| 7:00 AM | 4:00 PM | 9 hours 0 minutes | 9.00 | 8.50 | 8.00 |
| 8:00 AM | 4:00 PM | 8 hours 0 minutes | 8.00 | 7.50 | 7.00 |
| 8:00 AM | 4:30 PM | 8 hours 30 minutes | 8.50 | 8.00 | 7.50 |
| 8:00 AM | 5:00 PM | 9 hours 0 minutes | 9.00 | 8.50 | 8.00 |
| 9:00 AM | 5:00 PM | 8 hours 0 minutes | 8.00 | 7.50 | 7.00 |
| 9:00 AM | 6:00 PM | 9 hours 0 minutes | 9.00 | 8.50 | 8.00 |
| 10:00 AM | 5:00 PM | 7 hours 0 minutes | 7.00 | 6.50 | 6.00 |
| 10:00 AM | 6:00 PM | 8 hours 0 minutes | 8.00 | 7.50 | 7.00 |
| 11:00 AM | 7:00 PM | 8 hours 0 minutes | 8.00 | 7.50 | 7.00 |
| 12:00 PM | 8:00 PM | 8 hours 0 minutes | 8.00 | 7.50 | 7.00 |
| 3:00 PM | 11:00 PM | 8 hours 0 minutes | 8.00 | 7.50 | 7.00 |
| 7:00 PM | 7:00 AM | 12 hours 0 minutes | 12.00 | 11.50 | 11.00 |
| 11:00 PM | 7:00 AM | 8 hours 0 minutes | 8.00 | 7.50 | 7.00 |
So 9 to 5 is 8 hours before a break and 7 hours with a 1 hour lunch. 8 to 5 is 9 hours before a break and 8 hours with a 1 hour lunch. 8 AM to 4 PM is 8 hours. 10 AM to 5 PM is 7 hours.
How to calculate overtime
Overtime is the time worked beyond a set limit and it usually pays more. Set the limit in the Overtime after box and the pay multiplier in the Overtime rate box. Many employers pay overtime after 40 hours in a week and some places add daily rules. This tool applies a daily limit that you choose so check the rules that apply to you.
| Shift | Break | Hourly rate | Hours worked | Regular | Overtime | Pay for the day |
|---|---|---|---|---|---|---|
| 8:00 AM to 6:30 PM | 30 minutes | 20 | 10 | 8 | 2 | 220.00 |
| 7:00 AM to 5:00 PM | 60 minutes | 25 | 9 | 8 | 1 | 237.50 |
| 9:00 AM to 9:00 PM | 60 minutes | 18 | 11 | 8 | 3 | 225.00 |
The pay in the table uses an 8 hour limit and a rate of 1.5 times for overtime.
How to add and subtract time
Use the Add or subtract tab to find what time it will be after a number of hours and minutes and seconds. Enter the start time and the amount and pick Add or Subtract. You can add a date to see the exact day it lands on. This answers what time will it be in 2 hours or what time was it 90 minutes ago.
| Question | Answer |
|---|---|
| 9:00 AM plus 2 hours 30 minutes | 11:30 AM |
| 11:45 PM plus 45 minutes | 12:30 AM the next day |
| 3:00 PM minus 90 minutes | 1:30 PM |
| 12:15 AM minus 30 minutes | 11:45 PM the day before |
| 6:30 AM plus 8 hours | 2:30 PM |
What time will it be in 2 hours or 30 minutes from now
This table shows the clock time after each wait counted from this moment. It uses the clock on your device and refreshes every few seconds. The buttons in the calculator start from the time now as well.
| Wait | Time then | Day |
|---|---|---|
| 5 minutes from now | ... | ... |
| 10 minutes from now | ... | ... |
| 15 minutes from now | ... | ... |
| 20 minutes from now | ... | ... |
| 30 minutes from now | ... | ... |
| 45 minutes from now | ... | ... |
| 1 hour from now | ... | ... |
| 1 hour 30 minutes from now | ... | ... |
| 2 hours from now | ... | ... |
| 3 hours from now | ... | ... |
| 4 hours from now | ... | ... |
| 5 hours from now | ... | ... |
| 6 hours from now | ... | ... |
| 8 hours from now | ... | ... |
| 10 hours from now | ... | ... |
| 12 hours from now | ... | ... |
How to convert time to decimal hours
Timesheets often need decimal hours. To convert time to decimal divide the minutes by 60 and add the result to the hours. So 7 hours 45 minutes is 7 plus 45 divided by 60 which is 7.75 hours. To go back multiply the decimal part by 60. So 0.75 hours is 45 minutes. Use the Time to decimal tab for either direction.
| Hours and minutes | Decimal hours |
|---|---|
| 7 hours 45 minutes | 7.75 |
| 8 hours 20 minutes | 8.33 |
| 6 hours 10 minutes | 6.17 |
| 37 hours 30 minutes | 37.50 |
| Decimal hours | Hours and minutes |
|---|---|
| 0.25 | 0 hours 15 minutes |
| 0.5 | 0 hours 30 minutes |
| 0.75 | 0 hours 45 minutes |
| 7.25 | 7 hours 15 minutes |
| 7.33 | 7 hours 20 minutes |
| 8.8 | 8 hours 48 minutes |
Minutes to decimal hours chart
Use this chart to turn any number of minutes into decimal hours. Values are rounded to two decimal places.
| Minutes | Decimal hours |
|---|---|
| 1 | 0.02 |
| 2 | 0.03 |
| 3 | 0.05 |
| 4 | 0.07 |
| 5 | 0.08 |
| 6 | 0.10 |
| 7 | 0.12 |
| 8 | 0.13 |
| 9 | 0.15 |
| 10 | 0.17 |
| 11 | 0.18 |
| 12 | 0.20 |
| 13 | 0.22 |
| 14 | 0.23 |
| 15 | 0.25 |
| 16 | 0.27 |
| 17 | 0.28 |
| 18 | 0.30 |
| 19 | 0.32 |
| 20 | 0.33 |
| 21 | 0.35 |
| 22 | 0.37 |
| 23 | 0.38 |
| 24 | 0.40 |
| 25 | 0.42 |
| 26 | 0.43 |
| 27 | 0.45 |
| 28 | 0.47 |
| 29 | 0.48 |
| 30 | 0.50 |
| 31 | 0.52 |
| 32 | 0.53 |
| 33 | 0.55 |
| 34 | 0.57 |
| 35 | 0.58 |
| 36 | 0.60 |
| 37 | 0.62 |
| 38 | 0.63 |
| 39 | 0.65 |
| 40 | 0.67 |
| 41 | 0.68 |
| 42 | 0.70 |
| 43 | 0.72 |
| 44 | 0.73 |
| 45 | 0.75 |
| 46 | 0.77 |
| 47 | 0.78 |
| 48 | 0.80 |
| 49 | 0.82 |
| 50 | 0.83 |
| 51 | 0.85 |
| 52 | 0.87 |
| 53 | 0.88 |
| 54 | 0.90 |
| 55 | 0.92 |
| 56 | 0.93 |
| 57 | 0.95 |
| 58 | 0.97 |
| 59 | 0.98 |
| 60 | 1.00 |
Military time converter and chart
Military time is the 24 hour clock. It writes the time as four digits with no colon and no AM or PM. Midnight is 0000 and noon is 1200. To convert standard time to military time keep the hour for AM times and add 12 for PM times. The exceptions are 12 AM which becomes 00 and 12 PM which stays 12. To go back subtract 12 from any hour above 12. So 1830 is 6:30 PM. Use the Military time tab for either direction.
| Standard time | Military time | Spoken | Half past | Military time |
|---|---|---|---|---|
| 12:00 AM | 0000 | zero hundred hours | 12:30 AM | 0030 |
| 1:00 AM | 0100 | zero one hundred hours | 1:30 AM | 0130 |
| 2:00 AM | 0200 | zero two hundred hours | 2:30 AM | 0230 |
| 3:00 AM | 0300 | zero three hundred hours | 3:30 AM | 0330 |
| 4:00 AM | 0400 | zero four hundred hours | 4:30 AM | 0430 |
| 5:00 AM | 0500 | zero five hundred hours | 5:30 AM | 0530 |
| 6:00 AM | 0600 | zero six hundred hours | 6:30 AM | 0630 |
| 7:00 AM | 0700 | zero seven hundred hours | 7:30 AM | 0730 |
| 8:00 AM | 0800 | zero eight hundred hours | 8:30 AM | 0830 |
| 9:00 AM | 0900 | zero nine hundred hours | 9:30 AM | 0930 |
| 10:00 AM | 1000 | ten hundred hours | 10:30 AM | 1030 |
| 11:00 AM | 1100 | eleven hundred hours | 11:30 AM | 1130 |
| 12:00 PM | 1200 | twelve hundred hours | 12:30 PM | 1230 |
| 1:00 PM | 1300 | thirteen hundred hours | 1:30 PM | 1330 |
| 2:00 PM | 1400 | fourteen hundred hours | 2:30 PM | 1430 |
| 3:00 PM | 1500 | fifteen hundred hours | 3:30 PM | 1530 |
| 4:00 PM | 1600 | sixteen hundred hours | 4:30 PM | 1630 |
| 5:00 PM | 1700 | seventeen hundred hours | 5:30 PM | 1730 |
| 6:00 PM | 1800 | eighteen hundred hours | 6:30 PM | 1830 |
| 7:00 PM | 1900 | nineteen hundred hours | 7:30 PM | 1930 |
| 8:00 PM | 2000 | twenty hundred hours | 8:30 PM | 2030 |
| 9:00 PM | 2100 | twenty one hundred hours | 9:30 PM | 2130 |
| 10:00 PM | 2200 | twenty two hundred hours | 10:30 PM | 2230 |
| 11:00 PM | 2300 | twenty three hundred hours | 11:30 PM | 2330 |
Say the first two digits as a number and then the last two. 1830 is eighteen thirty hours. 0800 is zero eight hundred hours.
How to calculate average time
To find an average time add all the durations and divide by how many there are. Turn each duration into minutes to make this easy. Take 1 hour 30 minutes and 2 hours and 2 hours 30 minutes. Those are 90 and 120 and 150 minutes. The total is 360 minutes and dividing by 3 gives 120 minutes. The average is 2 hours.
Need minutes and hours and seconds as units
This calculator works with clock times and shifts. If you only want to convert units such as minutes to hours or hours to seconds use the Time Converter.
Other tools for dates and time
- Need the number of days between two dates? Use Days Between Dates.
- Want the date that is 90 days from today? Use the Date Calculator.
- Counting down to an event with a live clock? Use the Countdown Calculator.
- Need working days only? Use the Business Days Calculator.
- Working out how old someone is? Use the Age Calculator.
Frequently asked questions
Built and maintained by the Toolnix team. Last updated November 2026.