DMS to Decimal Converter
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Convert DMS to decimal degrees, or decimal degrees to degrees, minutes and seconds, for GPS coordinates. Handles N, S, E and W correctly.
- Same point, other format
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the DMS to decimal converter
- Choose the direction: DMS to decimal, or decimal to DMS.
- Choose latitude or longitude.
- For DMS to decimal, enter the degrees, minutes and seconds, and choose the direction: N or S for latitude, E or W for longitude.
- For decimal to DMS, enter the decimal degrees. Use a negative number for south or west.
The converter shows the result, and the same point in the other format, so you can copy whichever your map, GPS device or spreadsheet needs.
Two ways to write coordinates
Latitude and longitude can be written in two common formats:
- Degrees, minutes and seconds (DMS): for example 40° 42′ 46.08″ N. One degree is divided into 60 minutes, and one minute into 60 seconds, like hours on a clock. This format is traditional in navigation, surveying, land records and printed maps.
- Decimal degrees (DD): for example 40.7128. This format is used by most online maps, GPS apps, databases and programming tools, because it's a single number that's easy to store and calculate with.
Both describe exactly the same point. The DMS to decimal converter switches between them.
The DMS to decimal formula
Decimal degrees = degrees + minutes ÷ 60 + seconds ÷ 3,600
Then make the result negative for south latitudes and west longitudes.
With the default values, 40° 42′ 46.08″ N:
- Minutes: 42 ÷ 60 = 0.7.
- Seconds: 46.08 ÷ 3,600 = 0.0128.
- Decimal degrees: 40 + 0.7 + 0.0128 = 40.7128.
That's the latitude of New York City.
Decimal to DMS
To go the other way:
- Degrees are the whole-number part of the decimal value.
- Minutes: multiply the remaining decimal part by 60; the whole-number part is the minutes.
- Seconds: multiply the remaining decimal part of the minutes by 60.
For New York's longitude, −74.0060:
- Degrees: 74, and the minus sign means west.
- Minutes: 0.0060 × 60 = 0.36, so 0 minutes.
- Seconds: 0.36 × 60 = 21.6 seconds.
So −74.0060 is 74° 0′ 21.6″ W.
Signs and directions
In decimal degrees, the direction is shown by the sign:
| Direction | Sign in decimal degrees | Range |
|---|---|---|
| North latitude | positive | 0 to 90 |
| South latitude | negative | 0 to −90 |
| East longitude | positive | 0 to 180 |
| West longitude | negative | 0 to −180 |
Forgetting the minus sign is the most common error when converting DMS to decimal. A west longitude entered as positive puts the point on the other side of the world.
A worked example
Convert Dhaka's longitude, 90° 24′ 45″ E, and Sydney's latitude, 33° 52′ 7.7″ S, to decimal degrees.
- Dhaka: 90 + 24 ÷ 60 + 45 ÷ 3,600 = 90 + 0.4 + 0.0125 = 90.4125. East is positive, so 90.4125.
- Sydney: 33 + 52 ÷ 60 + 7.7 ÷ 3,600 ≈ 33 + 0.86667 + 0.00214 = 33.86881. South is negative, so −33.86881.
Enter these values in the DMS to decimal converter to check.
How precise is each format?
On the ground, one degree of latitude is about 111 km. That means:
- One minute of latitude is about 1.85 km. This is where the nautical mile comes from: it was originally defined as one minute of latitude, and is now exactly 1,852 metres.
- One second of latitude is about 31 metres.
- A tenth of a second is about 3 metres.
In decimal degrees:
- Four decimal places locate a point to about 11 metres.
- Five decimal places to about 1.1 metres.
- Six decimal places to about 11 centimetres.
For longitude, the distances are the same at the equator but shrink towards the poles, because lines of longitude converge. At 60° latitude, one degree of longitude is about half as long as at the equator.
Degrees and decimal minutes
A third format, degrees and decimal minutes (DMM), is common in marine and aviation GPS devices, for example 40° 42.768′ N. To convert DMM to decimal degrees, divide the minutes by 60 and add them to the degrees: 40 + 42.768 ÷ 60 = 40.7128. To use the DMS to decimal converter with DMM, enter the whole minutes and convert the decimal part of the minutes to seconds by multiplying by 60: 0.768 × 60 = 46.08 seconds.
Who uses a DMS to decimal converter
Surveyors, land agents and conveyancers use it to work with coordinates in deeds and plans. Sailors, pilots and hikers use it to move between charts, GPS devices and online maps. Developers and data analysts use it to clean location data from different sources. Photographers use it to read and write location tags in photo metadata. Local businesses use it to publish exact locations on their websites and listings.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.
Converting many coordinates in a spreadsheet
For a long list, a spreadsheet is faster. If degrees, minutes and seconds are in columns A, B and C, use =A2+B2/60+C2/3600, and multiply by −1 for south or west. To go from decimal to DMS, =INT(ABS(D2)) gives the degrees, =INT((ABS(D2)−INT(ABS(D2)))*60) gives the minutes, and the seconds are what's left multiplied by 3,600. Use the DMS to decimal converter to spot-check a few rows, because a small formula error can move every point.
Datums
Coordinates are always relative to a datum, a model of the Earth's shape and position. Most modern GPS devices and online maps use WGS 84. Older maps and some national survey systems use other datums, and the same latitude and longitude can refer to points tens or even hundreds of metres apart on different datums. Converting between DMS and decimal doesn't change the datum; it only changes how the numbers are written. If coordinates from an old map don't line up with a modern map, a datum difference is a likely cause.
Reading coordinates correctly
DMS coordinates are written in several styles: 40°42′46″N, 40 42 46 N, N40°42′46″ or 40:42:46N. The order is always degrees, then minutes, then seconds, and the letter can come first or last. Watch out for coordinates where minutes or seconds are 60 or more, which usually means a typing error, and for decimal values pasted into DMS fields.
Common mistakes
- Dropping the minus sign for south latitudes and west longitudes.
- Treating minutes as decimals, such as reading 40° 42′ as 40.42 instead of 40.7.
- Swapping latitude and longitude. Latitude is usually written first.
- Mixing DMS and DMM formats from different devices.
Coordinates in photos and files
Digital cameras and phones often store the location of a photo in its metadata, usually in degrees, minutes and seconds with a separate reference for north or south and east or west. Photo apps typically show the same location in decimal degrees. If you need to add or correct a location by hand, convert it with the DMS to decimal converter first, and double-check the hemisphere letters, because a missing W or S moves the point to a different continent. GPS track files and many mapping formats use decimal degrees throughout, so converting DMS to decimal is the usual first step when importing old survey data.
Listing your business location
Online business listings and website structured data usually expect decimal degrees with the latitude first, for example 40.7128, −74.0060. If your property documents or a surveyor's plan give coordinates in DMS, convert them before entering them. Use at least five decimal places, about a metre of precision, so that map pins land on the right building rather than across the street. After entering them, check the pin on a map to make sure it's in the right place.
Checking a conversion
A quick way to check a DMS to decimal result is to remember that 30 minutes is exactly half a degree and 15 minutes a quarter. So 40° 30′ is 40.5, and 40° 45′ is 40.75. If your decimal answer is far from those landmarks for similar inputs, something has gone wrong.
Sources and further reading
- Geographic coordinate system on Wikipedia: latitude, longitude and formats.
- Decimal degrees on Wikipedia: precision by decimal place.
- US Geological Survey: How much distance does a degree, minute, and second cover on your maps?, an official explanation.
Frequently asked questions
How do I convert DMS to decimal?
Decimal = degrees + minutes ÷ 60 + seconds ÷ 3,600, made negative for south or west.
How do I convert decimal degrees to DMS?
Take the whole degrees, multiply the remainder by 60 for minutes, then multiply what's left by 60 for seconds.
Why is my longitude negative?
Negative longitudes are west of the prime meridian, such as the Americas.
How many decimal places do I need?
Five or six decimal places are enough for most mapping purposes, locating a point to about a metre or better.
What is DMM?
Degrees and decimal minutes, a format used by many GPS devices, such as 40° 42.768′.
Is the DMS to decimal converter free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.