Angle to Decimal Calculator: Degrees, Minutes, Seconds
- Degrees
- 45 °
- You entered
- Minutes
- 30 '
- You entered
- Seconds
- 15 "
- You entered
This calculator converts an angle from degrees, minutes, and seconds (DMS) into decimal degrees, and also works in reverse from decimal degrees to DMS. You enter the whole degrees, minutes, and seconds (or a single decimal value), and the calculator returns the equivalent angle in the other format, rounded to a chosen number of decimal places.
Formula
The conversion from degrees, minutes, and seconds to decimal degrees uses the fact that one minute is 1/60 of a degree and one second is 1/3600 of a degree. The formula is:
Decimal degrees = Degrees + (Minutes / 60) + (Seconds / 3600)
- Degrees (d) – the whole number part of the angle, in degrees (°). It can be any real number, but for geographic coordinates it is typically between -90 and 90 (latitude) or -180 and 180 (longitude).
- Minutes (m) – the fractional part of a degree, expressed in minutes (‘). There are 60 minutes in one degree.
- Seconds (s) – the fractional part of a minute, expressed in seconds (“). There are 60 seconds in one minute.
To convert from decimal degrees back to DMS, separate the integer part as the degrees, multiply the fractional part by 60 to get minutes, then multiply the remaining fraction by 60 to get seconds.
Worked Example
Using the default values from the calculator: degrees = 45, minutes = 30, seconds = 15.
- Convert minutes to degrees: 30 / 60 = 0.5
- Convert seconds to degrees: 15 / 3600 = 0.0041667
- Add to the whole degrees: 45 + 0.5 + 0.0041667 = 45.5041667
Rounded to 4 decimal places, the result is 45.5042°. This matches the calculator output.
When to Use This Conversion
Angle conversions are common in several fields:
- Navigation and GPS – Geographic coordinates are often given in DMS (e.g., 45°30’15” N) but many mapping tools and formulas require decimal degrees.
- Astronomy – Right ascension and declination are traditionally expressed in hours, minutes, and seconds, but calculations often need decimal degrees.
- Surveying and construction – Bearings and angles may be recorded in DMS, but digital tools and CAD software often use decimal degrees.
- Mathematics and physics – Trigonometry functions in most calculators and programming languages expect angles in decimal degrees or radians, not DMS.
How to Read the Result
The decimal degrees result is a single number. For example, 45.5042° means 45 whole degrees plus 0.5042 of a degree. To interpret the fractional part, multiply by 60: 0.5042 × 60 = 30.252 minutes. That means 45.5042° is also 45°30.252′. The seconds are the fractional part of the minutes: 0.252 × 60 = 15.12 seconds.
When the angle is negative (e.g., -12°34’56”), the conversion works the same way: -12 – 34/60 – 56/3600 = -12.5822°. The sign applies to the whole angle, not just the degrees part.
Common Mistakes and Pitfalls
- Forgetting the sign – For coordinates south of the equator or west of the prime meridian, the entire angle is negative. A common error is to make only the degrees negative, which shifts the point to the wrong location.
- Mixing up minutes and seconds – Both are base-60, but they are different units. Seconds are 1/3600 of a degree, not 1/60.
- Rounding too early – If you round minutes or seconds before converting, you lose precision. For example, 45°30’15” converted with minutes rounded to 30.25 gives 45.5042°, which is correct, but rounding seconds to 15.2 before dividing by 3600 can introduce small errors.
- Using degrees instead of radians in trig functions – After converting to decimal degrees, remember that most programming languages’
sin(),cos(), andtan()functions expect radians, not degrees. Multiply by π/180 to convert.
Limits and Precision
This conversion is exact – it is a linear transformation, so there is no approximation error. The only loss of precision comes from rounding the output. For most applications, 4 decimal places of a degree is about 11 meters on the Earth’s surface, so 4–6 decimal places are typical for GPS coordinates.
One limitation: the DMS format assumes minutes and seconds are between 0 and 59.999… If you input 60 minutes or 60 seconds, the calculator will still compute a result, but it is not a properly formatted DMS value. Always normalize inputs so that minutes < 60 and seconds < 60.
Alternatives and Related Conversions
If you need to convert between radians and degrees, the factor is 180/π. To convert decimal degrees to radians, multiply by π/180. Many scientific calculators have a DMS-to-decimal function, often labeled DMS or ° ' ". In spreadsheet software, you can use formulas: for DMS to decimal, =A1 + B1/60 + C1/3600; for decimal to DMS, use =TEXT(A1/24, "h:mm:ss") after dividing the decimal degrees by 24 (because 24 hours = 360°).
Frequently Asked Questions
How do I convert decimal degrees to DMS manually?
Take the decimal part of the degrees and multiply by 60 to get minutes. The whole number part of that result is the minutes. Then take the decimal part of the minutes and multiply by 60 to get seconds. For example, 45.5042°: 0.5042 × 60 = 30.252, so 30 minutes; 0.252 × 60 = 15.12, so 15 seconds. Result: 45°30’15.12″.
What is the difference between DMS and decimal degrees?
DMS uses three separate numbers (degrees, minutes, seconds) with a base-60 subdivision, while decimal degrees uses a single base-10 number. Both represent the same angle; DMS is traditional for navigation and mapping, decimal degrees is easier for calculations and digital storage.
Why do we use 60 minutes in a degree?
The base-60 system comes from ancient Babylonian mathematics, which used a sexagesimal (base-60) number system. It survives today in time (60 minutes per hour) and angles (60 minutes per degree).
Can I use this calculator for negative coordinates?
Yes. Enter the negative degrees and positive minutes and seconds. For example, -12°34’56” is entered as degrees = -12, minutes = 34, seconds = 56. The calculator will correctly output -12.5822°.
How many decimal places do I need for GPS coordinates?
For general navigation, 4 decimal places (about 11 m accuracy) is sufficient. For surveying or precision agriculture, 6 decimal places (about 0.1 m) is common. The calculator allows up to 6 decimal places.
Is there a way to convert DMS to radians directly?
Yes: convert DMS to decimal degrees first, then multiply by Ï€/180. For example, 45°30’15” = 45.5042° × Ï€/180 = 0.7942 radians.
Related
Formula used
in d | Degrees | ° | 45 | 0 in m | Minutes | ' | 30 | 0 in s | Seconds | " | 15 | 0 out dec | Decimal degrees | ° | d + m/60 + s/3600 | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.