Hours Between Two Times

Hours between two clock times as a decimal number — ideal for timesheets.

What does this calculator do?

This calculator returns the time between two clock times as a decimal number of hours — the format timesheets, invoices and payroll systems expect (8.5 rather than 8 h 30 min). Overnight spans are handled automatically.

Formula

The gap in minutes is divided by 60:

hours = minutes between ÷ 60

How to use it

Pick the start and end times. The decimal hours appear with two decimals, along with the raw minute count.

Worked example

From 09:00 to 17:30 there are 510 minutes, and 510 ÷ 60 = 8.5 hours.

Formula version1.0.0
Formulahours = minutes between ÷ 60
Precision2 decimals

Frequently asked questions

How do minutes map to decimals?

15 minutes = 0.25 h, 30 minutes = 0.5 h, 45 minutes = 0.75 h. In general, divide the minutes by 60.

Does it work across midnight?

Yes — 22:00 to 06:00 gives 8 hours, assuming the end time is on the following day.

Can I subtract a lunch break?

Use the Hours Worked calculator linked below — it accepts a break in minutes and returns the net time.

Sources

Related calculators

Last updated: 2026-07-29 · v1.0.0 · Report an error