Decimal Degrees to DMS Converter Formula
Understand the math behind the decimal degrees to dms converter. Each variable explained with a worked example.
Formulas Used
Degrees
degrees = deg_partMinutes
minutes = min_partSeconds
seconds = sec_partRadians
radians = value * pi / 180Variables
| Variable | Description | Default |
|---|---|---|
value | Decimal Degrees(°) | 40.7128 |
deg_part | Derived value= floor(abs(value)) | calculated |
min_total | Derived value= (abs(value) - floor(abs(value))) * 60 | calculated |
min_part | Derived value= floor((abs(value) - floor(abs(value))) * 60) | calculated |
sec_part | Derived value= ((abs(value) - floor(abs(value))) * 60 - floor((abs(value) - floor(abs(value))) * 60)) * 60 | calculated |
How It Works
Decimal Degrees to DMS
Conversion Steps
1. Degrees = floor of the decimal degree value 2. Minutes = floor of (fractional part x 60) 3. Seconds = remaining fraction x 60
Example
40.7128° = 40° 42' 46.08"
DMS format is commonly used on maps, in navigation, and for GPS coordinates.
Worked Example
Convert 40.7128° (New York City latitude) to DMS.
- 01Degrees = 40
- 02Fractional = 0.7128 x 60 = 42.768 minutes
- 03Minutes = 42
- 04Seconds = 0.768 x 60 = 46.08 seconds
- 05Result: 40° 42' 46.08"
Frequently Asked Questions
What is DMS format?
DMS stands for Degrees, Minutes, Seconds. One degree = 60 minutes, one minute = 60 seconds. It is the traditional way to express angular measurements and geographic coordinates.
Which format does GPS use?
GPS devices can use either decimal degrees or DMS. Decimal degrees (e.g., 40.7128) are simpler for calculations. DMS (40° 42' 46") is traditional for navigation. Most devices let you choose.
Ready to run the numbers?
Open Decimal Degrees to DMS Converter