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.

Coordinate worksheet with 40 degrees, 26 arcminutes and 46 arcseconds beside an angle ruler
Degrees, arcminutes and arcseconds are parts of the same angle.

Convert degrees, minutes and seconds

DMS to decimal degrees

Pasted text takes priority. Use symbols, spaces or d/m/s, and include N, S, E or W to specify the axis.

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.)
—

How to use the coordinate converter

  1. Use DMS → Decimal for separate degree, minute and second fields, or paste a coordinate such as 40° 26′ 46″ N, 40 26 46 N or 40d26m46s N. A pasted letter identifies both axis and hemisphere.
  2. Use Decimal → DMS to convert a number such as −122.4194°. Choose Latitude or Longitude first. Use negative numbers for south or west.
  3. 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.
  4. 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.
  5. 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 D, M and S, first calculate the unsigned angle.

A=D+M60+S3600

Use +A for north or east and −A 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 A=|x| of the signed decimal degree value x. Separate whole degrees, then use the fractional part to find minutes and seconds.

D=⌊A⌋,t=60(A−D)
M=⌊t⌋,S=60(t−M)

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 x in both conversions.

θrad=xπ180
θgrad=x109

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, 0∘7′39.36′′W is a negative longitude.

Worked examples

40° 26′ 46″ N to decimal

40+2660+463600=728031800
728031800=40.4461―

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

−(33+5160+543600)=−33.865

The south direction makes the whole Sydney latitude negative.

−122.4194° to DMS

The magnitude is 122.4194°. The whole degrees are 122.

0.4194×60=25.164
0.164×60=9.84

As a longitude, the result is 122∘25′9.84′′W.

London with decimal arcseconds

Convert 51∘30′26.3′′N without dropping the fractional seconds.

51+3060+26.33600≈51.507306

For comparison, exactly one arcminute is 160∘. 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.

1′=1∘60≈1855.3m
1′′=1∘3600≈30.92m

Longitude lines converge toward the poles. A useful spherical estimate at latitude φ is 111.32cosφ 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 precisionStep size at equatorMax rounding errorTypical purpose
1°111.32 km55.66 kmRegional scale
1′1.86 km927.66 mDistrict-scale display
1″30.92 m15.46 mLocal landmarks
0.1°11.13 km5.57 kmRegional overview
0.01°1.11 km556.60 mNeighborhood scale
0.001°111.32 m55.66 mLocal grid or street
0.0001°11.13 m5.57 mBuilding-scale grid
0.00001°1.11 m55.66 cmMetre-scale storage
0.000001°11.13 cm5.57 cmSub-metre storage
0.0000001°1.11 cm0.56 cmCentimetre-scale storage
0.1″3.09 m1.55 mFractional DMS seconds
0.01″30.92 cm15.46 cmFiner 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 Δλ.

h=sin2(Δφ2)+cosφ1cosφ2sin2(Δλ2)
c=2atan2(h,1−h)
d=Rc

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 f is the difference between the radii relative to the equatorial radius.

f=a−ba≈1298.257223563

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.

α=15∘H+15∘M60+15∘S3600

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.

6×15+454+8.9240≈101.2871∘

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.

A=D+M60+S3600
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 40.4461―∘. 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.

40+2660+46.83600=40.4463―
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.

Sources