Hours Worked Calculator

Add one or more work periods, subtract unpaid breaks, handle overnight shifts automatically, and see the total in both hours:minutes and payroll-friendly decimal hours.

Optional pay estimate
$

Enter at least one complete start and end time. Break minutes are optional and should represent only time you want deducted.

Your Worked-Time Total

Decimal hours0.00
Total unpaid breaks0h 0m
Work periods counted0
Total worked time0h 0m
Estimated gross pay$0.00
Elapsed before breaks0h 0m
Worked minutes0
Worked seconds0
Average per period0h 0m

Period breakdown

PeriodElapsedBreakWorkedDecimal
Calculate to build the breakdown.

Exact time math, not automatic payroll policy

This calculator subtracts the break time you enter and treats an end time earlier than its start as an overnight shift ending the next day. It does not automatically decide whether a break is legally paid, apply employer rounding, determine overtime, or interpret timekeeping law.

What Is an Hours Worked Calculator?

An hours worked calculator finds the amount of time between clock-in and clock-out, subtracts any unpaid break you enter, and adds multiple work periods into one total.

It is useful for checking a time card, preparing a timesheet, totaling split shifts, converting worked time to decimal hours, or reviewing an overnight schedule. The calculation itself is time arithmetic; payroll and legal rules are a separate layer.

SonoCalculator keeps that distinction visible. You control every start time, end time and break deduction, while the result shows both familiar hours-and-minutes and decimal hours without silently applying a particular employer's rounding or overtime policy.

Hours Worked Formula

For one work period, the basic calculation is:

Worked time = Clock-out time − Clock-in time − Unpaid break

The calculator converts the start and end times to minutes after midnight, finds the elapsed duration, subtracts the entered break, and then adds valid periods together.

Using whole minutes for each completed period avoids a common mistake: rounding each shift to a decimal too early and then summing already-rounded values. SonoCalculator totals time first and converts the final result to decimal hours afterward.

How Overnight Shifts Are Calculated

An overnight shift crosses midnight, so the clock-out time can look earlier than the clock-in time. For example, 10:00 PM to 6:00 AM is not negative eight hours; it is an eight-hour elapsed period.

When the entered end time is earlier than the start time, this calculator treats the end as occurring on the following day. That means 22:00 to 06:00 becomes 480 elapsed minutes before any break deduction.

The calculator assumes a single entered period lasts less than 24 hours. If a work period truly extends for 24 hours or longer, split it into separate rows so the result remains unambiguous.

How Unpaid Breaks Affect Worked Hours

A break should be deducted only when you intend that time to be excluded from worked time. If you clock out and later clock back in, you can instead enter those as two separate work periods and leave the break field at zero for each row.

For example, 9:00 AM to 5:30 PM is 8 hours 30 minutes elapsed. Subtracting a 30-minute unpaid meal period leaves exactly 8 hours worked.

Whether a particular rest or meal period must be treated as paid time is not simply a math question. Workplace rules and applicable law can determine whether time is compensable, so the calculator does not automatically label a specific break as paid or unpaid.

Hours and Minutes vs Decimal Hours

Clock time and decimal time use different representations. Forty-five minutes is 0.75 of an hour, not 0.45. To convert minutes to decimal hours, divide the minutes by 60.

Decimal hours = Total worked minutes ÷ 60

Examples: 7h 15m = 7.25 hours, 7h 30m = 7.50 hours, and 7h 45m = 7.75 hours. The calculator shows both formats so you do not have to convert manually.

Multiple Work Periods and Split Shifts

A workday does not always consist of one continuous shift. Someone may work 8:00–12:00, leave for several hours, and return 15:00–19:00. Entering each block separately makes the unpaid gap explicit rather than forcing it into one break field.

You can also use multiple rows for different days. The calculator totals all valid periods, gives an average worked duration per period, and builds a row-by-row breakdown.

The optional five-day button creates five blank rows for convenience; it does not assume Monday through Friday hours or prefill any times.

Exact Time vs Payroll Rounding

This calculator uses the exact minute values you enter. It does not round clock-in, clock-out or worked duration to 5, 6, 10 or 15-minute increments.

That choice is intentional. Rounding practices can differ by employer, payroll system, collective agreement and law. Applying a hidden rounding rule can make a calculator look precise while producing the wrong answer for the user's actual timekeeping system.

Optional Gross Pay Estimate

If you enter an hourly rate, the calculator multiplies total decimal hours by that rate to provide a simple gross-pay estimate:

Estimated gross pay = Total worked hours × Hourly rate

This is deliberately a straight-time estimate. It does not automatically calculate overtime premiums, shift differentials, tips, bonuses, taxes or deductions.

Worked Hours Examples

Example 1: day shift with lunch

Clock in at 8:30 AM and clock out at 5:15 PM. The elapsed time is 8 hours 45 minutes. Subtract a 45-minute unpaid break and the worked total is exactly 8 hours, or 8.00 decimal hours.

Example 2: overnight shift

Clock in at 10:00 PM and clock out at 6:00 AM. With a 30-minute unpaid break, worked time becomes 7 hours 30 minutes, or 7.50 decimal hours.

Example 3: split shift

Work from 8:00 AM to 12:00 PM, then 3:00 PM to 7:00 PM. Enter those as two separate periods. Each is four hours, so the combined worked time is eight hours.

Example 4: decimal conversion

A total of 38 hours 20 minutes equals 38 + 20 ÷ 60 = 38.3333... hours. The calculator displays the decimal total rounded for readability while preserving the whole-minute total internally.

How to Check a Timesheet More Reliably

  1. Enter each actual clock-in and clock-out period separately.
  2. Use the break field only for time that is not already excluded by a separate clock-out/clock-in gap.
  3. Check overnight rows carefully so you intended the shift to cross midnight.
  4. Compare the period breakdown with your own records before relying on the grand total.
  5. If payroll uses rounding, compare against the official rounded punches.

Common Hours-Worked Mistakes

Common Questions

How do I calculate hours worked between two times?

Subtract the start time from the end time, account for crossing midnight if necessary, then subtract any unpaid break you want excluded.

How do I calculate an overnight shift?

If the end time is earlier than the start, treat the end as the following day.

How do I convert minutes to decimal hours?

Divide the minutes by 60 and add that fraction to the whole hours.

Can I calculate several shifts at once?

Yes. Add another work period for every separate clock-in/clock-out block.

Does this calculator determine overtime?

No. It totals worked time but does not classify hours as regular or overtime because thresholds and eligibility rules vary.

Is the pay estimate before tax?

Yes. It is a simple gross straight-time estimate before taxes, deductions and premium pay.

Why Keeping the Breakdown Matters

A single decimal total can hide mistakes. The period breakdown lets you verify elapsed duration, break deduction and worked time separately for every row.

For recordkeeping or payroll disputes, treat the calculator as a checking tool rather than the authoritative employment record. Keep the original time punches, schedules and employer records that apply to your situation.

Timekeeping note: This calculator performs exact time arithmetic from the entries you provide. It does not decide whether particular activities or breaks are legally compensable, apply payroll rounding rules, determine overtime eligibility, or replace an employer's official timekeeping records. Work-time and pay rules vary by jurisdiction and employment arrangement, so use the applicable policy, contract and official local guidance for payroll or legal decisions. Last reviewed: September 2026.