GPS coordinates converter

Convert geographic coordinates between decimal format (for example 40.416775, -3.703790) and degrees, minutes and seconds (40° 25' 0.39" N, 3° 42' 13.64" W), and check the location on the map.

From decimal to degrees, minutes and seconds

Result:

From degrees, minutes and seconds to decimal

Latitude
° ' "
Longitude
° ' "

Result:


GPS coordinate formats

Latitude measures the angular distance from the equator (from -90° at the South Pole to +90° at the North Pole) and longitude the distance from the Greenwich meridian (from -180° to +180°, negative towards the west). GPS receivers, maps and applications express these coordinates in two common ways:

Decimal degrees (DD): a single number with decimals, for example 40.416775, -3.703790. This is the format used by Google Maps, OpenStreetMap and most APIs.

Degrees, minutes and seconds (DMS): the classic navigation format, for example 40° 25' 0.39" N, 3° 42' 13.64" W. A degree has 60 minutes and a minute 60 seconds, so to convert to decimal you calculate degrees + minutes/60 + seconds/3600, with a negative sign for the southern and western hemispheres.