How far are Indonesia's cities from the sea?
Of the 16 cities in Indonesia MapGO measured, Pekanbaru is the farthest from the sea (102 km (64 miles)) and Jepara the closest (1.8 km (1.1 miles)).
Farthest from the sea first
| City | Region | To the coast | Setting |
|---|---|---|---|
| Pekanbaru | Riau | 102 km (64 miles) | Inland |
| Bandung | Jawa Barat | 67 km (42 miles) | Inland |
| Palembang | Sumatera Selatan | 65 km (41 miles) | Inland |
| Bogor | Jawa Barat | 51 km (32 miles) | Inland |
| Depok | Jawa Barat | 31 km (19 miles) | Near the coast |
| South Tangerang | Banten | 21 km (13 miles) | Near the coast |
| Medan | Sumatera Utara | 20 km (13 miles) | Near the coast |
| Bekasi | Jawa Barat | 16 km (9.8 miles) | Near the coast |
| Tangerang | Banten | 14 km (8.9 miles) | Near the coast |
| Jakarta | Jakarta Raya | 10 km (6.2 miles) | Near the coast |
| Surabaya | Jawa Timur | 4.9 km (3.1 miles) | On the coast |
| Semarang | Jawa Tengah | 4.1 km (2.6 miles) | On the coast |
| Makassar | Sulawesi Selatan | 2.6 km (1.6 miles) | On the coast |
| Batam | Kepulauan Riau | 2.5 km (1.5 miles) | On the coast |
| Bandar Lampung | Lampung | 2.4 km (1.5 miles) | On the coast |
| Jepara | Jawa Tengah | 1.8 km (1.1 miles) | On the coast |
Straight-line distance from each city centre to the nearest point on the coast, measured October 19, 2026.
How far are you from the sea?
Measure from where you are standing. On a phone this uses GPS, so the answer is for your exact spot.
Explore Indonesia
Questions
Which city in Indonesia is farthest from the sea?
Of the 16 cities measured, Pekanbaru is the farthest from the coast: 102 km (64 miles) in a straight line.
Which city in Indonesia is closest to the sea?
Jepara, 1.8 km (1.1 miles) from the nearest shoreline in a straight line.
Are these driving distances?
No. Each figure is the straight-line distance from the city centre to the nearest point on the coast. The drive to a beach is longer and depends on the roads.
Other countries
AfghanistanAlgeriaAngolaArgentinaArmeniaAustraliaAustriaAzerbaijanBangladeshBelarusBelgiumBoliviaBrazilBulgariaBurkina FasoCambodiaCameroonCanadaChadChileChinaColombiaCubaCzechiaDemocratic Republic of the CongoDenmarkDominican RepublicEcuadorEgyptEthiopiaFinlandFranceGeorgiaGermanyGhanaGreeceGuineaHaitiHong KongHungaryIndiaIranIraqIrelandIsraelItalyIvory CoastJapanJordanKazakhstanKenyaLebanonLiberiaLibyaMadagascarMalawiMalaysiaMaliMauritaniaMexicoMoroccoMozambiqueMyanmarNepalNew ZealandNigerNigeriaNorth KoreaNorwayPakistanParaguayPeruPhilippinesPolandPortugalRepublic of the CongoRomaniaRussiaRwandaSaudi ArabiaSenegalSerbiaSingaporeSomaliaSouth AfricaSouth KoreaSpainSudanSwedenSwitzerlandSyriaTaiwanTanzaniaThailandThe NetherlandsTogoTurkeyTurkmenistanUgandaUkraineUnited Arab EmiratesUnited KingdomUnited StatesUruguayUzbekistanVenezuelaVietnamYemenZambiaZimbabwe