Cal11 calculator

How to Calculate Degrees Minutes Seconds in Excel

Reviewed by Calculator Editorial Team

Degrees, minutes, and seconds (DMS) is a system of measuring angles commonly used in navigation, astronomy, and geography. This guide explains how to work with DMS in Excel, including conversion formulas, practical examples, and a built-in calculator.

What is Degrees Minutes Seconds (DMS)?

Degrees, minutes, and seconds (DMS) is an alternative to decimal degrees for measuring angles. One degree is divided into 60 minutes, and each minute is divided into 60 seconds. This system is particularly useful in fields like surveying, navigation, and cartography where precise angular measurements are required.

For example, 45°30'15" means 45 degrees, 30 minutes, and 15 seconds. In decimal degrees, this would be 45.504167°.

Why Use DMS in Excel?

Excel is a powerful tool for working with DMS data, especially when dealing with geographic coordinates, astronomical observations, or survey measurements. Excel's formulas allow you to convert between DMS and decimal degrees, perform calculations, and format results for clarity.

Excel Formulas for DMS Conversion

Excel provides several functions to work with DMS data. The most useful are:

1. Converting DMS to Decimal Degrees

To convert degrees, minutes, and seconds to decimal degrees, use the following formula:

=DEGREES + (MINUTES/60) + (SECONDS/3600)

Where:

  • DEGREES is the degrees value
  • MINUTES is the minutes value
  • SECONDS is the seconds value

2. Converting Decimal Degrees to DMS

To convert decimal degrees to DMS, use these formulas:

Degrees = INT(DECIMAL_DEGREES)
Minutes = INT((DECIMAL_DEGREES - Degrees) * 60)
Seconds = ((DECIMAL_DEGREES - Degrees) * 60 - Minutes) * 60

Where DECIMAL_DEGREES is the decimal degrees value you want to convert.

3. Formatting DMS in Excel

To display DMS values properly, you can use Excel's custom number formatting. Select the cells containing your DMS values and apply the following custom format:

0°00'00"

This will display values in the format of degrees, minutes, and seconds.

Step-by-Step Guide in Excel

Follow these steps to work with DMS in Excel:

Step 1: Enter Your DMS Data

Create a table with columns for degrees, minutes, and seconds. Enter your DMS values in these columns.

Step 2: Convert DMS to Decimal Degrees

In a new column, use the formula to convert DMS to decimal degrees:

=A2 + (B2/60) + (C2/3600)

Where A2 is the degrees cell, B2 is the minutes cell, and C2 is the seconds cell.

Step 3: Convert Decimal Degrees to DMS

If you have decimal degrees and want to convert them to DMS, use these formulas in separate columns:

Degrees: =INT(A2)
Minutes: =INT((A2 - INT(A2)) * 60)
Seconds: =((A2 - INT(A2)) * 60 - INT((A2 - INT(A2)) * 60)) * 60

Step 4: Format Your Results

Select the cells containing your DMS values and apply the custom format 0°00'00" to display them properly.

Step 5: Perform Calculations

Once your data is properly formatted, you can perform calculations with DMS values just like any other numerical data in Excel.

Worked Examples

Here are some practical examples of working with DMS in Excel:

Example 1: Converting DMS to Decimal Degrees

Suppose you have the DMS value 35°45'30". To convert this to decimal degrees:

=35 + (45/60) + (30/3600) = 35.758333°

Example 2: Converting Decimal Degrees to DMS

If you have the decimal degrees value 52.983333°, you can convert it to DMS as follows:

Degrees: =INT(52.983333) = 52°
Minutes: =INT((52.983333 - 52) * 60) = 59'
Seconds: =((52.983333 - 52) * 60 - 59) * 60 ≈ 0"

So, 52.983333° is equivalent to 52°59'0".

Example 3: Calculating with DMS

If you need to calculate the difference between two DMS values, first convert both to decimal degrees, perform the calculation, and then convert the result back to DMS if needed.

FAQ

How do I convert DMS to decimal degrees in Excel?
Use the formula =DEGREES + (MINUTES/60) + (SECONDS/3600) to convert DMS to decimal degrees. Replace DEGREES, MINUTES, and SECONDS with your actual values.
How do I format DMS values in Excel?
Select the cells containing your DMS values and apply the custom format 0°00'00" to display them properly.
Can I perform calculations directly with DMS values in Excel?
Excel doesn't natively support DMS calculations, so you'll need to convert DMS to decimal degrees first, perform your calculations, and then convert the result back to DMS if needed.
What is the difference between DMS and decimal degrees?
DMS (degrees, minutes, seconds) is a system of measuring angles where each degree is divided into 60 minutes, and each minute is divided into 60 seconds. Decimal degrees are a continuous measurement system where each degree is divided into 100 parts (decimal places).