Mannheim is a city in southwestern Germany. With about 311,350 inhabitants, Mannheim is the second-largest city in the Bundesland of Baden-Württemberg, following the capital city of Stuttgart. Mannheim is located at the confluence of the Rhine River and the Neckar River in the northwestern corner of Baden-Württemberg. The Rhine separates Mannheim from the city of Ludwigshafen, just to the west of it in Rhineland-Palatinate. The border of Baden-Württemberg with the Bundesland of Hesse is just north of Mannheim, and Mannheim is just downstream along the Neckar from the city of Heidelberg. Mannheim is the largest city of the Rhine Neckar Area, a metropolitan area with about 2.4 million inhabitants.