DMS to Decimal Degrees Converter
Convert latitude or longitude between degrees, minutes, seconds and decimal degrees. Enter a coordinate, paste it with a hemisphere, or convert a list one line at a time.
Convert degrees, minutes and seconds
Decimal result
- Decimal degrees
- —
- DMS with symbols
- —
- DMS with spaces
- —
- Radians
- —
- Gradians
- —
- 1″ of longitude at the equator
- —
- 1″ of longitude at this latitude (approx.)
- —
DMS result
- Decimal degrees
- —
- DMS with symbols
- —
- DMS with spaces
- —
- Radians
- —
- Gradians
- —
- 1″ of longitude at the equator
- —
- 1″ of longitude at this latitude (approx.)
- —
| Line | Input | Decimal degrees | DMS | Radians |
|---|
How to use the coordinate converter
- Use DMS → Decimal for separate degree, minute and second fields, or paste a coordinate such as
40° 26′ 46″ N,40 26 46 Nor40d26m46s N. A pasted letter identifies both axis and hemisphere. - Use Decimal → DMS to convert a number such as −122.4194°. Choose Latitude or Longitude first. Use negative numbers for south or west.
- Use Batch convert to process mixed formats, one coordinate on each line. Supply letters or choose an axis for values without a hemisphere. Fix any lines the table flags, then copy the results.
- Choose the number of decimal places you need. The tool also displays DMS with symbols and spaces, radians, gradians and approximate longitude spacing per arcsecond.
- Copy the format your destination expects. Google Maps puts latitude first. GeoJSON puts longitude first.
DMS and decimal degree formulas
DMS to decimal degrees
One degree contains 60 arcminutes, and one arcminute contains 60 arcseconds. With components , and , first calculate the unsigned angle.
Use for north or east and for south or west. Apply the sign to the whole angle. Decimal seconds work in the same formula. Keep minutes and seconds below 60.
Decimal degrees to DMS
Take the magnitude of the signed decimal degree value . Separate whole degrees, then use the fractional part to find minutes and seconds.
Apply the direction from the sign and the selected axis. The converter rounds to the nearest 0.001″ before splitting the total, so a rounded 60″ becomes one more minute.
Convert to radians and gradians
Use the signed decimal degree value in both conversions.
A right angle measures 100 gradians, and a whole turn measures 400 gradians.
Use the right axis
Latitude runs from −90° to +90°. Longitude runs from −180° to +180°. The poles and antimeridian have zero minutes and seconds when the whole-degree component is already 90° for latitude or 180° for longitude.
At zero degrees, the direction may still matter if minutes or seconds are present. For example, is a negative longitude.
Worked examples
40° 26′ 46″ N to decimal
To six places this is 40.446111° N, a latitude near Pittsburgh. A longitude is also needed to locate a point.
33° 51′ 54″ S to decimal
The south direction makes the whole Sydney latitude negative.
−122.4194° to DMS
The magnitude is 122.4194°. The whole degrees are 122.
As a longitude, the result is .
London with decimal arcseconds
Convert without dropping the fractional seconds.
For comparison, exactly one arcminute is . The rounded input 0.016667° becomes 0° 1′ 0.001″ at milliarcsecond display precision.
Coordinate precision and ground distance
Spacing and rounding near the equator
Using the WGS 84 equatorial radius, a degree of longitude at the equator spans about 111.32 km.
Longitude lines converge toward the poles. A useful spherical estimate at latitude is km per longitude degree. That is about 55.66 km at 60° and 1.94 km at 89°. The length of a latitude degree varies too, but much less.
The nautical mile is exactly 1,852 m by convention. It is historically tied to one arcminute of latitude, whose true length varies across the Earth.
| Displayed precision | Step size at equator | Max rounding error | Typical purpose |
|---|---|---|---|
| 1° | 111.32 km | 55.66 km | Regional scale |
| 1′ | 1.86 km | 927.66 m | District-scale display |
| 1″ | 30.92 m | 15.46 m | Local landmarks |
| 0.1° | 11.13 km | 5.57 km | Regional overview |
| 0.01° | 1.11 km | 556.60 m | Neighborhood scale |
| 0.001° | 111.32 m | 55.66 m | Local grid or street |
| 0.0001° | 11.13 m | 5.57 m | Building-scale grid |
| 0.00001° | 1.11 m | 55.66 cm | Metre-scale storage |
| 0.000001° | 11.13 cm | 5.57 cm | Sub-metre storage |
| 0.0000001° | 1.11 cm | 0.56 cm | Centimetre-scale storage |
| 0.1″ | 3.09 m | 1.55 m | Fractional DMS seconds |
| 0.01″ | 30.92 cm | 15.46 cm | Finer DMS display |
Six decimal places give a step of roughly 11 cm in longitude at the equator and a rounding error of at most 5.6 cm. That describes storage precision. A phone reporting six places can still be several metres from the true position.
Haversine distance between GPS coordinates
The Haversine formula estimates the shortest surface distance between two points on a sphere. Convert each latitude and longitude to radians before finding their differences and .
Using a rounded mean Earth radius of 6,371.009 km, the coordinates for central London (51.5072° N, 0.1276° W) and New York (40.7128° N, 74.0060° W) give about 5,570 km. The difference from an ellipsoidal calculation depends on the route. For survey or geodetic work, use an ellipsoidal geodesic algorithm such as Karney’s method.
GPS, WGS 84 and map coordinates
The WGS 84 reference ellipsoid
GPS uses WGS 84 as a reference. Its ellipsoid has an equatorial radius of 6,378,137 m and a polar radius of about 6,356,752.314 m. Flattening is the difference between the radii relative to the equatorial radius.
Changing DMS to decimal degrees keeps the coordinate reference system. NAD 83, OSGB 36 and other datums can require a separate transformation. UTM uses metres in a projected grid and requires the zone, hemisphere and datum to convert to geographic angles.
What a receiver can measure
GPS.gov gives about 4.9 m as a typical smartphone accuracy radius under open sky. Buildings, trees and reflected signals can worsen it. Differential GPS uses reference-station corrections. Carrier-phase RTK can reach centimetre-level accuracy under suitable conditions, with results depending on the equipment, method and environment.
Keep enough decimal places for your measurements and workflow. Digits cannot improve the original observation.
Google Maps, APIs and GIS
Google Maps accepts DMS and signed decimal degrees. Paste 51.5072, -0.1276 for central London, with latitude first. The Maps URL can use the same coordinates as a query. For GeoJSON, put longitude first, as in [-0.1276, 51.5072].
GIS tools can support several formats and datums. Check the order and coordinate reference system when exchanging data between ArcGIS, OpenStreetMap, Mapbox or other mapping systems.
Why degrees have minutes and seconds
Ancient Babylonian mathematics used base 60. This base makes halves, thirds, quarters, fifths and sixths easy to express. Greek astronomers such as Hipparchus and Ptolemy used related angle and chord calculations.
The French Revolution promoted a 400-part turn through the gradian. Degrees remained standard in many charts and instruments. Decimal degrees keep the degree and write its fractional part in base 10.
Astronomy, declination and right ascension
Declination is measured north or south of the celestial equator in degrees, arcminutes and arcseconds. Right ascension (RA) measures eastward around that equator in hours, minutes and seconds of time. Twenty-four hours of RA make one full turn.
One RA hour is 15°, one RA minute is 15′ and one RA second is 15″. For example, Sirius has RA about 6 hours, 45 minutes and 8.9 seconds.
Specify the reference frame and epoch when comparing catalogue positions. J2000.0 corresponds to noon TT on Jan 1, 2000. Changes in Earth’s orientation and stellar proper motion matter when comparing observations over time. Hipparcos and Gaia catalogue positions have uncertainties that vary by star and data release.
DMS and decimal degrees FAQs
How do I convert degrees minutes seconds to decimal degrees?
Add the whole degrees, the minute contribution and the second contribution. Apply a negative sign to the sum for south and west.
How do I convert decimal degrees to DMS?
Use the whole degrees from the absolute value. Multiply the fraction by 60 to get minutes. Multiply the remaining fraction of a minute by 60 to get seconds. For example, 40.446111° latitude displays as 40° 26′ 46″ N when seconds round to three decimal places.
What does 40° 26' 46" mean in decimal degrees?
The angle is . Rounded to six decimal places, it is 40.446111°. A geographic point also needs the other coordinate and a reference system.
How do I enter coordinates in Google Maps?
Enter latitude first and longitude second, separated by a comma. For central London, use 51.5072, -0.1276. DMS works as well, for example 51° 30′ 25.92″ N, 0° 7′ 39.36″ W.
What is the difference between DMS and decimal degrees?
DMS writes one angle as degrees, arcminutes and arcseconds. Decimal degrees write its fractional part in base 10. They describe the same angle, with possible differences when you round a displayed value.
How many decimal places do I need for GPS coordinates?
At the equator, four decimal places represent steps of about 11.1 m in longitude, five about 1.11 m, six about 11.1 cm and seven about 1.11 cm. The rounding error is at most half the step when rounding to nearest. Choose the number of places based on measurement accuracy and the intended use.
How do I handle negative coordinates (S/W)?
Latitude is negative south of the equator and longitude is negative west of Greenwich. Apply the sign once to the full magnitude. For example, 122° 25′ 9.84″ W is −122.419400°. A contradictory sign and hemisphere must be corrected.
What is 1 arcminute in kilometres?
One arcminute of longitude at the equator is about 1.855 km. Its distance decreases toward the poles. An arcminute of latitude is also close to 1.85 km and varies with latitude. The nautical mile is a fixed 1.852 km.
What is WGS 84 and why does it matter?
WGS 84 provides a common reference for GPS positions. If one set of coordinates is in another datum, converting the notation from DMS to decimal leaves the datum as it was. Use a datum transformation to align coordinates from different references.
Can I use decimal seconds in DMS?
Yes. Enter decimal seconds from zero up to 60. For example, 40° 26′ 46.8″ N converts to about 40.446333° N.
How do I calculate distance between two GPS coordinates?
Convert both points to radians and use the Haversine formula for a spherical estimate. For greater accuracy on Earth’s ellipsoid, use a geodesic calculator with the appropriate datum. This page converts angles and shows the distance formula in the guide.
How do I convert UTM coordinates to decimal degrees?
Use an inverse UTM projection. You need the easting, northing, zone, hemisphere and datum. A projection converter can produce latitude and longitude in decimal degrees. This tool converts between formats once you have those geographic angles.
Related converters
Sources
- BIPM SI Brochure on units of plane angle
- ISO 6709:2022 coordinate representation
- USGS angular-distance conversion factors
- NIST units outside the SI and the nautical mile
- GeographicLib on WGS 84 and coordinate conversion
- NOAA coordinate notation and datum transformation tool
- GPS.gov on positioning accuracy
- Google Maps help on coordinate entry
- Google for Developers Maps URL examples
- IETF GeoJSON specification
- USGS guide to the Universal Transverse Mercator grid
- Charles Karney on geodesic algorithms
- University of St Andrews on Babylonian numerals
- University of St Andrews on the history of decimal units
- NASA on astronomical coordinate systems
- ESA Gaia astrometry data release documentation