Hours Calculator
Add or subtract hours and minutes to calculate total duration.
This tool is for informational and educational purposes only. It is not a substitute for professional financial, medical, legal, or engineering advice. See Terms of Service.
Can't find what you need?
Request a ToolHow to Use the Hours Calculator
Enter two time durations in hours and minutes, choose whether to add or subtract, and get the combined or difference duration instantly.
- Choose Add or Subtract. Add combines the two durations. Subtract removes the second from the first.
- Enter the first duration. For example, 8 hours and 30 minutes for a morning work session.
- Enter the second duration. For example, 2 hours and 45 minutes for an afternoon session.
- Read the result. Adding 8h 30m and 2h 45m gives 11h 15m total. The total minutes figure is shown below for payroll and billing use.
About the Hours Calculator
This calculator handles minute overflow automatically: adding 45 minutes to 8h 30m correctly gives 9h 15m, not 8h 75m. It also handles subtraction that results in negative values and displays the sign clearly.
The total minutes figure is particularly useful for payroll calculations. To get decimal hours for a timesheet, divide total minutes by 60. For example, 11h 15m = 675 total minutes = 11.25 decimal hours. Multiply by an hourly rate to get gross pay.
Frequently Asked Questions
How do I add time for payroll?
Enter each work session's hours and minutes in the two duration fields and add them. For multiple sessions, add the first two, then use the result as the first input and add the third session, and so on. The total minutes field gives you the decimal hour equivalent when divided by 60, which is the format most payroll systems use.
What is 8 hours 45 minutes as a decimal?
8 hours 45 minutes equals 8.75 decimal hours. The calculator shows the total minutes (525 in this case). To convert to decimal hours yourself, divide the minutes by 60: 45 / 60 = 0.75, so 8h 45m = 8.75 hours. This decimal format is used by most timekeeping software and payroll systems.
Can I subtract more hours than I started with?
Yes. If you subtract a larger duration from a smaller one, the result is negative, displayed with a minus sign. For example, subtracting 5 hours from 3 hours gives -2 hours. This is useful when calculating overtime adjustments or checking if a duration exceeds a limit.
How do I calculate total hours worked in a week?
For a weekly total, use the Time Duration Calculator to find hours worked each day, then use this Hours Calculator to add each day's total to a running sum. Add Monday's hours to Tuesday's, then add the result to Wednesday's, and so on through Friday. The final sum is your total weekly hours.