Degrees, Minutes and Seconds Converter
Convert decimal degrees and DMS, including signs, hemispheres and second precision.
Enter valid values within the stated bounds. Invalid or incomplete input clears previous results.
General angle: absolute total ≤ 1,000,000°; DMS degrees may be signed or fractional, minutes/seconds nonnegative and ≤1,000,000 each. Excess minutes/seconds are normalized. Negative degrees override a positive direction. Other axes retain strict integer degrees/minutes, minutes 0–59 and seconds below 60: angle ±360°, latitude ±90°, longitude ±180°. Use a decimal point or comma, up to nine decimal places, or integer fractions; no exponent notation. DMS seconds round to 0–6 decimal places with carry; decimal minutes to four places, decimal degrees to twelve places, radians to 12 significant digits.
Method and limits
θ = sign × (|D| + M/60 + S/3600); rad = θ × π/180
General angle: absolute total ≤ 1,000,000°; DMS degrees may be signed or fractional, minutes/seconds nonnegative and ≤1,000,000 each. Excess minutes/seconds are normalized. Negative degrees override a positive direction. Other axes retain strict integer degrees/minutes, minutes 0–59 and seconds below 60: angle ±360°, latitude ±90°, longitude ±180°. Use a decimal point or comma, up to nine decimal places, or integer fractions; no exponent notation. DMS seconds round to 0–6 decimal places with carry; decimal minutes to four places, decimal degrees to twelve places, radians to 12 significant digits.
Frequently asked questions
What inputs and limits apply?
Angles are limited to ±360°, latitude to ±90° and longitude to ±180°. In DMS mode use unsigned integer degrees, integer minutes 0–59 and seconds from 0 up to but excluding 60. Select the sign or hemisphere separately. Use decimal points. Seconds round to 0–6 places with carry; decimal degrees round to 12 places. Negative zero is preserved. Hours use the separate time converter.
How we verified this calculator
The calculator is checked against 6 reference cases computed independently of its code. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
Mode = DMS → decimal degrees
Angle type = General angle (±360°)
Sign / hemisphere = Negative (−)
Decimal places in seconds = 2
D (°) = 12
Minutes = 30
Seconds = 0
|
Decimal degrees: -12.5
|
| 2 |
Mode = DMS → decimal degrees
Angle type = Latitude (±90°)
Sign / hemisphere = S
Decimal places in seconds = 2
D (°) = 0
Minutes = 30
Seconds = 0
|
Decimal degrees: -0.5
|
| 3 |
Mode = DMS → decimal degrees
Angle type = Longitude (±180°)
Sign / hemisphere = W
Decimal places in seconds = 2
D (°) = 179
Minutes = 59
Seconds = 59.99999
|
Decimal degrees: -179.999999997222
|
| 4 |
Mode = DMS → decimal degrees
Angle type = Latitude (±90°)
Sign / hemisphere = N
Decimal places in seconds = 2
D (°) = 90
Minutes = 0
Seconds = 0
|
Decimal degrees: 90
|
| 5 |
Mode = DMS → decimal degrees
Angle type = Longitude (±180°)
Sign / hemisphere = E
Decimal places in seconds = 2
D (°) = 180
Minutes = 0
Seconds = 0
|
Decimal degrees: 180
|
| 6 |
Mode = DMS → decimal degrees
Angle type = General angle (±360°)
Sign / hemisphere = Negative (−)
Decimal places in seconds = 2
D (°) = 0
Minutes = 0
Seconds = 0
|
Decimal degrees: -0
|