Table of Contents
Degree Minutes Seconds to degree decimal converter
Degree | Minute | Seconds | |
Formula
To convert from degrees minutes seconds to degree-decimal, we use the following steps,
- Divide the value provided in minutes by 60.
- Divide the value provided in seconds by 3600.
- If the value provided in degrees is positive, add the results from step #1 and #2 to that value.
- If the value provided in degrees is negative, subtract the results from step #1 and step #2 from that value.
Example
Convert $12^\circ\,12^{\prime}\,12^{\prime\prime}$ from degrees minutes seconds to degree decimal using the procedure above,
\begin{equation*} \begin{aligned} \text{deg} &: \frac{12^\circ}{1^\circ} = 12, \quad\text{min} : \frac{12^\prime}{60^\prime} = 0.2,\quad \text{sec} : \frac{12^{\prime\prime}}{3600^{\prime\prime}} = 0.003333333\newline\\ \text{dd} &: 12 + 0.2 + 0.003333333 \rightarrow 12.203333333 \end{aligned} \end{equation*}
2 thoughts on “HTML/JS: deg-min-sec to degree decimal”