DMS / Decimal Degrees Converter

Decimals:

Features of the DMS Calculator

Two-way conversion

Convert DMS to decimal degrees or split decimals back into degrees, minutes and seconds

Radian output

Radian value is shown in both modes, handy for trigonometry and programming

Coordinate directions

Latitude N/S and longitude E/W with automatic direction inference from the sign

Adjustable precision

Choose 4, 6 or 8 decimal places; trailing zeros are trimmed for readability

Input validation

Minutes and seconds must be 0–59, with instant feedback on invalid values

Local, private calculation

Everything runs in your browser; nothing is uploaded and no cookies are stored

How to Use the DMS Calculator

1

Pick a direction

Switch between "DMS → Decimal" and "Decimal → DMS". The first converts map angles into numbers for calculation; the second formats results as degrees, minutes and seconds.

2

Enter the angle

In DMS mode fill degrees, minutes and seconds, e.g. 45°30′0″. In decimal mode just type a value like 45.5. Minutes and seconds may be omitted or contain decimals.

3

Set precision and direction

Choose 4/6/8 decimals. For coordinates pick latitude or longitude and the tool infers N/S/E/W and shows a formatted coordinate.

4

Read the results

The result area shows decimal degrees, DMS, radians (and degrees-minutes) at once, updating live as you type.

Common Use Cases

GPS coordinates

Convert map DMS coordinates to decimal degrees for GPS devices or spreadsheets

Surveying

Total station and theodolite readings are in DMS; convert them for computation

Trigonometry

Convert angles to radians or decimals before evaluating sin/cos, common in code

Astronomy & navigation

Celestial coordinates and bearings use DMS; convert to match charts and data

Photography & drones

Quickly reconcile waypoint and gimbal angle formats across different software

Teaching math

Demonstrate sexagesimal versus decimal angles and the 60-based carry rules

About Degrees, Minutes and Seconds

What is DMS?

DMS is a sexagesimal notation for angles: a full circle is 360 degrees (°), one degree is 60 minutes (′) and one minute is 60 seconds (″), so one degree equals 3600 seconds. It originates from ancient Babylonian base-60 mathematics and is still used in surveying, astronomy, navigation and GPS.

What are decimal degrees (DD)?

Decimal degrees combine degrees, minutes and seconds into a single number, e.g. 45°30′00″ becomes 45.5°. It is easier to store, compute and query, and is the default in GIS, map APIs and programming languages.

Converting DMS and decimal degrees

Decimal = degrees + minutes/60 + seconds/3600. In reverse, the integer part is degrees; the remainder times 60 gives minutes; the new remainder times 60 gives seconds. For example 39.9075° → 39° + 0.9075×60 = 54.45′ → 39°54′ + 0.45×60 = 27″, i.e. 39°54′27″.

Degrees and radians

A radian is the SI unit of angle: the angle subtended when arc length equals radius. A full circle is 2π radians = 360°, so 180° = π radians and 1° = π/180 ≈ 0.0174533 radians. Calculus formulas for trig functions require radians.

Sign convention for coordinates

North latitude (N) and east longitude (E) are positive; south (S) and west (W) are negative. So Sydney is about −33.8688°, −151.2093°. When a decimal degree is negative the tool automatically infers S or W.

Common Angle Quick Reference

DMSDecimal degreesRadians
0°0′0″0°0
30°0′0″30°0.523599
45°0′0″45°0.785398
45°30′0″45.5°0.794125
60°0′0″60°1.047198
90°0′0″90°1.570796
180°0′0″180°3.141593
39°54′27″39.9075°0.696904

DMS Calculator FAQ

Q: How do I convert DMS to decimal degrees?
A: Decimal = degrees + minutes/60 + seconds/3600. For example 45°30′00″ = 45.5°. If the direction is S or W, make the result negative.
Q: How do I convert decimal degrees to DMS?
A: The integer part is degrees, multiply the remainder by 60 for minutes, then again for seconds. E.g. 45.5° = 45°30′00″. Floating point errors are corrected automatically.
Q: How do degrees and radians convert?
A: Radians = degrees × π / 180; degrees = radians × 180 / π. E.g. 180° = π ≈ 3.141593 rad, 90° ≈ 1.570796 rad.
Q: What do N/S/E/W mean?
A: Latitude uses N (north, positive) and S (south, negative); longitude uses E (east, positive) and W (west, negative). The tool infers direction from the sign.
Q: Can minutes and seconds be decimals?
A: Yes, e.g. 12°30.5′ = 12°30′30″. But minutes and seconds must be under 60; invalid values are flagged.