Hours Calculator
Three time tools in one: add up your work week with breaks and overtime, find hours between two times — overnight shifts handled — and switch between military (24-hour) and AM/PM time. Everything is decimal-plus-HH:MM, instant, and calculated in your browser.
✓ Weekly Timesheet · ✓ Overnight Shifts · ✓ 12h/24h · ✓ Pay Estimate🔧 JS ⏳ · Input — · Result — · Engine ⏳
💡 End time earlier than start time? It's an overnight shift — tick the box (or it's auto-detected) and the hours wrap past midnight correctly.
💡 Type in the time field using either system — your browser accepts both. Both outputs update instantly.
🕐 Military Time Reference — 12h ↔ 24h
| 24-hour | AM/PM | 24-hour | AM/PM |
|---|---|---|---|
| 0000 | 12:00 AM | 1200 | 12:00 PM |
| 0100 | 1:00 AM | 1300 | 1:00 PM |
| 0200 | 2:00 AM | 1400 | 2:00 PM |
| 0300 | 3:00 AM | 1500 | 3:00 PM |
| 0400 | 4:00 AM | 1600 | 4:00 PM |
| 0500 | 5:00 AM | 1700 | 5:00 PM |
| 0600 | 6:00 AM | 1800 | 6:00 PM |
| 0700 | 7:00 AM | 1900 | 7:00 PM |
| 0800 | 8:00 AM | 2000 | 8:00 PM |
| 0900 | 9:00 AM | 2100 | 9:00 PM |
| 1000 | 10:00 AM | 2200 | 10:00 PM |
| 1100 | 11:00 AM | 2300 | 11:00 PM |
How to Calculate Work Hours — The Method
Convert both clock times to minutes past midnight, subtract start from end (adding 24 hours first if the shift crosses midnight), subtract any unpaid break, then divide by 60 for decimal hours. Example: 9:00 AM to 5:30 PM with a 30-minute unpaid lunch = (17.5 − 9) hours − 0.5 = 8.0 hours. Multiply by your hourly rate for gross pay. Payroll systems sometimes report time in "tenths" (8.0, 8.1, 8.2) or quarter-hours (8.0, 8.25) — the decimal readout above rounds to two decimals, which is what most payroll software expects.
Why Use This Work Hours Calculator?
Full Week Grid
Seven days of in/out/break with auto daily and weekly totals — a real timesheet, not one shift at a time.
Overnight Shifts
10 PM to 6 AM correctly gives 8 hours — auto-detected, no negative numbers, no confusion.
Pay & Overtime
Optional rate with time-and-a-half overtime over 40 hours — see gross pay instantly.
12h ↔ 24h Converter
Military time conversions both ways, plus a full reference table for shifts and paperwork.
100% Private
Your schedule and pay rate never leave your browser — nothing sent, stored, or logged.
Instant & Offline
Every keystroke recalculates — total a week at the punch clock with no signal.
Popular Use Cases
- 📋 Add up a week's timesheet before submitting it to payroll
- 💵 Check your expected paycheck against hours × rate with overtime
- 🌙 Verify overnight or split-shift hours (security, nursing, hospitality)
- 🧾 Independent contractors totaling billable hours across jobs
- 👥 Managers sanity-checking team timesheets and OT flags
- 🕐 Converting military time for schedules, travel or medical records
Pro Tips for Hour Tracking
- Decimal vs HH:MM: payroll wants decimals (8.25), humans read HH:MM (8:15). This calculator shows both — never multiply 8:15 by your rate directly, it's 8.25 hours, not 8.15.
- Overtime rules vary: 40 hours/week at 1.5× is the US federal baseline, but some states require daily overtime (over 8 hrs/day) and rules differ by role and country. Treat the OT estimate as a check, not gospel.
- Paid vs unpaid breaks: only deduct breaks that are genuinely unpaid — a paid 15-minute rest break stays in your total.
- Overnight shifts: the hours-between tool detects them automatically (end before start = crosses midnight), and the weekly grid handles any in/out order the same way.
- Keep your own record: even with employer systems, a personal weekly total is your evidence if payroll rounds against you. Screenshot or copy your result weekly.
0 Comments