The short answer
To convert DMS (degrees, minutes, seconds) to decimal degrees, divide the minutes by 60, divide the seconds by 3600, and add both to the degrees. Make the result negative for south latitudes and west longitudes.
decimal degrees = degrees + minutes / 60 + seconds / 3600
Example: 40° 41′ 21.12″ N is 40 + 41 / 60 + 21.12 / 3600 = 40.6892. The longitude 74° 2′ 40.20″ W is 74 + 2 / 60 + 40.20 / 3600 = 74.0445, and because it is west, it becomes -74.0445. That point is the Statue of Liberty.
Format | Example (Statue of Liberty) | Google Maps and Google Earth |
|---|---|---|
Decimal degrees (DD) |
| Both accept it in search. Google Maps shows this format when you right-click a place. |
Degrees, minutes, seconds (DMS) |
| Both accept it in search. |
Degrees and decimal minutes (DDM) |
| Google Maps accepts it in search. Google Earth can display it. |
The distances in the precision section are from USGS. The notes on Google Maps, Google Earth and Excel are from Google and Microsoft help pages, read in December 2026.
DMS, DDM and decimal degrees
Latitude and longitude are angles. One degree has 60 minutes, and one minute has 60 seconds. The three formats write the same angle in different ways.
Degrees, minutes, seconds (DMS)
DMS writes whole degrees, whole minutes and seconds, usually with decimals on the seconds: 40° 41′ 21.12″ N. The symbols are the degree sign (°), the prime (′) for minutes and the double prime (″) for seconds. You will often see an apostrophe (') and a straight quote (") in their place. Google's help pages use those in their examples. A letter gives the hemisphere: N or S for latitude, E or W for longitude.
Degrees and decimal minutes (DDM)
DDM keeps whole degrees and puts the rest in minutes with decimals: 40° 41.352′ N. There are no seconds. Google's Maps help calls this format "degrees and decimal minutes (DMM)", so you will see both DDM and DMM for the same thing.
Decimal degrees (DD)
DD writes the whole angle as one number: 40.6892. There are no hemisphere letters. A minus sign means south for latitude and west for longitude. Latitude runs from -90 to 90 and longitude from -180 to 180.
How to convert DMS to decimal degrees
Divide the minutes by 60.
Divide the seconds by 3600 (60 × 60).
Add both results to the degrees.
If the letter is S or W, put a minus sign in front.
Worked example with the latitude of the Statue of Liberty, 40° 41′ 21.12″ N:
41 / 60 = 0.683333
21.12 / 3600 = 0.005867
40 + 0.683333 + 0.005867 = 40.689200. The letter is N, so the value stays positive.
And the longitude, 74° 2′ 40.20″ W:
2 / 60 = 0.033333
40.20 / 3600 = 0.011167
74 + 0.033333 + 0.011167 = 74.044500. The letter is W, so the result is -74.044500.
Converting DDM to decimal degrees
For degrees and decimal minutes, there is no seconds term: degrees + minutes / 60. The Google Maps help page gives 41 24.2028, 2 10.4418 as an example. 24.2028 / 60 = 0.40338, so the latitude is 41.40338. 10.4418 / 60 = 0.17403, so the longitude is 2.17403. These match the decimal example on the same page, 41.40338, 2.17403.
How to convert decimal degrees to DMS
Drop the minus sign and remember it. Negative latitude is S, negative longitude is W.
The whole number is the degrees.
Multiply the decimal part by 60. The whole number of that result is the minutes.
Multiply the new decimal part by 60. That is the seconds.
Worked example with the Sydney Opera House, -33.8568, 151.2153:
Latitude: degrees 33. 0.8568 × 60 = 51.408, so minutes 51. 0.408 × 60 = 24.48 seconds. The value was negative, so the result is 33° 51′ 24.48″ S.
Longitude: degrees 151. 0.2153 × 60 = 12.918, so minutes 12. 0.918 × 60 = 55.08 seconds. The value was positive, so the result is 151° 12′ 55.08″ E.
For DDM, stop after the first multiplication: -33.8568 is 33° 51.408′ S.
Watch for 60 seconds after rounding
If you round the seconds at the end, you can get 60 seconds, which is not a valid value. Take 10.9999999°. The decimal part times 60 is 59.999994, so minutes 59. The rest times 60 is 59.99964 seconds, which rounds to 60.00 at two decimals. The correct answer is 11° 0′ 0.00″. To avoid this, round the total number of seconds first (degrees × 3600, rounded), then split it into degrees, minutes and seconds. The Excel formulas below do it that way.
Negative signs, and the -0° trap
In decimal degrees, the sign carries the hemisphere. In DMS, the letter does. Errors come from mixing the two, for example writing -74° 2′ 40.20″ with no letter, or storing degrees, minutes and seconds in three separate columns with the minus sign on the degrees only.
The three-column method breaks for any point between 0° and 1° west or south. The Royal Observatory in Greenwich is at longitude -0.0015, which is 0° 0′ 5.40″ W. As three numbers that would be -0, 0 and 5.40, but a spreadsheet stores -0 as 0. The minus sign disappears and the point moves to the east side of the meridian. The same happens to latitudes just south of the equator.
Two habits avoid this:
Keep the hemisphere as a letter in its own column (N, S, E, W), and keep degrees, minutes and seconds positive.
When you convert from decimal degrees, take the sign from the original decimal value, not from the degrees after splitting.
How precise are DMS and decimal degrees?
USGS gives these distances at 38° north latitude, which passes through Stockton, California and Charlottesville, Virginia, in its FAQ on how much distance a degree, minute and second cover:
Latitude: one degree is about 364,000 feet (69 miles), one minute is 6,068 feet (1.15 miles), and one second is 101 feet.
Longitude: one degree is about 288,200 feet (54.6 miles), one minute is 4,800 feet (0.91 mile), and one second is 80 feet.
USGS adds that a degree, minute or second of latitude stays fairly constant from the equator to the poles, while a degree of longitude gets much shorter toward the poles as the meridians converge.
From the latitude figure, 364,000 feet is about 110.9 km per degree. Dividing by ten for each decimal place gives this table. It is north-south distance; east-west distance for the same number of decimals is shorter away from the equator (about 80 percent of it at 38° N).
Decimal places | Example | About (north-south) |
|---|---|---|
1 | 40.7 | 11 km |
2 | 40.69 | 1.1 km |
3 | 40.689 | 111 m |
4 | 40.6892 | 11 m |
5 | 40.68920 | 1.1 m |
6 | 40.689200 | 11 cm |
In DMS, one second of latitude is about 31 m (101 feet), a tenth of a second about 3 m, and a hundredth of a second about 30 cm. Whole seconds therefore sit between three and four decimal places of a degree, tenths of a second between four and five, and hundredths between five and six.
The Google Maps example above shows what rounding does. Its DMS version, 41°24'12.2"N, gives 41 + 24 / 60 + 12.2 / 3600 = 41.403389, while its decimal version is 41.40338. The exact seconds value is 12.168, and rounding it to 12.2 moves the result by about 0.00001°, roughly 1 m.
More decimals do not make a position more accurate. A point measured to within a few meters stays that way when it is written with seven decimals. Keep the number of decimals in line with how the point was measured.
How Google Maps and Google Earth handle coordinates
Google Maps
The Google Maps help page on finding and entering coordinates lists three formats you can type in the search box:
Decimal degrees:
41.40338, 2.17403Degrees, minutes and seconds:
41°24'12.2"N 2°10'26.5"EDegrees and decimal minutes:
41 24.2028, 2 10.4418
The same page says to enter the latitude first, to use periods as decimals rather than commas (41,40338 is listed as incorrect), and to check that latitude is between -90 and 90 and longitude between -180 and 180. When you right-click a place on the map on a computer, Google Maps shows its latitude and longitude in decimal format, and clicking them copies them.
Google Earth
The Google Earth help page on finding and using location coordinates lists decimal degrees (37.7°, -122.2°) and degrees, minutes, seconds (37°25'19.07"N, 122°05'06.24"W) as formats for the search box. For the display, it lists four choices: decimal degrees, degrees minutes seconds, degrees decimal minutes, and Universal Transverse Mercator. In the desktop app on Windows and Linux, the setting is under Tools, then Options, then 3D View, "Show Lat/Long". On a Mac it is under Google Earth, then Preferences, then 3D View. If you need UTM, our guide to UTM zones explains how the zone, easting and northing work.
How to convert DMS to decimal degrees in Excel
When degrees, minutes and seconds are in separate columns
Put degrees in A, minutes in B, seconds in C and the letter (N, S, E or W) in D, all as positive numbers. The decimal value is:
=(A2+B2/60+C2/3600)*IF(OR(D2="S",D2="W"),-1,1)
If you have no letter column and every value is in the northern and eastern hemispheres, =A2+B2/60+C2/3600 is enough. Do not try to handle the sign with SIGN(A2): for any point with 0 degrees, SIGN returns 0 and the whole result becomes 0.
When DMS is one text value, such as 40° 41' 21.12" N
In Excel 2016 or later, with the text in A2, these formulas pull the parts out. FIND returns the position of a character, LEFT and MID cut the text, and NUMBERVALUE turns text into a number with a period as the decimal separator.
Degrees:
=NUMBERVALUE(LEFT(A2,FIND("°",A2)-1),".")Minutes:
=NUMBERVALUE(MID(A2,FIND("°",A2)+1,FIND("'",A2)-FIND("°",A2)-1),".")Seconds:
=NUMBERVALUE(MID(A2,FIND("'",A2)+1,FIND("""",A2)-FIND("'",A2)-1),".")Letter:
=RIGHT(TRIM(A2),1)
Then use the separate-columns formula above. The """" in the seconds formula is how Excel writes a text value that contains one double quote.
For 40° 41' 21.12" N these formulas return 40.6892. Some limits of these formulas:
They need all three marks: °, ' and ". A value such as
40°41'Nwith no seconds returns an error, becauseFINDreturns#VALUE!when the character is missing.If your text uses the typographic prime (′) and double prime (″), replace them first:
=SUBSTITUTE(SUBSTITUTE(A2,"′","'"),"″","""").They expect the letter at the end. Text with a leading minus sign or a leading letter needs a different formula.
Microsoft's page says NUMBERVALUE ignores spaces inside the text, which is why the formulas work with or without spaces after the symbols. Microsoft also describes it as converting text to a number "in a locale-independent way", so the formulas do not depend on whether your system uses a comma or a period for decimals.
Decimal degrees to DMS in Excel
With a decimal value in A2:
B2, total seconds, rounded to two decimals:
=ROUND(ABS(A2)*3600,2)C2, degrees:
=INT(B2/3600)D2, minutes:
=INT((B2-C2*3600)/60)E2, seconds:
=ROUND(B2-C2*3600-D2*60,2)F2, text for a latitude:
=C2&"° "&D2&"' "&TEXT(E2,"0.00")&""" "&IF(A2<0,"S","N"). For a longitude, use"W","E"in place of"S","N".
For -74.0445 this gives 266,560.20 total seconds, 74 degrees, 2 minutes and 40.20 seconds, and the text 74° 2' 40.20" W. Because B2 is rounded before the split, the seconds never come out as 60, and because the letter is read from A2, -0.0015 still ends with W.
INT is safe here because B2 is never negative. If you split a signed value directly, use TRUNC instead: Microsoft notes that TRUNC(-4.3) returns -4 while INT(-4.3) returns -5.
Common mistakes
Swapping latitude and longitude
Google Maps expects latitude first. GeoJSON does the opposite: the GeoJSON specification (RFC 7946) says the first two elements of a position are longitude and latitude, in that order. When you move coordinates between a spreadsheet, a web map and a GeoJSON file, check the order each one uses. A value larger than 90 or smaller than -90 can only be a longitude.
Reading DDM as DMS
41 24.2028 is 41 degrees and 24.2028 minutes. If someone reads the decimals as seconds, as 41° 24′ 20.28″, the result is off by 8.1 seconds of latitude. At about 31 m per second, that is about 250 m. Look for a decimal point in the minutes: if there is one and there are no seconds, it is DDM.
Minutes or seconds of 60 or more
Neither minutes nor seconds can reach 60. A value like 40° 60′ 0″ often comes from rounding in a spreadsheet and should be 41° 0′ 0″.
Ignoring the datum
Latitude and longitude are always tied to a datum, such as WGS 84, NAD83 or NAD27, and the format does not change that. Converting DMS to decimal degrees does not convert the datum. USGS says the shift between NAD 27 and NAD 83 in the conterminous 48 states is in the range of 10 to 100 ground meters for latitude and longitude. If your DMS values come from an old map or deed on NAD27, transform them to the datum your other data uses before you compare positions.
Our free coordinate converter, and what it does not do
We make GaleriGIS, and we built a free UTM, lat long and DMS converter that runs in the browser. You type a position as decimal degrees, as DMS or as UTM, and the other formats and a map marker update. It writes decimal degrees with 7 decimals and DMS seconds with 2 decimals, and it rounds the total seconds first, so it does not produce 60 seconds. Typing and reading results is free with no limit. The Copy buttons count toward 3 free conversions.
What it does not do:
It converts one point at a time. It has no batch mode and no file or spreadsheet input.
DMS goes into separate boxes for degrees, minutes and seconds, with a list for N/S or E/W. You cannot paste a DMS text string, and there is no box for degrees and decimal minutes; convert the decimal minutes to seconds first.
It works on WGS 84 only and does not transform between datums.
To put a list of points on a map, our CSV and Excel to KML converter reads latitude and longitude columns, but only as decimal degrees. It reads the leading number of each cell, so 48°51'30"N becomes 48. Convert DMS columns with the Excel formulas above first.
Frequently asked questions
What is the formula for DMS to decimal degrees?
Decimal degrees = degrees + minutes / 60 + seconds / 3600. Make the result negative for S or W.
How do I convert decimal degrees to DMS?
The whole number is the degrees. Multiply the decimal part by 60 for minutes, and multiply the remaining decimal by 60 again for seconds. Use S or W if the original value was negative.
Is 40.6892 the same as 40° 41′ 21.12″?
Yes, for a north latitude. 40 + 41 / 60 + 21.12 / 3600 = 40.6892.
How many decimal places do I need?
Five decimal places is about 1 m north-south and six is about 11 cm, based on the USGS figure of about 364,000 feet per degree of latitude. Use as many as the measurement supports.
Can I type DMS into Google Maps?
Yes. Google's help page lists DMS, degrees and decimal minutes, and decimal degrees as formats you can enter, with latitude first.
Why does my converted point land in the wrong place?
The usual causes are a missing minus sign for S or W, latitude and longitude in the wrong order, decimal minutes read as seconds, or a different datum.