DMS to Decimal Degrees Converter

Try a famous location:

Latitude (DMS)

Longitude (DMS)

Conversion Formula

DD = D + (M ÷ 60) + (S ÷ 3600)

Lat: 40 + (26 ÷ 60) + (46÷ 3600) = 40.4461°

Lon: 74 + (0 ÷ 60) + (22÷ 3600) = 74.0061° (negative for W)

Decimal Degrees

40.4461°, -74.0061°

40°2646N 74°022W

Latitude (DD)

+40.446111

Longitude (DD)

−74.006111

Latitude (Radians)

0.705918

Longitude (Radians)

-1.291650

Copy-Paste Formats

Google Maps:40.446111, -74.006111
ISO 6709:+40.446111−74.006111/
GeoJSON:[-74.006111, 40.446111]

How to Use This Tool

  1. 1.Enter the latitude degrees (0–90), minutes (0–59), and seconds (0–59.99) in the top row, then select N or S for the hemisphere.
  2. 2.Enter the longitude degrees (0–180), minutes, and seconds in the bottom row, then select E or W.
  3. 3.Read the decimal degree result in the blue panel. The formula breakdown updates live so you can verify each step.
  4. 4.Copy a coordinate format (Google Maps, ISO 6709, or GeoJSON) by clicking the copy button next to any row.
  5. 5.Try a famous landmark preset to verify the tool against known coordinates, or use the reference table to explore.

Rate this tool

DMS to Decimal Degrees: Conversion Formula for GPS & Surveying Coordinates

Converting DMS to decimal degrees is something you'll do constantly if you work with GPS data, survey plats, or topographic maps. The notation 40°26′46″N looks elegant on a compass rose, but your mapping software, GeoJSON file, or database column wants a clean number like 40.4461. The math is straightforward once you see the pattern — and this guide walks through the formula, real examples, precision tradeoffs, and the gotchas that trip people up.

DMS to decimal degrees conversion diagram showing degrees, minutes, and seconds components with division steps on a coordinate map grid

What Are DMS Coordinates?

DMS stands for degrees, minutes, seconds— a way of writing angles that dates back to Babylonian astronomers around 300 BC. They chose base-60 (sexagesimal) because 60 divides evenly by 2, 3, 4, 5, 6, 10, 12, 15, 20, and 30, making mental arithmetic with fractions far easier than base-10. We inherited this system for both timekeeping (60 minutes in an hour) and angular measurement.

One degree (°) splits into 60 arc-minutes (′), and each arc-minute splits into 60 arc-seconds (″). So a full degree contains 3,600 arc-seconds. When you see a coordinate like 48°51′30″N, 2°17′40″E, that's the Eiffel Tower — latitude first, longitude second, with compass letters telling you which hemisphere.

The DMS to Decimal Degrees Formula

The formula itself is one line:

Decimal Degrees = D + (M ÷ 60) + (S ÷ 3600)

That's it. You're converting minutes and seconds back into fractional degrees. Since there are 60 minutes per degree, dividing minutes by 60 gives you the decimal fraction. Same logic for seconds: 60 seconds per minute times 60 minutes per degree = 3,600 seconds per degree.

After computing the absolute value, apply the sign: North and East are positive. South and West are negative. This convention comes from the Cartesian coordinate system where the equator is the x-axis and the Prime Meridian is the y-axis.

Worked Examples with Real GPS Coordinates

Example 1 — Statue of Liberty (40°41′21″N, 74°2′40″W):

  • Latitude: 40 + (41 ÷ 60) + (21 ÷ 3600) = 40 + 0.6833 + 0.005833 = 40.6892° (positive, because N)
  • Longitude: 74 + (2 ÷ 60) + (40 ÷ 3600) = 74 + 0.0333 + 0.01111 = −74.0444° (negative, because W)

Example 2 — Sydney Opera House (33°51′25″S, 151°12′55″E):

  • Latitude: 33 + (51 ÷ 60) + (25 ÷ 3600) = 33 + 0.85 + 0.006944 = −33.8569° (negative, because S)
  • Longitude: 151 + (12 ÷ 60) + (55 ÷ 3600) = 151 + 0.2 + 0.01528 = 151.2153° (positive, because E)

Paste those decimal values into Google Maps and you'll land right on the landmark. That's how you verify your conversion — always spot-check against a known location.

How Precise Are DMS Coordinates?

Precision depends on how many decimal places you carry in the seconds field. Here's what each level of detail actually means on the ground at the equator:

DMS PrecisionDD EquivalentGround Distance
1° (degree)1.0°~111 km (69 mi)
1′ (minute)0.01667°~1.85 km (1.15 mi)
1″ (second)0.000278°~30.87 m (101 ft)
0.1″0.0000278°~3.09 m (10 ft)
0.01″0.00000278°~0.31 m (1 ft)

Consumer GPS receivers (phones, car nav) are accurate to about 3–5 meters under open sky. So for most applications, whole arc-seconds give you more precision than your GPS can justify. Surveyors, though, routinely work to 0.01″ because their equipment (RTK GPS, total stations) can resolve centimeters.

Where Each Format Gets Used

You'd think the world would have settled on one coordinate format by now. It hasn't. Different industries cling to different conventions for legitimate reasons:

  • DMS— Aviation (ICAO flight plans require DMS), nautical charts, land deed descriptions, topographic maps from USGS and Ordnance Survey. Pilots read DMS aloud over radio because it's unambiguous with three distinct numbers.
  • Decimal degrees— Google Maps, OpenStreetMap, every GeoJSON file, most databases (PostGIS stores coordinates as float8 pairs), and virtually all web APIs. If you're writing code, this is your default. Need to convert the result to radians for trigonometric calculations? Our degrees to radians converter handles that next step.
  • Degrees decimal-minutes (DDM)— Marine GPS units and geocaching traditionally use this hybrid format (e.g., 40°26.767′N). It splits the difference between DMS readability and decimal simplicity.

Common Mistakes When Converting DMS

After handling thousands of coordinate conversions, here are the errors that come up again and again:

  • Forgetting the sign for S and W.This is the #1 mistake. You calculate 33.8569° for Sydney but forget the negative sign — suddenly you're in the Sahara Desert at 33.8569°N instead of Australia. Always apply the hemisphere sign after computing the absolute decimal value.
  • Dividing seconds by 60 instead of 3600.If you divide 46 seconds by 60 you get 0.7667 — but seconds are a fraction of a degree, not a minute. The correct divisor is 3600 (giving 0.01278). This error inflates your result by a factor of 60, placing you miles away.
  • Swapping latitude and longitude.Latitude is always first in DMS notation and ranges 0–90°. Longitude ranges 0–180°. If you see a degree value over 90, it mustbe longitude. GeoJSON, confusingly, reverses this order to [longitude, latitude] — a trap that catches even experienced developers.
  • Mixing up the symbols.The degree symbol (°) is Unicode U+00B0. The minute symbol (′) is a prime, not an apostrophe. The second symbol (″) is a double prime, not a quotation mark. Using wrong characters can break parsers in geodetic software.

Parsing DMS Coordinates in Code

If you're building an app that accepts user-entered DMS strings, you'll quickly discover there's no single standard format. Users type everything from 40°26'46"N to 40d 26m 46s N to 40 26 46 N. A practical regex that handles most variants:

/(\d+)[°d\s]+(\d+)['′m\s]+(\d+\.?\d*)["″s\s]*([NSEWnsew])/

Extract the four capture groups (degrees, minutes, seconds, direction), parse the numbers, and apply the formula. In JavaScript:

function parseDMS(dms) {
  const re = /(\d+)[°d\s]+(\d+)['′m\s]+(\d+\.?\d*)["″s\s]*([NSEWnsew])/;
  const m = dms.match(re);
  if (!m) return null;
  const dd = +m[1] + m[2] / 60 + m[3] / 3600;
  return /[SWsw]/.test(m[4]) ? -dd : dd;
}

That handles the happy path. Production code should also validate ranges (latitude ≤ 90, longitude ≤ 180, minutes and seconds < 60) and deal with decimal minutes (DDM) input where seconds are absent. If your application needs the reverse operation, the decimal to DMS converter shows the inverse formula.

Quick Reference: DMS to Decimal Table

Handy lookup for common minute and second values. Memorize the first few and you can estimate conversions in your head:

MinutesDecimal°SecondsDecimal°
1′0.016671″0.000278
5′0.083335″0.001389
10′0.1666710″0.002778
15′0.2500015″0.004167
20′0.3333320″0.005556
30′0.5000030″0.008333
45′0.7500045″0.012500

Quick mental math trick: 30 minutes is always 0.5°. So 15 minutes is 0.25° and 45 minutes is 0.75°. For seconds, 30 seconds is roughly 0.0083° — close enough for a sanity check. When you need exact radian values for trigonometric work, feed the decimal result into our radians to degrees converter to cross-check.

Marko Sinko
Marko SinkoTechnical Tools Editor

Croatian developer with a Computer Science degree from University of Zagreb and expertise in advanced algorithms. Marko builds and verifies the technical tools, number system converters, and scientific calculators across UnitCalcTools, ensuring mathematical precision and developer-friendly interfaces.

Last updated: April 10, 2026LinkedIn

Frequently Asked Questions

Use the formula: Decimal Degrees = Degrees + (Minutes / 60) + (Seconds / 3600). For example, 40°26′46″ becomes 40 + (26/60) + (46/3600) = 40.4461°. For southern latitudes or western longitudes, add a negative sign to the final result.
40°26′46″N equals 40.4461° and 74°0′22″W equals -74.0061°. The north latitude stays positive while the west longitude becomes negative. These are the approximate coordinates of New York City, often written as 40.4461, -74.0061 in mapping applications like Google Maps.
DMS (degrees, minutes, seconds) splits an angle into 60 minutes per degree and 60 seconds per minute, similar to how a clock divides hours. Decimal degrees express the same angle as a single number with a fractional part. Both represent the same location — DMS is traditional in surveying and aviation, while decimal degrees are standard in GPS devices, web maps, and programming.
Google Maps defaults to decimal degrees because they’re easier for software to process — a single floating-point number is simpler to store, sort, and calculate distances with than three separate values. Decimal degrees also avoid ambiguity with formatting (different countries use different DMS symbols). You can still view DMS in Google Maps by clicking on any coordinate.
One second of latitude equals roughly 30.87 meters (101.3 feet) everywhere on Earth. For longitude, it varies: one second is about 30.87 meters at the equator but shrinks to zero at the poles because meridians converge. At 45° latitude, one second of longitude spans about 21.83 meters (71.6 feet).
Yes, DMS coordinates often include decimal seconds for higher precision. For example, 40°26′46.302″N is perfectly valid and more precise than rounding to whole seconds. Each additional decimal place in the seconds value adds roughly 0.3 meters of precision, which matters for surveying, construction, and precision agriculture.
N (North) and S (South) indicate latitude — the position above or below the equator. E (East) and W (West) indicate longitude — the position relative to the Prime Meridian in Greenwich, England. When converting to decimal degrees, N and E become positive values while S and W become negative values.
Take the absolute value first, then convert normally. The sign tells you the hemisphere: negative latitude means South, negative longitude means West. For example, -33.8688° latitude becomes 33°52′7.68″S. Use our decimal to DMS converter for instant results with automatic hemisphere detection.

Related Tools