German submarine U-1228 was a Type IXC/40 U-boat built for Nazi Germany's Kriegsmarine during World War II.
German Type IXC/40 submarines were slightly larger than the original Type IXCs. U-1228 had a displacement of 1144t when at the surface and 1257t while submerged. The U-boat had a total length of 76.76m (251.84feet), a pressure hull length of 58.75m (192.75feet), a beam of 6.86m (22.51feet), a height of 9.6m (31.5feet), and a draught of 4.67m (15.32feet). The submarine was powered by two MAN M 9 V 40/46 supercharged four-stroke, nine-cylinder diesel engines producing a total of 4400PS for use while surfaced, two Siemens-Schuckert 2 GU 345/34 double-acting electric motors producing a total of 1000shp for use while submerged. She had two shafts and two 1.92abbr=onNaNabbr=on propellers. The boat was capable of operating at depths of up to .
The submarine had a maximum surface speed of and a maximum submerged speed of . When submerged, the boat could operate for at ; when surfaced, she could travel at . U-1228 was fitted with six 53.30NaN0 torpedo tubes (four fitted at the bow and two at the stern), 22 torpedoes, one 10.52NaN2 SK C/32 naval gun, 180 rounds, and a 3.7cm (01.5inches) Flak M42 as well as two twin 2sp=usNaNsp=us C/30 anti-aircraft guns. The boat had a complement of forty-eight.
U-1228 was ordered on 14 October 1941 from Deutsche Werft in Hamburg-Finkenwerder under the yard number 391. Her keel was laid down on 16 February 1943 and the U-boat was launched on 2 October. About three months later she was commissioned into service under the command of Oberleutnant zur See Friedrich-Wilhelm Marienfeld (Crew X/38) in the 31st U-boat Flotilla on 22 December 1943.
After work-up for deployment, U-1228 transferred to the 2nd U-boat Flotilla and left Kiel for the West Atlantic on 5 September 1944 for her first and only patrol. Stopping briefly in Bergen, Norway, for replenishment, she experienced engine troubles in the Norwegian Sea and had to return to port. She set off again on 12 October from Bergen and operated south of Nova Scotia sinking one warship, .
She returned to Bergen on 28 December 1944 and continued her journey to Flensburg the same day. On 17 January 1945, she arrived in Wesermünde where she spent the next two months in the yard. U-1228 set out again on 1 April 1945 for operations in the West Atlantic. After the surrender of Germany, the U-boat made for the closest Allied port and surrendered to US forces in Portsmouth, New Hampshire on 17 May 1945.
In August 1945 U-1228 was awarded to the United States and after being tested, she was sunk by on 5 February 1946 in position 42.5333°N -106°W.