ThisCalculator

Date and time

DMS Calculator: Degrees Minutes Seconds Explained

Updated · Standard formula, shown below

Degrees, minutes, seconds 45:30 h:mm:ss
Total seconds
163,800.00 s
Result
Decimal degrees
45.5 °
You entered

DMS Calculator: Degrees Minutes Seconds Explained

This calculator converts angles between decimal degrees and degrees, minutes, and seconds (DMS) format, and it also performs arithmetic on DMS values. You enter either a decimal degree value or separate degrees, minutes, and seconds, and the calculator returns the equivalent in the other format, plus the total seconds. It is a practical tool for navigation, surveying, astronomy, and any field that uses angular measurements.

Formula

The relationship between decimal degrees (DD) and degrees, minutes, and seconds (DMS) is:

DD = D + M/60 + S/3600

Where:

  • D = whole degrees (integer, 0–360 for most uses)
  • M = whole minutes (integer, 0–59)
  • S = seconds (decimal, 0–59.999…)

To convert from DD to DMS:

  1. Take the integer part of DD as D.
  2. Multiply the fractional part by 60; the integer part of that result is M.
  3. Multiply the remaining fraction by 60 again; that result is S.

For example, 45.5° = 45° + 0.5 × 60′ = 45°30′0″. The calculator applies this logic automatically and shows the DMS result in the format D°M′S″.

Worked Example

Using the default value of 45.5 decimal degrees:

  1. Whole degrees: 45
  2. Remainder: 0.5
  3. Minutes: 0.5 × 60 = 30
  4. Remainder: 0.0
  5. Seconds: 0.0 × 60 = 0

So 45.5° = 45°30′0″. The total seconds are 45.5 × 3600 = 163,800 seconds. The calculator shows the DMS as 45°30′0″ and the total seconds as 163800.00.

Why DMS Exists and Where It Is Used

Degrees, minutes, and seconds is a sexagesimal system (base 60) inherited from ancient Babylonian mathematics. It became standard in astronomy, cartography, and navigation because 60 has many divisors, making fractions easier to handle before decimal calculators existed.

Today, DMS remains common in:

  • GPS coordinates displayed on maps (e.g., 38°53′42″N 77°02′12″W)
  • Astronomical coordinates (right ascension and declination)
  • Land surveying and property boundaries
  • Aviation and maritime navigation charts
  • Photography (some camera mounts and star trackers)

Many modern GPS units let you switch between decimal degrees and DMS, but paper maps and legal documents often still use DMS. Having a quick converter avoids manual arithmetic errors.

How to Read the Result

The output shows the angle as degrees (°), minutes (′), and seconds (″). One degree equals 60 minutes, and one minute equals 60 seconds. Thus 1° = 60′ = 3600″.

When you see a coordinate like 45°30′0″, it means 45 degrees plus 30 minutes plus 0 seconds. The total seconds output is simply the entire angle expressed in seconds, which is useful for calculations that need a single unit.

For negative angles (e.g., -12°34′56″), the sign applies to the whole value. The calculator treats the decimal degree input as signed, so -12.5822° converts to -12°34′56″. You should keep the sign consistent when entering or reading coordinates.

Common Mistakes and How to Avoid Them

The most frequent error is mixing up minutes and seconds with decimal fractions. For instance, writing 45.30 instead of 45°30′ is wrong because 45.30 decimal degrees equals 45°18′0″ (since 0.30 × 60 = 18). Always remember that in DMS, the minutes and seconds are not decimal fractions of a degree.

Another mistake is forgetting that seconds can be decimal. A value like 45°30′30.5″ is valid; the calculator handles it if you input the decimal degree equivalent (45.508472…).

Rounding errors can occur when you convert back and forth. For example, 45°30′0″ is exactly 45.5°, but 45°30′1″ is 45.500277…°. If you round to four decimal places, you might get 45.5003°, and converting back may give a slightly different second. For precision work, keep more decimal places or use the total seconds output.

Choosing a DMS Calculator

When selecting a DMS calculator, consider these factors:

  • Input flexibility: Can you enter DMS directly (as three separate fields) or only decimal degrees? The best tools accept both.
  • Output format: Does it show DMS with the correct symbols and leading zeros? For example, 5°7′9″ should not appear as 5°7′9″ without zeros if you need fixed-width coordinates.
  • Sign handling: Does it correctly handle negative angles (west/south coordinates)? Some calculators ignore the sign, which is a serious error.
  • Arithmetic: If you need to add or subtract angles, the calculator should handle borrow/carry between seconds, minutes, and degrees automatically.
  • Precision: How many decimal places does it show for seconds? Surveying often needs 0.01″ precision, while casual use may only need whole seconds.

For most users, a simple converter like the one above is enough. If you are a land surveyor, you may need a dedicated survey calculator that also handles bearings and distances.

Alternatives to DMS

Decimal degrees (DD) are the most common alternative. They are simpler for computer calculations and are used by most mapping APIs and GPS devices. For example, 45.5° is easier to type into a spreadsheet than 45°30′0″.

Another alternative is radians, used in mathematics and physics. One full circle = 2π radians ≈ 6.28318 radians. To convert degrees to radians, multiply by π/180. This calculator does not handle radians, but you can convert manually or use a dedicated angle converter.

In specialized fields, you may see grads (400 grads per circle) or mils (6400 mils per circle), but these are rare outside military and surveying niches.

Frequently Asked Questions

How do I convert DMS to decimal degrees without a calculator?

Divide the seconds by 3600 and the minutes by 60, then add them to the degrees. For example, 45°30′0″ = 45 + 30/60 + 0/3600 = 45 + 0.5 + 0 = 45.5°. If you have 45°30′30″, it is 45 + 30/60 + 30/3600 = 45 + 0.5 + 0.00833 = 45.50833°.

Why are there 60 minutes in a degree?

The base-60 system comes from ancient Babylonian mathematics, which used sexagesimal numerals. Sixty is highly composite (divisible by 2, 3, 4, 5, 6, 10, 12, 15, 20, 30), making fractions easier to work with. The convention persisted for angular measurement and time.

Can I use this calculator for GPS coordinates?

Yes, but be careful with the sign. North and East are positive; South and West are negative. For example, 38°53′42″N is 38.8950° (positive), while 77°02′12″W is -77.0367° (negative). Enter the negative value for west/south coordinates.

What is the difference between DMS and decimal degrees?

DMS uses three separate units (degrees, minutes, seconds) with base-60 conversion, while decimal degrees expresses the whole angle as a single decimal number. Both represent the same angle; DMS is more human-readable for coordinates, while decimal degrees is easier for calculations.

How precise is a DMS coordinate?

One second of latitude is about 30.9 meters (101 feet). One second of longitude varies with latitude: at the equator it is also about 30.9 meters, but at 45° latitude it is about 21.8 meters (71.5 feet). So a coordinate given to the nearest second is accurate to roughly 30 meters, while 0.01″ is about 0.3 meters (1 foot).

What if my angle has more than 59 seconds?

That cannot happen in proper DMS notation. If you have 45°30′75″, you must carry the extra 15 seconds into the minutes: 75″ = 1′15″, so 45°31′15″. The calculator assumes you enter valid DMS, but if you use decimal degrees, it automatically normalizes the output.

Related

Formula used
in dec_deg | Decimal degrees | ° | 45.5 | 0
out dms | Degrees, minutes, seconds | - | dec_deg | time
out total_sec | Total seconds | s | dec_deg * 3600 | 2

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.