Hours Calculator

Hours worked between a start and end time, minus unpaid breaks, with optional pay.

Enter details

min

Hours worked

8 h 15 min

Decimal hours
8.25
Total minutes
495
Pay
165.00

How hours worked changes with

Start time (HH:MM, 24-hour): 4 → 12 h 45 min12 → 4 h 45 min

The dot is your current value. The graph updates as you type.

Formula: Hours = (End − Start − Break) / 60

Hours Calculator: Time Worked & Pay Formula

Short answer

The Hours Calculator computes elapsed working time between a start and end time, subtracting any unpaid break duration. For example, a shift from 08:30 to 17:15 with a 30-minute unpaid break totals 8 hours and 15 minutes (8.25 decimal hours), earning $165.00 at an hourly rate of $20.00.

Formula

Hours Worked = (End Time in Minutes − Start Time in Minutes − Unpaid Break in Minutes) / 60 Total Pay = Decimal Hours × Hourly Rate

End Time in Minutes is the clock-out time converted into total minutes from midnight (Hours × 60 + Minutes). Start Time in Minutes is the clock-in time converted into total minutes from midnight. If the shift crosses midnight (End Time < Start Time), 1,440 minutes (24 hours) are added to the difference. Unpaid Break is the duration of non-working time entered in minutes. Decimal Hours represents the net working minutes divided by 60. Hourly Rate is the optional pay rate per decimal hour.

Worked example

Start time (HH:MM, 24-hour)
08:30
End time (HH:MM, 24-hour)
17:15
Unpaid break
30
Hourly rate (optional)
20
  • Hours worked: 8 h 15 min
  • Decimal hours: 8.25
  • Total minutes: 495
  • Pay: 165.00

How the Hours Calculator Works

Tracking work hours accurately is essential for budgeting, verifying payroll, and managing client billables. The Hours Calculator computes the exact elapsed time between your start time and end time, subtracts any unpaid break duration, and converts the resulting shift into both standard time (hours and minutes) and decimal hours. If an hourly pay rate is provided, it also calculates gross earnings for the shift.

Time tracking often causes confusion because standard clocks operate on a 60-minute base, whereas accounting and payroll systems operate on a base-10 decimal format. This tool bridges that gap instantly, preventing common conversion errors that lead to underpayment or payroll discrepancies.


Step-by-Step Worked Example

To understand the underlying math, consider a typical standard workday with the following parameters:

  • Start time (24-hour): 08:30 (8:30 AM)
  • End time (24-hour): 17:15 (5:15 PM)
  • Unpaid break: 30 minutes
  • Hourly rate: $20.00

Step 1: Convert Clock Times to Total Minutes from Midnight

Convert both times into minutes from the start of the day:

  • Start Time: $(8 \times 60) + 30 = 480 + 30 = 510\text{ minutes}$
  • End Time: $(17 \times 60) + 15 = 1,020 + 15 = 1,035\text{ minutes}$

Step 2: Calculate Gross Elapsed Time

Subtract the start time from the end time: $$\text{Elapsed Minutes} = 1,035 - 510 = 525\text{ minutes}$$

(Note: If the shift had crossed midnight, 1,440 minutes would be added to the result to account for the day change.)

Step 3: Subtract Unpaid Breaks

Subtract the 30-minute unpaid lunch period to find net working minutes: $$\text{Net Minutes} = 525 - 30 = 495\text{ minutes}$$

Step 4: Convert to Clock Hours and Minutes

Divide the total net minutes by 60 to find whole hours and the remaining minutes:

  • $\lfloor 495 / 60 \rfloor = 8\text{ hours}$
  • $495 \pmod{60} = 15\text{ minutes}$
  • Hours Worked: 8 h 15 min

Step 5: Convert to Decimal Hours

Divide net working minutes directly by 60 for payroll accounting: $$\text{Decimal Hours} = \frac{495}{60} = 8.25\text{ hours}$$

Step 6: Compute Gross Pay

Multiply decimal hours by the agreed hourly rate: $$\text{Pay} = 8.25 \times $20.00 = $165.00$$


How to Read the Results

  • Hours Worked (8 h 15 min): Your actual time on the job in standard clock format. Use this figure when comparing against physical time-card punch sheets or time logs.
  • Decimal Hours (8.25): The mathematical representation of your time worked. A 15-minute increment equals $0.25$ hours, 30 minutes equals $0.50$ hours, and 45 minutes equals $0.75$ hours. This is the exact number required by accounting software to process wages correctly.
  • Total Minutes (495): The aggregate time spent actively working, excluding breaks. Useful for tracking productivity benchmarks, task durations, or job-costing allocations.
  • Pay ($165.00): Total gross pay before any federal, state, or local withholdings, payroll taxes (FICA), or elective deductions.

Practical Tips for Accurate Time Tracking

  1. Use 24-Hour Time: Always convert PM hours by adding 12 (e.g., 1:00 PM becomes 13:00, 5:15 PM becomes 17:15). This prevents errors where afternoon times are mistakenly calculated as morning times.
  2. Differentiate Paid vs. Unpaid Breaks: Do not deduct paid rest periods. Under the US Fair Labor Standards Act (FLSA), short breaks running from 5 to 20 minutes are considered compensable work hours. Only bona fide meal breaks (typically 30 minutes or more where you are relieved of all duties) are unpaid.
  3. Watch the Decimal Conversion: Never multiply hourly wages directly by clock minutes. Working 8 hours and 15 minutes is not $8.15 \times \text{Rate}$. At $20/hour, multiplying by 8.15 yields $163.00, resulting in an employee being shortchanged by $2.00 per shift.

When Not to Rely on This Calculator

While this tool accurately handles single-shift calculations, it should not replace comprehensive payroll software under specific employment conditions:

  • Overtime Calculations: This tool does not track weekly cumulative hours beyond 40 hours or daily overtime thresholds (such as California's 8-hour daily overtime rule).
  • Shift Differentials and Premiums: It does not calculate extra compensation for night shifts, holiday pay, or weekend premiums.
  • Employer Rounding Rules: Many companies implement standard 7-minute or 15-minute rounding rules (FLSA 15-minute rule). This tool computes exact minute-by-minute differences without rounding adjustments.

Comparison

ScenarioInputResult
Base exampleDefault inputsHours worked: 8 h 15 min

Common mistakes

  • Confusing clock minutes with decimal hours (e.g., treating 8 hours and 15 minutes as 8.15 instead of 8.25 hours, leading to payroll errors).
  • Entering 12-hour AM/PM times without converting to a 24-hour format, such as writing 5:15 instead of 17:15 for afternoon departures.
  • Deducting paid rest periods (such as 15-minute company-provided breaks) alongside unpaid meal breaks.
  • Inputting break periods in hours or decimals (e.g., entering 0.5 instead of 30 for a half-hour lunch break).
  • Neglecting overtime rules, as basic shift duration calculations do not automatically apply statutory overtime premiums.

Checklist

  • Enter times using 24-hour notation (e.g., 08:30 for 8:30 AM, 17:15 for 5:15 PM).
  • Include only unpaid breaks; do not subtract legally mandated paid rest breaks.
  • Verify that the break duration is entered in total minutes rather than hours.
  • Use decimal hours (e.g., 8.25, not 8.15) when multiplying against an hourly wage.
  • Ensure overnight shifts reflect the correct start and end calendar sequence.
  • Confirm whether your workplace rounds time to the nearest 5, 10, or 15 minutes.

Calculators Percentage Editorial Team

Calculator guides from the Calculators Percentage team. These introductory examples are educational, not professional advice.

Last reviewed:

This calculator is intended for informational and estimation purposes only. It does not account for specific collective bargaining agreements, state-specific daily overtime rules, tax withholdings, or mandatory payroll rounding policies.

Frequently Asked Questions

How do you convert minutes to decimal hours?

To convert minutes to decimal hours, divide the total number of minutes by 60. For example, 15 minutes divided by 60 equals 0.25 decimal hours, 30 minutes equals 0.50 decimal hours, and 45 minutes equals 0.75 decimal hours. Add this decimal fraction to the whole hours to obtain the complete decimal time.

Why does 8 hours and 15 minutes equal 8.25 hours?

Time is measured on a base-60 (sexagesimal) scale, while standard currency and modern payroll systems use a base-10 (decimal) scale. Because 15 minutes represents one-quarter of a 60-minute hour (15 / 60), it converts mathematically to 0.25 in decimal format.

Does this hours calculator handle overnight shifts?

Yes. If your end time is numerically earlier than your start time (such as starting at 22:00 and ending at 06:00), the calculation automatically adds 24 hours (1,440 minutes) to account for crossing midnight before subtracting unpaid breaks.

Are meal breaks legally required to be unpaid?

Under the US Fair Labor Standards Act (FLSA), bona fide meal periods lasting 30 minutes or longer are generally not considered work time and are unpaid, provided the employee is completely relieved of all work duties. Short rest breaks lasting between 5 and 20 minutes must be counted as paid work hours.

How does 15-minute payroll rounding work?

Under federal FLSA guidelines, employers may round employee time to the nearest quarter-hour (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. This rounding must be applied neutrally and cannot solely benefit the employer.

Is the calculated gross pay subject to tax deductions?

Yes. The pay figure produced by multiplying decimal hours by your hourly rate represents gross wages before any deductions. Net take-home pay will be lower after federal, state, and local income taxes, Social Security, Medicare (FICA), and optional benefit deductions are withheld.

Does this calculation include overtime pay?

No. This tool calculates gross earnings strictly on a straight-time basis using the provided hourly rate. If your daily or weekly hours exceed statutory overtime thresholds (typically 40 hours per workweek under US federal law), separate overtime multipliers such as 1.5 times your regular rate must be applied.

Sources & references

Formulas are tested against hand-checked answers. How we check our calculators.

Estimates only. Confirm final figures, terms and fees with your bank, provider or a qualified professional.

Last updated: January 15, 2026