Hours Calculator

Calculate elapsed time between two clock times, including overnight shifts and optional breaks.

Your elapsed time will appear here.

About the Hours Calculator

Work shifts and appointment times are written in base-60 clock notation, while payroll and billing often need decimal hours. This calculator bridges those formats and can combine or subtract time intervals without treating minutes as hundredths of an hour.

The distinction between 1 hour 30 minutes and 1.30 decimal hours is important. Thirty minutes is half an hour, so 1:30 equals 1.5 hours, not 1.30 hours.

How to Use the Hours Calculator

  1. Enter each duration or start/end time in the format shown by the calculator.
  2. If the interval crosses midnight, use the option or date context that tells the calculator the end time is on the following day.
  3. Choose whether you need hours-and-minutes output or decimal hours for payroll, billing or analysis.
  4. Subtract unpaid breaks separately when the calculation is meant to represent paid or billable time.

How the Calculation Works

Clock durations are converted to a common minute total before addition or subtraction. Decimal hours are then calculated as total minutes ÷ 60.

For start/end times, each clock time can be represented as minutes from midnight. The end value is adjusted for an overnight interval when appropriate, and the difference is converted back to hours and minutes or decimal hours.

Worked examples

Hours Calculator Worked Examples

A workday

8:30 am to 5:00 pm is 8 hours 30 minutes. Minus a 30 minute unpaid lunch, 8 hours, or 8.00 decimal hours.

Night shift

10:00 pm to 6:30 am. Treat the end as 30:30 on a 24 hour clock: 30:30 − 22:00 = 8 hours 30 minutes, or 8.5 hours.

Weekly total

Days of 7:45, 8:15, 8:00, 7:30 and 8:20 add up to 39 hours 50 minutes, or 39.83 decimal hours.

Minutes to decimal hours

Payroll and billing systems often use decimal hours.

MinutesDecimal hoursMinutesDecimal hours
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Hours and minutes versus decimal hours

Time has 60 minutes in an hour, but decimals use base 10. 7 hours 45 minutes is 7.75 hours, not 7.45. Convert minutes by dividing by 60.

Breaks and overnight shifts

Subtract unpaid breaks from the total time. For a shift that crosses midnight, the end time is on the next day, so add 24 hours to it before subtracting.

Common Mistakes

  • Writing minutes as decimals. 7:45 is 7.75 hours. Typing 7.45 underpays 18 minutes.
  • Forgetting AM and PM. Use a 24 hour clock or check AM/PM on every entry.
  • Adding times like ordinary numbers. 1:50 + 1:20 is 3:10, not 2:70. Carry 60 minutes into an hour.

Result guide

Understanding Your Hours Calculator Result

Use hours-and-minutes output when communicating ordinary elapsed time. Decimal hours are better for multiplying by an hourly rate, but keep enough precision to avoid payroll or billing errors.

Before you rely on the answer

Assumptions and Limitations

  • Start and end times refer to the intended day or overnight interval.
  • Breaks are included or excluded consistently.
  • Daylight-saving changes and time zones require actual date/time-zone handling if they matter.

Practical tip

Using This Result in Practice

For payroll, keep the original clock times as a record and use decimal conversion only for the calculation. That makes rounding decisions easier to audit later.

Common questions

Hours Calculator FAQ

How do I convert minutes to decimal hours?

Divide the minutes by 60. 20 minutes is 0.33 hours.

How do I calculate hours worked?

Subtract the start time from the end time, then subtract unpaid breaks.

How do I add hours and minutes?

Add the hours and minutes separately, then convert every 60 minutes into an hour.

How many hours is 9 to 5?

8 hours, or 7.5 if there is a 30 minute unpaid lunch.

How do I calculate pay from hours?

Multiply the decimal hours by the hourly rate. 39 hours 50 minutes (39.83 hours) at $22 is $876.33 before tax.

About the author

Adupa Derrick

Adupa Derrick designs every calculator on Numi Calculator, uses AI tools to help draft code and explanations and checks each formula against worked examples and published references before it goes live.

About Numi Calculator Our methodology