This map shows length of coastline in each country.

The total length of coastline in the world: 356,000 km

This entry gives the total length of the boundary between the land area (including islands) and the sea.