Home › Everyday Life › Count US Federal Working Days

Count US Federal Working Days

Counts US federal-baseline working and non-working dates using the OPM 2026-2027 schedule.

When to use

You need an auditable federal-employee/office working-day count for a pinned year.

Do not use when: You need a state/local/private-employer/exchange or alternate work-schedule calendar.

Example user requests

Formula

for each included date: working_days += US federal status.is_working_day

Normalize endpoints, apply endpoint flags, and count the OPM calendar over the CLDR US weekend baseline.

Inputs

ParameterTypeUnitRequiredDescription
start_datedateyesFirst date in 2026-2027.
end_datedateyesLast date in 2026-2027.
include_start_datebooleandefault trueWhether start_date participates.
include_end_datebooleandefault trueWhether end_date participates.

Outputs

OutputTypeUnitDescription
normalized_start_datedateEarlier endpoint.
normalized_end_datedateLater endpoint.
working_daysintegerUS federal-baseline working dates.
non_working_daysintegerWeekend and OPM federal-holiday dates.
federal_holidays_countedlistOPM events in the range.
territorystringUS.
territory_namestringUnited States.
day_typestringRegular weekday, regular weekend or OPM federal holiday.
holiday_namesstring_listOPM federal holiday names applying on the date.
holiday_observedbooleanTrue when the date is the OPM in-lieu/observed date for a holiday whose actual date is a weekend.
holiday_actual_datesstring_listUnderlying statutory holiday dates for observed events.
weekend_daysstring_listCLDR Saturday/Sunday baseline.
rest_day_policystringOPM alternative work schedules need separate in-lieu resolution.
calendar_scopestringFederal employees and federal offices only.
calendar_profilestringus-opm-federal-holidays.
source_qualitystringOfficial OPM schedule and federal-law references.
dataset_versionstringPinned OPM evidence package.
sourceslistOfficial OPM, federal guidance and legislation sources.

Example

US federal July 2027: {"start_date":"2027-07-01","end_date":"2027-07-10","include_start_date":true,"include_end_date":true} → {"working_days":6}

GET https://tttkmbb.com/api/v1/calculate/us-federal-working-days-between?start_date=2027-07-01&end_date=2027-07-10&include_start_date=true&include_end_date=true

Machine access

Sources

FAQ

Is this a general US business calendar?

No. It is explicitly scoped to the OPM federal schedule.

Related calculators