Situated on the western bulge of Africa, Senegal has a land area of 196,190 sq km (75,749 sq mi), extending 690 km (429 mi) SE – NW and 406 km (252 mi) NE – SW . Comparatively, the area occupied by Senegal is slightly smaller than the state of South Dakota. It is bordered on the N and NE by Mauritania, on the E by Mali, on the S by Guinea and Guinea-Bissau, and on the W by the Atlantic Ocean. Its westernmost point is also that of the African mainland. On the NE the boundary is set by the Senegal River, and on the E by the Falémé River. Senegal surrounds the long, narrow republic of the Gambia on three sides and is joined with it in the Confederation of Senegambia. The total boundary length of Senegal is 3,171 km (1,970 mi), of which 531 km (330 mi) is coastline.
Senegal's capital city, Dakar, is located on the Atlantic coast.