Skip to main content

Calculators

Hours Calculator

Calculate hours and minutes between two times. Free online calculator — no sign-up required.

See how to use this tool

Hours Calculator

Worked hours = end time - start time - break minutes.

Result

Worked time

8h 0m

Decimal hours8
Break30 min

About Hours Calculator

The hours calculator finds the duration between two clock times in a single day or across midnight, returning hours and minutes plus the decimal hours used for payroll. Enter a start and end time (and a break if applicable); the tool handles the 12-hour AM/PM to 24-hour conversion and overnight shifts automatically.

It is the right tool for timesheet entries, freelance billing in decimal hours, and answering 'how long was that meeting?' without mental math.

Formula

Duration = End − Start (+ 24h if End < Start), decimal hours = h + m/60

Convert both times to minutes since midnight and subtract; if the end is earlier than the start, add 24 hours to assume an overnight shift. Decimal hours express the result as a single number (e.g. 7h30m = 7.5) by dividing minutes by 60.

How to use it

  1. 1Enter the start time and end time.
  2. 2Add an unpaid break length if applicable.
  3. 3Toggle 12-hour or 24-hour input as needed.
  4. 4Read hours:minutes and decimal hours.

When to use it

  • ✓Logging shift hours into a timesheet.
  • ✓Billing a client 6.5 decimal hours of consulting.
  • ✓Timing a meeting that ran past midnight.
  • ✓Calculating overtime above an 8-hour threshold.

Features

  • •Handles overnight shifts that cross midnight.
  • •Outputs both h:mm and decimal hours.
  • •Optional unpaid-break deduction.

Related tools

FAQ

How many hours are between two times?

Subtract the start time from the end time; if the end is earlier, add 24 hours for an overnight span. The result is the elapsed hours and minutes.

How do I convert hours and minutes to decimal hours?

Divide the minutes by 60 and add to the hours. For example, 7 hours 30 minutes = 7 + 30/60 = 7.5 decimal hours.

Does it handle overnight shifts?

Yes. If the end time is earlier than the start, the calculator adds 24 hours automatically, so a 22:00 to 06:00 shift is counted as 8 hours.

Can I subtract a lunch break?

Yes. Enter the break length and it is deducted from the gross elapsed time before the net hours are reported.

Does it support 12-hour AM/PM input?

Yes. You can toggle between 12-hour (AM/PM) and 24-hour input; the calculator converts internally so both produce the same result.