Skip to content
cliplimeClipLime

Hours between two times

Start time, end time, break: get the hours worked as decimal hours and as hours and minutes.

Decimal places in decimal hours

Show clock times as

How long between two times?

Works across midnight: an end time earlier than the start counts as the next day.

Optional

Optional, for spans longer than a day

Enter a start time and an end time to see how long it is.

Add up durations

Totals a list, like the hours on a timesheet. Start a line with a minus sign to subtract it.

Write each as 1:30, 2h 15m or 90 minutes. Up to 200 lines.

Enter at least one duration to see the total.

What time is it after a duration?

Move a clock time forward or back, like a meeting that runs 3 hours 45 minutes.

Enter a start time and a duration to see the new time.

At a glance

What it does
Takes a start time and an end time and gives the hours between them, led by decimal hours such as 7.5 and also written as hours and minutes.
Breaks
Subtract an unpaid break in minutes. A break longer than the shift gives a message, not a negative time.
Overnight shifts
An end time earlier than the start is the next day: 10 PM to 6 AM is 8 hours.
Time formats
12-hour (9:30 pm) and 24-hour (21:30) both work. A Read as line shows what was understood.
Decimal places
1 to 4 for decimal hours. They are rounded once, at the end.
Not payroll
It does not round to payroll increments or apply overtime rules.
Privacy
Nothing is sent when you type. Your entries are kept in the page address so a link can be shared, so a shared link carries them.

How to do it

  1. 1

    Enter the start and end times

    Type them like 8:30 am and 5 pm, or 08:30 and 17:00. Check the Read as line under each box.

  2. 2

    Add a break if there is one

    Put the unpaid minutes in Unpaid break. Leave it empty for no break.

  3. 3

    Read the hours

    The big number is decimal hours. Under it are hours and minutes, total minutes and the working.

  4. 4

    Add up a week

    Scroll to Add up durations, type each day's hours on its own line, such as 7h 30m, and read the total.

Timesheet arithmetic

Hours worked is the end time minus the start time, minus any unpaid break. 9:00 AM to 5:30 PM is 8 hours 30 minutes, and with a 30 minute break it is 8 hours. Written as decimal hours, that is 8.5 before the break and 8 after it.

For a whole week, work out each day, then total them with Add up durations: one line per day, like 8h or 7h 45m. The total shows hours and minutes and as decimal hours, which is what most timesheet and invoice forms ask for.

Overnight and long shifts

If the end time is earlier than the start, the calculator treats the end as the next day: 10:00 PM to 6:00 AM is 8 hours. If both times are the same, it gives 0, since it cannot tell a zero minute shift from a 24 hour one. To record a full 24 hours, set Extra whole days to 1. A shift of 30 hours, such as 8:00 AM to 2:00 PM the next day, is entered with 1 extra day: 6 hours plus 24.

Typing AM and PM correctly

A common mistake with times is a missing AM or PM. A bare 5:30 is read as 05:30, which is 5:30 AM, because without a suffix the 24 hour clock is used. Type 5:30 pm or 17:30 for the afternoon. The Read as line under each box shows exactly what was understood, so check it before trusting the answer.

Decimal hours, minutes and rounding

7:30 means 7 hours and 30 minutes, which is 7.5 as a decimal. A figure written 7.30 would mean 7 hours 18 minutes, since 0.30 of an hour is 18 minutes. Divide minutes by 60 to convert: 15 minutes is 0.25 and 20 minutes is 0.33.

Some employers round clock times to the nearest 5, 6 or 15 minutes, and overtime and break rules differ by employer and place. This page does not round or apply any rule except what you enter, so enter the times as your employer records them. To count days rather than hours, see the date difference calculator.

Questions people ask

How many hours are there between 9 AM and 5 PM?

8 hours. With a 30 minute unpaid break, the time worked is 7.5 hours, written 7 hours and 30 minutes. Enter 9:00 am and 5:00 pm, add 30 in the break box, and the answer shows both forms.

How do I calculate hours worked with a lunch break?

Subtract the start from the end, then take off the break. 8:30 AM to 5:00 PM is 8 hours 30 minutes, and a 45 minute break leaves 7 hours 45 minutes, or 7.75 decimal hours. Put the break in minutes in the Unpaid break box.

How do I calculate the hours of a night shift?

Enter the start and the end as they appear on the clock. If the end is earlier than the start, the calculator counts it as the next day. 10:00 PM to 6:30 AM is 8 hours 30 minutes. The working shows the 24 hours that were added.

Why is 7:30 hours not 7.30?

Because the two use different scales. 7:30 is 7 hours and 30 minutes, which is 7.5 as a decimal, since 30 minutes is half an hour. A decimal 7.30 would be 7 hours and 18 minutes.

How do I add up a week of hours?

Scroll to Add up durations and type each day's hours on its own line, like 7h 30m or 7:30. The total appears under the box in hours and minutes and in decimal hours. Start a line with a minus sign to take time off.

Is anything I type stored or sent?

No. Typing sends nothing anywhere: the sums run in your browser. Your times and durations are also kept in the page address so that Copy link works. That means a link you share, or a page you reload, requests that address, entries included, from our server like any web address. Share a link only if you are happy to share what you entered.