DMS to Decimal Degrees Converter
Paste degrees, minutes and seconds and get decimal degrees, or paste decimals and get DMS back. The result keeps the precision you typed.
https://flxcode.com/dms-to-decimal/
Type or paste degrees, minutes, seconds, or decimal degrees. The direction is detected.
Example: Milan Read as DMS. Result in decimal degrees.
- Latitude
- Longitude
As the tool read it: 45°27'51"N 9°11'24"E
The formula, with your numbers
- Latitude
- 45 + 27 ÷ 60 + 51 ÷ 3600 = 45.46417
- Longitude
- 9 + 11 ÷ 60 + 24 ÷ 3600 = 9.19000
Precision: ±31 m from seconds to 0 decimals.
Need UTM, MGRS, plus codes or a whole list? Open the Coordinate Converter.
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.
Problem or idea? Email us
Quick start
- Type or paste a coordinate. Symbols are optional and the letters N, S, E, W can go before or after.
- The tool works out the direction. DMS comes out as decimal degrees, decimals come out as DMS.
- Check the line "As the tool read it". If it is not what you meant, fix the input.
- Copy the whole result or just the latitude or longitude.
How to convert by hand, and back
From DMS to decimal degrees:
decimal = degrees + minutes ÷ 60 + seconds ÷ 3600
Then flip the sign for south or west. From decimal degrees to DMS:
- The whole number is the degrees.
- Multiply the part after the point by 60. The whole number of that is the minutes.
- Multiply the part after the point again by 60. That is the seconds.
The formula block under the result does these steps with your numbers.
In Excel or Google Sheets
Say degrees are in A1, minutes in B1 and seconds in C1. These formulas work in both programs.
| Task | Formula |
|---|---|
| DMS to decimal (north, east) | =A1+B1/60+C1/3600 |
| DMS to decimal (south, west) | =-(A1+B1/60+C1/3600) |
| Decimal in A1: degrees | =INT(ABS(A1)) |
| Decimal in A1: minutes | =INT((ABS(A1)-INT(ABS(A1)))*60) |
| Decimal in A1: seconds | =((ABS(A1)-INT(ABS(A1)))*60-INT((ABS(A1)-INT(ABS(A1)))*60))*60 |
Set the sign yourself for the last three: a negative A1 means south or west. Or paste the whole text into the box above, one point at a time. For a long list, use the Coordinate Converter. To put a place on a printed sheet, make a QR code of the coordinates.
Worked examples
| Input | Result | Note |
|---|---|---|
| 40°26'46"N 79°58'56"W | 40.44611, -79.98222 | Pittsburgh |
| 33°52'4"S 151°12'34"E | -33.86778, 151.20944 | Sydney |
| N 51 30 26 W 0 7 39 | 51.50722, -0.12750 | London, letters in front |
| 45 27.852 N 9 11.4 E | 45.464200, 9.190000 | Milan, degrees and decimal minutes |
| 48.8584, 2.2945 | 48°51'30.2"N 2°17'40.2"E | Paris, decimal to DMS |
Formats it understands
| You type | Notes |
|---|---|
| 45°27'51"N 9°11'24"E | The usual form. The letter can come before or after the numbers. |
| 45° 27′ 51″ N, 9° 11′ 24″ E | Spaces, commas and the prime marks ′ and ″ are fine. |
| 45d 27m 51s N 9d 11m 24s E | d, m and s after the numbers, or the words deg, min and sec. |
| N 45 27 51 E 9 11 24 | Letters in front, no symbols at all. |
| 45.4642 N, 9.19 E | Decimal degrees with letters. It converts to DMS. |
| -33.8688 151.2093 | Signed decimals, latitude first. It converts to DMS. |
| 45 27.852 N 9 11.4 E | Degrees and decimal minutes. |
| 40°26'46"N | One value on its own. |
Common mistakes
- Decimal minutes read as minutes and seconds. 45°27.852' has no seconds. 27.852 minutes is 27 minutes and 51.12 seconds.
- Both a minus sign and a letter. 33°52'S is already south, so write either -33°52' or 33°52'S.
- Minutes or seconds of 60 or more. 45°60' is 46°, so check the source for a typo.
- Latitude and longitude the wrong way round. Latitude is at most 90, so a first number beyond ±90 gives it away.
- Rounding too early. Each degree is about 111 km, so rounding to two decimals can move a point by a kilometre.
How many decimals
| Decimals | About |
|---|---|
| 2 | 1.1 km |
| 3 | 111 m |
| 4 | 11 m |
| 5 | 1.1 m |
| 6 | 11 cm |
One second of arc is about 31 m of latitude, so a coordinate written to the whole second is good to about 31 m and five decimals cover it.
Limits
- It converts the notation only. It does not shift between datums such as ED50 or NAD27, so a point from another datum stays where it was.
- One point at a time. For lists, UTM, MGRS, plus codes or geohash, use the Coordinate Converter.
- No map and no place search. If a pin lands in the wrong country, the numbers are probably swapped.
Nothing you type is uploaded. We count events without cookies (details).
FAQ
How do I convert DMS to decimal degrees?
Divide the minutes by 60, divide the seconds by 3600, and add both to the degrees. 40°26'46" is 40 + 26/60 + 46/3600 = 40.44611. The page shows this with your own numbers.
What does a negative number mean?
South latitudes and west longitudes are negative in decimal degrees. In DMS they are written with the letters S and W instead. Use a minus sign or a letter, not both.
Why does it say minutes must be below 60?
There are 60 minutes in a degree and 60 seconds in a minute, so 60 or more means a typo or a value in another unit. Check whether the number is decimal minutes (45°27.852') or has a seconds part you left out.
Which order does it expect, latitude or longitude?
Latitude first, which is what map apps and GPS units show. With N, S, E and W letters the order does not matter. If a first number beyond ±90 can only be a longitude, it reads it that way. When both orders are possible it tells you which one it used and offers a Swap button.
How many decimals do I need?
Five decimals is about 1.1 m on the ground and is enough for most work. Four is about 11 m, six about 11 cm. The tool follows the precision you typed and does not invent digits.
Can I convert one value instead of a pair?
Yes. A single latitude or longitude such as 40°26'46"N or 40.446 works too. Without a letter it accepts values up to 180.
How do I convert DMS to decimal in Excel or Google Sheets?
Put degrees in A1, minutes in B1 and seconds in C1, then use =A1+B1/60+C1/3600 in D1. For south or west, use =-(A1+B1/60+C1/3600). The formulas are the same in both programs. To skip the formulas, paste the whole text into the box above.
Are my coordinates uploaded or saved?
No. The conversion runs in your browser. What you type is not put in the address bar, not stored and not counted. We only count events such as the direction of a conversion.
More from FLXCode
MGRS to Lat Long ConverterNew
Convert an MGRS reference to latitude and longitude. Shows the square's corner and centre, and says which is which.
UTM to Lat Long and Lat Long to UTMNew
Convert UTM to latitude and longitude, or latitude and longitude to UTM. Each part is shown and explained.
Coordinate ConverterNew
Convert between UTM, MGRS, decimal degrees and plus codes. One point or a whole list.
MGRS Grid Zones and MapNew
Look up a grid zone, UTM zone, EPSG code or position. Zone and band tables, exceptions, 100 km letters. CSV and JSON.