Hours calculator

Enter a start and end time. If the end is earlier than the start, it is taken as the next day (an overnight shift).

Your answer

Time worked8 h 15 min
In decimal hours8.25

Worked out in your browser. Nothing you type is sent to a server.

How we worked it out

Updated as you change the numbers.

  1. End − start (adding 24 hours if the end is the next day), minus the break.

Method and assumptions

The difference is computed in minutes. Decimal hours (minutes ÷ 60) are what most payroll systems use: 7 h 45 min is 7.75 hours.

Questions

How many hours from 8:30 AM to 5:15 PM with a 30-minute break?

8 h 15 min, or 8.25 hours.

Sources

Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.

Embed this calculator on your site

Free to use. Paste this where you want the calculator; it runs in your visitors’ browsers, sets no cookies and sends nothing to us.

Related calculators