Skip to content
UseCalcNow
Finance

Hours Calculator — Track Work Hours and Earnings

Calculate total work hours from clock-in and clock-out times with break deductions and hourly pay rate for accurate payroll.

About This Calculator

Tracking work hours accurately matters for payroll, invoicing, and labor law compliance. This hours calculator takes your clock-in and clock-out times, subtracts break deductions, and shows total hours worked plus gross pay for the shift. Enter your times in 24-hour format for the most reliable results.

The Formula Behind This Calculator

The calculator converts both clock-in and clock-out times into total minutes since midnight. It subtracts the start minutes from the end minutes (adding 1,440 minutes if the shift crosses midnight), then deducts break time. The remaining minutes divide by 60 to produce decimal hours, which multiply against the hourly rate for gross pay. For example, 9:00 to 17:30 with a 30-minute break equals 8.0 decimal hours, which at $15/hr yields $120.00 gross.

Understanding the math helps you verify results and make better decisions for your project.

How to Use

  1. 1Enter your clock-in hour (0-23) and minute (0-59). Use 24-hour format: 13 for 1 PM, 14 for 2 PM.
  2. 2Enter your clock-out hour and minute the same way.
  3. 3Input your total break time in minutes (30 for a standard lunch, 15 for one short break).
  4. 4Enter your hourly pay rate to see gross earnings for the shift.
  5. 5Click calculate to see total hours in both decimal and hours-plus-minutes format.

When to Use

  • Processing weekly time cards for small business payroll
  • Verifying freelancer or contractor invoice hours before payment
  • Checking overtime eligibility when shifts extend past 8 hours
  • Tracking personal work hours across side gigs and part-time jobs
  • Reconciling discrepancies between your time log and employer records

Tips

  • Use 24-hour format to avoid AM and PM confusion — 9 AM is 9, 9 PM is 21.
  • Round break minutes to the nearest 5 for cleaner totals and easier payroll math.
  • For overnight shifts, just enter times as-is: the calculator handles midnight crossover automatically.
  • Keep a daily log rather than reconstructing hours from memory at week's end.
  • Compare your calculated hours against your employer's time system every pay period to catch errors early.
  • Remember that decimal hours (7.5) differ from clock hours (7:30) — payroll systems use decimal format.

Understanding Work Hours Calculation

Work hours calculation seems straightforward — subtract start time from end time — but real-world shifts involve breaks, overtime thresholds, and midnight crossovers that trip up manual math. A typical 9-to-5 with a 30-minute unpaid lunch equals 7.5 paid hours, not 8. Missing that 30-minute deduction across a 5-day work week means 2.5 hours of overpayment, which adds up to real money over a year of payroll.

The Fair Labor Standards Act (FLSA) requires employers to track all hours worked by non-exempt employees accurately. While the law does not mandate a specific timekeeping method, the burden of proof falls on the employer if a wage dispute arises. Digital time clocks, badge swipes, and mobile apps all feed into the same underlying math: start time, end time, and deductions.

For employees who want to verify their paychecks, using a count hours calculator alongside this tool gives a reliable cross-check. Enter your times daily, sum the results weekly, and compare against your pay stub. Discrepancies under 15 minutes are usually rounding differences, but larger gaps deserve a conversation with HR.

Break Deductions and Labor Law Compliance

Federal law does not require employers to offer meal or rest breaks, but when they do, breaks lasting 20 minutes or less must be paid. Meal breaks of 30 minutes or more can be unpaid if the employee is completely relieved of duty. State laws vary significantly — California requires a paid 10-minute rest break for every 4 hours worked, plus an unpaid 30-minute meal break for shifts over 5 hours.

Misclassifying paid breaks as unpaid is a common wage violation that costs employers millions in back-pay settlements each year. If you are an employee, check your state's labor code to confirm which breaks should be deducted. If you are an employer, document your break policy clearly and configure your timekeeping system to match the legal requirements in each jurisdiction where you operate.

For standard shift planning, the 8 hour shift calculator helps structure breaks within a full workday. A typical 8-hour shift might include two paid 15-minute rest breaks and one unpaid 30-minute lunch, yielding 7.5 paid hours. Entering only the unpaid 30 minutes in the break field produces the correct paid total.

Converting Time to Decimal Hours

Payroll systems operate in decimal hours, not clock time. The conversion is simple: divide minutes by 60 and add to the whole hours. Seven hours and 45 minutes becomes 7.75 decimal hours. At $18 per hour, that equals $139.50 gross. This format lets payroll software multiply hours by rate without parsing colon-separated time strings.

Common decimal conversions: 15 minutes = 0.25 hours, 30 minutes = 0.50 hours, 45 minutes = 0.75 hours. For more complex time conversions across multiple entries, the decimal time conversion calculator handles batch conversions from clock format to decimal format. This is useful when manually tallying a week of punch-card data before running payroll.

Rounding errors are the biggest risk in decimal conversion. Always round to two decimal places at the final step, never at intermediate steps. Rounding each day individually before summing a weekly total can create discrepancies of several cents per employee, which compounds across hundreds of workers on a large payroll.

Overtime Calculations and Thresholds

Under federal law, non-exempt employees earn 1.5 times their regular rate for hours worked beyond 40 in a workweek. Some states have daily overtime thresholds — California pays overtime for hours beyond 8 in a single day, and double-time beyond 12. Daily overtime calculations require tracking each shift's total hours before applying the multiplier.

This calculator shows straight-time hours per shift. To compute weekly overtime, sum the daily results from this calculator, identify any hours over 40, and multiply those by 1.5. The adding hours calculator can help total up multiple shifts across a week, applying the correct overtime premium to excess hours.

Compensatory time (comp time) in lieu of overtime pay is generally prohibited for private-sector employees under the FLSA, though public-sector employers may offer it under specific conditions. Always check whether your state allows comp time arrangements before accepting them in place of overtime pay.

Shift Work and Overnight Schedules

Overnight shifts create a mathematical wrinkle: clock-out time is numerically smaller than clock-in time. A shift starting at 22:00 and ending at 06:00 looks like a negative 16 hours if you simply subtract. The correct approach adds 24 hours (1,440 minutes) to the end time when it falls before the start time, yielding the actual 8-hour shift length.

This calculator handles that midnight crossover automatically. Enter 22 for clock-in hour and 6 for clock-out hour, and the result correctly shows 8 hours minus any break deduction. No manual adjustment needed. For tracking total time across multiple overnight shifts in a week, the clock duration calculator provides similar handling for consecutive time periods.

Rotating shift schedules add another layer of complexity. A worker on a 4-on-4-off pattern (four 12-hour shifts followed by four days off) averages 42 hours per week over the rotation cycle, which may trigger overtime depending on how the workweek is defined. Track each shift individually and sum carefully to avoid errors.

Freelance and Contract Work Tracking

Freelancers and independent contractors live and die by accurate hour tracking. Clients expect invoices that match agreed-upon estimates, and rounded-up hours damage trust quickly. Logging time in 6-minute increments (the standard legal billing unit, also called a tenth of an hour) provides granular detail without excessive data entry overhead.

For hourly contractors, the break deduction field is useful for subtracting non-billable time like lunch or personal calls during a client engagement. At the end of a billing period, multiply total billable hours by your rate to produce the invoice amount. The cost per minute calculator offers a complementary view, breaking earnings down to the minute for detailed project accounting.

Keeping a spreadsheet or app log of each work session — client name, start time, end time, breaks — creates a defensible record if a client disputes an invoice. Match each entry to the corresponding project deliverable for maximum credibility. This habit also helps with tax preparation, since self-employed individuals need accurate income records for quarterly estimated tax payments.

Common Time Tracking Mistakes

The most frequent timekeeping error is forgetting to clock out for breaks and then deducting them manually at the end of the day. This creates a mismatch between the time system and actual hours worked. If your employer uses a badge or app-based system, punch out and back in for every unpaid break — the system handles the math for you.

Another common mistake is entering PM times without converting to 24-hour format in systems that require it. Entering 5 instead of 17 for 5 PM produces a negative or incorrect shift total. The elapsed time calculator helps verify the actual duration between two timestamps when you suspect a data entry error.

Rounding practices also cause disputes. Some employers round to the nearest 15 minutes (the maximum allowed under FLSA), which can favor the employer if applied inconsistently. Track your actual start and end times to the minute using this calculator, then compare against the rounded times on your pay stub. Repeated rounding that always favors the employer may indicate a compliance issue worth raising.

Payroll Integration and Record Keeping

Modern payroll platforms like Gusto, ADP, and QuickBooks integrate directly with time-tracking systems, eliminating manual data entry. But the underlying math remains the same: hours times rate equals gross pay. Understanding that math helps you catch system errors and verify that automated imports are working correctly.

For businesses still using manual time cards or simple spreadsheets, summing daily hours into weekly totals requires careful attention. The adding hours and minutes calculator simplifies this process by handling the base-60 carry-over (60 minutes = 1 hour) that makes spreadsheet SUM formulas unreliable on raw time data.

Retention requirements matter too. The FLSA requires employers to keep payroll records for at least three years, and time cards or timekeeping records for at least two years. Digital records stored in cloud-based time-tracking systems generally meet these requirements, but exporting periodic backups protects against data loss if a vendor goes offline or changes their retention policy.

FAQ

How does the calculator handle overnight shifts?

If the clock-out time is earlier than the clock-in time (in minutes since midnight), the calculator adds 1,440 minutes (24 hours) to the end time. So a shift from 22:00 to 06:00 correctly calculates as 8 hours, not a negative number.

Should I include paid breaks in the break deduction field?

No. The break deduction field is for unpaid time only. If your employer pays for lunch breaks, set the break minutes to 0. Only subtract breaks that you do not get paid for.

Why does my payroll show decimal hours instead of hours and minutes?

Payroll systems use decimal hours because they multiply cleanly by the hourly rate. 7 hours 30 minutes becomes 7.5 decimal hours, and 7.5 times $20/hr = $150.00. The calculator shows both formats so you can cross-check.

Is the hourly rate field required?

The field has a default value of $15, but you can set it to 0 if you only need hour totals without pay calculations. The gross pay will show as $0.00 in that case.

How accurate is this for overtime calculations?

The calculator gives you total shift hours, which you can compare against the 8-hour daily overtime threshold in most US states. For weekly overtime (over 40 hours), sum up the daily results or use a time [card calculator](/calculator/count-hours-calculator) for multi-day tracking.

Can I use this for salaried employees?

Salaried employees typically do not track hours for pay purposes, but many salaried workers still log their time for project accounting, client billing, or personal productivity tracking. Set the hourly rate to 0 in that case.

Related Calculators