Pakistan shares its borders with four neighbouring countries – People's Republic of China, Afghanistan, India, and Iran while Tajikistan is separated by thin Wakhan Corridor– adding up to about 7,307 km (4,540.4 mi) in length (excluding the coastal areas).