Hours Calculator — Free Online Hours Between Two Times
Calculate the hours and minutes between any two times of day.
Start Time
End Time
Time Duration
Total Minutes
480
Decimal Hours
8.00
Formatted Duration
8h 00m
From 09:00 to 17:00
Decimal Hours Conversion Reference Table
| Minutes | Decimal Hours | Fraction | Common Use |
|---|---|---|---|
| 5 min | 0.08 | 1/12 | Quick phone call |
| 10 min | 0.17 | 1/6 | Minimum billing increment |
| 15 min | 0.25 | 1/4 | Quarter-hour billing |
| 20 min | 0.33 | 1/3 | Standard break |
| 30 min | 0.50 | 1/2 | Lunch break / half hour |
| 45 min | 0.75 | 3/4 | Class period / meeting |
Related Calculators
Time Calculator
Add or subtract hours, minutes, and seconds from any time with day overflow detection.
Time Card Calculator
Track weekly work hours with daily entries, break deductions, and overtime calculations.
Time Duration Calculator
Find the exact duration between two times in hours, minutes, seconds, and decimal hours.
Time Difference Calculator
Calculate the difference between two times with direction indicator and midnight crossing.
Days Between Dates
Calculate the exact number of days, weeks, and months between any two calendar dates.
Salary Calculator
Calculate annual, monthly, biweekly, and hourly salary equivalents with tax estimates.
About this calculator
Hours Calculation Formula
Duration = End Time - Start Time (in minutes) If Crosses Midnight: Duration = (End Time + 1440) - Start Time Decimal Hours = Total Minutes / 60 Variables Explained
- Start Time (minutes): Calculated as Start Hour x 60 + Start Minute. For example, 9:30 becomes (9 x 60) + 30 = 570 minutes from midnight.
- End Time (minutes): Calculated as End Hour x 60 + End Minute. For 17:00, this is (17 x 60) + 0 = 1,020 minutes from midnight.
- 1,440: The total number of minutes in a 24-hour day. This constant is added to the end time when the Crosses Midnight option is enabled to account for the day transition.
- Duration (minutes): The absolute difference between end and start times, expressed in total minutes. This is then divided by 60 to extract hours and the remainder gives minutes.
- Decimal Hours: The duration expressed as a decimal number. Calculated by dividing total minutes by 60. For example, 480 minutes / 60 = 8.00 decimal hours.
Step-by-Step Example
Calculate hours from 9:15 to 17:45:
- Convert start time: (9 x 60) + 15 = 555 minutes
- Convert end time: (17 x 60) + 45 = 1,065 minutes
- Calculate difference: 1,065 - 555 = 510 minutes
- Extract hours: floor(510 / 60) = 8 hours
- Extract remaining minutes: 510 mod 60 = 30 minutes
- Calculate decimal hours: 510 / 60 = 8.50
- Result: 8 hours 30 minutes (8.50 decimal hours)
Sources
- U.S. Department of Labor — Fair Labor Standards Act, Overtime Requirements
- ISO 8601 Date and Time Standard — International Organization for Standardization
- timeanddate.com — Time Zone and Duration Calculator Reference
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026