TimesheetPay Free Paystub PDF

Calculate Hours Between Two Times

Measure exact hours worked from start time to end time, subtract unpaid breaks, handle overnight shifts, and estimate shift pay instantly.

100% browser-side · Nothing uploaded

Hours Between Start & End

8h 15m

08:30 to 17:15 minus 30m break

Decimal Hours

8.25 h

Total Minutes

495 m

Shift Type

Same Day

Estimated Shift Pay

$181.50

Need a full 7-day or 14-day schedule? Log your entire week with automatic overtime rules.

Open Weekly Timesheet Calculator →

Calculate Shift Hours in 3 Steps

STEP 01

Pick Start & End Clock Times

Enter your shift start and end time—overnight shifts crossing midnight are detected automatically.

STEP 02

Subtract Unpaid Break & Add Rate

Enter lunch or meal break minutes and an optional hourly wage to preview estimated shift earnings.

STEP 03

Read H:M & Decimal Output

Get both standard hours/minutes and decimal hours for timecards, spreadsheets, or payroll.

How to Calculate Hours Between Two Times

When you only need to check a single workday, babysitting shift, or overnight hospital rotation, our calculate hours tool gives you the exact elapsed duration in both hours & minutes (8h 15m) and payroll-ready decimal hours (8.25 h) in two seconds.

Handling Overnight Shifts Past Midnight

Subtracting an overnight shift manually often causes errors around midnight. In this calculator, whenever End Time is earlier than Start Time—such as clocking in at 10:00 PM (22:00) and clocking out at 6:30 AM (06:30)—we automatically add 24 hours (1,440 minutes) so the shift spans midnight cleanly:

  • 22:00 to 24:00 = 2 hours
  • 00:00 to 06:30 = 6 hours 30 minutes
  • Minus 30-minute unpaid meal break = 8 hours 00 minutes (8.00 decimal hours)

Quick Reference: Common Shift Lengths (Minus 30-Min Break)

Start Time End Time Unpaid Break Net Hours (H:M) Payroll Decimal
08:00 AM 04:30 PM 30 min 8h 00m 8.00 hrs
08:30 AM 05:15 PM 30 min 8h 15m 8.25 hrs
09:00 AM 06:00 PM 60 min 8h 00m 8.00 hrs
07:00 AM 07:30 PM 30 min 12h 00m 12.00 hrs
10:00 PM 06:30 AM 30 min 8h 00m 8.00 hrs

Tracking multiple shifts across the week? Move up to our Timesheet Calculator with Federal & California overtime rules. Need to sum raw durations? Try Time Adder. Ready to produce an earnings statement? Open Paystub Generator Free.

Frequently Asked Questions

How many hours is 8:30 AM to 5:00 PM with a 30-minute lunch?

8:30 AM to 5:00 PM spans 8 hours and 30 minutes total. Subtracting a 30-minute unpaid lunch leaves exactly 8 hours and 00 minutes (8.00 decimal hours).

How do you calculate hours for an overnight shift?

Enter the evening start time (for example 10:00 PM) and morning end time (for example 6:30 AM). Our calculator automatically detects that the shift crosses midnight and computes 8h 30m before break deductions.

Why does payroll ask for decimal hours instead of hours and minutes?

Wage formulas multiply Hours × Hourly Rate. Multiplying 8.25 × $20.00 = $165.00 works cleanly in spreadsheets, whereas 8:15 cannot be multiplied directly without converting 15 minutes to 0.25.

Can I calculate a full week of shifts at once?

Yes—click Open Weekly Timesheet Calculator to enter 7-day or 14-day schedules with automatic Federal or California overtime.

Related Time & Payroll Tools