VastCalc
Everyday Life
Hours Calculator
Calculate the number of hours and minutes between two times, with overnight support.

Hours Calculator

How many hours between two times? Enter a start and end time to instantly calculate the duration in hours and minutes. The overnight toggle handles shifts that cross midnight, and the decimal-hours output is ready for payroll systems.

This calculator takes two times in 24-hour format and computes the difference. For a standard workday from 9:00 to 17:30, you get 8 hours and 30 minutes (8.50 decimal hours).

For shifts that cross midnight (such as 22:00 to 06:00), enable the Overnight Shift toggle. This tells the calculator that the end time is the following day, so it adds 24 hours before computing the difference.

The decimal-hours format is widely used in payroll, billing, and project management. For example, 7 hours 45 minutes equals 7.75 decimal hours, which simplifies multiplication by an hourly rate.

Frequently Asked Questions

Search Calculators

Search across all calculator categories