Audited 31 Jul 2026·Last updated 08 Aug 2026·5 citations·Tier 1·0 uses

Coordinates Converter — Decimal Degrees and DMS

Convert latitude or longitude between signed decimal degrees and degrees-minutes-seconds with N, S, E and W hemisphere handling.

Coordinates Converter

Conversion
Coordinate component
Negative latitude is south; negative longitude is west. Latitude is limited further to ±90.
Hemisphere
Signed decimal degrees
-1.2864
Degrees, minutes, seconds
1° 17′ 11.0004″ S
Whole degrees
Arcminutes
17′
Arcseconds
11.0004″
Hemisphere
S

Background.

Geographic coordinates are often written in two equivalent notations. Decimal degrees put the whole angle in one signed number, such as −1.286389°. Degrees-minutes-seconds, usually shortened to DMS, splits the same angle into whole degrees, arcminutes and arcseconds and replaces the sign with a cardinal hemisphere, such as 1° 17′ 11.0004″ S. This calculator converts one labelled latitude or longitude component between those forms.

The coordinate type matters. Latitude measures north or south of the equator and is limited to 90 degrees in either direction. Longitude measures east or west of the prime meridian and is limited to 180 degrees. A negative latitude maps to S, a negative longitude maps to W, while positive values map to N or E. Zero has no negative direction, so this page displays zero latitude as N and zero longitude as E.

DMS is sexagesimal. One degree contains 60 arcminutes and one arcminute contains 60 arcseconds. To convert DMS to decimal, divide minutes by 60 and seconds by 3,600, add both to the whole degrees, then apply the hemisphere sign. South and west are negative; north and east are positive.

The reverse starts with the absolute decimal value. Keep its whole-number part as degrees. Multiply the remaining fraction by 60 and keep the whole part as minutes. Multiply the remaining minute fraction by 60 to obtain seconds. The original sign and coordinate type determine the final cardinal letter.

This page is deliberately stricter than a general angle converter. DMS degrees must be non-negative because direction belongs to the hemisphere field. Minutes must be a whole number from 0 through 59, seconds must be at least zero and below 60, and a coordinate exactly at a pole or antimeridian endpoint cannot carry extra minutes or seconds. Latitude also rejects the otherwise valid angle 120° because it lies outside the geographic range.

The conversion changes notation only. It does not change the coordinate reference system, datum, map projection or axis order. A point expressed in NAD83, ETRS89 or a local datum does not become WGS 84 merely because its degrees are rearranged. Use the dedicated latitude/longitude-to-UTM calculator only when the source coordinates are explicitly WGS 84 and a projected easting and northing are needed.

Precision deserves restraint. One decimal degree covers a large ground distance; extra digits can imply metre or centimetre accuracy. This converter faithfully carries the number entered, but it cannot improve the survey, receiver or map that produced it. Seconds are rounded to ten decimal places only at the output boundary, and a value that rounds to 60 is correctly carried into the next minute.

Longitude at +180° and −180° describes the same antimeridian from opposite sign conventions. The page preserves the sign-derived E or W label rather than wrapping it. Likewise, it does not combine latitude and longitude into one text string, so it cannot silently reverse axis order—a real interoperability problem because different systems publish lat/long and long/lat.

The worked example uses a latitude near central Nairobi. −1.286389° becomes 1° 17′ 11.0004″ S and converts back exactly at the displayed precision. The focused tests repeat that round trip for coordinates in both hemispheres and test the poles and antimeridian directly.

What is coordinates converter?

A geographic coordinate component is an angular position relative to the equator or prime meridian. Decimal degrees write the angle as one signed value. DMS writes the same value as whole degrees, arcminutes and arcseconds plus N, S, E or W. Conversion preserves the angle and datum; it changes only notation.

How to use this calculator.

  1. Choose decimal-to-DMS or DMS-to-decimal mode.
  2. Label the component as latitude or longitude so the correct limits and hemispheres apply.
  3. Enter either the signed decimal value or non-negative DMS components and a compatible cardinal direction.
  4. Read both forms and retain only the precision justified by the source measurement.
  5. Do not treat this notation conversion as a datum or map-projection transformation.

The formula.

decimal = sign × (degrees + minutes/60 + seconds/3600)

For DMS input, add whole degrees, minutes divided by sixty, and seconds divided by 3,600. Apply a negative sign for south or west. For decimal input, operate on the absolute value: floor it for degrees, multiply its fraction by sixty for minutes, then multiply the remaining fraction by sixty for seconds. The original sign maps to a hemisphere based on whether the component is latitude or longitude.

For −1.286389° latitude, the absolute remainder after one degree is 0.286389. Multiplying by 60 gives 17.18334, so minutes are 17. The remaining 0.18334 multiplied by 60 is 11.0004 seconds. Decimal.js carries the arithmetic and outputs round once to ten decimal places.

A worked example.

Example

Convert −1.286389° of latitude — Nairobi — to degrees, minutes and seconds. Work on the absolute value and let the sign choose the hemisphere: the negative latitude means South. The whole degrees are 1, leaving 0.286389°. Multiply by 60: 17.18334 minutes, so 17 whole minutes, leaving 0.18334′. Multiply by 60 again: 11.0004 seconds. Assembled: 1° 17′ 11.0004″ S. The two conventions carry the sign differently — decimal degrees use − for south and west, DMS uses the hemisphere letter — and mixing them (−1° 17′ S) double-negates into the wrong hemisphere. Precision is worth respecting too: the fourth decimal of a second is millimetres on the ground, but rounding seconds to whole numbers moves a point by up to ≈31 m, which is why surveying-grade coordinates keep the decimals this page preserves.

modedecimalToDms
seconds11
minutes17
coordinate Typelatitude
hemisphereS
decimal Degrees-1.286
degrees1

Frequently asked questions.

How do I convert DMS to decimal degrees?
Add degrees, minutes divided by 60, and seconds divided by 3,600. Make the result negative for south or west.
How do I convert decimal degrees to DMS?
Keep the whole absolute degrees, multiply the fraction by 60 for minutes, then multiply the remaining minute fraction by 60 for seconds.
Are south and west coordinates negative?
Yes in the signed decimal convention used here. North and east are positive; south and west are negative.
What are valid latitude and longitude ranges?
Latitude is −90° through +90°. Longitude is −180° through +180°. Endpoint coordinates cannot have extra minutes or seconds.
Does this convert coordinates to WGS 84?
No. It preserves whatever datum the source already uses and changes notation only.
Why must DMS degrees be non-negative?
The hemisphere supplies direction. Allowing both a sign and N/S/E/W would create conflicting double-negative inputs.
How accurate are many decimal places?
They preserve numeric precision but cannot create positional accuracy. Keep only digits justified by the GPS, survey or source map.
Should latitude or longitude come first?
Conventions differ, so this page converts one explicitly labelled component at a time and never guesses axis order.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
decimal = sign × (degrees + minutes/60 + seconds/3600)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon