Notification
Go to Home All Tools Compare Glossary Blog Contact

Hours Calculator

Calculate hours worked from your clock-in and clock-out times, subtract breaks, and total up pay and overtime for accurate timesheets.

Quick Shift Presets Click to auto-fill
Quick presets
Shift goes past midnight? Just enter the real clock end time (e.g., 06:00) — the calculator automatically counts it as the next day (+24 hours).
Hours worked Live

8 hrs 0 mins

8.00 decimal hours · 9:00 AM to 5:30 PM, minus 30 min break

Time from start to end
8 hrs 30 mins
Unpaid breaks
30 min
Hours worked (h:mm)
8:00
Decimal hours (payroll)
8.00 hrs
Total minutes
480 min
Add hourly pay (optional)

Pay is hours × rate, before tax. On the weekly timesheet, hours above the overtime limit are paid at the overtime rate — use the limit and rate from your own contract.

Quick Start Guide

How to Use the Hours & Timesheet Calculator

Accurately tracking hours worked is essential for payroll processing, freelance client invoicing, and statutory labor compliance. Follow these simple steps to calculate your single shift or weekly total:

1

Select Single Shift or Weekly Mode

Choose Single shift to quickly determine billable hours for an individual day, or toggle Weekly timesheet to log Monday through Sunday work patterns with individual toggle switches for days off.

2

Enter Start Time & End Time

Input your punch-in and punch-out clock times. If your shift spans midnight (e.g., starting at 10:00 PM and finishing at 06:00 AM the following morning), the calculator automatically detects the overnight span and adds 24 hours.

3

Deduct Unpaid Breaks

Specify mandatory unpaid meal breaks in minutes (using quick buttons for 0, 15, 30, or 60 minutes). Unpaid break periods are subtracted directly from total elapsed shift time.

4

Configure Hourly Pay & Overtime

Expand Add hourly pay to calculate gross earnings. In weekly mode, set your contract's overtime threshold (e.g., standard 40 hrs/week) and overtime rate multiplier (such as 1.5× for time-and-a-half).

Calculation Mechanics

How Hours Worked and Pay Are Calculated

The engine converts all clock times into cumulative minutes from midnight (00:00 = 0, 23:59 = 1439). By computing the raw minute difference, handling overnight boundary wraps, subtracting non-compensable breaks, and converting to decimal hours, it guarantees cent-exact payroll fidelity.

// Elapsed Shift Duration

Raw Minutes = (End Hour × 60 + End Min) − (Start Hour × 60 + Start Min)

If (Raw Minutes < 0): Raw Minutes = Raw Minutes + 1440  // Overnight shift

Net Billable Minutes = Max(0, Raw Minutes − Unpaid Break Minutes)

Decimal Hours = Net Billable Minutes ÷ 60

// Gross Weekly Wages with Overtime

Regular Hours = Min(Total Weekly Decimal Hours, Overtime Threshold)

Overtime Hours = Max(0, Total Weekly Decimal Hours − Overtime Threshold)

Total Gross Pay = (Regular Hours × Base Rate) + (Overtime Hours × Base Rate × Overtime Multiplier)

Example 1: Standard Day Shift

9:00 AM – 5:30 PM

Total elapsed time is 8 hours 30 minutes (510 minutes). Deducting a standard 30-minute unpaid lunch break leaves 8 hours 0 minutes (8.00 decimal hours). At ₹500/hr, gross earnings equal ₹4,000.00.

Example 2: Graveyard / Night Shift

10:00 PM – 6:00 AM (+1 Day)

Shift spans midnight from 22:00 to 06:00. Adding 24 hours (1,440 minutes) resolves the negative delta to 8 hours 0 minutes. Minus a 30-minute meal break yields 7 hours 30 minutes (7.50 decimal hours). At ₹500/hr, gross earnings equal ₹3,750.00.

Example 3: Weekly Overtime (45 Hrs)

5 Days × 8h + 5h Saturday

Employee logs 45.00 total hours against a 40-hour threshold at ₹500/hr base rate with 1.5× overtime. Base pay: 40 × ₹500 = ₹20,000. Overtime pay: 5 × (₹500 × 1.5) = ₹3,750. Total gross pay is ₹23,750.00.

Timesheet Precision

Decimal Hours, the 7-Minute Rule, and Time Rounding

Most enterprise payroll platforms (such as ADP, Workday, SAP, and QuickBooks) do not process minutes; they require time expressed as decimal hours. Understanding how sexagesimal minutes convert to decimal fractions prevents costly payroll discrepancies:

The Sexagesimal Trap (7h 30m ≠ 7.30h)

A common administrative error is recording 7 hours and 30 minutes as "7.30 hours". Because time uses base-60, 30 minutes is 30/60 = 0.50 of an hour. Paying an employee at 7.30 instead of 7.50 underpays them by 12 minutes (0.20 hours) for every single shift worked.

The 7-Minute Rule (15-Minute Quarter Rounding)

Under US Department of Labor FLSA regulations (29 CFR § 785.48(b)), employers may round punch times to the nearest 15-minute increment. Minutes 1 through 7 round down to the previous quarter hour, while minutes 8 through 14 round up to the next quarter hour (e.g., 8:07 rounds to 8:00; 8:08 rounds to 8:15).

Compliance & Standards

Statutory Labor Standards: Meal Breaks & Overtime Pay

Different jurisdictions impose strict legal standards regarding when work breaks must be paid versus unpaid, and how overtime premiums are earned:

United States (FLSA)

Federal law requires overtime at 1.5× the regular hourly rate for all non-exempt hours in excess of 40 hours per workweek. Short rest breaks (5–20 mins) must be counted as compensable paid hours; bona fide meal periods (typically 30+ mins) where the employee is completely relieved from duty are non-compensable unpaid time.

India (Factories & S&E Act)

Under Section 51 & 54 of the Factories Act 1948, standard working hours cannot exceed 9 hours in a day or 48 hours in a week. Any work performed beyond 9 hours/day or 48 hours/week entitles the worker to overtime wages at twice the ordinary rate of pay (2.0× multiplier).

UK & European Union

Governed by the Working Time Regulations (1998) and EU Directive 2003/88/EC, workers cannot be forced to work more than an average of 48 hours per week (unless they sign an opt-out agreement). Employees working more than 6 consecutive hours are legally entitled to an uninterrupted 20-minute rest break.

Quick Reference

Minutes to Decimal Hours Payroll Conversion Chart

Use this standard conversion table to translate exact clock minutes into decimal equivalents for timesheets, billing entries, and payroll software:

Minutes Exact Fraction Decimal Hours (2 Decimals) 15-Minute Rounding (FLSA) Tenth of an Hour (0.1h)
5 min 5/60 0.08 hrs 0.00 hrs (0 min) 0.10 hrs (6 min)
10 min 10/60 0.17 hrs 0.25 hrs (15 min) 0.20 hrs (12 min)
15 min 15/60 0.25 hrs 0.25 hrs (15 min) 0.30 hrs (18 min)
20 min 20/60 0.33 hrs 0.25 hrs (15 min) 0.30 hrs (18 min)
25 min 25/60 0.42 hrs 0.50 hrs (30 min) 0.40 hrs (24 min)
30 min 30/60 0.50 hrs 0.50 hrs (30 min) 0.50 hrs (30 min)
35 min 35/60 0.58 hrs 0.50 hrs (30 min) 0.60 hrs (36 min)
40 min 40/60 0.67 hrs 0.75 hrs (45 min) 0.70 hrs (42 min)
45 min 45/60 0.75 hrs 0.75 hrs (45 min) 0.80 hrs (48 min)
50 min 50/60 0.83 hrs 0.75 hrs (45 min) 0.80 hrs (48 min)
55 min 55/60 0.92 hrs 1.00 hrs (60 min) 0.90 hrs (54 min)
60 min 60/60 1.00 hrs 1.00 hrs (60 min) 1.00 hrs (60 min)
Hours & timesheets

Ask AI about your hours

Ask AI
Good to know

Questions, answered

Quick answers about how this tool works.

An hours calculator helps determine the total time between two timestamps. It can be used to calculate work hours, shift durations, overtime, project time, travel schedules, and other time-based activities.

Yes. Most hours calculators can accurately calculate time spans that cross midnight, making them useful for night shifts, late work schedules, and 24-hour operations.

If break periods are entered, they are subtracted from the total duration. This provides a more accurate calculation of actual working or productive hours.

Hours and minutes are displayed in standard time format, such as 7 hours 30 minutes. Decimal hours convert the same duration into a single number, such as 7.5 hours, which is commonly used for payroll and billing purposes.

Was this tool helpful?

Be the first to rate Hours Calculator

Tap a star to rate instantly

What do you need to calculate next?

Search 282+ free calculators & tools — instant, private, no signup.

More in Date & Time