GPS Coordinate Conversion Calculator

Chart plotters, aviation databases, survey reports and mapping websites all quote latitude and longitude differently, and typing one format into a device expecting another is a reliable way to end up somewhere you did not intend. This calculator converts a position between decimal degrees, degrees with decimal minutes, and degrees-minutes-seconds, in either direction, handling the hemisphere signs for you. It also reports the UTM zone and how much ground a degree of longitude covers at your latitude.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Format you are enteringPick the format your source uses; every other format is produced in the results table.Degrees, minutes, seconds - 40° 26′ 46″ N
Latitude degreesWhole degrees of latitude, entered as a positive number - the hemisphere selector carries the sign.40 °
Latitude minutesWhole minutes in degrees-minutes-seconds, or decimal minutes when you selected that format.26 ′
Latitude secondsSeconds of arc; one second of latitude is about 30.9 metres anywhere on Earth.46 ″
Latitude hemisphereNorth gives a positive decimal value, south a negative one.North
Longitude degreesWhole degrees of longitude as a positive number, with the hemisphere selector carrying the sign.79 °
Longitude minutesWhole minutes in degrees-minutes-seconds, or decimal minutes when you selected that format.58 ′
Longitude secondsSeconds of arc of longitude; their ground distance shrinks with the cosine of the latitude.56 ″
Longitude hemisphereEast gives a positive decimal value, west a negative one.West
Latitude in decimal degreesSigned value with north positive and south negative; six decimal places resolve about 11 cm.40.446111 °
Longitude in decimal degreesSigned value with east positive and west negative, the convention used by mapping links and GIS files.-79.982222 °

It returns

  • Latitude in decimal degrees — Positive north, negative south.
  • Longitude in decimal degrees — Positive east, negative west.
  • UTM zone
  • Longitude scale at this latitude — Nautical miles covered by one degree of longitude: 60 x cos(latitude).
  • Ground distance of 0.001′ of longitude — What the last digit of a chart plotter's longitude readout is worth on the ground.

The formula

DD=±(D+M60+S3600)
M=(DDD)60
scale=60cosφ

In plain text: DD = ± (D + M/60 + S/3600)

  • DDDecimal degrees, negative for south latitude and west longitude (degrees)
  • DWhole degrees (degrees)
  • MMinutes of arc (minutes)
  • SSeconds of arc (seconds)

Sixty minutes make a degree and sixty seconds make a minute, exactly as with time. The sign is applied to the whole bracket, which is why a west longitude of 79° 58′ becomes -79.9667 rather than -79 + 0.9667.

Updated Category Marine Navigation, Tides & Seamanship Verified against published test cases Reading time 12 min

Three formats for the same point, and why they all exist

A latitude and longitude is an angle measured at the centre of the Earth, and angles have been written down in three different ways for three different reasons. All three describe the same point; only the notation differs.

Degrees, minutes and seconds is the oldest, inherited from Babylonian sexagesimal arithmetic by way of every navigator since. It survives on topographic maps, in property descriptions, in survey reports and in older aviation publications. Degrees and decimal minutes is what almost every marine chart plotter, GPS receiver and aviation database uses, because a minute of latitude is a nautical mile, so keeping minutes visible keeps distance visible. Decimal degrees is what computers use — mapping URLs, GeoJSON files, spreadsheets and GIS software — because arithmetic on a single number is trivial and arithmetic on three sexagesimal fields is not.

The conversion is straightforward but the failure mode is not. Typing 40° 26.767′ into a field that expects 40.26767° puts you 10.7 nautical miles from where you meant to be, and both numbers look entirely plausible. That silent, self-consistent error is the reason a conversion tool earns its place in a navigation workflow, and the reason this page always shows all three forms side by side.

The arithmetic, and where the sign belongs

Going from sexagesimal to decimal is a single expression: divide the minutes by 60, divide the seconds by 3,600, and add both to the whole degrees. Then apply the hemisphere sign to the entire result, not to the degrees alone. That last point causes more errors than the division does. West longitude 79° 58′ 56″ is −79.982222, not −79 + 0.982222 = −78.017778. That is 1.9644° of longitude, which at this latitude is 1.9644 × 60 × cos(40.446°) = about 90 nautical miles away — a real place, and the wrong one.

Going the other way, take the absolute value, split off the whole degrees, and multiply the remainder by 60 to get minutes. If you want seconds as well, split off the whole minutes and multiply that remainder by 60 again. So 40.446111° gives 0.446111 × 60 = 26.76666′, and 0.76666 × 60 = 46.00″.

Precision is worth understanding numerically. One minute of latitude is one nautical mile — 1,852 metres — by definition, which is where the nautical mile came from. One second of latitude is therefore 1,852 ÷ 60 = 30.87 metres. In decimal degrees, the fourth decimal place is 11.1 metres and the sixth is 11 centimetres. On a chart plotter showing three decimal places of minutes, the last digit is 1.85 metres of latitude. Any digits beyond those are describing a precision the position itself does not have.

Longitude is different, and this is the part people forget. Meridians converge towards the poles, so a degree of longitude covers 60 nautical miles only at the equator and 60 × cos φ nautical miles at latitude φ. At 60° north that is exactly 30 NM; at 80° it is 10.4 NM. This is the classic departure relation of plane sailing, and it is why the great circle distance calculator cannot simply subtract coordinates, and why the same number of decimal places means something different for the two coordinates.

Worked example: converting 40° 26′ 46″ N, 79° 58′ 56″ W

This is a position in western Pennsylvania, written the way a topographic map would give it. Convert it to the decimal degrees a mapping link needs.

  1. Latitude minutes. 26 ÷ 60 = 0.433333°.
  2. Latitude seconds. 46 ÷ 3,600 = 0.012778°.
  3. Add to the degrees. 40 + 0.433333 + 0.012778 = 40.446111°. North, so positive.
  4. Longitude minutes. 58 ÷ 60 = 0.966667°.
  5. Longitude seconds. 56 ÷ 3,600 = 0.015556°.
  6. Add, then apply the sign. 79 + 0.966667 + 0.015556 = 79.982222, and west makes it −79.982222°.

Now go back the other way and produce the plotter format. Take 0.446111 × 60 = 26.7667′, so the latitude is 40° 26.767′ N. Take 0.982222 × 60 = 58.9333′, so the longitude is 79° 58.933′ W. Notice that the minutes figure has moved from 26 to 26.767 — the seconds have been folded into it, and anyone reading 26.767 as seconds would be nearly half a mile out.

Finally, the UTM zone. Zones are six degrees of longitude wide, numbered from 1 starting at 180° W, so the zone is ⌊(longitude + 180) ÷ 6⌋ + 1 = ⌊(−79.982222 + 180) ÷ 6⌋ + 1 = ⌊16.67⌋ + 1 = zone 17. At this latitude, one degree of longitude covers 60 × cos(40.446°) = 45.66 NM, against a full 60 NM for a degree of latitude.

Checking a converted position before you trust it

Run three checks on any coordinate you have converted, and they will catch nearly every real-world mistake.

Check the hemisphere. The most damaging errors are sign errors, because they move you to the wrong continent while leaving the digits looking right. A negative latitude is southern; a negative longitude is western. If you are working in North America, longitude should be negative and between about −52 and −168.

Check the magnitude of the minutes. Minutes and seconds are always less than 60. A value of 71.5 minutes means someone has mixed a decimal fraction into a sexagesimal field, or has typed seconds where minutes belong. This calculator flags it rather than silently accepting the arithmetic.

Check the decimal against the sexagesimal. The fractional part of a decimal degree is always the minutes divided by 60, so a position at 26 minutes has a fractional part near 0.43, and one at 45 minutes has a fractional part near 0.75. If a converted decimal ends in the same digits as the original minutes — 40.26 for 40° 26′ — the conversion has not happened at all. That single check catches the most common format confusion there is.

One caution about datums. All of these formats express the same angle, but an angle is only a position once you say which reference ellipsoid and datum it is measured against. Modern GPS output, aviation charts and most web mapping use WGS 84, and the conversions on this page are datum-neutral: they change notation, not the reference frame. Older surveys quoted on NAD 27, OSGB36 or a local datum can differ from WGS 84 by tens or even hundreds of metres for the same written coordinate, and that shift is a separate transformation this calculator does not perform.

What each digit of precision is worth on the ground

Latitude figures are valid everywhere; longitude figures must be multiplied by the cosine of the latitude.
UnitIn degreesLatitude distanceWhere you see it
1 degree160 NM / 111.1 kmChart grid lines
1 minute0.0166671 NM / 1,852 mDefinition of the nautical mile
0.1 minute0.001667185.2 mOlder GPS displays
0.001 minute0.00001671.85 mModern chart plotters
1 second0.00027830.87 mTopographic maps, surveys
0.0001 degree0.000111.1 mFour-decimal web coordinates
0.00001 degree0.000011.11 mFive-decimal web coordinates
0.000001 degree0.0000010.111 mSix-decimal GIS output

Distances follow from one minute of latitude being one nautical mile, 1,852 m, by definition. A degree of latitude is 60 NM, which is 111.12 km.

How far a degree of longitude reaches, by latitude

Longitude scale = 60 × cos(latitude), the departure relation used in plane sailing.
Latitudecos φNautical miles per degreeKilometres per degree
0° (equator)1.00060.0111.1
15°0.96658.0107.3
30°0.86652.096.2
40°0.76646.085.1
45°0.70742.478.6
51.5°0.62337.469.2
60°0.50030.055.6
70°0.34220.538.0
80°0.17410.419.3
90° (pole)0.0000.00.0

Kilometre figures use 1 NM = 1.852 km. This spherical relation is what navigators use; on the WGS 84 ellipsoid a degree of longitude at the equator is about 60.1 NM, a difference of two parts in a thousand.

Mistakes that put a position in the wrong place

  • Reading decimal minutes as decimal degrees. 40° 26.767′ is not 40.26767°. The error is 0.178 degrees of latitude, which is 10.7 nautical miles, and both numbers look entirely reasonable on screen.
  • Applying the hemisphere sign to the degrees only. West 79° 58′ is −79.9667, not −78.0333. Negate the whole value after adding the minutes and seconds.
  • Mixing minutes and seconds in one field. Entering 26.767 into a minutes field alongside 46 in a seconds field counts the same arc twice.
  • Assuming the source is WGS 84. A coordinate on a local datum can be tens or hundreds of metres from the same written coordinate on WGS 84, and no notation conversion will reveal it.
  • Quoting more digits than the fix supports. Six decimal places implies 11 cm. A handheld GPS receiver is doing well to give you three metres, so the extra digits are noise dressed as precision.
  • Forgetting that longitude gets narrower. Two positions a tenth of a degree apart in longitude are 6 NM apart at the equator and 3 NM apart at 60° latitude. Use the great circle distance calculator rather than subtracting coordinates.
  • Dropping the leading zero on longitude. Aviation and marine practice writes longitude with three digits — 007° 25′ E, not 7° 25′ E — precisely so that a truncated field is obvious.

Why a minute of latitude is a nautical mile

The nautical mile was defined as the length of one minute of arc along a meridian, which is what makes a latitude scale on a chart also a distance scale — the reason navigators measure distance from the side of the chart and never from the top or bottom. Because the Earth is slightly flattened, that arc length is not quite constant, running from about 1,843 m near the equator to about 1,862 m near the poles, so in 1929 the international nautical mile was fixed at exactly 1,852 metres. The practical rule survives intact: one minute of latitude is one nautical mile, everywhere, near enough for navigation.

Coordinates in a wider navigation workflow

A converted coordinate is usually the input to something else. Once a position is in decimal degrees it feeds distance and bearing calculations directly — see the great circle distance calculator for the spherical trigonometry, and the dead reckoning position calculator for advancing a position by a course and distance run. Both need signed decimal degrees, which is exactly why the conversion matters.

Grid systems sit alongside geographic coordinates rather than replacing them. UTM divides the world into 60 zones of six degrees of longitude and expresses position in metres east and north within a zone, which suits ground survey and military use because distances are computed with ordinary arithmetic. The zone number this calculator reports is the first thing you need for that conversion; the eastings and northings require a projection calculation. Aviation adds its own shorthand in the ARINC 424 five-character identifiers used in flight management systems, which encode a coordinate in a form that fits a database field.

For work near land, remember that a coordinate is only as good as the chart it is plotted on. Many charts of remote areas still carry survey data from the nineteenth century, and their datum shifts can exceed the size of the hazards they show — which is why chart notes about datum are worth reading before trusting a GPS position plotted on paper. Practical seamanship problems that depend on position, such as working out how much rode to lay with the anchor scope calculator or how far you can see with the distance to horizon calculator, are downstream of getting the position itself right.

Key terms

Latitude (φ)
Angular distance north or south of the equator, from 0° to 90°. One minute of latitude is one nautical mile everywhere.
Longitude (λ)
Angular distance east or west of the prime meridian, from 0° to 180°. The ground distance it represents shrinks as the cosine of the latitude.
Degrees and decimal minutes (DDM)
The format used by nearly all marine chart plotters and GPS receivers, written as 40° 26.767′ N. Keeps minutes visible so that distance stays readable.
Datum
The reference ellipsoid and its orientation to the Earth. WGS 84 is the datum GPS uses; the same written coordinate on another datum can be a different physical place.
UTM zone
One of 60 six-degree bands of longitude used by the Universal Transverse Mercator grid, numbered eastwards from the 180th meridian.
Departure
The east-west distance corresponding to a change of longitude, equal to the longitude difference in minutes multiplied by the cosine of the latitude.

Frequently asked questions

How do I convert degrees, minutes and seconds to decimal degrees?

Divide the minutes by 60, divide the seconds by 3,600, add both to the whole degrees, then make the result negative for south latitude or west longitude. For 40° 26′ 46″ N that is 40 + 26÷60 + 46÷3600 = 40.446111°. The sign must be applied to the whole sum, not just to the degrees, which is the mistake that produces positions hundreds of miles adrift.

What is the difference between DDM and DMS?

DDM keeps whole degrees and expresses everything smaller as decimal minutes, as in 40° 26.767′. DMS breaks the minutes down further into whole minutes and seconds, as in 40° 26′ 46″. Chart plotters and GPS receivers almost always use DDM because one minute is one nautical mile; maps and survey documents usually use DMS because it predates decimal displays.

Which format should I type into my chart plotter?

Degrees and decimal minutes, unless the unit is explicitly set to another format. Check the setting before entering a waypoint, because most plotters will accept whatever digits you type into the fields on screen without questioning whether the number means what you think. Entering a seconds figure into a decimal-minutes field treats 46 seconds as 46 minutes, moving the position by 45 nautical miles.

How many decimal places do I need?

Three decimal places of minutes resolves 1.85 metres and five decimal degrees resolves 1.11 metres; either is far finer than navigation needs. Four decimal degrees gives 11 metres, which suits a waypoint. Six decimal degrees implies 11 centimetres, a precision no handheld receiver delivers, so quoting it suggests an accuracy the fix does not have.

Why is a degree of longitude shorter than a degree of latitude?

Because meridians converge at the poles while parallels of latitude do not. A degree of latitude is always about 60 nautical miles, but a degree of longitude spans 60 × cos(latitude) nautical miles: 60 NM at the equator, 42 NM at 45°, 30 NM at 60° and nothing at all at the pole. This is why you measure distance from the latitude scale on the side of a chart and never from the longitude scale along the top.

What does the UTM zone number mean?

It identifies one of 60 north-south bands, each six degrees of longitude wide, used by the Universal Transverse Mercator grid. Zone 1 begins at 180° west and the numbers increase eastwards, so the zone is the whole part of (longitude + 180) ÷ 6, plus one. Converting a position into UTM eastings and northings requires the full projection calculation; the zone is only the first step.

Does converting the format change the datum?

No. Changing between DMS, DDM and decimal degrees is a notation change only, and the position is identical in all three. Changing datum - say from NAD 27 or OSGB 36 to WGS 84 - is a separate transformation that physically moves the point, sometimes by more than a hundred metres. If a coordinate came from an old chart or survey, find out its datum before plotting it on a GPS-derived chart.

Why does my converted longitude come out positive when it should be west?

Because the hemisphere has not been applied. In signed decimal notation, west longitudes and south latitudes are negative, and that is the convention mapping links, GeoJSON and GIS software expect. A position in North America should have a longitude between about −52 and −168; a positive value of similar magnitude puts you in central Asia.

How precise is a handheld GPS receiver anyway?

A modern consumer receiver with a clear view of the sky typically fixes position to a few metres, and augmentation systems improve that. That corresponds to roughly five decimal degrees or three decimal places of minutes. Quoting a position to six decimal degrees does not make it more accurate; it only records the receiver's internal rounding, and it can mislead anyone who later assumes centimetre-level survey precision.

References