In the Royal Navy and other navies of Europe and the Commonwealth of Nations, ships are identified by pennant number (an internationalisation of pendant number, which it was called before 1948). Historically, naval ships flew a flag that identified a flotilla or type of vessel. For example, the Royal Navy used a red burgee for torpedo boats and a pennant with an H for torpedo boat destroyers. Adding a number to the type-identifying flag uniquely identified each ship.

In the current system, a letter prefix, called a flag superior, identifies the type of ship, and numerical suffix, called a flag inferior, uniquely identifies an individual ship. Not all pennant numbers have a flag superior.

Royal Navy systems The Royal Navy first used pennants to distinguish its ships in 1661 with a proclamation that all of his majesty's ships must fly a union pennant. This distinction was further strengthened by a proclamation in 1674 which forbade merchant vessels from flying any pennants.

The system of numbering pennants was adopted prior to the First World War to distinguish between ships with the same or similar names, to reduce the size and improve the security of communications, and to assist recognition when ships of the same class are together.

During the First World War, pennant numbers were changed on a regular basis, with only those for ships in Home waters centrally controlled; those on foreign stations were allocated on a local basis. However, in November 1919 a new navy-wide system was introduced, with the intention that ships should now carry a permanent number. In most cases, plain numbers were given to capital ships and cruisers, and ones with flags-superior to smaller ships. While the numbers allocated to major warships (except for a few older vessels) would generally remain stable into the 1930s, destroyers were subject to further revisions, stability being reached in January 1922. While 1919/1922 numbers were allocated on a fairly systematic basis, later allocations were on the basis of re-allocating numbers made available by the disposal of older vessels. The next major revision took place in the late 1930s, when the volume of new construction was such that insufficient 'spare' numbers were now available for new ships. Accordingly, older cruisers had the flag-superior 'I' added in front of their existing plain numbers; as a result, submarines, which had previously used 'I', were given a new scheme of flags-inferior. Other changes were also made at this time. The next major change took place in 1940, when there was a wholesale set of changes to flags-superior, including the old cruisers changing from 'I' to 'D'.

Traditionally, a pennant number was reported with a full stop "." between the flag superior or inferior and the number, although this practice has gradually been dropped, and inter-war photos after about 1924 tend not to have the full stop painted on the hull. The system was used throughout the navies of the British Empire so that a ship could be transferred from one navy to another without changing its pennant number.

Pennant numbers were originally allocated by individual naval stations and when a ship changed station it would be allocated a new number. The Admiralty took the situation in hand and first compiled a "Naval Pendant List" in 1910, with ships grouped under the distinguishing flag of their type. In addition, ships of the 2nd and 3rd (i.e. reserve) fleets had a second flag superior distinguishing from which naval depot they were crewed: "C" for Chatham, "D" for Devonport, "N" for Nore and "P" for Portsmouth.

A completely new system was adopted in 1948, when flags-superior specific to a type of ship were introduced. For example, cruisers had the flag-superior 'C', destroyers 'D', frigates 'F' and carriers 'R'. In general, the existing numerical part of a ship's number was kept, except where this would lead to duplication (especially in the case of frigates, where 'F' now absorbed the former 'K', 'L' and 'U' lists), in which case the number was increased by 100, 200 or 300, as necessary.

The 1948 system was later taken over by NATO, and a single pennant list set up for all NATO navies, apart from the US and Canada.

During the 1970s, the service stopped painting pennant numbers on submarines on the grounds that, with the arrival of nuclear boats, they spent too little time on the surface, although submarines do continue to be issued numbers.

was initially allocated the pennant number F232, until it was realised that in the Royal Navy, form number 232 is the official report for ships that have run aground; sailors being superstitious, it was quickly changed to F229.

Second World War

No flag superior Pendant number 13 was not allocated. Capital ships, aircraft carriers, modern cruisers

Flags superior Pendant numbers 13 were not allocated to flag superiors. The letters J and K were used with three number combinations due to the number of vessels. D — destroyers (until 1940), older capital ships, aircraft carriers, cruisers (from 1940) F — destroyers (until 1940) and large auxiliary combatants (from 1940) G — destroyers (from 1940) H — destroyers I — aircraft carriers, cruisers (until 1940), destroyers (from 1940) J — minesweepers K — corvettes, frigates L — escort destroyers, sloops (until 1941) M — minelayers N — minesweepers P — sloops (until 1939), boom defence vessels (until 1940) R — destroyers (from 1942), sloops T — river gunboats, netlayers U — sloops (from 1941) W — tugs and salvage vessels X — special service vessels Z — gate, mooring and boom defence vessels 4 — auxiliary anti-aircraft vessels FY — fisheries (auxiliary fishing trawlers, drifter etc.)

Flags inferior Flags inferior were applied to submarines. Royal Navy submarines of the "H" and "L", and some transferred American vessels, were not issued names, only numbers. In these cases, the pendant number was simply the hull number inverted (i.e. L24 was issued pendant "24L"). For obvious reasons, the inferior "U" was not used so as not to confuse friendly ships with German U-boats. For similar reasons "V" was not used. Pendant numbers 00–10, 13, and those ending in a zero were not allocated to flag inferiors.

A — allied (Polish ORP Orzeł (85A)) C ("coastal") — (pre-war construction) F ("fleet") — H — H class L — L class M ("minelayer") — . P — O class, P class R — R class S — S-class submarines (pre-war construction) T — T-class submarines (pre-war construction)

In 1940, as part of the fleet-wide revision of pennant numbers, all existing submarines were given the flag-superior "N", usually preceding their previous flag-inferior number. "N"-numbers were also applied to new construction and Allied boats before they ran out and "P" numbers applied as follows:

PXX — U class (wartime construction), V class P2XX — S class (wartime construction) P3XX — T class P4XX — A class P5XX — United States Navy lend-lease submarines P6XX — commandeered foreign construction P7XX — captured enemy submarines

Post-1948 After the Second World War, in 1948, the Royal Navy adopted a rationalised "pennant" number system where the flag superior indicated the basic type of ship as follows. "F" and "A" use two or three digits, "L" and "P" up to four. Again, pennant 13 is not used (for instance the helicopter carrier was followed by ). A — auxiliaries (vessels of the Royal Fleet Auxiliary, Royal Maritime Auxiliary Service, and Royal Navy Auxiliary Service, including depot ships, boom defence vessels, etc.) C — cruisers (currently none in service, therefore unused) D — destroyers F — frigate (former escort destroyers, sloops and corvettes) H — shore signal stations (military); survey vessels K — miscellaneous vessels (e.g., the helicopter support ship or the seabed operations vessels RFA Proteus and ) L — amphibious warfare ships M — minesweepers N — minelayers (currently none in service, therefore unused) P — patrol boats R — aircraft carriers S — submarines X — experimental vessels (currently, the only vessel to use this is XV Patrick Blackett which is not a commissioned ship of the Navy but is crewed and run by the Royal Navy) Y — yard vessels

Flotilla bands

1925–1939 From 1925, flotilla leaders were issued with but did not paint on pendant numbers. Instead, a broad band deep was painted round their fore-funnel. Divisional leaders wore a pendant number and had a narrower deep band on the fore-funnel, painted from the top. The Mediterranean Fleet wore black leader bands and the Atlantic – later Home Fleet wore white bands. The flotillas wore combinations of bands on their after funnel to identify them. From 1925 the following bands were worn; 1st Destroyer Flotilla — one black band 2nd Destroyer Flotilla — two black bands (one red from 1935) 3rd Destroyer Flotilla — three black bands 4th Destroyer Flotilla — no bands 5th Destroyer Flotilla — one white band 6th Destroyer Flotilla — two white bands 8th Destroyer Flotilla (from 1935) — one black and one white band

Second World War When single funnelled destroyers entered the fleet with the J class in 1939 and with an expansion in the number of flotillas, the system was changed accordingly. Single funnelled ships wore a deep band as a flotilla leader. As a divisional leader they had a wide vertical band the same colour as, and extending below, the upper flotilla band. Leaders bands were white for Home Fleet, red for Mediterranean Fleet, and the system of flotilla bands changed to; 1st Destroyer Flotilla (Mediterranean) — 1 red, G class 2nd Destroyer Flotilla (Mediterranean) — 2 red, H class 3rd Destroyer Flotilla (Mediterranean) — 3 red bands, then none, I class 4th Destroyer Flotilla (Mediterranean) — none, Tribal class 5th Destroyer Flotilla (Mediterranean) — none, K class 6th Destroyer Flotilla (Home) — 1 white, Tribal class 7th Destroyer Flotilla (Home) — 2 white, J class 8th Destroyer Flotilla (Home) — 3 white, F class 9th Destroyer Flotilla (Home) — 1 black & 2 white, V and W class 10th Destroyer Flotilla (Home) — none, V & W class 11th Destroyer Flotilla (Western Approaches) — 1 black over 2 red, V and W class 12th Destroyer Flotilla (Rosyth) — 1 white over 1 red, E class 13th Destroyer Flotilla (Gibraltar) — 1 white over 2 red, V and W class 14th Destroyer Flotilla (Home) — 1 red over 1 black, V and W class 15th Destroyer Flotilla (Rosyth) — 1 red over 2 black, V and W class 16th Destroyer Flotilla (Portsmouth) — 1 red over 1 white, V and W class 17th Destroyer Flotilla (Western Approaches) (from 1940) — 1 red over 2 white, Town class 18th Destroyer Flotilla (Channel) — 1 white & 1 black, A class 19th Destroyer Flotilla (Dover)— 1 white over 2 black, B class 20th Destroyer Flotilla (Portsmouth) — 2 white over 1 black, C class 21st Destroyer Flotilla (China Station) — 2 white over 1 red, D class

Flotilla bands were used throughout the war although war-losses, operational requirements, and new construction broke up the homogeneity of the destroyer flotillas. Vessels were deployed as and when they were needed or available, and were often incorporated into mixed "escort groups" containing a range of vessel types such as sloops, corvettes, frigates and escort carriers. A few of the escort groups adopted funnel bands; others (like the B7 escort group) wore letters on their funnels.

Post-war Post-war Flotillas were no longer identified by bands, but by large cast metal numbers bolted to the funnels. Flotilla leaders continued to display a large band at the top of the funnel and half leaders would carry a thin black band around the funnel.

Deck codes