Method

How every payday, holiday and clock change is computed

No date is typed into a page. The rules are stored once in a data file, read on the sources below on October 28, 2026, and a small engine computes every holiday, payday, period and clock change from them. Automated tests compare the engine with the official tables for 2026, 2027 and 2028 before each publication; a mismatch stops the build.

1. Holidays

The eleven legal public holidays of 5 U.S.C. 6103(a) are stored as rules: a fixed date (New Year’s Day, Juneteenth, Independence Day, Veterans Day, Christmas Day), the n-th weekday of a month (the third Monday of January and of February, the first Monday of September, the second Monday of October, the fourth Thursday of November) or the last Monday of May. Two observance rules follow:

  • Federal days off: a holiday on a Saturday is observed on the Friday before (5 U.S.C. 6103(b)), one on a Sunday on the Monday after (Executive Order 11582), as the OPM holiday tables show. A Saturday New Year’s Day is therefore observed on December 31 of the previous year.
  • Bank days: the Federal Reserve Banks close on the Monday after a Sunday holiday and stay open on the Friday before a Saturday holiday.

Inauguration Day, a holiday for federal employees in the Washington area every four years, and state or local holidays are not included.

2. Paydays

A weekly or biweekly schedule is a series of dates 7 or 14 days apart, through any payday you give. A semi-monthly schedule pays on two days of each month and a monthly schedule on one, with “last day” following the length of each month. Each date that is a Saturday, a Sunday or a closed day of the chosen calendar is moved to the business day before, the business day after, or not moved, as you choose; no federal law sets that rule, and the overtime regulation at 29 CFR 778.106 only asks for payment on the regular payday. Paydays are counted in the year in which they are paid. For weekly and biweekly schedules, the pay period shown ends the number of days before payday you set (six by default, a Sunday to Saturday period paid the next Friday).

3. Years with 27 paydays

A biweekly series has 27 dates in a year when its first date is January 1, or January 2 in a leap year. The engine finds these years by stepping through the calendar, and the tests check, for example, that the Friday series of January 1, 2027 has 27 dates and that it pays 26 times in 2027 when its first payday is moved to December 31, 2026.

4. Pay amounts

Gross pay per paycheck is the annual salary divided by 52, 26, 24 or 12, or the hourly rate times the hours of the period; semi-monthly and monthly hourly figures use 52 weeks a year, the conversion of 29 CFR 778.113. Federal biweekly pay follows 5 U.S.C. 5504: annual rate divided by 2,087, rounded to the nearest cent, times 80. No tax or deduction is computed.

5. Federal pay periods

Leave years start on the dates of the OPM leave year fact sheet, 2023 to 2031, with the use-or-lose dates of the same table. Each leave year is cut into two-week periods from its start; their number is 26, or 27 when 378 days separate two starts, as in 2023 (OPM memorandum CPM 2023-11). The tests check pay period 1 of 2027 against the National Finance Center calendar. Federal paydays are not computed: each provider sets them.

6. Clock changes and hours worked

Daylight saving time runs from 2 a.m. on the second Sunday of March to 2 a.m. on the first Sunday of November (15 U.S.C. 260a, checked with NIST). The countdown uses your device’s clock and time zone; it compares the offset of January and July to tell whether your zone changes. On a change night, a shift on duty at 2 a.m. gains one hour in fall and loses one in spring, the example of the Department of Labor’s Hours Worked Advisor; overtime is counted over 40 hours per workweek, each workweek standing alone. Bills to end clock changes are followed through the House roll calls and the congressional record.

7. Business days

A business day is a weekday that is not a closed day of the chosen calendar. By default the count starts the day after the start date and includes the end date; a box includes the start date too.

8. What the site does not do

  • It does not know your employer’s payroll: its dates follow the schedule and rule you enter.
  • It does not compute taxes, deductions or net pay.
  • It does not keep anything you type: the tools, the .ics file and the printable list are made in your browser.

Method version of . A date that looks wrong: contact.

Written by

Independent publisher of free tools that lay out US paydays: the dates of a pay schedule, the holidays that move them and the clock changes that bend a night shift

Dates checked on · Editorial policy · Contact

US pay calendar rules 2026, read in the US Code, OPM and Federal Reserve tables, last updated on