Skip to main content
Time & Duration

Hours Between Two Times Calculator

Calculate duration from start and end times.

By Iqbal Hussain, Founder and calculator developer · Formulas checked against worked examples · Last updated

Hours Between Two Times Calculator

Calculate duration from start and end times.

Calculated Result
—
Adjust inputs above to calculate instantly.

How Hours Between Two Times Calculator Works?

The Hours Between Two Times Calculator works in 3 steps: it reads a start time and an end time, subtracts the start from the end, and removes any break minutes you enter. The result appears in hours and minutes, total minutes, and decimal hours.

  1. 1

    Enter the start and end time

    Type a start time such as 9:00 AM and an end time such as 5:30 PM. The calculator accepts 12-hour (AM/PM) and 24-hour clock values.

  2. 2

    Add break minutes

    Enter unpaid break time in minutes, for example 30. The calculator subtracts the break from the gross duration.

  3. 3

    Read the net duration

    The result shows 8h 0m, 480 minutes, and 8.00 decimal hours for a 9:00 AM to 5:30 PM shift with a 30-minute break.

Hours Between Two Times Calculator Formula

The Hours Between Two Times formula is Duration = (End Time − Start Time) − Break, with both times expressed in minutes after midnight.

Duration (min) = (End_h × 60 + End_m) − (Start_h × 60 + Start_m) − Break
  • End_h, End_m: end hour (0–23) and end minute (0–59) in 24-hour time.
  • Start_h, Start_m: start hour and start minute in 24-hour time.
  • Break: unpaid break length in minutes.
  • Decimal hours = Duration (min) ÷ 60.

Example: 8:15 AM to 4:45 PM with a 45-minute break gives (16 × 60 + 45) − (8 × 60 + 15) − 45 = 1,005 − 495 − 45 = 465 minutes, or 7 hours 45 minutes (7.75 decimal hours).

Hours Between Two Times Calculator Conversion Table

The Hours Between Two Times conversion table lists 8 common start and end time pairs with their net hours after the break shown.

Start TimeEnd TimeBreakHours & MinutesDecimal Hours
7:00 AM3:00 PM30 min7h 30m7.50
8:00 AM4:30 PM30 min8h 0m8.00
8:30 AM5:00 PM60 min7h 30m7.50
9:00 AM5:00 PM0 min8h 0m8.00
9:00 AM6:00 PM45 min8h 15m8.25
10:00 AM2:00 PM0 min4h 0m4.00
11:30 AM8:00 PM30 min8h 0m8.00
1:00 PM9:45 PM15 min8h 30m8.50

What is Hours Between Two Times Calculator?

The Hours Between Two Times Calculator is a time tool that measures the exact duration between a start clock time and an end clock time on the same day. The calculator returns hours, minutes, and decimal hours in one step.

Manual time subtraction causes 2 common errors: forgetting to borrow 60 minutes and mixing AM with PM values. The Hours Between Two Times Calculator converts both times to minutes after midnight (00:00) first, so the subtraction is always a single whole-number operation.

What are the uses of Hours Between Two Times Calculator?

There are 5 main uses of the Hours Between Two Times Calculator, including shift length checks, timesheet entry, and appointment planning.

  • Shift length checks

    Employees confirm a 7:00 AM to 3:30 PM shift equals 8.5 hours before submitting a time card.

  • Timesheet entry

    Office staff convert clock times into decimal hours, such as 7h 45m into 7.75, for timesheet software.

  • Appointment planning

    Clinics and salons measure the gap between booked slots, for example 10:15 AM to 11:40 AM equals 85 minutes.

  • Study session logging

    Students record a 6:30 PM to 9:00 PM study block as 2.5 hours (150 minutes).

  • Event timing

    Organizers check a conference block from 1:00 PM to 4:20 PM lasts 3 hours 20 minutes (200 minutes).

Is the Hours Between Two Times Calculator the Right Tool?

  • Use Hours Between Two Times when you have two clock times (09:15 to 17:40). Use Hours Difference when you already have two durations (planned 38h vs actual 41.5h) and want the gap. Open Hours Difference Calculator →
  • Use Work Hours when the times are a work shift and you need a payroll-ready decimal result. Open Work Hours Calculator →

Hours Between Two Times Calculator Tips and Common Mistakes

  • If the end time is earlier than the start time, the period crosses midnight: 22:00 to 06:00 is 8 hours, not −16.
  • Enter 12:00 PM for noon and 12:00 AM for midnight; mixing them up shifts the result by 12 hours.
  • Clock times on a daylight-saving change day are off by one hour; use the Daylight Saving Hours Calculator for those dates.

Hours Between Two Times Calculator FAQ

How do I use the Hours Between Two Times Calculator?

1. Enter the start and end time: Type a start time such as 9:00 AM and an end time such as 5:30 PM. The calculator accepts 12-hour (AM/PM) and 24-hour clock values. 2. Add break minutes: Enter unpaid break time in minutes, for example 30. The calculator subtracts the break from the gross duration. 3. Read the net duration: The result shows 8h 0m, 480 minutes, and 8.00 decimal hours for a 9:00 AM to 5:30 PM shift with a 30-minute break.

What formula does the Hours Between Two Times Calculator use?

The Hours Between Two Times formula is Duration = (End Time − Start Time) − Break, with both times expressed in minutes after midnight. In short: Duration (min) = (End_h × 60 + End_m) − (Start_h × 60 + Start_m) − Break.

Can you show a worked example?

8:15 AM to 4:45 PM with a 45-minute break gives (16 × 60 + 45) − (8 × 60 + 15) − 45 = 1,005 − 495 − 45 = 465 minutes, or 7 hours 45 minutes (7.75 decimal hours).

How many hours are between 9 AM and 5 PM?

8 hours (480 minutes). With a 30-minute unpaid lunch, the paid time is 7.5 hours.

How many hours are between 7 PM and 7 AM?

12 hours. The calculator treats an end time earlier than the start time as the next day.

Related Time & Duration Tools

View All Calculators →