Hours Calculator

Add or subtract hours and minutes. Calculate time duration between two times.

:
:

Duration

8h 30m

8.50 hours

= 510 total minutes

How to Use the Hours Calculator

  1. Duration mode: enter a start time and an end time to find the total hours and minutes between them. Overnight shifts are handled automatically. If the end time is earlier than the start time (for example, 10 PM to 6 AM), the calculator adds 24 hours to give the correct 8-hour result.
  2. Add Time mode: enter a starting time and hours/minutes to add. Useful for finding when a meeting ends, when a timer goes off, or when a delivery window closes. The result wraps past midnight if needed.
  3. Subtract Time mode: enter a reference time and hours/minutes to subtract. Useful for finding what time to start a task to finish by a deadline, or how far back in time a given duration takes you.

Example: shift from 11:45 PM to 7:30 AM = 7 hours 45 minutes (7.75 decimal hours). The calculator detects the overnight crossing and computes it correctly.

Time Arithmetic Reference

Duration = End time - Start time
If result is negative, add 24 hours (overnight shift)

Decimal hours = hours + (minutes ÷ 60)
Example: 7h 45m = 7 + 45/60 = 7.75 hours

Add time: new time = start + added duration
Wrap past midnight: subtract 24h if result exceeds 24h

Pay calculation: decimal hours × hourly rate
Example: 7.75h × $18/hr = $139.50

Common decimal hour conversions:

TimeDecimal HoursPay at $20/hr
0h 15m0.25$5.00
0h 30m0.50$10.00
0h 45m0.75$15.00
4h 00m4.00$80.00
7h 30m7.50$150.00
8h 20m8.33$166.67

Frequently Asked Questions

Select Duration mode, enter your start and end times using the AM/PM fields. The calculator shows total hours and minutes, plus the decimal equivalent. For a 9:00 AM to 5:30 PM shift, the result is 8 hours 30 minutes (8.5 decimal hours). For overnight shifts like 11 PM to 7 AM, enter the times as-is and the calculator adds 24 hours automatically.

Related Calculators