keepcalculator

06 Numbers and Powers

Work Calculator for the Week: Hours & Pay

Card No. 06·1320 · Updated · Standard formula, shown below

The calculator on this card is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

This calculator works out your total work hours and gross pay for a week based on your daily clock-in/clock-out times and hourly rate. You enter the start and end time for each workday, your hourly wage, and it returns your total weekly hours, overtime hours (if any), and gross pay before taxes. The first output shows your total hours worked for the week.

Formula

The calculator uses the standard weekly pay formula:

Total Hours = Σ(End Time − Start Time) for each day

Regular Hours = min(Total Hours, 40)

Overtime Hours = max(0, Total Hours − 40)

Gross Pay = (Regular Hours × Hourly Rate) + (Overtime Hours × Hourly Rate × 1.5)

All times are in 24-hour format (e.g., 9:00 AM = 09:00, 5:00 PM = 17:00). The difference is computed in hours as a decimal (e.g., 8.5 hours for 8:30). Overtime is calculated at 1.5 times the regular rate, which is the most common standard in the U.S. under the Fair Labor Standards Act (FLSA) for non-exempt employees. Your actual overtime rate may differ if your employer uses a different multiplier or if state laws apply.

Worked Example

Using the default values from the calculator above:

  • Monday: 09:00 to 17:00 = 8 hours
  • Tuesday: 09:00 to 17:00 = 8 hours
  • Wednesday: 09:00 to 17:00 = 8 hours
  • Thursday: 09:00 to 17:00 = 8 hours
  • Friday: 09:00 to 17:00 = 8 hours
  • Hourly rate = $20.00

Total hours = 8 × 5 = 40 hours

Regular hours = min(40, 40) = 40 hours

Overtime hours = max(0, 40 − 40) = 0 hours

Gross pay = (40 × $20) + (0 × $20 × 1.5) = $800.00

The calculator shows: Total Weekly Hours = 40.00, Regular Hours = 40.00, Overtime Hours = 0.00, Gross Pay = $800.00.

How to Use This Calculator

Enter your start and end times for each workday in 24-hour format. If you have a day off, enter the same time for both start and end (e.g., 00:00 to 00:00) to get 0 hours. The calculator assumes you work Monday through Friday; if your schedule differs, adjust the inputs accordingly. The result gives you:

  • Total Weekly Hours: the sum of all daily hours, including any overtime.
  • Regular Hours: hours up to 40, paid at your normal rate.
  • Overtime Hours: hours above 40, paid at 1.5× your rate.
  • Gross Pay: total earnings before taxes, insurance, or other deductions.

This is a planning tool, not a payroll system. Always cross-check with your pay stub, because employers may round time differently (e.g., to the nearest 15 minutes) or use a different overtime threshold.

Common Mistakes and How to Avoid Them

The most frequent error is using 12-hour time without specifying AM/PM. For example, entering 1:00 for 1:00 PM will be read as 1:00 AM, giving a wildly wrong result. Always convert to 24-hour time: 1:00 PM = 13:00, 11:00 PM = 23:00.

Another mistake is forgetting to subtract lunch breaks. If you work 9:00 to 17:00 but take a 30-minute unpaid lunch, your actual paid hours are 7.5, not 8. This calculator does not automatically deduct breaks; you must adjust your end time or subtract the break manually. For instance, enter 16:30 as the end time if you leave at 17:00 but have a 30-minute unpaid break.

Also, be careful with overnight shifts. If you start at 22:00 and end at 06:00 the next day, the simple subtraction (06:00 − 22:00) gives a negative number. For such shifts, add 24 hours to the end time: (30:00 − 22:00) = 8 hours. This calculator does not handle overnight shifts automatically; you would need to split the shift into two entries or adjust the times.

Why 40 Hours and 1.5× Overtime?

The 40-hour workweek and 1.5× overtime rate come from the Fair Labor Standards Act (FLSA) of 1938 in the United States. The FLSA requires that non-exempt employees receive overtime pay at a rate of at least 1.5 times their regular rate for hours worked beyond 40 in a workweek. This federal standard does not apply to exempt employees (e.g., certain salaried managers, professionals, or outside salespeople).

Some states have daily overtime laws (e.g., California requires overtime for over 8 hours in a day), but this calculator uses the federal weekly standard. If you live in a state with daily overtime, you would need to calculate each day separately and then sum. The calculator also assumes a single hourly rate; if you work different rates (e.g., shift differential), you would need to compute each rate separately.

Limitations and When to Use a Different Approach

This calculator is designed for simple, fixed schedules with a single hourly rate. It does not account for:

  • Paid or unpaid breaks
  • Overnight shifts
  • Different rates for different days (e.g., weekend premium)
  • Bonuses, commissions, or tips
  • Deductions (taxes, benefits, garnishments)
  • State-specific overtime rules

For complex situations, use a spreadsheet or payroll software. If you are an employer, consult a payroll professional to ensure compliance with labor laws. For employees, this calculator gives a good estimate of gross pay, but your actual net pay will be lower after taxes and deductions.

How to Use the Result

Use the total hours to track your time for timesheet submission or personal record. Use the gross pay to budget or compare job offers. Remember that gross pay is before taxes: your take-home pay will be less. For a rough estimate of net pay, you can subtract federal income tax, Social Security (6.2%), Medicare (1.45%), and state taxes where applicable. The exact amount depends on your withholding allowances and tax bracket.

If you are an employer, this calculator can help you estimate labor costs for a week, but you must also consider payroll taxes, workers’ compensation, and benefits.

Frequently Asked Questions

What if I work more than 8 hours in a day but less than 40 in a week?

Under federal law, overtime is only required after 40 hours in a week, so you would not get overtime for daily hours alone. However, some states like California require daily overtime after 8 hours. Check your state labor department for specific rules.

How do I enter times for a day off?

Enter the same time for both start and end, such as 00:00 to 00:00. The difference is 0, so that day contributes no hours. Alternatively, you can set the start and end to your normal times but then subtract the difference manually; the simplest is to use 00:00 for both.

Does this calculator include paid breaks?

No, it assumes you work continuously from start to end. If you have paid breaks, they are included in your hours. If breaks are unpaid, you must subtract them by adjusting the end time or the total hours. For example, if you work 9:00-17:00 with a 30-minute unpaid lunch, enter 16:30 as the end time.

What if I work overnight shifts?

This calculator does not handle shifts that cross midnight. If you start at 22:00 and end at 06:00 the next day, you would need to split the shift: for example, enter 22:00 to 24:00 for one day (2 hours) and 00:00 to 06:00 for the next day (6 hours). Alternatively, add 24 to the end time manually: (30:00 – 22:00) = 8 hours, but the calculator won’t accept 30:00 as input.

Is overtime always 1.5×?

Most employers use 1.5×, but it can be higher (e.g., 2× for holidays) or lower in some industries under special rules. The FLSA requires at least 1.5× for non-exempt employees, but some states or union contracts may mandate more. This calculator uses 1.5× as the default.

Can I use this for salaried employees?

No, this calculator is for hourly workers. Salaried exempt employees are not entitled to overtime under federal law. If you are salaried non-exempt, you may still be entitled to overtime, but the calculation is more complex and should be done by a professional.

Related

Formula used
in t | Mon Start (24h) | hh:mm | 09:00 | 0 | 24
in u | Mon End (24h) | hh:mm | 17:00 | 0 | 24
in v | Tue Start (24h) | hh:mm | 09:00 | 0 | 24
in w | Tue End (24h) | hh:mm | 17:00 | 0 | 24
in x | Wed Start (24h) | hh:mm | 09:00 | 0 | 24
in y | Wed End (24h) | hh:mm | 17:00 | 0 | 24
in z | Thu Start (24h) | hh:mm | 09:00 | 0 | 24
in a | Thu End (24h) | hh:mm | 17:00 | 0 | 24
in b | Fri Start (24h) | hh:mm | 09:00 | 0 | 24
in c | Fri End (24h) | hh:mm | 17:00 | 0 | 24
in d | Hourly Rate | $ | 20 | 0 | 10000
out total_hours | Total Weekly Hours | hours | ((u-t)+(w-v)+(y-x)+(a-z)+(c-b))*24 | 2
out regular_hours | Regular Hours (≤40) | hours | min(total_hours,40) | 2
out overtime_hours | Overtime Hours (>40) | hours | max(0,total_hours-40) | 2
out gross_pay | Gross Pay (1.5x OT) | $ | regular_hours*d + overtime_hours*d*1.5 | 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.

More cards in this drawer

The whole Numbers and Powers drawer →