Use the example rows or add your own. Then export the table as CSV or PDF.
| # | Input Type | Degrees | Minutes | Seconds | Decimal Degrees | Hemisphere | Converted |
|---|---|---|---|---|---|---|---|
| 1 | DMS | 73 | 59 | 59.88 | E | ||
| 2 | DEC | -33.865143 | S | ||||
| 3 | DMS | 40 | 26 | 46 | N |
DMS → Decimal Degrees
Let sign be +1 or −1 from hemisphere or degree sign. Formula:
decimal = sign × ( |deg| + min/60 + sec/3600 )
Decimal Degrees → DMS
Let a = |decimal|. Then:
D = floor(a),
M = floor( (a − D) × 60 ),
S = (a − D − M/60) × 3600.
Apply sign/hemisphere to D.
Validation: minutes range 0–59, seconds range 0–59.999…, decimal may be any real; hemisphere N/E is positive and S/W is negative.