How far is each city from the coast?

MapGO measured the straight-line distance from 861 major cities to the nearest ocean or sea coast. Pick a city for its map, the nearest point on the shore and its nearest land border, or measure from where you are.

How far are you from the ocean?

Measure from where you are standing. On a phone this uses GPS, so the answer is for your exact spot.

Open the calculator

Checking insured properties? Get the distance to the coast for a whole list of addresses.

Hover a city for its distance. Click it for the full page. Drag to turn the globe, and scroll or use + and − to zoom.

Every city, by country

861 cities in 111 countries

Afghanistan

View 1 city

Algeria

View 1 city

Angola

View 1 city

Argentina

View all 2 cities

Armenia

View 1 city

Australia

View all 6 cities

Austria

View all 2 cities

Azerbaijan

View 1 city

Bangladesh

View all 5 cities

Belarus

View 1 city

Belgium

View all 2 cities

Bolivia

View all 2 cities

Brazil

View all 14 cities

Bulgaria

View 1 city

Burkina Faso

View 1 city

Cambodia

View 1 city

Cameroon

View all 2 cities

Canada

View all 8 cities

Chad

View 1 city

Chile

View 1 city

China

View all 177 cities

Colombia

View all 4 cities

Cuba

View 1 city

Czechia

View all 2 cities

Democratic Republic of the Congo

View all 5 cities

Denmark

View 1 city

Dominican Republic

View all 2 cities

Ecuador

View all 2 cities

Egypt

View all 2 cities

Ethiopia

View 1 city

Finland

View 1 city

France

View all 6 cities

Georgia

View 1 city

Germany

View all 8 cities

Ghana

View all 2 cities

Greece

View all 2 cities

Guinea

View 1 city

Haiti

View 1 city

Hong Kong

View 1 city

Hungary

View 1 city

India

View all 49 cities

Indonesia

View all 16 cities

Iran

View all 6 cities

Iraq

View all 6 cities

Ireland

View all 2 cities

Israel

View 1 city

Italy

View all 6 cities

Ivory Coast

View 1 city

Japan

View all 11 cities

Jordan

View 1 city

Kazakhstan

View all 3 cities

Kenya

View all 3 cities

Lebanon

View 1 city

Liberia

View 1 city

Libya

View 1 city

Madagascar

View 1 city

Malawi

View 1 city

Malaysia

View 1 city

Mali

View 1 city

Mauritania

View 1 city

Mexico

View all 10 cities

Morocco

View all 4 cities

Mozambique

View 1 city

Myanmar

View all 2 cities

Nepal

View 1 city

New Zealand

View all 2 cities

Niger

View 1 city

Nigeria

View all 13 cities

North Korea

View 1 city

Norway

View 1 city

Pakistan

View all 10 cities

Paraguay

View 1 city

Peru

View all 3 cities

Philippines

View all 5 cities

Poland

View all 5 cities

Portugal

View all 2 cities

Republic of the Congo

View 1 city

Romania

View 1 city

Russia

View all 14 cities

Rwanda

View 1 city

Saudi Arabia

View all 5 cities

Senegal

View all 2 cities

Serbia

View 1 city

Singapore

View 1 city

Somalia

View 1 city

South Africa

View all 6 cities

South Korea

View all 10 cities

Spain

View all 6 cities

Sudan

View 1 city

Sweden

View all 2 cities

Switzerland

View all 2 cities

Syria

View all 2 cities

Taiwan

View all 4 cities

Tanzania

View all 2 cities

Thailand

View all 2 cities

The Netherlands

View all 3 cities

Togo

View 1 city

Turkey

View all 10 cities

Turkmenistan

View 1 city

Uganda

View 1 city

Ukraine

View all 3 cities

United Arab Emirates

View all 3 cities

United Kingdom

View all 8 cities

United States

View all 300 cities

Uruguay

View 1 city

Uzbekistan

View 1 city

Venezuela

View all 4 cities

Vietnam

View all 7 cities

Yemen

View all 2 cities

Zambia

View 1 city

Zimbabwe

View 1 city

Farthest from the sea

For every city of a million or more people worldwide, ranked, see the cities farthest from the sea.

CityCountryTo the coast
ÜrümqiChina2,353 km (1,462 miles)
AlmatyKazakhstan1,884 km (1,170 miles)
KisanganiDemocratic Republic of the Congo1,583 km (984 miles)
Sioux FallsUnited States924 miles (1,487 km)
KrasnoyarskRussia1,462 km (908 miles)
AstanaKazakhstan1,423 km (884 miles)
XiningChina1,411 km (877 miles)
NovosibirskRussia1,378 km (856 miles)
ShymkentKazakhstan1,328 km (825 miles)
WuweiChina1,307 km (812 miles)
Des MoinesUnited States810 miles (1,303 km)
TashkentUzbekistan1,286 km (799 miles)

Questions

How far am I from the ocean?

Use the button on this page: it finds your location (on a phone, by GPS) and opens the distance to coastline calculator measuring from exactly where you are.

Which major city is farthest from the sea?

Of the 861 cities MapGO measured, Ürümqi, China, is the farthest from any coast: 2,353 km (1,462 miles) in a straight line.

Are these driving distances?

No. Every figure is the straight-line distance from the city centre to the nearest point on the shore of an ocean or sea. A drive to the beach is longer and depends on the roads.

Measured by MapGO on October 19, 2026. See also how far cities are from each country's border and which ocean is closest to you.