Hours Calculator
How to Calculate Hours Between Times
The hours calculator determines the duration between a start time and end time by converting both times to minutes, finding the difference, and converting back to hours and minutes. If the end time is earlier than the start time, the calculator assumes the time period crosses midnight and automatically adds 24 hours to provide the correct duration. Use the time zone converter for related calculations. Use the stopwatch timer for related calculations. Need to continue this calculation? Try the Date Calculator or the Time Zone Converter.
Decimal Hours Explained
Decimal hours express time as a decimal number rather than hours and minutes. For example, 1 hour and 30 minutes equals 1.50 decimal hours, and 2 hours and 15 minutes equals 2.25 decimal hours. Decimal hours are commonly used for payroll calculations, billing clients, and logging work hours in time-tracking software. To convert minutes to decimal, divide the minutes by 60.
Common Uses
This calculator is valuable for employees tracking work hours, freelancers calculating billable time, students managing study schedules, and anyone who needs to determine shift lengths. It is also useful for calculating travel durations, cooking times, and event planning where precise time management is essential.
Tips for Time Management
Understanding how you spend your time is the first step to better time management. Track your hours for a week to identify patterns. Many productivity experts recommend the Pomodoro technique of working in 25-minute focused intervals followed by 5-minute breaks. Over an 8-hour workday, this typically yields about 6.5 hours of productive focused work time.
What should you plan for when working with dates?
Date and time calculations are useful for planning deadlines, birthdays, trips, work schedules, and reminders. Always check the start date, end date, and time zone before relying on the result. For travel or international work, daylight saving time and local calendar rules can affect the final answer. Use the calculator as a quick planning tool, then confirm critical dates in your calendar.
How can you apply these results practically?
The Hours Calculator is built for people who want a fast answer without losing context. It keeps the calculation simple, shows the result clearly, and helps you understand what the number means before you use it in a real decision.
Date and time calculations are useful for planning deadlines, schedules, durations, and milestones. Calendar rules can be less obvious than they look, especially across months, leap years, and time zones.
How to calculate hours between two times
Calculating the number of hours and minutes between two times is essential for payroll, time tracking, scheduling, and productivity monitoring. The calculation subtracts the start time from the end time, handling cases where the end time is on the following day (crossing midnight).
Same-day example: Start 9:15 AM, End 5:45 PM. Difference = 5:45 PM – 9:15 AM = 8 hours 30 minutes = 8.5 hours
Overnight example: Start 10:30 PM, End 6:00 AM. Difference = (midnight – 10:30 PM) + 6:00 AM = 1:30 + 6:00 = 7 hours 30 minutes
To convert hours and minutes to decimal hours (for payroll): Decimal hours = Hours + (Minutes ÷ 60). 8 hours 30 minutes = 8 + (30 ÷ 60) = 8.5 hours
Common time calculation scenarios
Work hours and payroll: Most payroll systems require hours in decimal format. An employee who works 8 hours 45 minutes earns for 8.75 hours. At $200/hour: 8.75 × 200 = $1,750. Tracking actual clock-in and clock-out times and converting to decimal hours ensures accurate payment.
Overtime calculation: Standard work hours under the Factories Act are 9 hours per day and 48 hours per week. Hours beyond this qualify as overtime, typically paid at double the regular rate. Accurate hours calculation is necessary to determine which hours are standard and which are overtime.
Project time tracking: Freelancers and consultants billing by the hour need to track time across multiple sessions. Summing individual session durations and converting to decimal hours allows accurate invoice generation.
Flight duration: A flight departing at 14:35 and arriving at 21:10 lasts 6 hours 35 minutes = 6.58 hours. With time zone crossings, add or subtract the time zone difference from the arrival time before calculating duration.
Converting between time formats
- Minutes to decimal hours: Divide minutes by 60. 45 minutes = 45/60 = 0.75 hours
- Decimal hours to minutes: Multiply decimal portion by 60. 0.75 hours = 0.75 × 60 = 45 minutes
- Hours to seconds: Multiply by 3,600. 2.5 hours = 2.5 × 3,600 = 9,000 seconds
- Seconds to hours: Divide by 3,600. 9,000 seconds = 9,000/3,600 = 2.5 hours
- 12-hour to 24-hour (military time): AM hours remain the same (12 AM = 00:00). PM hours: add 12 (3 PM = 15:00, 11 PM = 23:00). Noon = 12:00, Midnight = 00:00.
Weekly hours and labour law
Under the Factories Act 1948, the maximum working hours are 9 hours per day and 48 hours per week for adult workers. The Shops and Establishments Acts (state-wise) govern working hours for office and retail employees, typically setting similar or slightly different limits. The Code on Wages 2019 establishes that any work beyond normal hours must be compensated at overtime rates. An accurate hours calculator helps employees verify their work hours against legal entitlements.
Time zone considerations for international meetings
India Standard Time (IST) is UTC+5:30. When calculating meeting times across time zones, add or subtract the UTC offset difference. IST to EST (UTC–5): subtract 10 hours 30 minutes. IST to GMT (UTC+0): subtract 5 hours 30 minutes. IST to SGT (UTC+8): subtract 2 hours 30 minutes (or add 21 hours 30 minutes). A meeting at 9:00 AM EST is 9:00 + 10:30 = 7:30 PM IST.
Frequently asked questions
How do I calculate hours worked across midnight? Add 24 hours to the end time if it is less than the start time. Start 23:00, End 07:00: add 24 to end time = 31:00. 31:00 – 23:00 = 8 hours worked.
What is the difference between clock hours and billable hours? Clock hours are the exact time elapsed. Billable hours may round up to the nearest 6, 15, or 30 minutes depending on the billing agreement. Many professionals bill in 6-minute (0.1 hour) increments, particularly in legal services.
How do I calculate average hours worked per day? Sum all hours worked in the period, then divide by the number of working days. Total 43 hours over 5 days = 43 ÷ 5 = 8.6 hours per day average.
How many hours per week do people work in different countries?
| Country | Standard Weekly Hours | Annual Leave (min. by law) | Notes |
|---|---|---|---|
| United States | 40 hours | 0 days (no federal minimum) | Most employers offer 10–15 days |
| United Kingdom | 37.5–40 hours | 28 days (incl. bank holidays) | Legal minimum |
| India | 48 hours (Factories Act) | 12–15 days | Varies by state and sector |
| Germany | 40 hours | 20 days (30 typical) | Strong worker protections |
| France | 35 hours | 25 days + ~12 public holidays | Legal 35-hour week since 2000 |
| Australia | 38 hours | 20 days | Plus 10 public holidays |
| Japan | 40 hours | 10–20 days | Culture of unpaid overtime |
| UAE | 48 hours | 30 days | Friday–Saturday weekend |
Decimal hours to hours:minutes conversion
| Decimal Hours | Hours : Minutes | Decimal Hours | Hours : Minutes |
|---|---|---|---|
| 0.25 hr | 0:15 | 4.25 hr | 4:15 |
| 0.5 hr | 0:30 | 4.5 hr | 4:30 |
| 0.75 hr | 0:45 | 4.75 hr | 4:45 |
| 1.0 hr | 1:00 | 7.5 hr | 7:30 |
| 1.5 hr | 1:30 | 7.75 hr | 7:45 |
| 2.0 hr | 2:00 | 8.0 hr | 8:00 |
| 2.5 hr | 2:30 | 8.5 hr | 8:30 |
| 3.0 hr | 3:00 | 10.0 hr | 10:00 |
Sources & References
Sources: ILO Working Time Legislation Database; Fair Labor Standards Act (FLSA) — US overtime rules; UK Working Time Regulations 1998; India Factories Act 1948.
Overtime calculation: hours beyond 8 per day or 48 per week
Under the Indian Factories Act, 1948, workers are entitled to overtime pay at double the ordinary rate for hours worked beyond 9 hours per day or 48 hours per week (whichever triggers first). Example: Employee works Mon–Sat, 9 hours each day = 54 hours. Overtime = 54 − 48 = 6 hours at 2× rate. Monthly overtime pay = 6 hours × 2 × hourly rate. For knowledge workers and IT employees, different rules apply under state-specific Shops and Establishments Acts — most now allow up to 12 hours/day with mandatory overtime compensation.
Night shift and split shift hours calculation
Night shift hours often cross midnight, which trips up manual calculators. Use the hours calculator to enter times across midnight — set start time as the prior day's evening and end time as the following morning. Example: 10:00 PM to 6:00 AM = 8 hours. For split shifts: add each segment separately. Many call centre and hospitality roles in India use split shifts — the hours calculator handles multi-segment calculation when you add both time blocks.