Work shift and payroll time

Hours Between Times Calculator

Calculate hours between times for a single shift or a split day. Include paid and unpaid breaks, overnight work, time-clock rounding, overtime and an optional gross pay estimate.

Shift Hours & Pay Calculator

Add each working period, then enter your breaks and optional pay settings. The result updates automatically and stays in your browser.

Work periods

Use more than one period for a split shift, such as 08:00–12:00 and 13:00–17:00.

Quick shift presets:

Breaks

Unpaid breaks reduce paid hours. Paid breaks remain in the paid duration but are shown separately.

Time-clock rounding

Compare the exact duration with a rounded time-sheet value. Always follow the rules that apply in your workplace and country.

Optional pay estimate

Enter an hourly rate to estimate gross shift pay before taxes and deductions. Leave the rate empty if you only need time.

Your shift summary

Paid time after unpaid breaks

Scheduled time before breaks
Exact paid duration
Rounded time-sheet duration
Decimal hours
Total paid minutes
Regular hours
Overtime hours
Estimated gross pay
Paid breaks
Unpaid breaks

Visual shift timeline

Each lane shows a work period on a 24-hour clock. A period crossing the edge continues after midnight.

Paid-time breakdown

Regular paid timeOvertimeUnpaid break

How this result was calculated:
The pay figure is an estimate before tax, deductions, premiums or local payroll rules.

Times, breaks and pay values are calculated locally in your browser. They are only added to the URL when you choose to copy a shareable link.

How to calculate hours between two times

Subtract the start time from the end time. If a shift crosses midnight, continue the end time into the next day. Subtract unpaid breaks, then apply any time-clock rounding before estimating regular and overtime pay.

Split shifts and overnight work

Add a separate work period for each block of work. For 22:00–06:00, the calculator carries the ending time into the next day automatically.

Decimal hours for payroll

Decimal hours express minutes as a fraction of an hour: 7 hours 30 minutes is 7.5 hours, while 7 hours 45 minutes is 7.75 hours.

Rounding time-sheet entries

Rounding can change paid time. This page always shows both the exact and rounded totals so that the difference remains visible.

Important payroll note: Working-time, break and overtime requirements vary by jurisdiction. For international guidance, see the International Labour Organization working-time resources and use your employment agreement or local authority for the rules that apply to you.

Hours between times calculator FAQ

How many hours are between 9 AM and 5 PM?

There are 8 scheduled hours between 9:00 AM and 5:00 PM. After a 30-minute unpaid break, the paid duration is 7 hours 30 minutes.

How do I calculate an overnight shift?

If the end is earlier than the start, treat the end as occurring on the following day. A 22:00–06:00 shift lasts 8 hours before breaks.

What is a split shift?

A split shift contains two or more separate work periods in one day. Add every period and the calculator combines their duration.

Do paid breaks reduce work hours?

No. Paid breaks remain in the paid duration. Only breaks marked as unpaid are deducted.

What are decimal hours?

Decimal hours convert minutes into hundredths of an hour for easier time-sheet and payroll calculations. Thirty minutes equals 0.5 hour.

Is the pay estimate my final take-home pay?

No. It is a gross estimate based only on the entered rate, overtime threshold and multiplier. It does not calculate taxes or deductions.

Does the calculator store my pay details?

No. The calculation runs locally in your browser. Values only appear in a URL if you choose to create a shareable link.