How far am I from the Chinese border?

China shares land borders with Vietnam, Pakistan, India, Russia, Myanmar, Afghanistan, North Korea, Kazakhstan, Nepal, Kyrgyzstan, Mongolia, Lao PDR, Tajikistan and Bhutan. Use your location to measure the straight-line distance from where you are to the nearest point of China, or see below how far major cities on both sides of the border are.

How far are you from China?

On a phone this uses GPS. The calculator opens with China already selected and measures from your exact spot.

China's neighbours

China is shown in green, and the 14 countries it shares a land border with in blue.

  • China
  • Land neighbours

Which countries border China? See every neighbour and the countries two borders away

How far major cities are from China

CityCountryTo China
HanoiVietnam136 km (85 miles)
MandalayMyanmar262 km (163 miles)
DelhiIndia330 km (205 miles)
LahorePakistan397 km (247 miles)
KabulAfghanistan557 km (346 miles)
YangonMyanmar667 km (415 miles)
Ho Chi Minh CityVietnam870 km (541 miles)
HerātAfghanistan1,150 km (715 miles)
KarachiPakistan1,358 km (844 miles)
MumbaiIndia1,471 km (914 miles)
MoscowRussia3,175 km (1,973 miles)
Saint PetersburgRussia3,727 km (2,316 miles)

How far China's cities are from its borders

CityNearest neighbourTo that border
BeijingMongolia560 km (348 miles)
ChengduMyanmar625 km (388 miles)
ChongqingVietnam694 km (432 miles)
ShanghaiNorth Korea790 km (491 miles)

Straight-line distance from each city centre to the nearest point of the other country, measured October 8, 2026.

Questions

How far am I from the Chinese border?

Tap "Use my location" on this page. On a phone it uses GPS, and the calculator measures the straight-line distance from where you are to the nearest point of China, in miles and kilometers.

Which countries border China?

China shares land borders with Vietnam, Pakistan, India, Russia, Myanmar, Afghanistan, North Korea, Kazakhstan, Nepal, Kyrgyzstan, Mongolia, Lao PDR, Tajikistan and Bhutan.

Is this the distance to a border crossing?

No. It is the straight-line distance to the nearest point on the border line itself. The nearest official crossing can be much farther away by road.

Does it measure across water?

Yes. It measures to the nearest point of China's territory. From most places that is the land border, but from somewhere across a sea or a lake it can be China's coast.

Which big city is closest to China?

Of the cities measured here, Hanoi in Vietnam is the closest: 136 km (85 miles) from China in a straight line.

Other borders