DayTally

Hours between two times

Works across midnight for night shifts.

  • Exact calendar math · cited sources (EIA, U.S. law)
  • Updated Oct 23, 2026
  • Runs in your browser
  • Methodology
  • Instant answers. Results update as you type, with a visual breakdown.
  • Share or print. Copy a link with your numbers, or print a clean summary.
  • Sourced and private. Exact calendar math · cited sources (EIA, U.S. law). Nothing you enter leaves your device.

Decimal hours

Payroll systems usually want decimal hours: 7 h 45 min is 7.75 hours (45 ÷ 60). The result shows both formats. If the end time is earlier than the start time, the shift is treated as running past midnight.

Related tools

Frequently asked questions

How do I convert minutes to decimal hours?

Divide the minutes by 60. 30 minutes is 0.5 hours; 15 minutes is 0.25.

Does it handle overnight shifts?

Yes. 22:00 to 06:00 is 8 hours.