Every U.S. federal employee's base pay traces back to one document: OPM's General Schedule salary tables. But the number you actually get paid isn't the table value — it's the table value adjusted by where you work, then capped by law. Here's the actual computation, straight from the regulation, plus a free calculator built on OPM's own published tables.

Where the numbers come from

OPM publishes a machine-readable salary table XML file per locality, per year, directly on opm.gov — e.g. for "Rest of U.S." in 2026:

https://www.opm.gov/policy-data-oversight/pay-leave/salaries-wages/salary-tables/xml/2026/RUS.xml 

There's one of these files per locality pay area (DC, NYC, SF, Rest of U.S., etc.) and the base GS table itself (grades 1-15, steps 1-10, no locality adjustment) ships the same way.

The locality-pay formula

A given grade/step's locality rate isn't a separate lookup — it's computed from the base GS rate and a locality percentage (5 CFR 531.604(b)(4)-(5), 531.606(a)):

locality rate = GS base annual rate × (1 + locality payment % / 100) rounded to the nearest dollar 

Then that number hits a hard ceiling: Executive Schedule Level IV (5 U.S.C. 5304(g)(1)). If your locality-adjusted salary would exceed that cap, you get capped at it — this is why some high-grade, high-step employees in expensive localities see their raise plateau even when the locality percentage itself goes up.

From annual to hourly, daily, weekly, biweekly

Once you have the (possibly capped) annual rate, everything else is one formula (5 CFR 531.607(a)(1)):

hourly rate = annual rate ÷ 2,087, rounded to the nearest cent 

2,087 is the fixed annual divisor set by OPM for all GS employees regardless of actual calendar days — not 2,080 (52×40), which is a common mistake. From there: daily = hourly × 8, weekly = hourly × 40, biweekly = hourly × 80. The Title 5 overtime rate for FLSA-exempt employees uses its own multiplier off the same hourly base.

Worked example

GS base annual rate $43,106, "Rest of U.S." locality payment 17.06% (Salary Table 2026-RUS, effective January 2026):

$43,106 × 1.1706 = $50,460 (rounded) <- under the Level IV cap, no capping applied $50,460 / 2,087 = $24.18/hr $24.18 × 8 = $193.44/day $24.18 × 40 = $967.20/week $24.18 × 80 = $1,934.40/biweekly 

Try it

Built a small calculator directly against OPM's salary table XML: GS Pay Calculator — pick year, locality, grade, and step, and it shows the base rate, the locality computation, and every derived rate, with the source table and date it was pulled. 58 locality areas plus the plain GS base table, 2025 and 2026.

Free, no login, and every number traces back to a cited CFR section — not a copy-pasted lookup table that goes stale the next time OPM updates locality percentages.