Time Calculator

Time Calculator

Last updated:

Use this free time calculator to find how many hours you worked between a start and end time, or to add and subtract hours, minutes and seconds. It handles unpaid breaks, night shifts that cross midnight, and optional hourly pay.

First time

Second time

Enter your times, then press Calculate.

Time Calculator examples

1. A day shift with pay. From 9:00 to 17:30 with a 30-minute unpaid break is 8 hours 0 minutes (8.00 decimal hours). At $22.00 an hour that is $176.00.

2. A night shift. From 22:00 to 06:15 with a 45-minute break is 7 hours 30 minutes, or 7.50 decimal hours.

3. Add two times. 2:45:30 plus 1:30:45 is 4:16:15.

4. Subtract time. 5:10:00 minus 1:45:30 is 3:24:30.

If the end time is earlier than the start time, the calculator treats it as the next day, so night shifts work. Pay uses the exact minutes worked.

Quick answer: A shift from 9:00 to 17:30 with a 30-minute unpaid break is 8 hours 0 minutes, or 8.00 hours in decimal form.

How to Use the Time Calculator

For hours worked:

  1. Enter the start time and end time.
  2. Enter any unpaid break in minutes.
  3. Add your hourly pay if you want the pay for the shift.
  4. Press Calculate.

To add or subtract time:

  1. Choose “Add two amounts of time” or “Subtract one amount of time from another”.
  2. Enter hours, minutes and seconds for each time.
  3. Press Calculate.

How the Calculator Works

For hours worked, the calculator turns both times into minutes since midnight and subtracts. If the end time is earlier than the start time, it treats the end as the next day. A shift from 22:00 to 06:15 is 8 hours 15 minutes. With a 45-minute break, you worked 7 hours 30 minutes.

For adding and subtracting, each time is turned into seconds, the two values are added or subtracted, and the result is turned back into hours, minutes and seconds. 2:45:30 plus 1:30:45 is 9,930 + 5,445 = 15,375 seconds, which is 4:16:15.

Converting Minutes to Decimal Hours

Pay is often calculated in decimal hours, so 7 hours 30 minutes is 7.5, not 7.30. To convert, divide the minutes by 60.

MinutesDecimal hours
60.10
150.25
200.33
300.50
400.67
450.75

For a shift of 7 hours 45 minutes at $22 an hour, the pay is 7.75 x $22 = $170.50. The calculator multiplies by the exact minutes worked, so you do not have to convert by hand.

Working Out a Timesheet

To total a week of work, find the hours for each day, then add the days. You can use the “add” mode: enter one day’s total in the first row and the next day’s total in the second row, then use the result as the first row for the third day.

Check whether your employer rounds time to the nearest quarter hour, and whether breaks are paid. Both change the total on your paycheck. Whether a break is paid depends on your employer and on your state’s rules.

Subtracting Time

Subtracting is useful for finding how much time is left. 5 hours 10 minutes minus 1 hour 45 minutes 30 seconds is 3:24:30. If you subtract a bigger time from a smaller one, the result is negative and shown with a minus sign, for example 1 hour minus 2 hours is -1:00:00.

Tips

  • Use 24-hour times to avoid mixing up AM and PM. 17:30 is 5:30 PM.
  • If your start and end times are exactly the same, the calculator asks you to change one, because it cannot tell whether you mean 0 or 24 hours.
  • Keep minutes and seconds under 60 when you add and subtract. The calculator converts the rest for you.

Frequently Asked Questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract any unpaid break. From 9:00 to 17:30 is 8.5 hours, and a 30-minute break leaves 8 hours.

How do I calculate hours for a night shift?

Enter the start and end times as usual. When the end is earlier than the start, the calculator counts the next day.

How do I turn hours and minutes into decimals?

Divide the minutes by 60 and add them to the hours. 7 hours 15 minutes is 7.25 hours.

How do I add hours and minutes?

Add the minutes first. If they come to 60 or more, carry the extra hours. Or use the add mode, which does it for you.

Does the calculator use AM and PM?

It uses the time field on your device, which may show AM and PM or a 24-hour clock. The calculation is the same.

This calculator is for information only. Check your employer’s policies and your local rules on pay and breaks.

Scroll to Top