HMS Your Town: which British towns have had a warship named after them?

Title card reading 'HMS Your Town' on parchment beside a map of Great Britain and Northern Ireland with circles on the towns that gave their name to Royal Navy ships, sized by the number of ships.

Gloucester and Newcastle have each given their name to nine Royal Navy warships. Lancaster has had four, Barrow none. I matched every Royal Navy ship in Wikidata to the British towns they are named after and found 394 ships for 135 towns, a naming fashion that has come and gone for three and a half centuries.

In plenty of British towns there is a ship’s bell in the church or a crest in the town hall, a gift from HMS Something, the warship that carried the town’s name to sea. I wanted to know which towns have had one, how often, and what became of the ships.

Wikidata lists 6,006 Royal Navy ships named HMS. It says what a ship was named after for only 261 of them, so for the rest I matched the name to a British town or city, strictly: an exact match to a real town, and nothing named after a person, a battle, a river, a fox hunt or a foreign port that happens to share a British town’s name. That leaves 394 ships named after 135 towns and cities.

A map of Great Britain and Northern Ireland on parchment with circles on 135 towns, sized by the number of ships and coloured by era. The largest circles are Gloucester and Newcastle with nine ships each, Glasgow with eight; most circles sit on the coast, especially in the south of England
Every British town with a Royal Navy ship of its name, sized by the number of ships.

Ports, cathedral cities and dockyard towns

The most honoured are Gloucester and Newcastle, with nine ships each, then Glasgow with eight and Chatham, Falmouth, London, Maidstone, Pembroke, Scarborough and York with seven. They are the old ports, the cathedral cities and the dockyard towns the Navy lived in. 63% of the towns are within 10 km of the open sea. 28 towns have had five ships or more, and 50 just the one.

A bar chart of the twenty most-named towns. Each bar is made of blocks, one per ship, coloured grey-brown for ships before 1800, yellow for the 1800s, red for 1900 to 1945 and blue since 1946. Most bars start with several grey-brown blocks
The twenty towns with most ships. Each block is one ship, coloured by its era.

A fashion that came and went

Naming warships after towns is old. In the later 1600s about a third of the Navy’s ships carried a town’s name, though many of those names, York, Gloucester, Newcastle, were also the titles of royal dukes and earls, so some of those ships may honour the duke rather than the town. In all 42% of the matched ships carry a name that is also a noble title; leave them out and 227 ships and 93 towns remain. From the middle of the 1700s town names became rare, lost among a fleet of classical heroes, virtues, animals and battles. They came back in the 20th century: the Town-class cruisers, the Castle-class corvettes of 1944 named after town castles, the frigates of the 1950s and the Type 42 destroyers named after cities. The Type 23 frigates of the 1990s look like towns (Lancaster, Richmond, St Albans) but are named after dukedoms.

A bar chart of the share of Royal Navy ships named after a British town by half century: about a third from 1650 to 1699, falling to under 3 percent in the 1800s and rising again to over a fifth from 1950 to 1999
The share of Royal Navy ships named after a British town, by half century.

Lancaster and Barrow

Close to home, Lancaster has had 4 ships in the data: HMS Lancaster of 1694 and 1797, the corvette HMS Lancaster Castle in 1944 and the Type 23 frigate of 1992, though that frigate, like the rest of its class, takes its name from a dukedom, the Duke of Lancaster being the monarch. Wikidata misses the Town-class destroyer HMS Lancaster of 1940, and I left out the armoured cruiser of 1902, one of a class named after counties. Barrow-in-Furness, which has built so many of the Navy’s ships, has never had one of its own name in the data.

The open data can say which towns gave a ship its name. It mostly cannot say what happened to the ship.

What happened to them?

This is where the data runs thin. Only 24% of the ships have any recorded end in Wikidata, and most of those are just a decommissioning date. 11 are recorded as sunk, wrecked or destroyed, among them HMS Gloucester, sunk off Crete in 1941, and HMS Sheffield and HMS Coventry, lost in the Falklands in 1982. The rest is a gap waiting to be filled.

A single stacked bar of the recorded fates of the town-named ships: a small red section for ships lost, a larger grey-green section for ships decommissioned with no fate recorded, a sliver of blue for ships in service, and a long white section for ships with no fate recorded at all
Recorded fates of the town-named ships in Wikidata.

Other navies

Other navies do the same. Where Wikidata says what a ship is named after, the United States Navy leads, with 146 ships named after American towns and cities, from Raleigh to Newport News; the Royal Australian Navy names ships after its cities; and the Imperial Japanese Navy, by contrast, named ships after mountains, rivers and provinces.

A bar chart by navy of ships named after towns and other places. The United States Navy has by far the most, about 150 named after towns among about 350 named after places; the Royal Australian Navy, the Chinese navy and the Russian Navy name mostly after towns; the Imperial Japanese Navy almost never
Ships named after towns (blue) among ships named after any place, by navy.

How I did this

Everything comes from Wikidata. I took every Royal Navy ship whose name starts with HMS and used its “named after” link where it had one. Otherwise I matched the name exactly to a British town or city, or a “Lancaster Castle” style name to its town, and left out classes named after other things (fox hunts, racecourses, rivers, flowers) and names that belong to people, battles, rivers or foreign places. Names that are also noble titles are counted but flagged on the map, and classes named after counties (the County-class cruisers and destroyers) are left out. Years are commissioning years, or the typical year of the ship’s class. Only 261 of the 6,006 ships (4%) say in Wikidata what they were named after, and the 394 matches are 7% of the Royal Navy ships in the data. Some ships are missing altogether: 43 of the 45 Town-class destroyers the United States handed over in 1940, all named after towns shared by Britain and America, appear only under their American names. A matching name is not proof, so treat the counts as a lower bound.

Notes and sources

  • Wikidata (CC0): Royal Navy and other ships, classes, dates, events and namesakes; British towns and cities.
  • Static maps use Natural Earth (public domain). The interactive map uses the Inked World style on OpenStreetMap data (© OpenStreetMap contributors, ODbL) served by OpenFreeMap.
  • I wrote the text, with drafting and editing assistance from Claude (Anthropic), which also helped prepare the analysis code. I reviewed and checked all text and results.

Keep exploring

More questions about the past, places, politics and platforms, answered with open data. Every study has an interactive map, a write-up and its data and code.