Home IMO number

IMO number validator

How the IMO number format works

Format
7 digits, the last being a mod-10 check digit over the first 6
Example
9074729

Things to watch for

  • IMO numbers are usually written as "IMO 9074729" — enter just the 7 digits, without the "IMO" prefix
  • The check digit is a weighted sum (7,6,5,4,3,2 over the first 6 digits) mod 10 — it doesn't confirm the ship exists or is currently registered
  • The same 7-digit scheme is also used for IMO company and registered owner numbers, which follow the same checksum but identify organizations, not ships
Regex for IMO number
^[0-9]{7}$

An IMO number is a 7-digit code that identifies one specific merchant ship for the entire life of its hull — it doesn’t change if the vessel is sold, renamed, reflagged, or reassigned to a new operator. Assigned under a scheme run by the International Maritime Organization, it’s what lets classification societies, port authorities, insurers, and ship registries all agree they’re talking about the same physical vessel, even decades after it was built and long after every other detail on its paperwork has changed. It’s typically written with the prefix attached, as “IMO 9074729,” though only the 7 digits go into a validator like this one.

How this validator works

The check runs two steps: first confirming the input is exactly 7 numeric digits, then recomputing the final digit as a checksum. Each of the first six digits is multiplied by a descending weight — 7, 6, 5, 4, 3, then 2 — and those products are summed; the sum’s last digit (the value mod 10) must equal the 7th digit you entered. A single mistyped or transposed digit almost always breaks that equation, so a fail here is a strong signal to re-check the source document before the number goes into a shipping manifest, insurance record, or registry search.

What a pass doesn’t tell you

Passing this check means the digits are correctly formed and internally consistent — it does not confirm a vessel with that number exists, is currently active, or hasn’t been scrapped. The IMO’s own database, and public tools such as Equasis, are what confirm a number is actually on the register; this tool is a fast, private first pass for catching a typo before you get that far.

Content last reviewed 2026-07-23.

IMO number FAQ

What does a passing check on an IMO number actually confirm?

Only that the string is 7 digits long and that the 7th digit matches the mod-10 checksum computed from the first 6 — arithmetic, not a registry lookup. It confirms the number is internally consistent and couldn't have been produced by a random typo, but it says nothing about whether that number was ever assigned to a real ship.

Why is a ship's IMO number called permanent when its name and flag can change?

The IMO scheme assigns one 7-digit number to a ship's hull for its entire operating life, independent of any later sale, renaming, reflagging, or change of owner — unlike a call sign or registry number, which can be reissued when those things change. A ship can be sold and renamed several times over decades while keeping the same IMO number throughout.

Is an IMO ship number the same thing as an IMO company number?

No, though they look identical. Both are 7 digits using the same weighted mod-10 checksum, but a ship number identifies one vessel's hull while a company or registered-owner number identifies the organization that owns or manages it. This validator checks the format and checksum only — it can't tell you from the digits alone which kind of IMO number you're holding.

← More IMO number validators