Convert degrees, minutes and seconds (DMS) to decimal degrees, or decimal degrees to DMS, for angles or latitude and longitude coordinates.
- All Unit Converters
- Coterminal Angle Calculator
- Reference Angle Calculator
- Degrees To Radians Calculator
- Degrees to Feet Calculator
- Degrees to Inches Calculator
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| DMS to decimal | Converts an angle in degrees, minutes and seconds to decimal degrees | Requires the degrees, the minutes and seconds (a blank counts as 0) and a direction |
| Decimal to DMS | Converts an angle in decimal degrees to degrees, minutes and seconds | Requires the decimal degrees and a direction |
The direction is Signed angle, Negative angle, North or South latitude, or East or West longitude. A latitude may not exceed 90° [2] and a longitude may not exceed 180° [3]. Both functions also show the angle in degrees and decimal minutes, in total arcminutes and in total arcseconds. An optional setting gives the seconds 0, 2, 4 or 6 decimal places.
Degrees Minutes Seconds Formulas
S ÷ 3,600 [1]
| DD | Angle in decimal degrees |
| D | Whole degrees |
| M | Minutes, a whole number from 0 to 59 |
| S | Seconds, from 0 to just under 60 |
A minute is 1/60 of a degree and a second is 1/60 of a minute [1], so a second is 1/3,600 of a degree.
DMS to decimal
The three parts are added with the main formula, and the direction is then applied to the whole angle: Negative angle, South and West make the decimal value negative. 12° 0′ 44.49″ is 12 + 0 ÷ 60 + 44.49 ÷ 3,600 = 12.01235833°. 40° 26′ 46″ North is 40.44611111°, and 73° 59′ 8.36″ West is −73.98565556°.
Decimal to DMS
M = floor((DD − D) × 60)
S = (DD − D − M ÷ 60) ×
3,600
Here floor means the whole-number part, and DD is taken without its sign. The whole degrees come off first, the remainder is multiplied by 60 for the minutes, and what is left of that is multiplied by 60 again for the seconds. 40.446111° becomes 40° 26′ 46.00″. Seconds that round up to 60 carry into the minutes, so 29.99999999° shows as 30° 0′ 0.00″. A negative decimal keeps its sign with Signed angle, and a latitude or longitude is entered as a positive number with its direction.
Limits of This Estimate
- More decimal places do not make a position more accurate than the measurement behind it. One second of latitude is about 30.7 m on the ground [2], so two decimal places of seconds already resolve about 0.3 m.
- A second of longitude covers less ground than a second of latitude away from the equator, shrinking to nothing at the poles [3].
- The calculator converts one angle at a time. It does not add or subtract angles in degrees, minutes and seconds.
Sources
- NIST, Guide for the Use of the International System of Units (SP 811), Chapter 5, Table 6: the minute of angle as 1/60 of a degree and the second as 1/60 of a minute
- NOAA National Ocean Service, What is latitude?: latitude from 0° at the equator to 90° at the poles, and about 30.7 m of ground per second of latitude
- NOAA National Ocean Service, What is longitude?: longitude from 0° at the prime meridian to 180°, with a degree of longitude shrinking toward the poles

