Ghana ( (listen)), officially the Republic of Ghana, is a country in West Africa. It abuts the Gulf of Guinea and the Atlantic Ocean to the south, sharing borders with Ivory Coast in the west, Burkina Faso in the north, and Togo in the east. Ghana covers an area of 238,535 km2 (92,099 sq mi), spanning diverse biomes that range from coastal savannas to tropical rainforests. With nearly 31 million inhabitants (according to 2021 census), Ghana is the second-most populous country in West Africa, after Nigeria. The capital and largest city is Accra; other major cities are Kumasi, Tamale, and Sekondi-Takoradi.
The first permanent state in present-day Ghana was the Bono state of the 11th century. Numerous kingdoms and empires emerged over the centuries, of which the most powerful were the Kingdom of Dagbon in the north and the Ashanti Empire in the south.