Tianjin is located along the west coast of the Bohai Gulf, looking out to the provinces Shandong and Liaoning across those waters, bordered by Beijing 120 kilometers (75 mi) to the northwest, and is surrounded on all sides by Hebei, with the exception of its eastern border, the Bohai Sea. With a latitude ranging from 38° 34' to 40° 15' N, and longitude ranging from 116° 43' to 118° 04' E, the total area is 11,860.63 square kilometers (4,579.41 sq mi). There is 153 km (95 mi) of coastline and 1,137.48 kilometers (706.80 mi) of land border.[26] It lies at the northern end of the Grand Canal of China, which connects with the Yellow River and Yangtze River.