Surabaya is the capital city of the Indonesian province of East Java and the second-largest city in Indonesia, after Jakarta. Located on the northeastern corner of Java island, on the Madura Strait, it is one of the earliest port cities in Southeast Asia. According to the National Development Planning Agency, Surabaya is one of the four main central cities of Indonesia, alongside Jakarta, Medan, and Makassar. The city had a population of 2,874,314 within its city limits at the 2020 census and 9.9 million in the extended Surabaya metropolitan area, making it the second-largest metropolitan area in Indonesia. Surabaya metropolitan is also ASEAN 7th largest economy ahead of Hanoi.