Detecting your season…
⏱ Work Hours Guide

How to Calculate Work Hours Between Two Times

Updated June 2026 Β· 5 min read Β· Free calculator included

Quick answer: Subtract start time from end time, deduct break time, and convert to decimal hours. Or use our free Work Hours Calculator to get the result instantly.

The Basic Formula

The simplest way to calculate work hours is:

Work Hours = End Time βˆ’ Start Time βˆ’ Break Time

Convert everything to minutes first, then divide by 60 at the end.

Step-by-Step: Calculate Manually

Step 1 β€” Convert both times to minutes from midnight

Multiply hours by 60 and add the minutes.
Example: 9:30 AM = (9 Γ— 60) + 30 = 570 minutes
Example: 5:45 PM = (17 Γ— 60) + 45 = 1,065 minutes

Step 2 β€” Subtract start from end

1,065 βˆ’ 570 = 495 minutes

Step 3 β€” Deduct break time

With a 45-minute lunch break: 495 βˆ’ 45 = 450 minutes

Step 4 β€” Convert to hours

450 Γ· 60 = 7.5 hours (7 hours 30 minutes)

Common Examples

StartEndBreakWork Hours
9:00 AM5:00 PM1 hour7.0 hours
8:30 AM5:30 PM30 min8.5 hours
10:00 AM6:30 PM45 min7.75 hours
7:00 AM3:00 PM30 min7.5 hours
11:00 PM7:00 AM30 min7.5 hours (night)

How to Calculate Work Hours in Excel

Basic formula:

=(C2-B2)*24

Where B2 = start time, C2 = end time. Multiply by 24 to convert Excel's fraction to hours.

With break deduction:

=(C2-B2-D2)*24

For overnight shifts:

=MOD(C2-B2,1)*24

Decimal Hours Quick Reference

MinutesDecimal
15 min0.25
30 min0.50
45 min0.75
20 min0.33
40 min0.67

⏱ Calculate Work Hours Instantly

Enter start time, end time, and break β€” get your hours in seconds. Handles night shifts automatically.

Open Work Hours Calculator β†’

Weekly Timesheet: Full Example

Here is a complete worked example for a five-day working week with a 30-minute lunch break each day:

DayClock InClock OutBreakWork Hours
Monday8:30 AM5:00 PM30 min8.0 hrs
Tuesday9:00 AM5:30 PM30 min8.0 hrs
Wednesday8:00 AM4:30 PM30 min8.0 hrs
Thursday9:30 AM6:00 PM45 min7.75 hrs
Friday8:30 AM3:00 PM30 min6.0 hrs
Total37.75 hrs

At a standard threshold of 40 hours per week, this employee has not triggered overtime. If Thursday had run until 7:30 PM instead, the total would be 39.25 hours β€” still under the threshold. Our calculator flags overtime automatically once you set your weekly threshold.

Overtime Rules Explained

Overtime rules vary significantly by country and contract type. The most common frameworks are:

Always check your specific employment contract and local labour regulations. The calculator gives you the raw hour totals β€” how overtime is compensated depends on your jurisdiction.

Converting Work Hours to Pay

Once you have your total hours, calculating gross pay is straightforward:

Gross Pay = Regular Hours Γ— Hourly Rate + Overtime Hours Γ— Overtime Rate

Example: 42 hours worked, regular rate $18/hr, overtime at 1.5Γ—.

Note that gross pay is before tax and deductions. Net pay will be lower once income tax, national insurance, and any other withholdings are applied.

Frequently Asked Questions

How do I calculate hours if I cross midnight?

Add 24 hours to your end time before subtracting. If you start at 10 PM (22:00) and finish at 6 AM (6:00), treat end as 30:00 β†’ 30:00 βˆ’ 22:00 = 8 hours. Our calculator handles this automatically when clock-out is earlier than clock-in.

How do I convert 7 hours 45 minutes to decimal?

Divide the minutes by 60 and add to the hours: 45 Γ· 60 = 0.75. So 7 hours 45 minutes = 7.75 decimal hours. Multiply by your hourly rate to get pay for that shift.

What is the difference between work hours and clock hours?

Clock hours is the total time between your start and end time. Work hours deducts any unpaid breaks (typically a lunch break). Most employers pay for work hours only, so deducting your break time gives the accurate figure for payroll.

How many work hours are in a standard work year?

A standard full-time year in most countries is 52 weeks Γ— 40 hours = 2,080 hours. Subtract paid leave and public holidays for the actual hours worked. In India, a 48-hour week gives 2,496 hours before leave adjustments.

Can I use this to calculate part-time or zero-hours contracts?

Yes. Enter only the days and times you actually worked β€” leave other days blank. The calculator totals only the rows you fill in, making it equally useful for part-time, shift-based, or zero-hours arrangements.

What is the best way to track work hours across multiple weeks?

For ongoing tracking, use the calculator to total each week and record the result in a simple spreadsheet. Over a month, you can sum the four weekly totals to get your monthly hours worked β€” useful for freelance invoicing or monthly pay verification.

Related articles

πŸ“… dates
Working Days in a Month
2026 monthly breakdown β†’
πŸ“… dates
Days Between Two Dates
Calendar vs working days β†’