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

CityRegionTo the coastSetting
PekanbaruRiau102 km (64 miles)Inland
BandungJawa Barat67 km (42 miles)Inland
PalembangSumatera Selatan65 km (41 miles)Inland
BogorJawa Barat51 km (32 miles)Inland
DepokJawa Barat31 km (19 miles)Near the coast
South TangerangBanten21 km (13 miles)Near the coast
MedanSumatera Utara20 km (13 miles)Near the coast
BekasiJawa Barat16 km (9.8 miles)Near the coast
TangerangBanten14 km (8.9 miles)Near the coast
JakartaJakarta Raya10 km (6.2 miles)Near the coast
SurabayaJawa Timur4.9 km (3.1 miles)On the coast
SemarangJawa Tengah4.1 km (2.6 miles)On the coast
MakassarSulawesi Selatan2.6 km (1.6 miles)On the coast
BatamKepulauan Riau2.5 km (1.5 miles)On the coast
Bandar LampungLampung2.4 km (1.5 miles)On the coast
JeparaJawa Tengah1.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