Hours Calculator

Use this free hours calculator to find shift length, decimal hours, overnight time, break deductions, and optional gross pay.

All tools
Research-backed assumptions Formula steps Examples included Private in-browser use
Hours worked8 hours

09:00 to 17:30, 30 min break

Hours and minutes
8h 0m 0s
Crossed midnight
No
Gross pay estimate
$200.00

Formula steps

  1. Convert start and end times into seconds after midnight.
  2. If the end time is earlier than the start time, treat it as an overnight shift.
  3. Subtract break minutes and convert the worked time to decimal hours.

How to use the hours calculator

  1. Enter the requested dates, times, grades, dimensions, network values, password options, or units.
  2. Check the assumptions shown on the page, especially school scales, payroll rules, concrete waste, subnet type, or security handling.
  3. Press the calculate button to see the answer, supporting metrics, and formula steps.
  4. Use examples, recent answers, or copy the result while keeping the estimate limits in mind.

Common uses

Calculate hours worked from start time, end time, and break minutes.

Convert a shift into decimal hours for invoices or timesheets.

Estimate gross pay from an hourly rate.

Handle overnight shifts where the end time is after midnight.

Examples

Day shift 9:00 AM to 5:30 PM, 30 min break

8 hours

No break 8:15 AM to 4:00 PM

7.75 hours

Overnight 10:00 PM to 6:30 AM, 45 min break

7.75 hours

Frequently asked questions

Quick answers about formulas, inputs, assumptions, examples, copying, and private in-browser use.

What can I use the Hours Calculator for?

Use it for quick everyday planning, school work, technical checks, or comparison tasks when the inputs match the tool page.

How does the Hours Calculator calculate the result?

The calculator converts start and end clock times into seconds, handles overnight shifts, subtracts break minutes, and converts the result to decimal hours.

What should I double-check before using the answer?

This is simple time-card math. Payroll rounding, overtime, split shifts, local labor rules, and employer policies can change paid hours.

Are my inputs private?

Yes. The calculator runs in your browser tab. Recent answers stay only on the page while you use it and are not sent to a server.

Related tools