DMS to Decimal Converter
DMS
Decimal
DMS
Decimal
DMS → Decimal 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°WDMS (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
- Enter your DMS coordinates in the input field (latitude, longitude, one pair per line)
- Click the Convert button to transform coordinates from DMS to Decimal
- Review the converted Decimal coordinates in the output field
- 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