British S - class submarine ( 1931 ) The S - class submarines of the Royal Navy were originally designed and built during the modernisation of the submarine force in the early 1930s to meet the need for smaller boats to patrol the restricted waters of the North Sea and the Mediterranean Sea replacing the British H class submarine s . Due to major naval construction of the Royal Navy during the Second World War , however , the " S " class became the largest single group of submarines ever built for the Royal Navy ; a total of 62 were constructed over a period of 15 years , with fifty of the " improved " " S " - class launched between 1940 and 1945 . Service . The submarines operated in the waters around the United Kingdom and in the Mediterranean , and later in the Far East after being fitted with extra tankage . After the war S class boats continued to serve in the Royal Navy until the 1960s . The last operational boat in the Royal Navy was HMS " Sea Devil " , launched in 1945 and scrapped in February 1966 . The HMS " Springer " in Israeli service as INS " Tanin " was decommissioned in 1972 . Several S - class submarines were sold on or lent to other navies : A modified version was ordered by the Turkish navy in 1939 as the Oruc Reis class submarine . Service losses . Of the twelve " S " - boats that were in service in 1939 , only three survived to see the end of World War II , a loss rate that inspired the song " Twelve Little S - Boats " , based on a nursery rhyme originally written by Septimus Winner in 1868 . The survivors , left blank in the fatalistic rhyme , were HMS " Sealion " ( scuttled ) , HMS " Seawolf " ( broken up ) , and HMS " Sturgeon " ( sold ) . General characteristics . First Group . The first group of S - class submarines consisted of four boats . They were smaller and slower than later classes , and carried less armament , but could be crewed by fewer men . All four were built at Chatham Dockyard , between 1930 and 1932 . During the war , they operated in home waters , particularly the English Channel , and off the Scandinavian coast . The later second and third groups of S - class submarines would have their fuel capacity expanded to allow them to operate further and overcome this limitation . The mortality rate of these early boats was particularly high . Only one , HMS " Sturgeon " , survived to the end of the war . Ships : Two ordered under the 1929 Construction Programme : Two ordered under the 1930 Construction Programme : | module4 = Second Group . The second group of S - class submarines consisted of eight boats . They were larger than the preceding first group and required more men to crew , but carried a similar armament . Construction was divided between Chatham Dockyard , and the yards of Scotts , of Greenock and Cammell Laird & Co Limited , of Birkenhead . All the ships were built between 1934 and 1937 . During the war , they , like the submarines of the first group , mostly operated in home waters , ranging as far afield as the Bay of Biscay and the Scandinavian coast . One , HMS " Sunfish " , was assigned to the Soviet Navy and operated in the Baltic Sea , before she was sunk by friendly aircraft . A large percentage of these submarines were also lost during the war . Only two , HMS " Sealion " and HMS " Seawolf " survived to the end of the war . Ships : Two ordered under the 1931 Construction Programme : Two ordered under the 1932 Construction Programme : One ordered under the 1933 Construction Programme : Two ordered under the 1934 Construction Programme : One ordered under the 1935 Construction Programme : Third Group . The third and by far the most numerous group of S - class submarines consisted of 50 boats . They were the largest and most heavily armed of the S - class and required more men to crew . They were one knot faster on the surface , but two knots slower when submerged . Most of the group were built at the yards of either Scotts , of Greenock or Cammell Laird & Co Limited , of Birkenhead , with a handful being built at Chatham , or by Vickers Armstrongs Ltd , of Barrow - in - Furness . Construction was carried out throughout the war , particularly between 1941 and 1945 . Equipped with a greater fuel capacity than their predecessors , they operated much further afield , in the Mediterranean and in the Pacific far east . There were two distinct subgroups . The first were boats of 842 tons , comprising those ordered under the 1939 War Emergency , 1940 and 1941 Programmes ( except " Sea Devil " and " Scotsman " ) , plus the " Sturdy " and " Stygian " of the 1942 Programme ; these carried an external stern torpedo tube in addition to the six bow tubes . The second subgroup were boats of 814 tons , comprising the " Sea Devil " and " Scotsman " of the 1941 Programme , plus those ordered under the 1942 and 1943 Programmes ( except " Sturdy " and " Stygian " ) ; these carried no external torpedo tube , but had a thicker welded pressure hull providing for an operational depth limit of 350 feet - compared with the 300 feet limit in the first subgroup . Losses continued to be high . Nine ships ; " P222 " , " Saracen " , " Sahib " , " Sickle " , " Simoom " , " Splendid " , " Stonehenge " , " Stratagem " and " Syrtis " were lost during the war , and " Shakespeare " and " Strongbow " were so badly damaged that they were written off and scrapped . Many surviving ships remained in service after the war . " Sportsman " , by now transferred to the French navy , was lost off Toulon in 1951 and " Sidon " was sunk after a torpedo malfunction in 1955 . Ships : Five ships were ordered under the 1939 War Emergency Programme . Twenty ships were ordered under the 1940 Programme . These differed from the initial five by having an external " stern " torpedo tube fitted , also a 20 mm Oerlikon AA gun and air warning RDF installed . Fifteen ships were ordered under the 1941 Programme . Thirteen ships were ordered under the 1942 Programme . Eight ships were ordered under the 1943 Programme , but only four were completed . The other four submarines was cancelled after the war ended in 1945 , and they became surplus to peace time requirements .