ThisCalculator

Everyday

Hourly Employee Time Calculator: Hours & Pay

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

This calculator works out an hourly employee’s gross pay for a shift or a week. You enter the start time, end time, unpaid break length (if any), and hourly rate, and it returns the total hours worked and the gross pay before taxes and deductions. It also shows the time in decimal hours, which is the format most payroll systems use.

Formula

The core formula is simple: Hours Worked = (End Time − Start Time) − Break Duration. All times are converted to minutes after midnight first, so 9:00 AM becomes 540 minutes and 5:30 PM becomes 1050 minutes. The difference (510 minutes) is divided by 60 to get 8.5 hours, then the break (30 minutes) is subtracted to get 8.0 hours. Gross pay is then Hours Worked × Hourly Rate.

Variables:

  • Start Time – the clock time the employee begins work, in 24-hour format (e.g., 9:00).
  • End Time – the clock time the employee finishes work, in 24-hour format (e.g., 17:30).
  • Break – unpaid break time in minutes (e.g., 30).
  • Hourly Rate – gross pay per hour, in dollars (e.g., $20.00).
  • Hours Worked – the result in decimal hours (e.g., 8.00).
  • Gross Pay – the result in dollars, before any taxes or deductions.

Worked Example

Using the default values from the calculator above:

  1. Start time: 9:00 AM → 9 × 60 = 540 minutes.
  2. End time: 5:30 PM → (12 + 5) × 60 + 30 = 1050 minutes.
  3. Difference: 1050 − 540 = 510 minutes.
  4. Subtract break: 510 − 30 = 480 minutes.
  5. Convert to hours: 480 ÷ 60 = 8.00 hours.
  6. Gross pay: 8.00 × $20.00 = $160.00.

The calculator shows 8.00 hours and $160.00 for the defaults.

Why Use Decimal Hours Instead of Minutes?

Payroll systems and time-tracking software almost always expect hours in decimal form (e.g., 8.50 for 8 hours 30 minutes) because it makes multiplication by the hourly rate straightforward. If you enter 8:30 as “8.30” and multiply by $20, you get $166.00 instead of the correct $170.00 – a common error. This calculator converts the time difference to decimal hours automatically, so you don’t have to remember that 30 minutes is 0.5 hours, 15 minutes is 0.25, and so on.

For quick reference, common conversions:

  • 15 minutes = 0.25 hours
  • 30 minutes = 0.50 hours
  • 45 minutes = 0.75 hours
  • 1 hour 20 minutes = 1.33 hours (rounded)

Handling Overnight Shifts and Breaks

If a shift crosses midnight (e.g., 10:00 PM to 6:00 AM), the simple subtraction end − start gives a negative number. The correct approach is to add 24 hours (1440 minutes) to the end time when the end is earlier than the start. For example, 10:00 PM (1320 minutes) to 6:00 AM (360 minutes) becomes 360 + 1440 = 1800 minutes, then 1800 − 1320 = 480 minutes = 8 hours. This calculator assumes the end time is on the same day unless it is earlier than the start, in which case it automatically adds 24 hours. Always double-check overnight results manually if your shift spans more than 24 hours (rare but possible with double shifts).

Breaks are another common source of error. Only unpaid breaks should be subtracted. Paid breaks (like a paid 15-minute rest period) are included in the hours worked. If you are unsure whether a break is paid, check your employment agreement or local labor rules – this calculator cannot decide that for you.

What This Calculator Does NOT Include

Gross pay is only the starting point. The actual amount on a paycheck is lower after deductions like federal and state income tax, Social Security, Medicare, and any benefits premiums. This calculator does not account for:

  • Overtime pay (typically 1.5× the regular rate for hours over 40 per week in the US, but rules vary by jurisdiction and employer policy).
  • Double-time, shift differentials, or tips.
  • Bonuses, commissions, or paid time off.
  • Tax withholding or pre-tax deductions.

To estimate take-home pay, you would need a separate paycheck calculator that includes your filing status and allowances. This tool is best for quick gross-pay checks, verifying a timesheet, or planning a budget.

Common Mistakes and How to Avoid Them

  • Mixing AM/PM – Always use 24-hour time or be very careful with PM. 5:00 PM is 17:00, not 5:00.
  • Entering minutes as decimals – 8:30 is 8 hours 30 minutes, not 8.30 hours. The calculator expects a colon, so use 8:30.
  • Forgetting the break – An unpaid 30-minute lunch is not paid time. If you forget to subtract it, you overpay by 0.5 hours per shift.
  • Rounding too early – Round only the final result, not intermediate steps. For example, 7 hours 40 minutes is 7.666… hours, which rounds to 7.67, not 7.66.
  • Ignoring overtime thresholds – If an employee works 45 hours in a week, the first 40 are at the regular rate and the last 5 are typically at 1.5×. This calculator treats all hours the same, so it will understate pay for overtime weeks.

How to Use This for a Weekly Paycheck

To get a full week’s gross pay, calculate each day separately and then add the daily totals. If you have a consistent schedule, you can multiply the daily hours by the number of days worked. For example, if an employee works 8 hours a day, 5 days a week at $20/hour, the weekly gross is 8 × 5 × $20 = $800. If overtime applies, split the hours: 40 regular hours at $20 = $800, plus 5 overtime hours at $30 = $150, for a total of $950. This calculator does not handle overtime automatically, but you can use it twice – once for regular hours and once for overtime hours – and add the results.

Frequently Asked Questions

How do I convert minutes to decimal hours?

Divide the minutes by 60. For example, 45 minutes ÷ 60 = 0.75 hours. So 8 hours 45 minutes becomes 8.75 hours. This calculator does that conversion for you automatically.

What is the difference between gross pay and net pay?

Gross pay is the total amount earned before any deductions. Net pay (often called take-home pay) is what you actually receive after taxes, Social Security, Medicare, health insurance premiums, and other withholdings are subtracted. This calculator gives gross pay only.

How do I calculate overtime pay?

In most US states, overtime is 1.5 times the regular hourly rate for hours worked over 40 in a workweek. For example, if an employee earns $20/hour and works 45 hours, the overtime rate is $30/hour for the 5 extra hours, giving $150 in overtime pay. This calculator does not apply overtime automatically; you can calculate regular and overtime separately and add them.

What if an employee works a shift that crosses midnight?

Add 24 hours to the end time if it is earlier than the start time. For example, 10:00 PM to 6:00 AM becomes 10:00 PM to 30:00 (6 AM next day), which is 8 hours. This calculator handles that automatically.

Are paid breaks included in hours worked?

Yes. Only unpaid breaks should be subtracted from the total time. Paid rest breaks (usually 15 minutes) are part of the paid workday and should be included in the hours worked. Check your company policy or local labor law to know which breaks are paid.

Can I use this calculator for salaried employees?

No. Salaried employees are paid a fixed amount per year, not by the hour. This calculator is only for hourly workers. If you need to compare a salary to an hourly rate, you would need a separate salary-to-hourly converter that accounts for working hours per year.

Related

Formula used
in start | Start time (HH:MM, 24h) | - | 9:00 | 0
in end | End time (HH:MM, 24h) | - | 17:30 | 0
in break | Unpaid break (minutes) | min | 30 | 0
in rate | Hourly rate ($) | $ | 20 | 0
out hours | Hours worked | h | ( (end - start) - break / 60 ) / 60 | 2
out pay | Gross pay | $ | hours * rate | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.