D =
Degrees of latitude or longitude as entered.
M =
Minutes of latitude or longitude as entered. Each minute is 1/60 of a degree.
S =
Seconds of latitude or longitude as entered. Each second is 1/60 of a minute or 1/3600 of a degree.
DD =
Degrees of latitude, longitude or other units in a single number decimal form.
Choose the number of decimals to show in your answer. This is also known as significant figures. Select an appropriate amount of significant figures based on the precision of the input numbers.
Degrees, minutes, and seconds can be converted to a single number of decimal degrees by expressing each of the sub-units of degrees as fractions of a degree and adding them all together. Minutes and seconds can be converted to degrees based on how many fractions of a degree are in each; one minute is 1/60 of a degree and one second is 1/3600 of a degree.
Divide the number of minutes by 60, the number of minutes in one degree. Add this result to the absolute value of the degrees (if degrees are negative, ignore this for now)
Divide the number of seconds by 3600, the number of seconds in one degree. Add this result to the absolute value of the degrees with minutes added (if degrees are negative, ignore this for now)
Adding the fractional minutes and seconds to degrees yields the absolute number of degrees. If degrees were negative write the final answer with a negative sign. Since it is common to express decimal degrees as a single number any longtitude numbers in the western hemisphere can be expressed using a negative instead of "W", and if given a latitude in the southern hemisphere this can be indicated with a negative instead of the letter "S". Degrees, minutes, and seconds are combined to decimal degrees by converting the fractional values to decimals of degrees and adding all results.Degrees Minutes Seconds to Decimal Degrees Formula
Any or all of the three inputs of degrees, minutes, and seconds may be used to calculate the result. Only degrees can be negative. Any of the values may have a decimal for the sake of calculation but in a well formed set of degrees, minutes, and seconds only the seconds would be expected to have a decimal.
How can a latitude or longitude given in degrees, minutes, and seconds be expressed in decimal degrees? Fractional minutes and seconds will be added to the absolute value of the degrees:
A latitude or longitude of 45°30'36" is the same as writing 45.51°
Sometimes a latitude or longitude can be expressed with a degative value to indicate the hemisphere. Negative latitudes range from 0 to -90° and are found south of the equator. Negative longitudes range from 0 to -180° and are found west of the prime meridian. The conversion method is identical to above, keep the negative symbol on the degrees.
A longtiude of -150°20'47" can be expressed as -150.346389 decimal degrees. Note that the negative sign on the degrees must be ignored in the calculation and then returned to the final value. The hemisphere can also be indicated with a letter, W or S for negative hemisphere, but when dealing with decimal degrees in geography it is more common to use the negative sign since the goal is often to express latitude or longitude with a single number.