Trail Notes

Latitude and Longitude Formats: Decimal Degrees, DMS, and DDM

Three notations, one point on the ground. How to tell them apart, convert between them, and avoid the mistake that moves a position half a kilometer.

Coords Reading time: 5 minutes Updated By the GPX Analyzer project

What Is the Difference Between DD, DMS, and DDM?

They are three ways of writing the same latitude and longitude. Decimal degrees (DD) writes each value as a single number: 34.0625, -116.1585. Degrees minutes seconds (DMS) divides the fraction of a degree into sixtieths twice: 34° 03′ 45.0″ N, 116° 09′ 30.6″ W. Degrees decimal minutes (DDM) divides once and keeps the minutes as a decimal: 34° 03.750′ N, 116° 09.510′ W. All three describe one point on the ground; only the notation differs. Problems start when a coordinate written in one notation is read as another. Reading that DDM longitude as if it were DMS moves the point about 520 meters. The Coordinate Converter converts between all three and plots the result on a map so you can check it.

The Three Formats Side by Side

Three sandy footpaths crossing open desert from different directions and meeting at a single stone survey monument

FormatThe same pointWhere you meet it
Decimal degrees (DD)34.0625, -116.1585GPX files, web maps, spreadsheets, and almost all software
Degrees minutes seconds (DMS)34° 03′ 45.0″ N, 116° 09′ 30.6″ WPaper maps, aviation and nautical charts, land records, older guidebooks
Degrees decimal minutes (DDM)34° 03.750′ N, 116° 09.510′ WMarine and aviation GPS, geocaching, and the default display on many handheld GPS units

A degree is divided into 60 minutes and a minute into 60 seconds, the same way an hour is. DMS uses both divisions, DDM uses the first and writes what is left as a decimal, and DD uses neither. DDM is also written DMM; they are the same thing.

How to Convert Between Them

The arithmetic is multiplication and division by 60. Work on the latitude and the longitude separately, and ignore the sign or the hemisphere letter until the end.

DD to DMS      34.0625
  degrees    = 34
  minutes    = 0.0625 x 60 = 3.75   -> 3
  seconds    = 0.75 x 60   = 45.0
  result     = 34° 03' 45.0"

DD to DDM      34.0625
  degrees    = 34
  minutes    = 0.0625 x 60 = 3.750
  result     = 34° 03.750'

DMS to DD      34 + 3/60 + 45/3600  = 34.0625
DDM to DD      34 + 3.750/60        = 34.0625

In a spreadsheet, with degrees, minutes, and seconds in columns A, B, and C, the formula is =A1+B1/60+C1/3600. Multiply the result by −1 for a south latitude or a west longitude.

Hemispheres and the Minus Sign

DMS and DDM mark the hemisphere with a letter: N or S for latitude, E or W for longitude. Decimal degrees usually use a sign instead. North and east are positive, and south and west are negative.

  • A lost minus sign changes continents. 34.0625, -116.1585 is in the California desert. 34.0625, 116.1585 is in eastern China.
  • Latitude comes first by convention, but not everywhere. KML and GeoJSON files write longitude first. A quick test: latitude never exceeds 90, so a first number such as 116 has to be a longitude.
  • Do not use both. -116.1585 W is ambiguous. Write the sign or the letter.

How Much Ground Each Digit Covers

The last digit you write sets the smallest step the position can take. These are steps in latitude; steps in longitude shrink toward the poles.

FormatWritten toStep on the ground
DD4 decimals (0.0001°)11 m
DD5 decimals (0.00001°)1.1 m
DD6 decimals (0.000001°)0.11 m
DMSwhole seconds (1″)31 m
DMStenths of a second (0.1″)3.1 m
DDM2 decimals (0.01′)18.5 m
DDM3 decimals (0.001′)1.9 m

For positions measured with a consumer GPS, five decimals of DD, tenths of a second in DMS, or three decimals of DDM are enough. More digits record precision the receiver never had. Fewer digits throw away accuracy it did have: a DMS coordinate given in whole seconds can be 15 meters off from rounding alone.

The Mistakes That Move a Point

  • Reading DDM as DMS. 116° 09.510′ means nine and a half minutes. Read as 116° 09′ 51.0″ it becomes nine minutes and fifty-one seconds, a point about 520 meters to the west. A decimal point straight after the minutes means DDM. A "seconds" value of 60 or more is another sign: 03.750 cannot be 3 minutes 75 seconds.
  • Dropping the sign or the hemisphere. Copying only the digits from 116.1585° W gives a point on the other side of the world.
  • Swapping latitude and longitude. Common when moving data between a GPX file, which names them, and a format that depends on order.
  • Decimal commas. In much of Europe 34,0625 is the normal way to write the number. In a comma-separated file it splits into two columns.
  • Rounding early. Rounding to four decimals in the middle of a conversion costs up to 5 meters before you start.

One problem looks like a format error and is not: a position that is consistently off by tens or hundreds of meters after a correct conversion usually comes from a different map datum. Datum 101 covers that.

Which Format to Use

  • For files and software, use decimal degrees. GPX stores latitude and longitude in decimal degrees and nothing else, and spreadsheets and scripts handle one number far better than three.
  • When reading a position aloud, use what the listener's device shows. A search team on DDM and a caller reading DMS is the 520-meter mistake waiting to happen. Say the format before the numbers.
  • When working from a paper map, use what is printed in its margin, usually DMS, or a grid such as UTM or MGRS and USNG.

For one position, pick the format card in the Coordinate Converter, type or paste the coordinate, and read it back in every other format. For a list, its batch converter takes one coordinate per line or a CSV file and returns the whole list in the format you choose, with a map preview so a misplaced point stands out. When the output is decimal degrees, the list can be saved as a GPX waypoint file.

Frequently Asked Questions

Can I type DMS or DDM into Google Maps?

Yes. Google Maps accepts all three in its search box: 34.0625, -116.1585, 34°03'45.0"N 116°09'30.6"W, or 34 03.750, -116 09.510. Check where the pin lands before trusting it.

Is DMM the same as DDM?

Yes. Both mean degrees and decimal minutes. Garmin units label it hddd°mm.mmm'.

How many decimal places do I need?

Five in decimal degrees, which is about one meter. Six if the position came from survey-grade equipment. Four is too coarse for a trail junction.

Why does my GPS show different numbers from my phone for the same place?

Most often the two are set to different position formats and the numbers are equivalent. Convert one to the other to confirm. If they still differ by more than a few meters, check that both are on the same datum.

Which format does a GPX file use?

Decimal degrees, in the lat and lon attributes of every point, with south and west negative. GPX File Basics shows where they sit in the file.

Related Tools and Guides