πŸ•
Everyday

Hours Calculator

Calculate total hours worked minus breaks quickly and accurately.

SM
Sarah Mitchell
Content Editor
5 min read
Updated

Inputs

Time you began work

Time you finished work

Lunch breaks and rest periods combined

Results

Total Hours Worked
β€”
Net hours after deducting breaks
Gross Hours
β€”
Break Time
β€”
Formula
Total Hours = (End Time - Start Time) - Break Duration
Request plugin

The Hours Calculator is an essential tool for employees, managers, and payroll professionals who need to accurately track work time. Whether you're calculating daily hours for a timesheet, determining billable hours, or managing employee schedules, this calculator streamlines the process by automatically deducting breaks from your total time on the clock. Simply enter your start time, end time, and total break duration to instantly see how many hours you actually worked. It handles decimal hours, quarter-hour increments, and even accounts for shifts that cross midnight, making it versatile enough for any work schedule.

How it works

The Hours Calculator uses a straightforward formula that subtracts break time from your total time at work. First, it calculates gross hours by finding the difference between your end time and start time. For shifts crossing midnight (like night shifts), it automatically adds 24 hours to the end time to ensure accurate calculations. Then it subtracts your total break duration, which should include all unpaid time such as lunch breaks, rest periods, and meal times. The result is your net hours worked, which represents the time you're actually entitled to be paid for. You can input times using 24-hour format (0-23.99) and breaks in decimal hours for maximum precision. The calculator also displays your break time in minutes for easy reference and timesheet documentation.

Formula
Total Hours = (End Time - Start Time) - Break Duration
Where End Time and Start Time are in 24-hour format, and Break Duration is the total unpaid break time in hours.
πŸ’‘

Worked example

Imagine you arrive at work at 8:30 AM and leave at 5:00 PM, with a one-hour lunch break. You'd enter start time as 8.5 (8:30), end time as 17 (5:00 PM), and break duration as 1 hour. The calculator shows gross hours of 8.5 (the time at work), break time of 60 minutes, and total hours worked of 7.5 hours. This 7.5-hour figure is what you'd use on your timesheet or for payroll purposes, accurately reflecting your actual working time.

Why Track Hours Accurately

Accurate hour tracking is fundamental to fair compensation and business operations. Whether you're salaried, hourly, or a freelancer, knowing exactly how many hours you've worked helps with payroll accuracy, project costing, and compliance with labor laws. Many countries have strict regulations about overtime and minimum rest periods, making precise hour calculations legally important. For employers, accurate time tracking prevents disputes and ensures fair labor practices. For employees, it guarantees you're paid correctly for all hours worked. This calculator removes the guesswork from manual calculations and reduces errors that commonly occur when subtracting breaks from total time.

Understanding Break Time

Not all time at work is paid time. Break deductions typically include lunch breaks, scheduled rest periods, and meal times, depending on your employment agreement and local labor laws. Some breaks are paid (like short rest periods) while others are unpaid (like lunch hours). It's important to understand your specific workplace policy before using this calculator. Generally, you should enter the total duration of all unpaid breaks you take during your shift. If you take a 30-minute lunch break and two 15-minute coffee breaks, you'd enter 1 hour total. Some advanced employees might track breaks separately for billing purposes, but for standard hour calculations, lumping all breaks together provides the simplest and most accurate result.

24-Hour Format and Decimal Hours

This calculator uses 24-hour format for time entry, where 0 is midnight, 12 is noon, and 23 is 11 PM. Times can be entered with decimal precision, so 9.5 represents 9:30 AM, 9.25 represents 9:15 AM, and 9.75 represents 9:45 AM. This decimal approach eliminates confusion between different time formats and allows precise calculations for shifts that don't start or end on the hour. For breaks, enter duration in decimal hours where 0.5 equals 30 minutes, 0.75 equals 45 minutes, and 1 equals one hour. This system is particularly helpful for gig workers, shift workers, and anyone with non-standard schedules who need quick, reliable hour calculations.

Night Shifts and Midnight Crossings

The calculator automatically handles shifts that cross midnight, common for night shift workers, security personnel, and hospitality staff. If you start work at 10 PM (22.00) and finish at 6 AM the next day, you'd enter 22 for start time and 6 for end time. The calculator recognizes that end time is earlier than start time and automatically adds 24 hours to calculate the correct duration of 8 hours. This feature makes the calculator equally useful for day shift and night shift workers without requiring manual adjustments or complex calculations.

Practical Applications

The Hours Calculator serves multiple professional purposes. Freelancers use it to track billable hours for client invoicing. Remote workers use it to maintain accurate time logs for their employers. Managers use it to calculate payroll for hourly employees and ensure compliance with overtime regulations. Contractors and consultants track project hours for cost analysis and project management. Students working part-time jobs use it for timesheet submissions. Small business owners use it to manage labor costs and scheduling. Whether you're managing a single employee or tracking your own work hours, this calculator provides the accurate, quick calculations needed for professional time management.

Frequently asked questions

Do I include paid breaks in my calculation?
No. Only enter breaks that are unpaid time. Paid breaks (like short rest periods mandated by law) should not be deducted. Check your employment agreement to understand which breaks are paid versus unpaid in your situation.
How do I enter quarter-hour times?
Use decimal notation: 0.25 for quarter hour (15 minutes), 0.5 for half hour (30 minutes), 0.75 for three-quarters (45 minutes). So 2:15 PM would be entered as 14.25 in 24-hour format.
Can this calculate hours across multiple days?
This calculator is designed for single-shift calculations. For multi-day hour totals, calculate each day separately and add the results together, or use a timesheet app that tracks hours across multiple days.
What if I work past midnight?
Simply enter your start time (like 22 for 10 PM) and your end time on the next day (like 6 for 6 AM). The calculator automatically recognizes this crossing and calculates the correct total hours.
Is this calculator compliant with labor laws?
This calculator performs mathematical calculations accurately, but labor law compliance depends on your specific location and employment agreement. Always verify your calculations against local labor regulations and your employment contract.
Can I use this for overtime calculations?
Yes. Calculate your total hours worked using this tool, then apply your jurisdiction's overtime rules. Most places consider hours over 40 per week or 8 per day as overtime, but regulations vary.
What if my break time exceeds my work time?
The calculator will show negative hours, which indicates an error in your input. Check that your start and end times are correct and that break duration doesn't exceed total time at work.