Hours Calculator
Calculate daily work hours, deduct lunch and rest breaks, convert times to decimal hours, and compute gross earnings for payroll.
About the Hours Calculator
The Hours Calculator simplifies time tracking for hourly employees, contractors, freelancers, and payroll managers. Converting clock hours into decimal hours (e.g., 7 hours 45 minutes into 7.75 hours) is essential for multiplying by hourly wage rates.
The calculator supports overnight shifts spanning past midnight (such as 10:00 PM to 6:00 AM) and automatically deducts unpaid breaks or lunches to report clean payable hours.
How to Calculate Hours
Enter your shift Start Time (e.g., 08:30).
Enter your shift End Time (e.g., 17:00).
Specify any unpaid break time in minutes (e.g., 45 minutes for lunch).
Optionally enter your hourly wage rate to estimate gross pay.
Click Calculate to view net hours, minutes, decimal hours, and total earnings.
Time Card Hours & Wage Formula
Gross Minutes = End Time - Start Time (adjusted for overnight shifts) Net Minutes = Gross Minutes - Break Minutes Decimal Hours = Net Minutes / 60 Total Pay = Decimal Hours × Hourly Rate
Subtract start time from end time, subtract unpaid break minutes, divide by 60 to obtain decimal hours, and multiply by hourly pay rate.
Variable Descriptions
- Start Time
- Clock-in time
- End Time
- Clock-out time
- Break
- Unpaid rest or lunch duration in minutes
- Hourly Rate
- Base hourly wage in dollars or local currency
Worked Example
Important Considerations & Tips
- Payroll systems require decimal hours (e.g., 8.25 hours) rather than clock format (8h 15m).
- Shifts crossing midnight are detected and calculated seamlessly without negative numbers.
- Calculations represent gross wages before statutory income tax and payroll deductions.
Frequently Asked Questions
How do you convert work minutes to decimal hours?
Divide the number of minutes by 60. For example, 15 minutes is 15/60 = 0.25 hours; 30 minutes is 0.5 hours; and 45 minutes is 0.75 hours.
How does the calculator handle night shifts that cross midnight?
If the end time is numerically earlier than the start time (e.g., 11:00 PM to 7:00 AM), the calculator automatically adds 24 hours to determine the correct overnight span.
Can I calculate weekly pay using this tool?
You can calculate each daily shift or use the Salary Calculator for consolidated multi-week pay projections.
Related Calculators
Time Calculator
Free online time calculator. Easily add or subtract time durations in hours, minutes, and seconds. Convert time to decimal hours and clean timecodes.
Salary Calculator
Free online salary calculator. Convert between hourly wage, weekly pay, bi-weekly salary, monthly income, and annual compensation with customized work hours.
Date Calculator
Free online date calculator. Calculate the exact number of days, weeks, and business days between two dates, or add/subtract days from any date.
Age Calculator
Free online age calculator. Find your exact age in years, months, weeks, days, and hours from your birth date to today or any target date.
