Somalia is about 637,657 square kilometers (246,201 square miles) in total area. It is located in the Horn of Africa and has the longest mainland coastline in Africa, extending over 3,333 kilometers. The country is slightly smaller than the U.S. state of Texas. Somalia stretches about 2,483 kilometers from north to south and is relatively narrow, with an average width of about 100 kilometers at its narrowest point.