Taipei is the capital of Republic of China and the largest city on Taiwan an island some 120 kilometers (75 miles) off the southeastern coast of China in East Asia. The island of Taiwan is about 390 kilometers long from north to south and 140 kilometers from east to west; the East China Sea lies to the north, the Philippine Sea to the east, the Luzon Strait to the direct south, the South China Sea to the southwest, and the Taiwan Strait to the west.
Taipei City is located in the Taipei Basin in northern Taiwan and is bordered on the south by the Xindian River , and the Tamsui River on the west. The northern districts of Shilin and Beitou extend north of the Keelung River and are bordered by Yangmingshan National Park .
Because of its location in a valley, the city commonly experiences high temperatures and humidity during the summer months, a problem enhanced by the high population density and the use of air conditioning. The climate is subtropical.
The area covered by the Taipei City limit is ranked 16 of 25 of all counties and cities in Taiwan.