Situated in Southeast Asia, Malaysia, with an area of 329,750 sq km (127,317 sq mi), consists of two noncontiguous areas: Peninsular Malaysia (formerly West Malaysia), on the Asian mainland, and the states of Sarawak and Sabah, known together as East Malaysia, on the island of Borneo. Comparatively, the area occupied by Malaysia is slightly larger than the state of New Mexico. Peninsular Malaysia, protruding southward from the mainland of Asia, comprises an area of 131,587 sq km (50,806 sq mi), extending 748 km (465 mi) SSE-NNW and 322 km (200 mi) ENE-WSW . It is bordered on the N by Thailand, on the E by the South China Sea, on the S by the Strait of Johore, and on the W by the Strait of Malacca and the Andaman Sea, with a total boundary length of 2,068 km (1,285 mi). Sarawak, covering an area of 124,449 sq km (48,050 sq mi), on the northwest coast of Borneo, extends 679 km (422 mi) NNE-SSW and 254 km (158 mi) ESE-WNW . It is bounded by Brunei on the N , Sabah on the NE , Indonesia on the E and S, and the South China Sea on the W . Sarawak's total boundary length is 2,621 km (1,629 mi). Situated at the northern end of Borneo, Sabah has an area of 74,398 sq km (28,725 sq mi), with a length of 412 km (256 mi) E-W and a width of 328 km (204 mi) N – S . To the N is the Balabac Strait, to the NE the Sulu Sea, to the SE the Celebes Sea, to the S Indonesia, to the SW Sarawak, and to the W the South China Sea, with a total boundary length of 2,008 km (1,248 mi). The total boundary length of Malaysia is 7,344 km (4,563 mi), of which 4,675 km (2,905 mi) is coastline.
Malaysia claims several atolls of the Spratly Island group in the South China Sea. The claim, in a region where oil is suspected, is disputed by China, the Philippines, Taiwan, and Vietnam. Malaysia's capital city, Kuala Lumpur, is located in the western part of Peninsular Malaysia.