Skip to main content

Home  ›  Time and Date  ›  Time Calculator
Free and Instant

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.

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

  1. Pick a tab. Time between and Hours worked and Add or subtract and Time to decimal and Military time each answer a different question.
  2. Enter your times. The boxes use your device clock format.
  3. Press the button. The answer appears below with a short breakdown.
  4. 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.

FromToTime betweenDecimal hours
9:15 AM4:45 PM7 hours 30 minutes7.50
8:20 AM5:05 PM8 hours 45 minutes8.75
10:00 PM6:00 AM8 hours 0 minutes8.00
1:10 PM1:55 PM0 hours 45 minutes0.75
12:00 AM11:59 PM23 hours 59 minutes23.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.

StartEndTotalDecimalWith 30 minute breakWith 1 hour break
6:00 AM2:00 PM8 hours 0 minutes8.007.507.00
7:00 AM3:00 PM8 hours 0 minutes8.007.507.00
7:00 AM3:30 PM8 hours 30 minutes8.508.007.50
7:00 AM4:00 PM9 hours 0 minutes9.008.508.00
8:00 AM4:00 PM8 hours 0 minutes8.007.507.00
8:00 AM4:30 PM8 hours 30 minutes8.508.007.50
8:00 AM5:00 PM9 hours 0 minutes9.008.508.00
9:00 AM5:00 PM8 hours 0 minutes8.007.507.00
9:00 AM6:00 PM9 hours 0 minutes9.008.508.00
10:00 AM5:00 PM7 hours 0 minutes7.006.506.00
10:00 AM6:00 PM8 hours 0 minutes8.007.507.00
11:00 AM7:00 PM8 hours 0 minutes8.007.507.00
12:00 PM8:00 PM8 hours 0 minutes8.007.507.00
3:00 PM11:00 PM8 hours 0 minutes8.007.507.00
7:00 PM7:00 AM12 hours 0 minutes12.0011.5011.00
11:00 PM7:00 AM8 hours 0 minutes8.007.507.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.

ShiftBreakHourly rateHours workedRegularOvertimePay for the day
8:00 AM to 6:30 PM30 minutes201082220.00
7:00 AM to 5:00 PM60 minutes25981237.50
9:00 AM to 9:00 PM60 minutes181183225.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.

QuestionAnswer
9:00 AM plus 2 hours 30 minutes11:30 AM
11:45 PM plus 45 minutes12:30 AM the next day
3:00 PM minus 90 minutes1:30 PM
12:15 AM minus 30 minutes11:45 PM the day before
6:30 AM plus 8 hours2: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.

WaitTime thenDay
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 minutesDecimal hours
7 hours 45 minutes7.75
8 hours 20 minutes8.33
6 hours 10 minutes6.17
37 hours 30 minutes37.50
Decimal hoursHours and minutes
0.250 hours 15 minutes
0.50 hours 30 minutes
0.750 hours 45 minutes
7.257 hours 15 minutes
7.337 hours 20 minutes
8.88 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.

MinutesDecimal hours
10.02
20.03
30.05
40.07
50.08
60.10
70.12
80.13
90.15
100.17
110.18
120.20
130.22
140.23
150.25
160.27
170.28
180.30
190.32
200.33
210.35
220.37
230.38
240.40
250.42
260.43
270.45
280.47
290.48
300.50
310.52
320.53
330.55
340.57
350.58
360.60
370.62
380.63
390.65
400.67
410.68
420.70
430.72
440.73
450.75
460.77
470.78
480.80
490.82
500.83
510.85
520.87
530.88
540.90
550.92
560.93
570.95
580.97
590.98
601.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 timeMilitary timeSpokenHalf pastMilitary time
12:00 AM0000zero hundred hours12:30 AM0030
1:00 AM0100zero one hundred hours1:30 AM0130
2:00 AM0200zero two hundred hours2:30 AM0230
3:00 AM0300zero three hundred hours3:30 AM0330
4:00 AM0400zero four hundred hours4:30 AM0430
5:00 AM0500zero five hundred hours5:30 AM0530
6:00 AM0600zero six hundred hours6:30 AM0630
7:00 AM0700zero seven hundred hours7:30 AM0730
8:00 AM0800zero eight hundred hours8:30 AM0830
9:00 AM0900zero nine hundred hours9:30 AM0930
10:00 AM1000ten hundred hours10:30 AM1030
11:00 AM1100eleven hundred hours11:30 AM1130
12:00 PM1200twelve hundred hours12:30 PM1230
1:00 PM1300thirteen hundred hours1:30 PM1330
2:00 PM1400fourteen hundred hours2:30 PM1430
3:00 PM1500fifteen hundred hours3:30 PM1530
4:00 PM1600sixteen hundred hours4:30 PM1630
5:00 PM1700seventeen hundred hours5:30 PM1730
6:00 PM1800eighteen hundred hours6:30 PM1830
7:00 PM1900nineteen hundred hours7:30 PM1930
8:00 PM2000twenty hundred hours8:30 PM2030
9:00 PM2100twenty one hundred hours9:30 PM2130
10:00 PM2200twenty two hundred hours10:30 PM2230
11:00 PM2300twenty three hundred hours11:30 PM2330

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

Frequently asked questions

How do I calculate the time between two times?+
Subtract the start time from the end time. In the calculator enter both times on the Time between tab and press Calculate. If the end time is earlier than the start time the count runs past midnight.
How do I calculate hours worked?+
Subtract the start time from the end time and then subtract any unpaid break. The Hours worked tab does this for you and also shows decimal hours.
How do I calculate hours worked with a lunch break?+
Enter the break in minutes on the Hours worked tab. For 9 AM to 5 PM with a 30 minute lunch the answer is 7 hours 30 minutes or 7.5 decimal hours.
How many hours is 9 to 5?+
From 9 AM to 5 PM is 8 hours. With a 1 hour unpaid lunch it is 7 hours.
How many hours is 8 to 5?+
From 8 AM to 5 PM is 9 hours. With a 1 hour unpaid lunch it is 8 hours.
How many hours is 8 AM to 4 PM?+
From 8 AM to 4 PM is 8 hours. It is 7.5 hours with a 30 minute break.
How many hours is 10 AM to 5 PM?+
From 10 AM to 5 PM is 7 hours. It is 6.5 hours with a 30 minute break.
How do I convert time to decimal?+
Divide the minutes by 60 and add the result to the hours. So 7 hours 45 minutes is 7.75 hours.
How do I convert decimal hours to hours and minutes?+
Multiply the decimal part by 60. So 7.25 hours is 7 hours and 15 minutes.
What is 30 minutes as a decimal?+
30 minutes is 0.5 of an hour. 15 minutes is 0.25 and 45 minutes is 0.75.
What is military time?+
Military time is the 24 hour clock. It uses four digits such as 1830 with no colon and no AM or PM. Midnight is 0000.
How do I convert standard time to military time?+
Keep AM hours as they are and add 12 to PM hours. 12 AM becomes 00 and 12 PM stays 12. So 6:30 PM is 1830.
What time is 1900 in military time?+
1900 is 7:00 PM. Subtract 12 from 19 to get 7.
What is 18 30 in military time?+
18 30 is the same as 1830. It is 6:30 PM.
How do I calculate overtime?+
Find the hours worked and subtract your overtime limit. Pay the extra hours at the overtime rate such as 1.5 times. The Hours worked tab does this for a daily limit that you choose.
How do I add hours and minutes to a time?+
Use the Add or subtract tab. Enter the start time and the hours and minutes and press Calculate. For example 9:00 AM plus 2 hours 30 minutes is 11:30 AM.
How do I subtract time?+
Pick Subtract on the Add or subtract tab. For example 3:00 PM minus 90 minutes is 1:30 PM.
What time will it be in 2 hours?+
Press the 2 hours from now button or read the table on this page. It adds 2 hours to the time on your device.
Does the calculator handle shifts that go past midnight?+
Yes. If the end time is earlier than the start time it counts past midnight. A shift from 10 PM to 6 AM is 8 hours.
Can I calculate time across several days?+
Yes. Add a start date and an end date on the Time between tab. The tool counts the full hours and minutes between them.
How do I calculate average time?+
Turn each time into minutes and add them up. Then divide by how many times there are. The average of 90 and 120 and 150 minutes is 120 minutes.
How do I convert minutes to hours?+
Divide the minutes by 60. For other time units such as hours to seconds use the Time Converter.
How many days are between two dates?+
This calculator counts hours and minutes. For the number of days between two dates use Days Between Dates.
Are my times saved or sent anywhere?+
No. The calculation runs in your browser. The times you type stay on your device and are not sent to our server.

Built and maintained by the Toolnix team. Last updated November 2026.