Article — Degrees Minutes Seconds (DMS) Converter
The Degrees Minutes Seconds Converter
Degrees-minutes-seconds (DMS) writes an angle as integer degrees plus arcminutes plus arcseconds. The DMS to decimal degrees formula is θ = D + M/60 + S/3,600. Latitude 40°42′46″ N becomes 40.7128°; longitude 74°00′21″ W becomes −74.0058°. Each arcsecond corresponds to about 30.87 metres on the ground at the equator.
Most digital tools today use decimal degrees because the format is shorter and easier to sort. Paper charts, aviation, and surveying still use DMS, which lines up naturally with the nautical mile (1 arcminute of latitude ≈ 1 nautical mile). Converting between the two formats is one of the most common operations in GPS and GIS work.
What is degrees minutes seconds?
DMS is a base-60 sub-division of the degree. One degree contains 60 arcminutes (symbol ′); one arcminute contains 60 arcseconds (symbol ″). A full DMS angle is written D°M′S″, sometimes with a hemisphere letter (N, S, E, W) appended for latitude and longitude. The notation has not changed since Ptolemy's Almagest (around 150 CE).
The notation looks identical for any angle — a survey azimuth, a star's declination, or a GPS latitude — but the most common modern use is geographic coordinates. A point on Earth's surface is specified by latitude (north–south) plus longitude (east–west), each typically in DMS or decimal degrees.
The link between arcminutes and nautical miles is intentional. When the nautical mile was formalised in the 17th century, it was defined so that one arcminute of latitude along any meridian equals exactly one nautical mile. The modern value of 1,852 m is rounded for navigation tables, but the historical relationship still holds within fractions of a percent.
The DMS to decimal degrees formula
The conversion is a weighted sum. Divide arcminutes by 60, arcseconds by 3,600, and add everything to the integer degree.
DMS → dec D + M/60 + S/3600dec → D floor(|θ|)dec → M floor((|θ| − D) × 60)dec → S ((|θ| − D) × 60 − M) × 60Worked example: 40°42′46″ → 40 + 42/60 + 46/3,600 = 40 + 0.7000 + 0.0128 = 40.7128°. For 74°00′21″, the result is 74 + 0 + 21/3,600 = 74.0058°. Apply a minus sign for South (latitude) or West (longitude), so a New York Harbor longitude reads as −74.0058°.
Decimal degrees back to DMS
The reverse splits the decimal value into degree, minute, and second components. Take the absolute value first, then peel off the integer degree, multiply the fractional remainder by 60 to get arcminutes, take the integer part again, and multiply the new fractional remainder by 60 to get arcseconds.
Worked example: 40.7128° → integer part 40; fractional 0.7128 × 60 = 42.768 → integer 42; fractional 0.768 × 60 = 46.08. So 40.7128° rounds to 40°42′46″ in DMS. The sign of the original decimal becomes a hemisphere letter (positive → N or E; negative → S or W).
Hemisphere handling (N, S, E, W)
DMS notations encode hemisphere with a letter; decimal degrees encode it with a sign. The conventions line up:
- N (North latitude) = positive decimal degrees, 0° to +90°
- S (South latitude) = negative decimal degrees, −90° to 0°
- E (East longitude) = positive decimal degrees, 0° to +180°
- W (West longitude) = negative decimal degrees, −180° to 0°
- equator = 0° latitude (no hemisphere needed)
- prime meridian = 0° longitude (passes through Greenwich)
Confusing a positive sign with a hemisphere letter throws coordinates to the opposite side of the planet. Sydney at −33.86° latitude is South Sydney; writing 33.86° N would put you on the opposite side of the equator near Beirut. APIs accept negatives directly; chart annotations use letters; always include one or the other.
DMS precision and ground distance
Each step in DMS corresponds to a known ground distance. One arcsecond is about 30.87 metres at the equator; one arcminute is about 1.85 km; one full degree is about 111 km. Latitude precision is the same on any meridian. Longitude precision shrinks toward the poles because meridians converge.
Quote DMS with the right number of seconds digits for the application. Aviation charts give two seconds digits (±15 m). Property surveys give three (±1.5 m). Geodetic measurements sometimes give four (±15 cm), but at that level any honest reading must also report a measurement uncertainty.
DMS in GPS, charts, and aviation
Aviation charts and marine charts almost always use DMS or its close cousin DDM (degrees and decimal minutes). Pilots read latitude and longitude off the chart in DMS, but most modern flight management systems accept either form. ICAO recommends DMS for international plans because the format avoids decimal-separator confusion between commas and dots.
GPS receivers usually default to decimal degrees today, but most can switch to DMS, DDM, or UTM in the settings menu. The conversions are mathematical, not measurement, so they are exact whichever direction you choose. The arcminute-equals-nautical-mile shortcut still saves time in the cockpit.
To translate a quick map distance, remember that 1 arcminute of latitude is 1 nautical mile (~1.85 km). If a chart shows two points 5 arcminutes apart in latitude, they are 5 nautical miles apart. Longitude distance varies with latitude — use cos(latitude) to scale at higher latitudes.
A short history of the DMS system
The sexagesimal (base-60) sub-division of the circle dates to Babylonian astronomy around 1500 BCE. Greek astronomers (Hipparchus, Ptolemy) inherited it for star-catalogue work. Arabic mathematicians refined it. By the European Renaissance, every navigation chart, every observatory record, and every surveying notebook used degrees, arcminutes, and arcseconds.
Decimal degrees became practical only with mechanical calculators and then digital computers. Before that, multiplying 60 was the only convenient division. Today both notations coexist: DMS for human-readable charts and traditional documents, decimal degrees for software and APIs. The conversion above bridges the two.
Common DMS conversion mistakes
Most DMS errors are sign, base, or normalisation errors. The arithmetic itself is easy; the conventions need attention.
- reading 40°45′ as 40.45° — it is 40.75°, because minutes are base-60
- missing the seconds term — converting 40°42′46″ as 40 + 42/60 only gives 40.7000° (off by 0.0128°, or ~1.4 km)
- dropping the hemisphere — without N/S or E/W, the position is ambiguous in two ways
- letting minutes or seconds exceed 59 — 40°75′ is not standard; normalise to 41°15′
- over-precision — quoting GPS to 0.001″ exceeds consumer-device accuracy by orders of magnitude
- mixing decimal separators — chart in 12,34″ vs 12.34″ has caused real navigation incidents in international ops