1. Home
  2. Guides
  3. Small Business Payroll
  4. How to Calculate Gross Pay: Hourly, Salary and Partial Periods
Small Business Payroll

How to Calculate Gross Pay: Hourly, Salary and Partial Periods

How to calculate gross pay for hourly and salaried employees, with worked examples, overtime, tips and three ways to prorate a partial-period salary.

By M. HumzaFull-stack developer and researcher
October 30, 20265 min read2026 tax year
Paper-cut timecard sheet beside a calculator and rising coin stacks, illustrating how to calculate gross pay

To calculate gross pay, add up everything earned in the pay period before any tax or deduction comes out. For hourly work that is hours times the rate, plus overtime at its own rate, plus any tips, bonuses or commissions paid that period.

For a salary it is the yearly amount divided by the number of paydays, adjusted when someone works only part of a period.

Below, both are worked with real numbers from our payroll engine, including a case most guides skip: a salaried first or last paycheck for a partial period. If you want the difference between gross and take-home pay first, our guide to gross pay vs net pay covers that.

Hourly gross pay, worked line by line

Take an invented barista at an Atlanta coffee roaster, paid every two weeks. In this period they worked their regular schedule, picked up a little overtime and had card tips paid out through payroll. Each line on the stub is one multiplication or one amount:

Gross pay for an invented Atlanta barista, two weeks ending October 18, 2026, built line by line. Amounts from our pay stub engine.
Earnings lineHow it is worked outAmount
Regular pay80 hours × $15.25$1,220.00
Overtime (1.5x)2.5 hours × $22.88$57.19
TipsTips reported and paid through payroll$186.40
Gross pay for the period$1,463.59
Gross pay so far this year (YTD)$28,284.58

The steps are the same for any hourly worker:

  1. Regular pay. Regular hours in the period times the hourly rate.
  2. Overtime. Hours over 168 in a workweek times 1.5 the regular rate. Count it week by week, not across the whole pay period; our guide on how to calculate overtime shows why that matters.
  3. Other paid hours. Holiday, vacation or sick hours at whatever rate your policy sets.
  4. Extras. Tips run through payroll, bonuses and commissions paid this period.
  5. Add them up. The total is gross pay, the figure every tax line on the stub starts from.

The overtime rate in the table has three decimals. Time and a half rarely lands on whole cents, so payroll multiplies with the exact rate and rounds only the line total. Rounding the rate first can put a stub off by a cent or two, which is enough to make a year-to-date check fail.

Salaried gross pay per paycheck

For a full pay period the math is one division: yearly salary over the number of paydays. Weekly pay divides by 52, every two weeks by 26, twice a month by 24 and monthly by 12. Our page on pay periods in a year covers the years that have an extra biweekly payday.

A salaried paycheck does not change with the number of days in the month. A semimonthly employee gets the same gross for a short February period as for a long August one, because the salary is a fixed amount per period, not a daily wage.

When a salaried employee works part of a period

The full-period rule stops working on a new hire’s first paycheck and a leaver’s last one. Federal rules let an employer pay an exempt employee a proportionate share of salary in the first and last week of employment, but they do not say how to work out the share. Payroll systems use one of three methods, and they disagree:

An invented analyst on $58,500 a year, paid twice a month, starts October 21, 2026. The period runs Oct 16 to Oct 31; a full period pays $2,437.50.
MethodCalculationFirst paycheck gross
Workdays in this period$2,437.50 × 8 of 11 weekdays$1,772.73
Daily rate from the year$58,500 ÷ 261 weekdays in 2026 × 8 days$1,793.10
Calendar days$2,437.50 × 11 of 16 days$1,675.78
Gap between the highest and lowest method$117.32

One partial paycheck, three proration methodsFull period $2,437.50, Workdays in period $1,772.73, Daily rate from year $1,793.10, Calendar days $1,675.78.First paycheck for a mid-period startFull period$2,437.50Workdays in period$1,772.73Daily rate from year$1,793.10Calendar days$1,675.78
Same salary, same start date, three defensible answers. Pick one method, write it into your payroll policy and use it for every hire and every last paycheck.

The workday method treats the period as its own unit: the new hire worked most of its weekdays, so they get that share of a normal paycheck. The yearly daily rate ignores how long this particular period is. Calendar days count weekends too, which shortchanges anyone who starts midweek.

None of the three is wrong. What matters is consistency: choose one, write it into the payroll policy and use it for every start and every exit. Switching methods case by case invites the complaint that someone was paid less than a colleague who started the same week.

Commissions, bonuses and other add-ons

Variable pay goes into gross in the period it is paid, not earned. A commission on September sales paid on October 15 is October gross. The same goes for a bonus, even a yearly one paid in a single check; our guide to the bonus tax rate explains how that check is withheld.

Some items look like pay but stay out, and one is in gross for tax only. Here is the full list:

What belongs in gross pay. Gross is everything earned before any tax or deduction comes out.
Pay itemIn gross pay?Note
Regular hours or salaryYesThe base of every gross pay figure
Overtime, shift differentials, holiday payYesPaid at their own rates on top of regular pay
Bonuses and commissionsYesIn the period they are paid
Tips paid through payroll or reported to the employerYesReported tips count even when the cash came from customers
Paid time off: vacation, sick, jury dutyYesPaid hours, even though no work was done
Taxable fringe benefits, such as group-term life over the tax-free limitYes, as taxable wagesAdded for tax but not paid in cash
Expense reimbursements under an accountable planNoRepayment of costs, shown below net pay
401(k) and other pre-tax deductionsStill in grossThey come out after gross is set, and lower taxable wages instead

The last row trips people. A 401(k) contribution does not lower gross pay. It comes out after gross is set and lowers taxable wages instead, which is why box 1 of a W-2 can be smaller than the gross shown on the final stub of the year. Our guide to pre-tax deductions shows the effect.

Checking the gross on your own pay stub

  • Multiply it back. Hours times rate on each earnings line should match the amount to the cent.
  • Check overtime by workweek. Two weeks of uneven hours can mean fewer overtime hours than the period total suggests.
  • Check the YTD column. Last stub’s year-to-date gross plus this period’s gross should equal this stub’s year-to-date gross. Our guide to YTD on a pay stub walks through it.
  • Annualize carefully. Gross per paycheck times paydays gives a yearly figure only if every period is a full one.

Employers can skip the arithmetic: our free pay stub generator builds gross pay line by line from hours, rates, overtime and extras, carries year-to-date totals across pay dates and shows the result as a stub before you download it.

Sources: 29 CFR 541.602, salary basis; U.S. Department of Labor, Overtime pay. Example amounts from our pay stub engine; weekday counts from the 2026 calendar. Checked October 30, 2026.

Use only for real payments you made or received. Creating documents with false information may be illegal. Read our acceptable use policy.

Sources

2

Primary pages this guide cites, linked at the sentence that uses each one.

  1. 29 CFR 541.602Electronic Code of Federal Regulationshttps://www.ecfr.gov/current/title-29/subtitle-B/chapter-V/subchapter-C/part-541/subpart-G/section-541.602
  2. Overtime payU.S. Department of Laborhttps://www.dol.gov/agencies/whd/overtime
Share this guideSend it to a colleague or keep the link for later.
M. Humza
Written and researched byM. HumzaFull-stack developer and researcher. Publisher, GetBizDocs

Full-stack web, software and app developer and researcher who builds accounting and payroll software for small businesses. Writes every guide on GetBizDocs and maintains the tax data files behind the generators.

Educational content, not tax or legal advice.