Skip to content

Hours Calculator

Work out how many hours and minutes there are between two times, even overnight. Add or subtract hours from a time, total up durations, and convert to decimal hours for timesheets.

Time between two times

–

Times like 9, 9:30 pm, 21:30 or noon. An end time earlier than the start counts as the next day.

Add or subtract time

–

–

Next steps

Guide: How to calculate hours worked

Key facts

Price
Free, with no sign-up and no usage limits
Privacy
Runs in your browser: your files and text are never uploaded
Works on
Any current browser on Windows, macOS, Linux, ChromeOS, Android and iPhone
Made by
Toolgu
Last updated

How to calculate hours between two times

Convert both times to the 24-hour clock and subtract the start from the end. If the end minutes are smaller, borrow an hour: 9:45 AM to 5:15 PM is 17:15 − 9:45; 17:15 becomes 16:75, and 16:75 − 9:45 = 7:30, so 7 hours 30 minutes. When a shift crosses midnight, add 24 hours to the end time first: 22:00 to 06:00 is 30:00 − 22:00 = 8 hours. The calculator does all of this for you, and can subtract an unpaid break.

Minutes to decimal hours

Payroll systems usually want decimal hours. Divide the minutes by 60 and add them to the hours: 7 hours 45 minutes = 7 + 45 ÷ 60 = 7.75 hours.

Minutes51015202530354045505560
Hours.08.17.25.33.42.50.58.67.75.83.921.00

Adding and subtracting time

To add hours to a clock time, add the hours and minutes separately and carry 60 minutes into an hour: 9:45 PM + 3 h 30 min = 12:75 → 1:15 AM the next day. Use “Add or subtract time” for times and “Add up durations” to total a list of task times, for example for invoicing or a project log.

For a weekly timesheet with clock-ins, breaks and overtime, use the time card calculator. To count days between dates, use days between dates.

Frequently asked questions

How do I calculate the hours between two times?

Subtract the start time from the end time. 9:00 AM to 5:30 PM is 8 hours 30 minutes. If the end time is earlier than the start, it is counted as the next day: 10 PM to 6 AM is 8 hours.

How do I convert minutes to decimal hours?

Divide the minutes by 60: 30 minutes = 0.5 hours, 15 minutes = 0.25, 45 minutes = 0.75. So 8 hours 20 minutes is 8.33 hours.

How do I add hours to a time?

Use “Add or subtract time”: enter the start time and how long, for example 9:45 PM plus 3h 30m = 1:15 AM the next day.

Can I total several durations?

Yes. Type each duration on its own line in “Add up durations”, like 2:15, 1h 45m or 0.5, and the total is shown in hours and minutes and as decimal hours.

Does it handle a whole week of shifts?

For daily clock-in and clock-out times with breaks and overtime, use the Time Card Calculator, which totals a whole week or two.