Home / Calculators / Hours Calculator

Free Hours Calculator

The quickest calculator on Hourlyfy: a start time, an end time, an optional break, and the elapsed and net working time — overnight shifts included.

Free · No sign-up · Unlimited use · Private, runs in your browser

Start, end, and break

Handles overnight shifts automatically e.g. 9:00 AM → 5:00 PM − 30m = 7h 30m

Results

Fill in the form and calculate to see your results here.

Elapsed time--
Break--
Net working time--
As decimal hours: --

How many hours between two times

An hours calculator finds the time between a start time and an end time, then subtracts a break if you had one. This free hours calculator does that instantly: enter a start time, an end time, and an optional break in minutes, and it returns the elapsed time, the break, and the net working time.

Example: Start at 9:00 AM, end at 5:00 PM, with a 30-minute break. That is 8 hours elapsed, minus 30 minutes, for 7 hours 30 minutes of net working time. The result also shows as a decimal — 7 hours 30 minutes equals 7.5 — which is handy for payroll or invoicing in decimal hours.

Overnight shifts

This hours between two times calculator also works when a shift crosses midnight. If the end time is earlier than the start time, it is treated as the next day. A shift from 9:00 PM to 5:00 AM comes back as 8 hours, not a negative number, so this time duration calculator works the same for night shifts as it does for a normal daytime shift.

Common shifts quick reference

ShiftHours
9:00 AM to 5:00 PM8h 00m
8:00 AM to 4:30 PM8h 30m
9:00 AM to 5:00 PM, 30-min lunch7h 30m
9:00 PM to 5:00 AM8h 00m

This hours and minutes calculator is meant for a single stretch of time. For a full week, try the Weekly Time Calculator or Time Card Calculator; for more than one work period in a day, try the Work Hours Calculator.

Want the full walkthrough? See our guide on calculating hours between two times.

Common questions

Does this hours calculator handle overnight shifts?

Yes. If the end time is earlier than the start time, it is treated as crossing midnight, so a shift like 9:00 PM to 5:00 AM correctly comes back as 8 hours.

Can I calculate hours without a break?

Yes. Leave the break field at 0 and the calculator will show the full elapsed time as the net working time.

Does the hours calculator show decimal hours?

Yes. Along with the hour-and-minute result, the net working time is also shown as a decimal, such as 7.5 for 7 hours 30 minutes.

Is this hours worked calculator free to use?

Yes. It is completely free, with no sign-up and no limit on how many times you use it.

Related

Other calculators worth a look