Free online tools

Hours calculator

This hours calculator finds the hours and minutes between two times, with decimal hours for timesheets. Overnight shifts work.

Runs in your browser. Your times never leave your device.

Try:

Time worked

—

Type a start and end time. Try 9, 930 or 5:30p.

—
Decimal hours
—
Minutes
—
Before break

Featured

Try these next

All date and time tools →

How to use the hours calculator

This work hours calculator takes the start and end of a shift, subtracts an unpaid break and shows the time worked, in hours and minutes or as decimal hours.

  1. Type a start time. 9, 930, 9:30 and 9:30p all work. In 12-hour mode a bare 9 is 9 AM; in 24-hour mode it is 09:00.
  2. Type an end time the same way. The hours and minutes appear as you type. There is no button to press.
  3. Optional: type an unpaid break in minutes. It is taken off the time between the two times.
  4. Copy the result, for example 8:30 (8.50 h), or copy the link. The link holds your times and opens with them filled in.
  5. Need a whole week? Open Add a work week and enter the start and end of each day.

What the time duration calculator counts

The calculator takes the time from the start to the end and subtracts the break. It gives the same result three ways: hours and minutes (8h 30m), decimal hours (8.50) and total minutes (510). Most timesheets and payroll forms use either the hours and minutes or the decimal figure, so you get both.

Overnight shifts work. If the end time is earlier on the clock than the start, the end is taken as the next day: 10 PM to 6 AM is 8 hours, and the result says it ends the next day. A start and end at exactly the same time count as a full 24 hours.

Tip: The break must be shorter than the shift. A break as long as the shift shows an error instead of a zero.

Time card calculator for a work week

Open the week panel and enter the start and end of each day from Monday to Sunday. Days you leave empty are skipped. The break you set above is taken from every day you fill in, so enter the shift times, not the times minus lunch. The week total shows as hours and minutes and as decimal hours. The ring fills toward 40 hours as a visual target.

The week panel does not work out overtime, pay rates or taxes. Those rules depend on your employer and where you work, so apply your own pay rules to the decimal total. For a span of whole days with no clock times, use the days between dates calculator.

Decimal hours for timesheets

To turn minutes into decimal hours, divide the minutes by 60. Two decimal places are enough for most timesheets.

MinutesDecimal hours
60.10
150.25
200.33
300.50
400.67
450.75
500.83
601.00

Values are rounded to two decimal places.

Common shift lengths

ShiftTime betweenWith 30 min breakDecimal, with break
9:00 AM to 5:00 PM8h 0m7h 30m7.50
8:00 AM to 4:30 PM8h 30m8h 0m8.00
7:00 AM to 3:30 PM8h 30m8h 0m8.00
10:00 PM to 6:00 AM8h 0m7h 30m7.50
8:00 AM to 6:00 PM10h 0m9h 30m9.50

Frequently asked questions

How do I calculate hours between two times?

Type the start time and the end time. The hours and minutes between them appear as you type. Times can be written as 9, 930, 9:30 or 9:30p. For example, 9:00 AM to 5:30 PM is 8 hours 30 minutes.

How many hours is 9 AM to 5 PM?

It is 8 hours. With a 30-minute unpaid break taken off, it is 7 hours 30 minutes, which is 7.50 decimal hours.

Does the hours calculator work for overnight shifts?

Yes. If the end time is earlier on the clock than the start time, the end is taken as the next day. 10 PM to 6 AM is 8 hours, and the result says it ends the next day.

What are decimal hours for a timesheet?

Decimal hours write the minutes as a fraction of an hour. 30 minutes is 0.50 hours and 15 minutes is 0.25 hours, so 8 hours 30 minutes is 8.50 hours. The calculator shows decimal hours next to the time and copies them with it.

How do I subtract a lunch break?

Type the break length in the Break field in minutes, such as 30, or as a time such as 1:00 for one hour. The calculator subtracts it from the time between the two times and shows the time worked.

12-hour vs 24-hour clock — which should I use?

Use whichever your clock or timesheet uses. The calculator starts in the format your device uses. The 12-hour and 24-hour switch changes how times are shown, and a time typed with AM or PM is always read as written.

Is my data stored or sent to a server?

No. The calculation runs in your browser and the times you type are not sent anywhere. No account is needed. Nothing is saved unless you copy the link, which holds the times in its address.

Missing something in the hours calculator?Suggest an idea. It takes 20 seconds and we read every one.Suggest an idea

Sends only what you type here, never the text you work with. Your email is used only to reply about this idea.

Free online tools