
Reading an AIS position report: speed, course, heading and timestamp
What each field in an AIS vessel position report means, which values are measured and which are typed in, what the "not available" sentinels look like, and why a moored ship can show a speed and a spinning course.
Photo: Fredrick F. / Unsplash ·source · Unsplash License
In one lineA position report is a handful of sensor readings plus a one-second timestamp; each field has a "not available" value that is not a measurement, and the report says nothing about the ship's name.
An AIS position report is the message behind almost every dot on a map like ours. It is short, it is repeated every few seconds to a few minutes, and it contains less than people assume. This guide goes through the fields of a Class A position report (message types 1, 2 and 3, see message type 1) and the Class B equivalent (type 18), explains where each value comes from, and flags the readings that are placeholders rather than measurements.
For the surrounding system, start with how AIS works. For the full list of message types, see AIS message types explained.
The fields, one at a time
| Field | “Not available” value |
|---|---|
| Navigational status | none; 15 is undefined |
| Rate of turn | −128 |
| Speed over ground | 1023 (102.3 knots) |
| Longitude | 181° |
| Latitude | 91° |
| Course over ground | 3600 (360.0°) |
| True heading | 511 |
| Timestamp second | 60 |
The MMSI and the position accuracy flag have no placeholder. Resolutions: speed and course are in 0.1 steps, heading in whole degrees, position in 1/10,000 of an arcminute (the position converter turns those raw integers into degrees), timestamp in whole UTC seconds (0–59).
MMSI. The nine-digit identity of the transmitting station. The first three digits are the country code; see reading an MMSI or paste one into the MMSI decoder.
Navigational status. A number from 0 to 15 such as under way using engine or moored. This is normally set by a person, not a sensor, so it is the field most likely to be stale or wrong. Navigational status codes lists every value.
Rate of turn. How fast the ship is swinging, with the sign showing direction. It is sent in a compressed scale rather than plain degrees per minute, which is why a raw value does not read as a rate. Many ships, and all Class B units, do not supply it.
Speed over ground (SOG). Speed relative to the seabed in knots, calculated by the satellite navigation receiver, not the ship’s log. That distinction matters in a current: a ship making 10 knots through the water against a 2-knot current reports about 8. A value of 102.3 is the placeholder for “no speed”, and a field value of 1022 means 102.2 knots or more.
Position accuracy. A single flag. 1 means the fix is better than 10 metres, usually because a differential correction is applied; 0 means worse than 10 metres or unknown. It is a statement about the receiver, not a measured error bar for this particular fix.
Longitude and latitude. Sent to a fraction of a metre of resolution, which is far finer than the accuracy of the receiver behind it. A longitude of 181° and a latitude of 91° are the “no position” values: a report carrying them contains no location, and a map that plots it is showing a bug.
Course over ground (COG). The direction the ship is actually travelling over the seabed, in degrees true, derived from successive position fixes. 360.0 is the “not available” value, because real courses run from 0 to 359.9.
True heading. The direction the bow points, in whole degrees true, from a gyro or compass. 511 means not available.
Timestamp. The UTC second in which the report was generated, 0 to 59. It places a fix within a minute and nothing more; it has no date or hour. Values 60 to 63 are not times: 60 is not available, 61 means the position was entered manually, 62 means dead reckoning and 63 means the positioning system is not working. This is why this site records and shows its own received-at time for each position instead of relying on the timestamp inside the message.
Course is not heading
A tanker pushed sideways onto a berth by tugs may have a heading of 090° and a course over ground of 000° or anything else. A ship crabbing across a tidal stream points one way and moves another. Both fields are right; they answer different questions. When the two differ widely at speed, the likely cause is current or wind. When they differ and the speed is near zero, ignore the course.
Why a moored ship has a speed and a wandering course
Satellite navigation fixes jitter by a metre or two. Over a few seconds a stationary antenna appears to move a fraction of a knot, so SOG reads 0.1 or 0.3 instead of 0.0. Course is only the bearing of that movement, so it can point anywhere and change every report. Read the position and the navigational status before the speed: a ship at the same coordinates for an hour is not under way, whatever its SOG says.
What the report does not contain
The vessel’s name and other identity details are not in a position report. They come in a separate static message sent roughly every six minutes. A Class A unit sends name, call sign, IMO number, ship type, dimensions, draught, destination and ETA in type 5. A Class B unit sends name, call sign, ship type and dimensions (or a parent-ship MMSI) in the two parts of type 24, with no IMO number, destination, ETA or draught. A map that has heard a ship’s position but not yet its static report shows an MMSI and no name. That is normal, not missing data. See ship type codes for what the type field says once it arrives.
How often a report is sent
Class A units choose their interval from speed and turning. As a general guide from the ITU standard: about every 10 seconds at up to 14 knots, about every 6 seconds between 14 and 23 knots, about every 2 seconds above 23 knots, faster again while changing course, and every 3 minutes at anchor or moored. Class B units report every 3 minutes at 2 knots or less and nominally every 30 seconds above that; Class B/SO speeds up to 15 seconds above 14 knots and 5 seconds above 23 knots, and Class B/CS can stretch beyond 30 seconds in congestion. The message types table lists the exact intervals. The difference between the classes is covered in Class A vs Class B.
A busy receiver may hear a fraction of these. The age you see on a vessel page is the time since the last report we received, which can be much older than the ship’s transmission interval; why ships go dark explains what that gap does and does not mean.
Try it on a real sentence
The AIS sentence decoder takes a raw !AIVDM line and lays out every field above, labelling the “not available” sentinels instead of presenting them as measurements. The per-field bit layout is on the message type 1 page.
This information is for reference only. It is not for navigation or collision avoidance.
Frequently asked questions
What is in an AIS vessel position report?
For a Class A ship (message types 1, 2 and 3): the MMSI, navigational status, rate of turn, speed over ground, a position accuracy flag, longitude and latitude, course over ground, true heading and the UTC second the report was generated. Class B (message type 18) carries the same core readings without navigational status or rate of turn. Neither carries the vessel’s name.
Why does a moored ship show a speed and a changing course?
Speed and course over ground come from a satellite navigation receiver, which has a small amount of noise. At a standstill that noise can read as a fraction of a knot, and because course is just the direction of that tiny movement, it can swing through any value. Use the navigational status and the position itself to tell moored from under way.
What is the difference between course over ground and heading?
Course over ground is the direction the ship is actually moving over the seabed, calculated from position fixes. Heading is the direction the bow points, read from a compass. Current, wind and leeway push them apart, and a ship being pushed sideways by a tug can have a heading unrelated to its course.
What does a speed of 102.3 knots mean in AIS?
Nothing physical. 102.3 knots (the field value 1023) is the code for “speed not available”. Likewise a course of 360.0 degrees, a heading of 511 and a longitude of 181 degrees all mean “no data”.
Sources
Check these yourself. Where this page paraphrases a standard, the standard is what governs — not our wording.
