Trigonometry

DMS to Decimal Degrees Converter

To convert DMS to decimal degrees, divide the minutes by 60 and the seconds by 3,600 and add both to the degrees: D=d+m60+s3600D = d + \frac{m}{60} + \frac{s}{3600}.

Try
Value type

Latitude and longitude are written with N/S or E/W instead of a sign.

A whole number.

0 to under 60.

0 to under 60; decimals allowed.

Result

73° 59′ 7.54″ W in decimal degrees: ≈ −73.98542778°

73° 59′ 7.54″ W in decimal degrees

≈−73.98542778∘\approx -73.98542778^{\circ}

Degrees, minutes, seconds
73∘59′7.54′′W73^{\circ}\, 59^{\prime}\, 7.54^{\prime\prime}\ \mathrm{W}
Degrees and decimal minutes (DDM)Common on GPS receivers and nautical charts
73° 59.1257′ W
Radians
−1.291289313
Gradians
−82.20603086
Turns
−0.2055150772
Signed decimal degreesEast positive, west negative
≈ −73.98542778°
Arcseconds in total1° = 60′ = 3,600″
−266347.54

73° 59′ 7.54″ W equals approximately −73.98542778 decimal degrees (negative because it is west).

Decimal degrees are rounded to 8 decimal places, about 1 mm on the Earth’s surface.

One second of latitude is about 30.9 m on the ground; one second of longitude is about 30.9 m × cos(latitude).

Step-by-step working (2 steps)
  1. Convert minutes and seconds to degrees

    There are 60 minutes in a degree and 3,600 seconds in a degree.

    73+5960+7.543600≈73.9854277873 + \frac{59}{60} + \frac{7.54}{3600} \approx 73.98542778
  2. Apply the sign

    South latitudes and west longitudes are negative in decimal degrees.

    D≈−73.98542778D \approx -73.98542778

South and west then become negative. The converter also turns decimal degrees back into DMS for latitude and longitude, with correct rounding of seconds, DDM, radians and gradians.

By Hira Noor, mathematicianLast reviewed Free, no sign-up, runs in your browserReport a problem

How to use this calculator

  1. Choose what you are converting from. The default is degrees, minutes and seconds (DMS) to decimal degrees; pick Decimal degrees (DD) to convert decimal degrees to DMS, Paste a coordinate to convert a copied value such as 40°44′55.74″N, or radians or gradians.
  2. Choose the value type. For Latitude or Longitude the result uses N/S or E/W; for Angle it keeps a minus sign.
  3. For DMS, type the whole degrees, minutes and seconds in separate boxes and pick the hemisphere, for example 73° 59′ 7.54″ W. For decimal degrees, type one number; negative means south or west.
  4. Pick how many decimal places to keep in the seconds. The result shows decimal degrees, DMS and DDM together, with the ÷ 60 and ÷ 3,600 (or × 60) working and any carrying.

Formulas

DMS to decimal degrees formula

D=d+m60+s3600D = d + \frac{m}{60} + \frac{s}{3600}

Plain-text formula: D = d + m/60 + s/3600

DD
decimal degrees
dd
whole degrees
mm
minutes (0 to under 60)
ss
seconds (0 to under 60)

Add the minutes as sixtieths and the seconds as 3,600ths of a degree, then apply the sign: S latitudes and W longitudes are negative.

Decimal degrees to DMS formula

d=⌊D⌋,m=⌊60(D−d)⌋,s=3600(D−d)−60md = \lfloor D \rfloor, \quad m = \lfloor 60(D - d) \rfloor, \quad s = 3600(D - d) - 60m

Plain-text formula: d = ⌊D⌋, m = ⌊60(D − d)⌋, s = 3600(D − d) − 60m

Work with |D|. Take the whole degrees, multiply the remainder by 60 for minutes, and multiply what is left by 60 again for seconds. If the rounded seconds reach 60, carry one minute.

Radians and gradians

1∘=π180rad=109grad1^\circ = \frac{\pi}{180}\ \mathrm{rad} = \frac{10}{9}\ \mathrm{grad}

Plain-text formula: 1° = π/180 rad = 10/9 grad

A full turn is 360°, 2π rad or 400 grad.

Reading the result

DMS splits a degree the way an hour is split into minutes and seconds: 1° = 60′ and 1′ = 60″, so one second is 1/3,600 of a degree. That is why converting DMS to decimal degrees divides the seconds by 3,600, not by 100.

Decimal degrees carry the hemisphere in the sign. Positive latitudes are north of the equator and negative ones south; positive longitudes are east of the prime meridian and negative ones west. Mapping software, GPS exports and spreadsheets expect this signed form, so 73° 59′ 7.54″ W must be entered as −73.98542778, not 73.98542778.

Rounding happens only at the last step and can push the seconds to 60. Then 60″ becomes 1′ and the minutes go up by one (and 60′ becomes 1°), so you never see 59′ 60″.

How to convert decimal degrees to DMS

Reverse the DMS to decimal degrees formula: peel off the whole degrees, then turn what is left into minutes and seconds by multiplying by 60 twice. For the latitude 40.748817°:

1. Degrees: the whole number is 40, leaving 0.748817°. 2. Minutes: 0.748817 × 60 = 44.92902, so 44′, leaving 0.92902′. 3. Seconds: 0.92902 × 60 = 55.7412″, which rounds to 55.74″. 4. Hemisphere: the value is positive, so it is north: 40° 44′ 55.74″ N. Open this conversion in the calculator.

For a negative value, work with the absolute value and put S or W back at the end: −73.985428° is 73° 59′ 7.54″ W. If the rounded seconds come out as 60, carry a minute: 10.9999999° is 11° 0′ 0.00″, not 10° 59′ 60.00″.

DMS, DDM and decimal degrees compared

The same position can be written three ways. Decimal degrees (DD) are what maps, GIS software and spreadsheets use; degrees, minutes and seconds (DMS) appear on survey plans, deeds and older charts; degrees and decimal minutes (DDM) are common on GPS receivers and in marine navigation. The table converts a few coordinates both ways, with seconds to two places and minutes to four.

The same coordinates in decimal degrees, DMS and DDM
Decimal degreesDMSDDMHemisphere
40.74881740° 44′ 55.74″ N40° 44.9290′ NNorth latitude
−73.98542873° 59′ 7.54″ W73° 59.1257′ WWest longitude
−33.856833° 51′ 24.48″ S33° 51.4080′ SSouth latitude
151.2153151° 12′ 55.08″ E151° 12.9180′ EEast longitude
−0.12460° 7′ 28.56″ W0° 7.4760′ WWest longitude under 1°

How many decimal places do coordinates need?

One degree of latitude is about 111 km on the ground, one minute about 1.85 km (a nautical mile) and one second about 31 m. A degree of longitude is the same length at the equator and shrinks toward the poles by the cosine of the latitude, so at 60° N it is about half as long. Use the table to match the precision of your source: copying a coordinate measured to the nearest second into eight decimal places does not make it more accurate.

Approximate ground distance for each level of precision (latitude, or longitude at the equator)
Decimal degreesGround distanceDMS equivalentTypical use
0.1°about 11 km6′Region or large city
0.01°about 1.1 km36″Town or district
0.001°about 111 m3.6″Neighborhood or large field
0.0001°about 11 m0.36″Building or street address
0.00001°about 1.1 m0.036″Consumer GPS, tree or doorway
0.000001°about 11 cm0.0036″Survey-grade GNSS

DMS to decimal degrees in Excel and Google Sheets

With degrees in A2, minutes in B2 and seconds in C2, the decimal degrees are =A2+B2/60+C2/3600. If the hemisphere letter is in D2, apply the sign with =IF(OR(D2="S",D2="W"),-1,1)*(A2+B2/60+C2/3600). Both formulas work the same in Excel and Google Sheets.

To go from decimal degrees in A2 back to DMS, use =INT(ABS(A2)) for the degrees, =INT(MOD(ABS(A2)*60,60)) for the minutes and =ROUND(MOD(ABS(A2)*3600,60),2) for the seconds, then add N/S or E/W from the sign of A2. A spreadsheet will not carry a rounded 60″ into the minutes for you, so check any row where the seconds show 60.00, or run that value through the calculator above.

If your DMS values sit in one cell as text, such as 40° 44′ 55.74″, split them into three columns first (Data, then Text to Columns in Excel, or Data, then Split text to columns in Google Sheets, using the °, ′ and ″ symbols as delimiters) so each part is a number.

Worked example

Convert 22° 57′ 7″ S, 43° 12′ 38″ W to decimal degrees

Convert a coordinate in the Southern and Western Hemispheres from DMS to decimal degrees, to 8 decimal places.

  1. Latitude: 22+5760+73600=22+0.95+0.0019444…≈22.9519444422 + \frac{57}{60} + \frac{7}{3600} = 22 + 0.95 + 0.0019444\ldots \approx 22.95194444.
  2. It is south of the equator, so the sign is negative: −22.95194444-22.95194444.
  3. Longitude: 43+1260+383600=43+0.2+0.0105555…≈43.2105555643 + \frac{12}{60} + \frac{38}{3600} = 43 + 0.2 + 0.0105555\ldots \approx 43.21055556.
  4. It is west of the prime meridian, so the sign is negative: −43.21055556-43.21055556.

Answer: 22° 57′ 7″ S, 43° 12′ 38″ W = −22.95194444, −43.21055556 in decimal degrees (latitude first). Check the latitude in the calculator.

Frequently asked questions

How do I convert DMS to decimal degrees?

Divide the minutes by 60 and the seconds by 3,600 and add them to the degrees. For 73° 59′ 7.54″ W: 73 + 59/60 + 7.54/3600 ≈ 73.98542778, and west makes it −73.98542778°.

How do I convert decimal degrees to degrees, minutes and seconds?

Keep the whole degrees, multiply the decimal part by 60 to get minutes, then multiply the decimal part of the minutes by 60 to get seconds. For 40.748817°: 40°, 0.748817 × 60 = 44.92902 so 44′, and 0.92902 × 60 = 55.7412 so 55.74″, giving 40° 44′ 55.74″.

Why are south and west negative?

In decimal degrees, latitude is measured north (+) or south (−) of the equator and longitude east (+) or west (−) of the prime meridian at Greenwich. A minus sign replaces the S or W letter.

What happens when the seconds round to 60?

They become 0 and one minute is carried, just as 59.999 seconds on a clock rounds to the next minute. For example 10.9999999° rounds to 11° 0′ 0.00″, not 10° 59′ 60.00″.

What is the difference between DMS and DDM?

DMS writes degrees, minutes and seconds (40° 44′ 55.74″). DDM, degrees and decimal minutes (40° 44.9290′), drops the seconds and puts decimals on the minutes; many GPS receivers and charts use it.

How many decimal places should decimal degrees have?

Six decimal places (about 11 cm) is more than enough for almost any map, and five (about 1.1 m) matches a phone GPS. Four places is about 11 m. More digits than your source measured add no accuracy.

How do I enter a negative angle smaller than 1°?

Set the degrees to 0, enter the minutes and seconds, and choose Negative (or S or W) as the sign. For example 0° 30′ 0″ negative is −0.5°.

Are minutes and seconds of angle related to time?

They share the base-60 system but are different units. Arcminutes and arcseconds measure angle; minutes and seconds of right ascension in astronomy measure time, where 1 hour corresponds to 15°.

Trigonometry Calculator

All six trig functions of an angle, or the angle from a ratio, with exact values, quadrant and steps.

Trigonometry

Triangle Calculator

Solve any triangle from SSS, SAS, ASA, AAS or SSA, with law of sines and cosines steps and the ambiguous case.

Trigonometry

Polar to Rectangular Calculator

Polar ↔ rectangular (Cartesian) conversion with steps, quadrant reasoning, exact values and exponential form.

Algebra & Equations

Unit Converter

Convert between units in 40 categories with exact factors, formulas and tables.

Tools

Scientific Calculator

Type or tap expressions with exact fractions, memory, variables, constants and complex mode.

Tools

Learn more: For when to use degrees, radians or degrees-minutes-seconds, read degrees vs radians.

Sources and further reading

  1. How much distance does a degree, minute and second cover on your maps? (opens in a new tab), U.S. Geological Survey (USGS)
  2. The International System of Units (SI Brochure), 9th edition, Table 8: non-SI units accepted for use with the SI (opens in a new tab), Bureau International des Poids et Mesures (BIPM)
  3. NIST Special Publication 811: Guide for the Use of the International System of Units (opens in a new tab), National Institute of Standards and Technology

Results are calculated in your browser with methods checked by automated tests, and are intended for learning and general use. For engineering, medical, financial, legal or safety-critical decisions, verify important values independently and follow the rounding rules your work requires. How accurate are these results?