geoprimsField-grade geospatial math

Coordinates in degrees, minutes, and seconds

Writes a latitude and longitude as degrees, minutes, and seconds, with hemisphere letters or signs and a chosen number of decimal places on the seconds.

48°51'30.1"N 2°17'40.1"E

48°51'30.1"N 2°17'40.1"E, precise to about 3.09 m on the ground.

Latitude resolution
Longitude resolution
Provenance
Computed by
geodesy.parse.format-dms 1.0.0, core 0.1.0
Model
Rounding carried across components; resolution from the WGS 84 radii of curvature
Accuracy
Exact formatting; resolution is the ground size of one unit in the last place
Notes
None
Cites
International Organization for Standardization, Geographic Point Location, ISO 6709

Something look off?

Your values

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

Loading…

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

Model: Rounding carried across components; resolution from the WGS 84 radii of curvature

Accuracy: Exact formatting; resolution is the ground size of one unit in the last place

When to use this: Use this when a position has to be read aloud, written on a plan, or matched to a chart or a legal description that uses degrees, minutes, and seconds. Enter the latitude and longitude in decimal degrees and choose the decimal places on the seconds; three is the default, about three centimeters. The ground size of the last digit comes back with the text.

Limitations: The text is rounded once, at the seconds, so a value a hair under a whole minute prints as the next minute rather than as 60 seconds. No datum is applied or converted. Seconds of longitude cover less ground toward the poles than seconds of latitude, and both sizes are reported. Software that expects decimal degrees will not read this notation without parsing it first.

Worked example: The Eiffel Tower to a tenth of a second. Source: ISO 6709 sexagesimal notation. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.

You enter

Decimal places
1
Latitude
48.85837 deg
Longitude
2.294481 deg

You get

Formatted
48°51'30.1"N 2°17'40.1"E
Latitude resolution
3.09 m
Longitude resolution
2.04 m

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: 22 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Constants this tool assumes

Values you do not enter, and where each comes from.

WGS 84 semi-major axis
6378137 m — Department of Defense World Geodetic System 1984
WGS 84 inverse flattening
298.257223563 — Department of Defense World Geodetic System 1984

Sources