# Work Hours Calculator

URL: https://hifreetools.com/date-time/work-hours-calculator

> Calculate exactly how many hours and minutes you worked between a start time and an end time, with optional break deduction and a weekly total across up to 7 days.

## Quick answer

A work hours calculator takes a start time and end time, subtracts any unpaid break, and returns the exact hours and minutes worked. For example, clocking in at 9:00 AM and out at 5:30 PM with a 30-minute break gives 8 hours worked. You can add up to seven daily entries to get a weekly total. All calculations run in the browser and no time data is stored.

## Formula

- Daily hours worked: Hours Worked = (End Time − Start Time) − Break Duration
- Weekly total: Weekly Hours = Σ (Daily Hours Worked for each day)

## Examples

- Standard 8-hour workday with 30-minute lunch: Start 9:00 AM, End 5:30 PM, Break 30 min → 8 hours 0 minutes
- Night shift crossing midnight with 45-minute break: Start 10:00 PM, End 6:30 AM, Break 45 min → 7 hours 45 minutes
- 5-day week of 8.5-hour shifts with no breaks: Each day: Start 8:00 AM, End 4:30 PM, Break 0 min × 5 days → 42 hours 30 minutes
- Long shift with overtime, 1-hour break: Start 7:45 AM, End 7:00 PM, Break 60 min → 10 hours 15 minutes (8 h regular + 2 h 15 min overtime)

## FAQ

**How do I calculate hours worked between two times?**
Subtract the start time from the end time to get the raw duration, then subtract any unpaid break time. The result is your hours worked. For example, 9:00 AM to 5:30 PM with a 30-minute break is (8 h 30 min) − 30 min = 8 hours.

**How does the calculator handle shifts that cross midnight?**
If the end time is earlier on the clock than the start time, the calculator automatically adds 24 hours to the end time. For example, starting at 10:00 PM and ending at 6:00 AM is treated as 8 hours, not a negative number.

**Can I calculate my weekly total hours?**
Yes. Add entries for each working day and the tool sums all valid daily totals into a weekly hours and minutes figure at the bottom.

**How is overtime calculated?**
The calculator shows overtime as any daily hours worked beyond 8 hours. For example, if you work 10 hours 15 minutes in a day, 8 hours are regular and 2 hours 15 minutes are overtime. Real rules vary: US federal law (FLSA) counts overtime after 40 hours in a workweek, not per day.

**Is my time data saved or sent to a server?**
No. All calculations run entirely in your browser. Your start times, end times, and break durations are never uploaded or stored.

**What if I work the same hours every day — do I have to enter them separately?**
Currently each day is entered individually so you can handle different schedules, breaks, or days off. For identical shifts you can enter them in sequence quickly, and the weekly total updates automatically.


## Sources

- [U.S. Department of Labor — Fact Sheet #22: Hours Worked Under the FLSA](https://www.dol.gov/agencies/whd/fact-sheets/22-flsa-hours-worked)
- [U.S. Department of Labor — Overtime Pay](https://www.dol.gov/agencies/whd/overtime)

Runs in the browser; nothing is uploaded. Cite as: HIFreeTools, "Work Hours Calculator", https://hifreetools.com/date-time/work-hours-calculator
