What this calculator does
Work hours are easy to miscount when a shift crosses midnight or a break is unpaid. This calculator converts both clock times to minutes, adds 24 hours when the end time is earlier, subtracts the break, and converts back to hours. Decimal hours matter for payroll: 7 hours 45 minutes is 7.75 hours, not 7.45. Gross pay is before taxes and deductions.
How to use it
- Enter the start time, using 24-hour or AM/PM format.
- Enter the end time.
- Enter the unpaid break in minutes.
- Optionally enter an hourly rate.
- Read hours, decimal hours, minutes, and gross pay.
How it works
Example calculations
Example 1: 9:00 to 17:30, 30-minute break
The shift is 8 hours, or 480 minutes. At $20/hour, gross pay is $160.00.
Example 2: 22:00 to 06:00, no break
The overnight shift is 8 hours.
Example 3: 8:15 to 16:45, 45-minute break
The shift is 7.75 hours, or 465 minutes. At $18.50/hour, gross pay is $143.38.
What the result means
Use decimal hours for payroll systems that require them. Keep unpaid breaks separate from paid breaks. Overnight shifts are common in healthcare, hospitality, security, and manufacturing; the calculator handles them without special setup. If you are paid overtime, calculate the regular and overtime portions separately according to your local rules.
Common mistakes
- Converting 7 h 45 m to 7.45 instead of 7.75.
- Forgetting to deduct an unpaid break.
- Treating an overnight shift as negative hours.
- Including paid breaks as unpaid.
- Using gross pay as take-home pay.
Assumptions and limits
- The shift starts and ends on the same calendar day or crosses one midnight.
- The break is unpaid.
- The hourly rate is constant.
- Overtime rules are not applied.
- Taxes and deductions are excluded.
Frequently asked questions
How do I calculate hours worked?
Subtract the start time from the end time, add 24 hours for an overnight shift, and subtract unpaid breaks.
How do I convert minutes to decimal hours?
Divide minutes by 60. For example, 45 minutes is 0.75 hours.
Does this handle overnight shifts?
Yes. If the end time is earlier than the start time, it adds 24 hours.
Is the break deducted automatically?
Yes, the break minutes you enter are subtracted.
Is this gross or net pay?
Gross pay. Taxes and deductions are not included.
Does it calculate overtime?
No. Use the overtime rules for your jurisdiction and add them separately.
Sources
2026 update
How to use the professional output
This page is not just a formula box. The result is designed to be checked, compared, and taken away.
- Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
- A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
- Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.
The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.
Part of a decision center
Date & Time Decision Center
See the companion tools, decision guides, and patterns that go with this calculator.
Go deeper
