Reading vessel type codes
Ship type in Lloyd’s Register and live AIS marine-traffic feeds is built on the two-digit ship type field broadcast by every AIS transponder, defined in ITU-R M.1371. This reference decodes that number into a broad category — cargo, tanker, passenger, tug, fishing, and more — and explains the hazardous-cargo second digit.
How it works
The number is read as two digits with distinct jobs:
first digit : broad category
3x special small craft (fishing, towing, sailing...)
4x high-speed craft
6x passenger
7x cargo
8x tanker
second digit : for WIG/HSC/passenger/cargo/tanker, a hazard category
0 none specified 1 cat A 2 cat B 3 cat C 4 cat D
So 70 is a cargo ship with no hazard specified, 80 a tanker, and 84 a tanker carrying category-D dangerous goods. The 30-series codes are individual special-purpose craft (fishing, towing, dredging, diving, sailing, pleasure) and do not use the hazard digit.
Tips and notes
The raw AIS code is deliberately coarse: every dry-cargo ship is 7x whether it is a bulk carrier, a container ship, or general cargo. The richer vessel-type names you see in Lloyd’s Register and commercial traffic services come from combining this field with the ship’s deadweight tonnage, hull dimensions, and registered design, plus the IMO number that uniquely identifies the hull. Treat the AIS type as a starting category, not the final classification.