South Africa occupies the southern tip of Africa, its coastline stretching more than 2,850 kilometres (1,770 miles) from the desert border with Namibia on the Atlantic (western) coast southwards around the tip of Africa and then northeast to the border with Mozambique on the Indian Ocean.