Dates & workdays

Hours Calculator: Work Hours, Payroll Decimal & Multi-Day Spans

Calculate hours between two times or across two dates. Overnight shifts, break deduction, payroll decimal format, multi-day spans. Free, runs locally.

01

Mode

Result

7 Hours and 30 Minutes


Decimal: 7.50 h

Minutes: 450

02

Reference

Decimal hours

Payroll often uses decimal hours:

Decimal hours

e.g. 30 min โ†’ 0.5; 8h 30m โ†’ 8.5.

Overnight & multi-day

Time range: end before start rolls to the next day.

Date span: full difference between explicit start and end timestamps.

Work Hours, Payroll Decimals & Across-Midnight Logic

This calculator supports same-day or overnight time ranges (with optional break deduction) and multi-day spans between two dates and times. The Information Hub in the calculator card above explains the decimal-hours formula and across-midnight logic.

What You Get

Time Range or Date Range

Time Range: start and end times (12-hour), optional break; overnight shifts are detected automatically. Hours Between Two Dates: start and end date + time for multi-day spans, with days-hours-minutes and decimal hours.

Decimal hours & overnight

The Information Hub above covers the decimal-hours formula (e.g. 8h 30m โ†’ 8.5) and how we treat end-before-start as an overnight shift.

Hours Calculator: Time Between Two Times, Work Hours & Payroll Decimal

Calculate total hours between two times or across two dates. Supports overnight shifts, break deduction, payroll decimal format, and multi-day spans. Free, runs locally, no sign-up.

How to Use the Hours Calculator

Time Range suits same-day or overnight shifts: enter start and end times (12-hour, AM/PM), optionally deduct a break. Hours Between Two Dates handles multi-day spans with exact start and end date + time. The calculator's Information Hub (above) explains the decimal-hours formula and across-midnight (overnight) logic in one place.

Hours Calculator FAQ

How do I calculate hours between two times?

Use Time Range mode: enter start and end times with AM/PM, then optionally deduct a break. If the end time is earlier than the start (e.g., 11 PM to 7 AM), we treat it as an overnight shift and add 24 hours to the end time. For spans across multiple days, use Hours Between Two Dates and pick exact start and end dates and times.

How are minutes converted to decimal hours?

Decimal hours = hours + minutes รท 60. So 30 min = 0.5, 15 min = 0.25, 45 min = 0.75; 8h 30m = 8.5. The Information Hub in the calculator shows the formula and examples.

What is the difference between Time Range and Hours Between Two Dates?

Time Range is for same-day or overnight shifts (one calendar day). Hours Between Two Dates handles multi-day spansโ€”pick start date + time and end date + time. Use the second mode for project tracking, billing across weeks, or any span that crosses multiple calendar days.

Why does my overnight shift show "calculated as an overnight shift"?

When the end time is chronologically before the start time (e.g., 10 PMโ€“6 AM), we assume the end is on the next calendar day. That's the "across midnight" logicโ€”common for graveyard and swing shifts. The calculator makes this explicit so you know it's correct.

Time & Date Reference Note

Informational Use: These tools use standard date/time algorithms and your browserโ€™s timezone data (IANA). Results are intended for general reference and planning only.

Verification Recommended: Time zone rules and daylight saving changes vary by region and year. For critical scheduling, payroll, or legal deadlines, confirm results with official sources.

Local Verification: Always confirm times, dates, and business-day counts with official sources or qualified professionals when stakes are high.

ยฉ 2026 CalcRegistry Reference Last Logic Update: April 2026Free Online Utility Tools