geoprimsField-grade geospatial math

Degrees, minutes, and seconds to decimal degrees

Reads a latitude and longitude written in degrees, minutes, and seconds and returns them as decimal degrees.

-33.9461111°

That is -33.9461111°, 151.1772222° (DMS).

Longitude
Notation
DMS
Provenance
Computed by
geodesy.parse.parse-dms 1.0.0, core 0.1.0
Model
geoprims coordinate grammar (ISO 6709 notations, NGA MGRS)
Accuracy
Exact: every notation converts by exact arithmetic
Notes
None
Cites
International Organization for Standardization, Geographic Point Location, ISO 6709; National Geospatial-Intelligence Agency, Military Grid Reference System, NGA.STND.0037

Something look off?

Your values

Showing an example. Change anything.
Run many at once from a CSV

Loading…

How we got thisFormula, worked example, sources, and proof

Model: geoprims coordinate grammar (ISO 6709 notations, NGA MGRS)

Show your work

  1. Notation

    which way the position was written

    33°56'46"S 151°10'38"E = DMS

  2. Longitude

    read from that notation, east positive

    33°56'46"S 151°10'38"E = 151.1772222°

  3. Latitude

    read from that notation, north positive

    33°56'46"S 151°10'38"E = -33.9461111°

The same steps an agent gets from the MCP server with explain: true.

Accuracy: Exact: every notation converts by exact arithmetic

When to use this: Use this when a position comes from a chart, a deed, a survey plan, or a photo's metadata in degrees, minutes, and seconds, and the next step needs decimal degrees. Paste the text as written, with symbols, spaces, or dashes between the parts and hemisphere letters or signs. The tool returns the decimal latitude and longitude and the cleaned-up text.

Limitations: Only degrees, minutes, and seconds are accepted here, so a decimal pair, a grid reference, or another notation is refused with a note of what it reads as; the any-notation reader takes those. Text can still be ambiguous about which number is the latitude or which hemisphere an unsigned value means, and the assumption made is stated. No datum is applied: the numbers are whatever datum the text was on.

Worked example: Sydney Airport from a chart. Source: ISO 6709 notation, read by exact arithmetic.

You enter

Coordinate
33°56'46"S 151°10'38"E

You get

Latitude
-33.9461111°
Longitude
151.1772222°
Notation
DMS
DMS
33°56'46.000"S 151°10'38.000"E

Review: Not yet independently reviewed by a geodesist.

Last verified: 2026-09-18, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.

Status: version 1.0.0, core 0.1.0. See this tool in the verification report.

Checked against: 24 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Sources

Terms

DMS: degrees, minutes, seconds
An angle written as whole degrees, minutes (1/60 degree), and seconds (1/3600 degree), like 40°26'46". Source: ISO 6709 Geographic point location