Mali borders Algeria to the north-northeast, Niger to the east, Burkina Faso to the south-east, Ivory Coast to the south, Guinea to the south-west, and Senegal to the west and Mauritania to the north-west. At 1,242,248 square kilometres (479,635 sq mi), Mali is the world's 24th-largest country and is comparable in size to South Africa