A landlocked country in West Africa, Mali has an area of about 1,240,000 sq km (478,767 sq mi), extending 1,852 km (1,151 mi) ENE – WSW and 1,258 km (782 mi) NNW – SSE . Comparatively, the area occupied by Mali is slightly less than twice the size of the state of Texas. Bounded on the N and NE by Algeria, on the E and S by Niger, on the S by Burkina Faso and Côte d'Ivoire, on the SW by Guinea, on the W by Senegal, and on the W and NW by Mauritania, Mali has a total boundary length of 7,243 km (4,661 mi). Mali's capital city, Bamako, is located in the southwestern part of the country.