Surabaya (pronounced [surəˈbaja]) (formerly Soerabaia or Surabaja) is Indonesia's second-largest city with a population of over 2.7 million (5.6 million in the metropolitan area), and the capital of the province of East Java. It is located on the northern shore of eastern Java at the mouth of the Mas River and along the edge of the Madura Strait.