Hours and Pay Calculator

The hours and pay calculator multiplies the hours you worked by your hourly rate to give gross pay for one day, one week or a two-week pay period. It adds time and a half for overtime and, if you have them, a shift differential and holiday premium, all before taxes.

Shift differential (optional)
Holiday hours (optional)

Differential and holiday hours are part of the hours worked above, not extra hours.

Hours
40.00
0.00 h overtime
Straight-time pay
$720.00
all hours × rate
Overtime premium
$0.00
regular rate $18.00
Differential + holiday
$0.00
$0.00 + $0.00
Gross pay
$720.00
before taxes

Estimate of gross pay before taxes and deductions. Not legal or payroll advice; your employer's policy, contract or state law may differ.

How do you calculate pay from hours worked?

Multiply your hours worked by your hourly rate, then add half the rate again for each overtime hour. At $18 an hour, 45 hours in a week is 45 × $18 = $810 plus 5 × $9 = $45 overtime premium, for $855.00 gross pay before taxes.

How to use this hourly pay calculator

  1. Choose the pay period: one day, one week or two weeks. For two weeks, enter each week's hours separately.
  2. Type the hours worked as a decimal (37.5) or hours and minutes (37:30), and your hourly pay rate.
  3. Leave overtime on if you are paid time and a half after 40 hours a week. For a single day, turn it on only if you get daily overtime after 8 hours.
  4. If part of your time earns a shift differential, enter those hours and the extra amount per hour. If you worked a holiday at a premium rate, enter the holiday hours and the multiplier.
  5. Read straight-time pay, the overtime premium, differential and holiday pay, and the total gross pay.

Don't know your total hours yet? Count them from your start and end times with the hours worked calculator or a full time card.

The gross pay formula

This gross pay calculator builds pay in four parts, the way a payroll department breaks down a check:

  • Straight-time pay = all hours worked × hourly rate
  • Shift differential = differential hours × extra amount per hour
  • Overtime premium = overtime hours × 0.5 × regular rate
  • Holiday premium = holiday hours × hourly rate × (multiplier − 1)

Straight-time pay already pays every overtime hour once, so the premium adds the extra half. Together they equal the familiar time and a half: overtime must be paid at no less than 1.5 times the regular rate (29 U.S.C. § 207(a)(1)).

Shift differential calculator: why it changes overtime

A night or weekend differential is part of your regular rate, so it raises your overtime rate too (29 CFR 778.207(b)). When a week mixes hours at different rates, the regular rate is the weighted average: total straight-time earnings ÷ total hours (29 CFR 778.115).

Example: 45 hours at $20 with 20 of them on nights at $2 extra. The straight-time and differential pay are $900 + $40 = $940, so the regular rate is $940 ÷ 45 = $20.89. The 5 overtime hours earn a premium of $52.22 instead of $50.00, and gross pay is $992.22.

Holiday pay calculator

The Fair Labor Standards Act does not require pay for holidays you don't work, and holiday premiums are a matter of agreement between you and your employer (U.S. DOL: Vacation and Holiday Pay). Working on a holiday does not by itself create overtime either (U.S. Department of Labor: Overtime Pay). Many employers still pay holiday time and a half or double time, so pick the multiplier that matches your policy.

Holiday hours here are hours you worked, already included in the total, and they still count toward 40 for overtime. Some employers credit a holiday premium against overtime owed; this calculator adds both in full, so it can show a little more than such a policy pays.

Weekly and biweekly pay calculator

A weekly earnings figure is simple: hours × rate plus overtime for the hours over 40. For a biweekly paycheck, each workweek is figured on its own and the results are added, because overtime cannot be averaged across two weeks (29 CFR 778.104).

Two-week hours at $20Overtime hoursGross pay
40 + 400$1,600.00
50 + 3010$1,700.00

In the two-week view, differential and holiday hours are divided between the weeks in proportion to the hours in each week. If they all fell in one week, run that week on its own for an exact figure.

12-hour shift pay

For a single 12-hour shift at $22 an hour, straight time is $264.00. Federal law looks only at the weekly total, so that is all one day earns unless the week passes 40 hours. If your state or employer pays daily overtime after 8 hours, turn overtime on for the day: the last 4 hours earn time and a half, for $308.00. California also pays double time after 12 hours in a day (California Labor Code § 510); the overtime calculator applies those rules day by day.

Before taxes only

Every result is gross pay. Federal and state income tax, Social Security, Medicare and benefit deductions are not subtracted, so your take-home pay will be lower. To compare an hourly pay rate with a salary, use the hourly to salary calculator.

Results are estimates, not legal, tax or payroll advice. Your employer's policy, contract or state law may differ.

Frequently asked questions

How do you calculate gross pay?

For an hourly worker, gross pay is hours worked × hourly rate, plus any overtime, shift differential or holiday premium, before taxes and deductions. 40 hours at $18 is $720.00; a 45-hour week adds 5 overtime hours at $27, for $855.00.

How is holiday pay calculated?

Holiday pay is usually holiday hours × hourly rate × the holiday multiplier your employer uses, such as 1.5 for time and a half. Eight holiday hours at $20 and 1.5× pay $240.00. Federal law does not require holiday pay, so whether you get a premium, and how much, depends on your employer's policy or contract.

How do you calculate biweekly pay?

Work out the pay for each of the two workweeks separately and add them together. Overtime is decided one week at a time, so 50 hours plus 30 hours at $20 pays $1,700.00, including 10 overtime hours in the first week, while two 40-hour weeks pay $1,600.00.

How are hourly and salaried gross pay calculated?

Hourly gross pay is hours worked × hourly rate plus overtime; salaried gross pay is the annual salary divided by the number of paychecks in a year. A $52,000 salary paid biweekly is $52,000 ÷ 26 = $2,000.00 per paycheck, while an hourly worker's check changes with the hours on each timesheet.