Dev · Converter

DMS to decimal degrees converter & lat/long validator.

Paste a latitude and a longitude in any common format, such as 43°38'33.2"N, 43 38.553 N or 43.6426. You get decimal degrees, degrees-minutes-seconds, degrees-decimal-minutes and a GeoJSON position, with range checks. Everything runs in your browser; nothing is stored or sent.

Decimal degrees = degrees + minutes/60 + seconds/3600 South and West are negative

Advertisement

Inputs

DMS, degrees-decimal-minutes or decimal degrees. Use N/S or a minus sign. Range -90 to 90.
Use E/W or a minus sign. Range -180 to 180.

Result

Enter a latitude and longitude and press Convert.

Advertisement

How the conversion works

There are 60 minutes in a degree and 60 seconds in a minute, so decimal degrees = degrees + minutes/60 + seconds/3600, negated for south latitudes and west longitudes. Going back, the whole part is the degrees, the whole part of 60 × the fraction is the minutes, and what is left over is the seconds. This is the method described on Wikipedia's geographic coordinate conversion page.

Worked example from that page: 40° 26′ 46″ N is 40 + 26/60 + 46/3600 = 40.446111, and 79° 58′ 56″ W is −79.982222. In degrees-decimal-minutes the same points are 40° 26.767′ N and 79° 58.933′ W.

Valid ranges and coordinate order

Latitude runs from −90 to 90 and longitude from −180 to 180; minutes and seconds must be below 60. Order matters: people usually say "latitude, longitude", but GeoJSON positions are [longitude, latitude] (RFC 7946, section 3.1.1). The result below gives the GeoJSON order so you can copy it straight in.

What this checks and doesn’t

This checks the format and numeric range of a coordinate and does the arithmetic. It cannot tell you whether the point is where you think it is, which datum it uses (WGS 84 is assumed), or whether anything exists there.

Worked example

Computed by running this page’s converter code on 2026-10-26, using a point in downtown Toronto.

DMS to decimal degrees example
InputDecimal degreesDegrees-decimal-minutes
43°38'33.2"N43.64255643° 38.553′ N
79°23'13.7"W-79.38713979° 23.228′ W

GeoJSON order for this point is [-79.387139, 43.642556]. Converting 43.642556 back to degrees-minutes-seconds gives 43° 38′ 33.2″ N.

Sources and as-of date

As of 2026-10-26. The 60-minutes and 60-seconds scale is the definition of the angular units; the range and order rules are the GeoJSON ones.

Advertisement

Frequently asked questions

How do I convert DMS to decimal degrees?

Add the degrees, the minutes divided by 60 and the seconds divided by 3600. For 43° 38′ 33.2″ N that is 43 + 38/60 + 33.2/3600 = 43.642556.

Why are south latitudes and west longitudes negative?

Decimal degrees carry the hemisphere in the sign: north and east are positive, south and west are negative. 79° 23′ 13.7″ W therefore becomes -79.387139.

Does latitude or longitude come first?

People usually say latitude, longitude. GeoJSON positions are the other way round, [longitude, latitude], as RFC 7946 section 3.1.1 specifies, so this page shows the GeoJSON order separately.

Which datum does the conversion assume?

WGS 84, the datum RFC 7946 requires for GeoJSON. The arithmetic does not change with the datum, but a point surveyed in another datum can sit a few metres away on a WGS 84 map.