Calculators
Hours Calculator
Hours between two times, with break deduction, overnight shifts, and decimal hours.
Updated July 9, 2026
How to use the hours calculator
- 1Enter the start and end times.
- 2Add unpaid break minutes if any.
- 3Optionally add an hourly rate for the pay figure.
- 4Read the result as h:mm and as payroll decimal hours.
Common uses
- Checking your timesheet math before submitting it
- Computing pay for a shift with an unpaid lunch
- Figuring hours on an overnight shift that crosses midnight
- Converting between h:mm and the decimal hours payroll wants
Frequently asked questions
Why do timesheets want decimal hours?
Because pay is rate × hours, and multiplication needs a decimal: 7 hours 30 minutes at $18/hr is 7.5 × 18 = $135. The classic mistake is typing 7.30. That's 7 hours 18 minutes, and it shorts you 12 minutes per shift. The conversion is minutes ÷ 60: 15 min = 0.25, 20 min = 0.33, 45 min = 0.75.
How are overnight shifts handled?
Automatically. If the end time is earlier than the start, the calculator assumes you crossed midnight and adds 24 hours. A 10 PM to 6 AM shift correctly shows 8 hours. It flags when it's done this, so a typo (like swapping start and end) doesn't silently produce a 16-hour shift.
Should breaks be deducted?
For pay purposes, only unpaid ones. In the US, short breaks (5–20 min) are typically paid time under federal rules, while a bona fide meal break of 30+ minutes where you're fully relieved of duty is typically unpaid. Enter just the unpaid portion here. Employer policies vary, so the paystub is the ground truth.
Can I add up multiple shifts?
This tool is deliberately single-shift for speed. The time card calculator handles a full week, per-day in/out times, per-day breaks, weekly total, and overtime math, and is the right tool at timesheet-submission time.
About this tool
The hours calculator finds the time between a start and end clock time, the everyday 'I worked 8:45 to 5:15 with a half-hour lunch, how many hours is that?' math. It deducts unpaid breaks, handles overnight shifts automatically (11 PM to 7 AM just works), and reports the answer three ways: hours and minutes, total minutes, and decimal hours, the format payroll systems actually use, where 7h 30m is 7.5, not 7.3. Add an hourly rate and it computes the pay for the shift. For a full week of shifts totaled together, the time card calculator does this per-day.
Like most tools on UtilityBase, the hours calculator runs entirely in your browser. Nothing you enter is uploaded or stored on a server. It's free to use with no account required. Browse more calculators here.
Was this tool helpful?
Related tools
Time Card Calculator
Weekly timesheet: clock in/out per day, breaks, overtime, and gross pay.
Calculators
Salary to Hourly Converter
Convert salary to hourly and back, with weekly, biweekly, and monthly views.
Calculators
Date Duration Calculator
Count days until a date, or the exact time between any two dates.
Calculators
Military Time Converter
Convert between 24-hour and 12-hour time, live, with the full chart.
Calculators
Mortgage Calculator
Monthly payment with taxes, insurance, PMI, and a full amortization schedule.
Calculators
Scientific Calculator
Full scientific calculator, trig, logs, powers, factorials, with keyboard input.
Calculators