Decimal to DMS Converter

Decimal
DMS
Decimal
DMS

Decimal → DMS Conversion Guide

📐 Conversion Formula
// DMS ↔ Decimal Degrees conversion
// DMS format: DD°MM'SS.SS"[N/S/E/W]
// Decimal: DD.DDDDD°

// DMS → Decimal:
Decimal = Degrees + Minutes/60 + Seconds/3600
// Apply sign: N/E = positive, S/W = negative

// Decimal → DMS:
Degrees = floor(|Decimal|)
Minutes = floor((|Decimal| - Degrees) × 60)
Seconds = (|Decimal| - Degrees - Minutes/60) × 3600
Direction = Decimal >= 0 ? (lat ? 'N' : 'E') : (lat ? 'S' : 'W')

// Example:
// 40°26'46"N = 40 + 26/60 + 46/3600 = 40.446°N
// 79°58'56"W = -(79 + 58/60 + 56/3600) = -79.982°W

DMS (Degrees, Minutes, Seconds) and Decimal Degrees are two common formats for representing geographic coordinates. Converting between them is a purely mathematical operation with no geodetic transformation involved.

📋 Operation Steps
  1. Enter your Decimal coordinates in the input field (latitude, longitude, one pair per line)
  2. Click the Convert button to transform coordinates from Decimal to DMS
  3. Review the converted DMS coordinates in the output field
  4. Copy the results or save them as an XLSX file for further use
💡 Tips
  • Ensure coordinates are within valid ranges before conversion
  • For batch conversions, enter one coordinate pair per line
  • Verify a sample of converted coordinates on your target platform
  • All conversions are performed client-side for complete data privacy

Frequently Asked Questions