Hour Calculator
Calculate hours between times or track weekly time cards with automatic overtime calculation — perfect for payroll and time tracking.
| Day | Start | End | Break (min) | Hours |
|---|---|---|---|---|
| Monday | 0.00 | |||
| Tuesday | 0.00 | |||
| Wednesday | 0.00 | |||
| Thursday | 0.00 | |||
| Friday | 0.00 | |||
| Saturday | 0.00 | |||
| Sunday | 0.00 |
How to Use the Hour Calculator
Calculate work hours quickly and accurately with two powerful modes for different use cases.
- Hours Between mode: Calculate hours for a single shift. Enter start and end times, add any break time, and check "next day" if the shift crosses midnight. Perfect for single day calculations.
- Time Card mode: Track a full week of work. Enter start and end times for each day (Monday through Sunday), add break times, and set your overtime threshold. The calculator automatically separates regular and overtime hours.
- Break time: Enter unpaid break time in minutes. This is subtracted from the total hours worked.
- View results: See total hours in HH:MM format plus decimal hours for payroll systems. Time Card mode shows regular vs overtime breakdown.
Hour Calculation Formulas
Hours between two times:
Total Hours = (End Time - Start Time) - Break Time
Decimal hours conversion:
Decimal Hours = Hours + (Minutes ÷ 60)
Overtime calculation:
Regular Hours = min(Total Weekly Hours, Overtime Threshold)
Overtime Hours = max(0, Total Weekly Hours - Overtime Threshold)
For example, if you work from 9:00 AM to 5:30 PM with a 30-minute lunch break: (5:30 PM - 9:00 AM) - 30 minutes = 8 hours (8.0 decimal hours).
Common Hour Calculation Examples
| Scenario | Start | End | Break | Hours | Decimal |
|---|---|---|---|---|---|
| Standard office day | 9:00 AM | 5:00 PM | 60 min | 7:00 | 7.00 |
| Morning shift | 6:00 AM | 2:30 PM | 30 min | 8:00 | 8.00 |
| Evening shift | 3:00 PM | 11:00 PM | 30 min | 7:30 | 7.50 |
| Night shift (crosses midnight) | 10:00 PM | 6:30 AM | 30 min | 8:00 | 8.00 |
| Part-time shift | 10:00 AM | 2:00 PM | 0 min | 4:00 | 4.00 |
| Extended shift with overtime | 7:00 AM | 7:00 PM | 60 min | 11:00 | 11.00 |
Weekly overtime example: Working 9 hours Monday through Friday (45 total) with a 40-hour overtime threshold gives you 40 regular hours and 5 overtime hours. At $25/hour regular and $37.50/hour overtime (1.5x), your weekly gross pay would be $1,000 + $187.50 = $1,187.50.
What is Hour Tracking?
Hour tracking is the process of recording the time spent working to ensure accurate payroll, project billing, and labor law compliance. Whether you are an hourly employee, freelancer, or small business owner, calculating work hours correctly prevents pay disputes and ensures fair compensation.
Modern hour tracking serves several purposes beyond basic payroll. Project managers use it to monitor resource allocation and estimate future project timelines. Freelancers track hours to bill clients accurately and understand their effective hourly rate. Employers use it to comply with labor laws like the Fair Labor Standards Act (FLSA) that mandate overtime pay.
The two most common formats for recording hours are hours:minutes (HH:MM) and decimal hours. While HH:MM is intuitive, decimal hours are preferred by payroll systems because they simplify calculations. For example, 7 hours 45 minutes expressed as 7.75 decimal hours makes multiplication by hourly rate straightforward: 7.75 × $20 = $155.
Understanding Overtime Calculation
Overtime is additional pay for hours worked beyond the standard work week threshold. In the United States, the Fair Labor Standards Act (FLSA) requires overtime pay at 1.5 times the regular rate for hours worked over 40 in a workweek.
How this calculator handles overtime:
- The default overtime threshold is 40 hours per week, but you can adjust this to match your company policy or local regulations.
- Hours up to the threshold are counted as Regular Hours.
- Any hours beyond the threshold are counted as Overtime Hours.
- The calculator does not apply the overtime pay multiplier (1.5x) — it only separates the hours. You'll need to apply your actual overtime rate when calculating pay.
Example: If you work 45 hours in a week with a 40-hour threshold, you'll see 40 regular hours and 5 overtime hours.
Note: Overtime laws vary by country, state, and employment type. Some jurisdictions use daily overtime (e.g., over 8 hours per day) instead of weekly. Always consult your local labor laws and employment contract.
Decimal Hours for Payroll
Most payroll systems use decimal hours instead of hours and minutes. This makes calculations easier and more accurate.
Common conversions:
| Minutes | Decimal | Minutes | Decimal |
|---|---|---|---|
| 15 minutes | 0.25 | 45 minutes | 0.75 |
| 30 minutes | 0.50 | 1 hour | 1.00 |
| 6 minutes | 0.10 | 36 minutes | 0.60 |
| 12 minutes | 0.20 | 48 minutes | 0.80 |
Formula: Decimal hours = Hours + (Minutes ÷ 60)
For example: 8 hours 30 minutes = 8 + (30 ÷ 60) = 8.5 decimal hours