Degrees, minutes and seconds (DMS) and decimal degrees (DD) are two ways of writing the same angle. Converting between them needs nothing more than division and multiplication by 60. This guide shows the formula, works through the Eiffel Tower and New York City Hall in both directions, and covers signs, rounding and the in-between format DDM.
If you just want the result, use the DMS to decimal converter or, the other way round, the decimal to DMS converter.
Why 60?
A degree is split like an hour: 1 degree = 60 minutes (written ') and 1 minute = 60 seconds (written "). So one second is 1/3600 of a degree. These are arc minutes and arc seconds, not units of time, but the arithmetic is the same.
The formula: DMS to decimal degrees
decimal degrees = degrees + minutes / 60 + seconds / 3600
Then apply the direction:
- N and E stay positive.
- S and W become negative.
Always divide minutes by 60 and seconds by 3600. A common error is to treat 42 minutes as 0.42 degrees; it is actually 0.7 degrees.
Worked example 1: the Eiffel Tower
The Eiffel Tower is at 48° 51' 30.13" N, 2° 17' 40.13" E.
Latitude:
- Minutes: 51 / 60 = 0.85
- Seconds: 30.13 / 3600 = 0.0083694
- Total: 48 + 0.85 + 0.0083694 = 48.858369
- N, so it stays positive.
Longitude:
- Minutes: 17 / 60 = 0.2833333
- Seconds: 40.13 / 3600 = 0.0111472
- Total: 2 + 0.2833333 + 0.0111472 = 2.294481
- E, so it stays positive.
Result: 48.858369, 2.294481. The reference value for the tower is 48.858370, 2.294481; the last digit of the latitude differs by one because the seconds were rounded to two decimals. That is about 11 cm.
Worked example 2: New York City Hall (west and negative)
New York City Hall is at 40° 42' 45.99" N, 74° 0' 21.51" W.
- Latitude: 40 + 42/60 + 45.99/3600 = 40 + 0.7 + 0.012775 = 40.712775, positive because it is N.
- Longitude: 74 + 0/60 + 21.51/3600 = 74 + 0 + 0.005975 = 74.005975. It is W, so it becomes -74.005975.
Result: 40.712775, -74.005975, within about 14 cm of the reference point 40.712776, -74.005974. Note the zero minutes: you still write them, and they simply add nothing.
The minus sign is essential. Without it, 74.005975 would put the point in Central Asia instead of Manhattan.
The reverse: decimal degrees to DMS
- Note the sign, then work with the absolute value.
- The whole number is the degrees.
- Multiply the decimal part by 60. The whole number of the result is the minutes.
- Multiply the remaining decimal part by 60. That is the seconds; round it to two decimals.
- Add the letter: N or S for latitude, E or W for longitude, according to the sign.
Worked example 3: Eiffel Tower, 48.858370, 2.294481
| Step | Latitude 48.858370 | Longitude 2.294481 |
|---|---|---|
| Degrees | 48 | 2 |
| Decimal part × 60 | 0.858370 × 60 = 51.5022 | 0.294481 × 60 = 17.66886 |
| Minutes | 51 | 17 |
| Remainder × 60 | 0.5022 × 60 = 30.132 | 0.66886 × 60 = 40.1316 |
| Seconds (2 decimals) | 30.13 | 40.13 |
| Result | 48° 51' 30.13" N | 2° 17' 40.13" E |
Worked example 4: New York City Hall, 40.712776, -74.005974
- Latitude: degrees 40; 0.712776 × 60 = 42.76656, so 42 minutes; 0.76656 × 60 = 45.9936, so 45.99 seconds. Positive, so 40° 42' 45.99" N.
- Longitude: the value is negative, so work with 74.005974 and remember it is west. Degrees 74; 0.005974 × 60 = 0.35844, so 0 minutes; 0.35844 × 60 = 21.5064, so 21.51 seconds. Result 74° 0' 21.51" W.
A southern example
The Sydney Opera House latitude, -33.856784, works the same way: degrees 33; 0.856784 × 60 = 51.40704, so 51 minutes; 0.40704 × 60 = 24.4224, so 24.42 seconds. Because the value is negative, the letter is S: 33° 51' 24.42" S. Going back, 33 + 51/60 + 24.42/3600 = 33.856783, which becomes -33.856783.
Degrees and decimal minutes (DDM)
Many GPS units, marine charts and geocaching sites use a third format: whole degrees and decimal minutes, with no seconds. To get it, stop after step 3 of the reverse method and keep the decimals of the minutes:
- Eiffel Tower: 48° 51.502' N, 2° 17.669' E
- New York City Hall: 40° 42.767' N, 74° 0.358' W
To go from DDM to decimal degrees, divide the minutes by 60 and add them to the degrees: 48 + 51.502/60 = 48.858367. The three-decimal minutes moved the point by a few tenths of a metre. For more on all three formats, see latitude and longitude formats.
Rounding and precision
One second of latitude is about 31 m on the ground, so the decimals you keep decide how precise the result is:
| DMS precision | About | Matching decimal degrees |
|---|---|---|
| Whole seconds | 31 m | 4 decimals (11 m) |
| Seconds with 1 decimal | 3 m | 5 decimals (1.1 m) |
| Seconds with 2 decimals | 30 cm | 6 decimals (11 cm) |
Longitude seconds and decimals get smaller away from the equator, so these are worst-case sizes. Good habits:
- Keep at least seven decimals in the intermediate steps and round only at the end.
- Round seconds to two decimals and decimal degrees to six. More digits suggest a precision that GPS cannot deliver.
- If rounding gives 60.00 seconds, write 0 seconds and add one minute; if that gives 60 minutes, add one degree.
Checking your answer
A quick sanity check catches most mistakes: the decimal part of the degrees must be less than 1, minutes and seconds must be below 60, latitude must be between -90 and 90, and longitude between -180 and 180. Then paste the result into the DMS to DD converter or look at it on the map with lat long to address to confirm it lands where you expect.
Common mistakes
- Dividing seconds by 60 instead of 3600.
- Typing DMS digits as decimals, such as 48.5130 for 48° 51' 30".
- Forgetting the minus sign for S and W, or using both a minus sign and a letter.
- Converting a negative value without removing the sign first, which gives wrong minutes and seconds.