GPS week & TAI
GPS / TAI Time
GPS week, seconds-of-week, TAI, and UTC using the IERS leap-second table.
GPS / TAI time
Paste GPS week + TOW, GPS seconds, TAI, or Unix — or pick a UTC date.
This converter relates three time scales that GNSS logs mix constantly: UTC expressed as Unix seconds, International Atomic Time (TAI), and GPS time as week number plus seconds of week. GPS time began at 00:00 UTC on 6 January 1980 and does not insert leap seconds. TAI counts SI seconds continuously. POSIX Unix time labels 86,400 seconds on each civil day and omits leap seconds from the count. Use this page for receiver week-rollover notes and lab stamps—not for a navigation solution, and not for NTP packet fields.
GPS week, TOW, and the 1980 epoch
GPS week is the integer number of 604,800-second weeks since the GPS epoch. Seconds of week (TOW) run from 0 through 604,799. Paste week and TOW as 2345,345678 or 2345 345678. Prefixes gps:, tai:, and unix: disambiguate a bare integer, which otherwise could be any of the three second counts. A calendar date converts UTC midnight into the same family of fields.
GPS time equals TAI minus 19 seconds by definition. At the GPS epoch, TAI−UTC was 19 seconds, so GPS and UTC agreed. UTC later inserted leap seconds; GPS did not. The GPS-minus-UTC difference is therefore the count of those leaps since 1980. The converter applies the published IERS leap-second table; it does not predict a future leap.
Ten-bit weeks without a rollover calendar
Many receivers store only ten bits of the week counter. That field wraps every 1,024 weeks—a little under twenty years. A decoded date that looks about two decades off often needs 1,024 added to the 10-bit week. This page prints both the full week and the 10-bit remainder so a log that says “week 200” can be placed in the correct era from context, not from a memorized list of rollover civil dates.
Firmware that has not implemented the latest wrap will jump backward 1,024 weeks. Inventory scripts for 2026 should record whether the week in a file is full or 10-bit. Adding 1,024 and converting again is the usual lab check; guessing a civil year from folklore is not.
Frequently asked questions
What instant does GPS time treat as week zero?
GPS time starts at 00:00:00 UTC on 6 January 1980. At that instant GPS and UTC agreed because TAI−UTC was 19 seconds, and GPS is defined as TAI minus 19 seconds. Weeks are 604,800 seconds long. Seconds of week run from 0 through 604,799. Unix time still counts from 1970; do not paste GPS seconds into a POSIX field unlabeled.
How do GPS week and seconds of week encode one instant?
Full GPS seconds since the 1980 epoch equal week times 604,800 plus TOW. Paste week and TOW as two numbers separated by a comma or space, or choose the week+TOW input kind. Prefix gps:, tai:, or unix: when you have a single second count. A calendar date converts UTC midnight into week, 10-bit week, and TOW together.
Why does GPS time run ahead of civil UTC clocks?
UTC inserts leap seconds; GPS does not. Each leap since the GPS epoch increases GPS−UTC by one second. TAI stays the published integer number of seconds ahead of UTC until the next leap. This page uses the IERS table of those steps. It does not predict a future leap, and JavaScript Date still cannot show 23:59:60.