Last updated:
Hours Calculator
Calculate hours worked between any two times. Add up a full timesheet, include overtime at 1.5Γ, and see gross pay instantly. Supports AM/PM, 24-hour clock, ...
Hours Calculator
Calculate work hours, breaks, overtime, and pay. Track timesheets and visualize your weekly work patterns with our comprehensive hours calculator.
Details
β° Common Shifts
π° Pay Settings
Enter values above to see results.
Related Articles
π In-Depth Guide
This calculator is part of a comprehensive guide
Reviewed by CalculatorApp.me HR & Payroll Team
The Complete Guide to Hours & Payroll Calculation
FLSA overtime rules, shift differentials, break deductions, and payroll math β all explained.
40 hrs/wk
FLSA standard workweek (USA)
1.5Γ
Overtime rate (hours > 40/wk)
$7.25/hr
Federal minimum wage
2,080 hrs
Full-time work hours per year
What Is an Hours Calculator?
An hours calculator computes the total duration between a start time and end time β with optional lunch/break deductions, overnight shifts, and overtime separation. It eliminates manual time-card math errors that cost businesses thousands of dollars annually in wage disputes.
Beyond simple time spans, a full-featured hours calculator applies FLSA (Fair Labor Standards Act) rules to flag overtime, compute gross pay at regular and overtime rates, and produce payroll-ready summaries for any number of workdays.
Key use cases include: employee timesheet processing, freelance hourly invoicing, shift planning, overtime liability estimation, travel/flight duration tracking, and study or project time accounting.
Hours & Pay Formulas
hours = end_time β start_time β breaks Decimal conversion: 6h 45m = 6 + (45 Γ· 60) = 6.75 hours Overnight shift: if end < start: add 24 hours to end_time
Always convert minutes to decimal before multiplying by hourly rate.
regular_hours = min(total_hours, 40)
ovt_hours = max(0, total_hours β 40)
gross_pay = (regular_hours Γ rate)
+ (ovt_hours Γ rate Γ 1.5)FLSA requires 1.5Γ for hours beyond 40 in a workweek β not per-day unless state law specifies.
daily_ovt = max(0, daily_hours β 8) double_time = max(0, daily_hours β 12) California also requires OT on the 7th consecutive day of work: OT β₯ 1hr, double-time > 8 hrs on day 7
California, Nevada, and Alaska have daily OT rules in addition to federal weekly OT.
annual_hours = weekly_hours Γ 52 FTE equivalent: FTE = annual_hours Γ· 2080 Example: 30 hrs/wk Γ 52 = 1,560 hr/yr FTE = 1560 Γ· 2080 = 0.75 FTE
2,080 = 40 hours Γ 52 weeks; used in benefits eligibility and budgeting.
FLSA Worker Classifications
| Classification | Overtime Eligible? | Min. Salary (2025) | Examples |
|---|---|---|---|
| Non-exempt (Hourly) | Yes β 1.5Γ over 40 hrs | N/A | Retail, restaurant, warehouse workers |
| Exempt β Executive | No | $844/week | Managers with hiring/firing authority |
| Exempt β Administrative | No | $844/week | Office workers with discretionary authority |
| Exempt β Professional | No | $844/week | Lawyers, CPAs, engineers, doctors |
| Exempt β Computer | No | $844/wk or $27.63/hr | Software engineer, systems analyst |
| Independent Contractor | No (not covered by FLSA) | N/A | Freelancers, gig economy workers |
Salary thresholds updated per DOL Final Rule effective July 1, 2024. Always verify current thresholds at dol.gov.
State Overtime Rules β Daily vs Weekly
Federal FLSA only requires overtime for hours exceeding 40 per workweek. Several states go further with daily overtime rules β meaning you earn overtime the moment you exceed 8 hours in a single day, regardless of your weekly total.
| State | Daily OT Threshold | Daily OT Rate | Double Time | Weekly OT | Notes |
|---|---|---|---|---|---|
| Federal (all states) | None | N/A | None | >40 hrs @ 1.5Γ | Baseline β applies everywhere |
| California | 8 hrs/day | 1.5Γ | >12 hrs/day or 7th day >8 hrs | >40 hrs/week | Most worker-protective OT law in US |
| Alaska | 8 hrs/day | 1.5Γ | None | >40 hrs/week | Daily OT applies to most non-exempt workers |
| Nevada | 8 hrs/day (if wage <1.5Γ min) | 1.5Γ | None | >40 hrs/week | Only if hourly wage < $16.13/hr (2024) |
| Colorado | 12 hrs/day | 1.5Γ | None | >40 hrs/week or >12 consec. hrs | 12-hour daily OT, not 8 |
| All other states | None | N/A | None | >40 hrs/week | Federal FLSA applies |
Timecard Calculation Examples
The following worked examples show common payroll scenarios using federal FLSA rules at $18/hr regular rate. Break time is unpaid in all examples.
| Scenario | Days Γ Hours | Break Deducted | Regular Hrs | OT Hrs | Gross Pay @ $18/hr |
|---|---|---|---|---|---|
| Standard week | 5 Γ 8 hrs | 5 Γ 30 min = 2.5 hrs | 37.5 hrs | 0 hrs | $675.00 |
| 40-hr week | 5 Γ 8.5 hrs | 5 Γ 30 min = 2.5 hrs | 40 hrs | 0 hrs | $720.00 |
| Mild overtime | 5 Γ 9.5 hrs | 5 Γ 30 min = 2.5 hrs | 40 hrs | 5 hrs | $855.00 |
| Heavy overtime | 5 Γ 12 hrs | 5 Γ 45 min = 3.75 hrs | 40 hrs | 16.25 hrs | $1,159.25 |
| Overnight shift | Mon 10 PMβTue 6 AM | 30 min | 7.5 hrs/shift | 0 (< 40/wk) | $675.00 |
| 4-day 10-hr week | 4 Γ 10 hrs | 4 Γ 30 min = 2 hrs | 38 hrs | 0 hrs | $684.00 |
| 6-day week | 6 Γ 8 hrs | 6 Γ 30 min = 3 hrs | 45 hrs | 5 hrs | $945.00 |
OT Calculation
Row 3 example: 5 Γ 9.5 hrs = 47.5 hrs total. Minus 2.5 hrs unpaid break = 45 hrs worked. Regular = 40 hrs Γ $18 = $720. OT = 5 hrs Γ $27 = $135. Gross = $855.
OT Rate Formula
OT rate = regular rate Γ 1.5. At $18/hr: $18 Γ 1.5 = $27/hr for every hour over 40 in the workweek. Some employers add bonuses to the regular rate β this raises the OT rate too (FLSA Β§207).
Break Rules
Federal law does not require breaks, but FLSA requires short rest breaks (5β20 min) to be paid. Meal breaks of 30+ minutes are unpaid only if the employee is completely relieved from duty.
History of the Workweek & Labor Laws
Robert Owen's 8-Hour Day
Welsh social reformer Robert Owen coined the slogan '8 hours labour, 8 hours recreation, 8 hours rest' β the first major advocacy for the modern workday.
National Labor Union Demands 8-hr Workday
The first US national labor federation formally demanded an 8-hour workday and 40-hour workweek from Congress.
Ford Motor β 40-Hour Week
Henry Ford voluntarily reduced his factories to 5 days / 40 hours per week β finding productivity equal or higher vs. the previous 6-day schedule.
Fair Labor Standards Act
The FLSA established the 40-hour workweek, federal minimum wage, and overtime pay (1.5Γ) as legal requirements for covered non-exempt workers.
Digital Payroll Systems
Mainframe-based payroll processing replaced manual timecard calculation, dramatically reducing errors in large-scale hourly payroll.
Remote Work Time Tracking
The COVID-19 pandemic accelerated digital time-tracking adoption as remote workers used apps, online calculators, and automated systems to log hours.
Key Research on Working Hours
US Dept. of Labor β WHD
FLSA Overtime Rules β Official Guidance
Full text of overtime requirements, exemption criteria, and tip credits under the Fair Labor Standards Act.
Stanford University
The Productivity of Working Hours
John Pencavel (2014): Productivity per hour declines sharply when working beyond 49 hours/week; output at 70 hrs equals 55 hrs.
Bureau of Labor Statistics
Occupational Employment & Wage Statistics
2024 BLS data: Average US hourly wage across all sectors β$35.40. Median weekly hours for full-time workers: 40.7.
ILO
Working Time and Worker Well-being
ILO research links excess working hours (>55 hrs/wk) to 35% higher stroke risk and 17% higher heart disease risk.
Hours & Payroll Myths vs. Facts
Overtime is required for working more than 8 hours per day.
Under federal FLSA, overtime triggers at 40 hours per workweek β not per day. Only some states (CA, NV, AK) mandate daily overtime at 8+ hrs.
Salaried employees never qualify for overtime.
Salaried workers below the DOL salary threshold ($844/week as of July 2024) are non-exempt and must be paid overtime regardless of salary structure.
Lunch breaks must be removed from hours automatically.
Only unpaid breaks can be deducted. Paid breaks and 'on-duty' meal periods (where the employee can't leave) must count as work time.
Rounding time to the nearest 15 minutes always benefits the employer.
FLSA permits rounding only if it's neutral on average. Consistent rounding that deprives workers of compensation is an FLSA violation.
Frequently Asked Questions
How do I calculate hours worked between two times?βΌ
How do I handle overnight shifts?βΌ
When does overtime kick in under federal law?βΌ
How do I convert minutes to decimal for payroll?βΌ
Are salaried workers entitled to overtime?βΌ
What is a workweek and why does it matter?βΌ
Do breaks count as work time?βΌ
How do I calculate pay for 2 weeks of work?βΌ
What is the difference between gross pay and net pay?βΌ
How many hours are worked per year full-time?βΌ
Can employers dock pay for partial-day absences (salaried workers)?βΌ
What is comp time and is it legal privately?βΌ
References
Related Calculators
Date Calculator
Days between any two dates
Tip Calculator
Accurate tip & bill splits
Paycheck Calculator
Calculate take-home pay after taxes & deductions
Savings Calculator
See how hourly earnings grow over time
GPA Calculator
Calculate grade point averages
Time Zone Converter
Convert time across any city or UTC offset
Manage Your Time & Money Smarter
Payroll, taxes, overtime, budgeting β every financial tool in one place.
Browse Finance Tools β