Expert Reviewed
Marcus Webb, B.Eng, Applied Mathematics SpecialistUpdated June 1, 2026Our Standards β†’

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

Ad-FreeAI-Powered

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

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

Total Work Hours
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.

Weekly Gross Pay (FLSA)
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 Overtime (CA Rule)
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.

Part-time Annualized Hours
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

ClassificationOvertime Eligible?Min. Salary (2025)Examples
Non-exempt (Hourly)Yes β€” 1.5Γ— over 40 hrsN/ARetail, restaurant, warehouse workers
Exempt β€” ExecutiveNo$844/weekManagers with hiring/firing authority
Exempt β€” AdministrativeNo$844/weekOffice workers with discretionary authority
Exempt β€” ProfessionalNo$844/weekLawyers, CPAs, engineers, doctors
Exempt β€” ComputerNo$844/wk or $27.63/hrSoftware engineer, systems analyst
Independent ContractorNo (not covered by FLSA)N/AFreelancers, 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.

StateDaily OT ThresholdDaily OT RateDouble TimeWeekly OTNotes
Federal (all states)NoneN/ANone>40 hrs @ 1.5Γ—Baseline β€” applies everywhere
California8 hrs/day1.5Γ—>12 hrs/day or 7th day >8 hrs>40 hrs/weekMost worker-protective OT law in US
Alaska8 hrs/day1.5Γ—None>40 hrs/weekDaily OT applies to most non-exempt workers
Nevada8 hrs/day (if wage <1.5Γ— min)1.5Γ—None>40 hrs/weekOnly if hourly wage < $16.13/hr (2024)
Colorado12 hrs/day1.5Γ—None>40 hrs/week or >12 consec. hrs12-hour daily OT, not 8
All other statesNoneN/ANone>40 hrs/weekFederal 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.

ScenarioDays Γ— HoursBreak DeductedRegular HrsOT HrsGross Pay @ $18/hr
Standard week5 Γ— 8 hrs5 Γ— 30 min = 2.5 hrs37.5 hrs0 hrs$675.00
40-hr week5 Γ— 8.5 hrs5 Γ— 30 min = 2.5 hrs40 hrs0 hrs$720.00
Mild overtime5 Γ— 9.5 hrs5 Γ— 30 min = 2.5 hrs40 hrs5 hrs$855.00
Heavy overtime5 Γ— 12 hrs5 Γ— 45 min = 3.75 hrs40 hrs16.25 hrs$1,159.25
Overnight shiftMon 10 PM–Tue 6 AM30 min7.5 hrs/shift0 (< 40/wk)$675.00
4-day 10-hr week4 Γ— 10 hrs4 Γ— 30 min = 2 hrs38 hrs0 hrs$684.00
6-day week6 Γ— 8 hrs6 Γ— 30 min = 3 hrs45 hrs5 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

1817

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.

1866

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.

1926

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.

1938

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.

1970s

Digital Payroll Systems

Mainframe-based payroll processing replaced manual timecard calculation, dramatically reducing errors in large-scale hourly payroll.

2020s

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

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?β–Ό
Subtract the start time from the end time in decimal hours. For example, 9:15 AM to 5:30 PM = 8.25 hours. The calculator does this automatically and handles midnight crossings.
How do I handle overnight shifts?β–Ό
If your end time is before your start time (e.g., 10 PM to 6 AM), add 24 hours to the end time before subtracting. The calculator handles this automatically.
When does overtime kick in under federal law?β–Ό
Under FLSA, overtime is required for non-exempt employees who work more than 40 hours in a single workweek. The rate is at least 1.5Γ— the regular hourly rate.
How do I convert minutes to decimal for payroll?β–Ό
Divide minutes by 60. Examples: 15 minutes = 0.25, 30 min = 0.50, 45 min = 0.75. Always use decimal hours when multiplying by an hourly rate.
Are salaried workers entitled to overtime?β–Ό
Only if they earn under the DOL salary threshold ($844/week as of July 1, 2024). Above that threshold, you must qualify for an exemption (executive, admin, professional, etc.).
What is a workweek and why does it matter?β–Ό
FLSA defines a workweek as 7 consecutive 24-hour days. Employers set the workweek (e.g., Mon–Sun). Overtime is assessed per workweek β€” not per biweekly pay period.
Do breaks count as work time?β–Ό
Short paid breaks (5–20 min) count as paid work time. Unpaid meal periods (30+ min) where the employee is fully relieved do not count.
How do I calculate pay for 2 weeks of work?β–Ό
Sum hours worked each week separately, calculate overtime per week, then add both totals. Never combine two weeks to calculate a single overtime threshold.
What is the difference between gross pay and net pay?β–Ό
Gross pay = hours Γ— rate (+ overtime). Net pay = gross pay minus taxes, Social Security, Medicare, health insurance, and other deductions.
How many hours are worked per year full-time?β–Ό
52 weeks Γ— 40 hours = 2,080 hours per year. After 10 federal holidays and 2 weeks PTO: approximately 1,920 hours of actual working time.
Can employers dock pay for partial-day absences (salaried workers)?β–Ό
For exempt salaried employees, docking pay for partial-day absences (outside of FMLA or FLSA-specific situations) may jeopardize the employee's exempt status.
What is comp time and is it legal privately?β–Ό
Compensatory time off ('comp time') in lieu of overtime pay is legal only for state and local government employers. Private employers must pay cash overtime.

References

Related Calculators

Manage Your Time & Money Smarter

Payroll, taxes, overtime, budgeting β€” every financial tool in one place.

Browse Finance Tools β†’

See Also