Skip to content
FlipConverto home

Latitude and Longitude Converter

A lat long converter that reads any position — decimal degrees, DMS, DDM, UTM, MGRS or a UK grid reference — and gives it back in every format, with UTM to lat long, eastings and northings, Web Mercator x/y and a list mode. Everything is worked out on this page.

Loading Latitude and Longitude Converter…

Runs entirely in your browser. What you enter stays on your device — nothing is sent to a server. Verify it yourself

How do you convert latitude and longitude to decimal degrees?

Add degrees + minutes ÷ 60 + seconds ÷ 3,600, and make it negative for south or west. 40°42'46.08"N is 40.7128 and 74°00'21.6"W is −74.006. For UTM, MGRS or a UK grid reference, the converter does the projection maths for you.

Cost
Free, no limits
Upload
None — runs on your device
Sign-up
Not required
Works offline
Yes, once loaded

How to convert lat long to decimal degrees

  1. Paste or type a position

    A latitude, longitude pair in decimal, DMS or DDM — or UTM, MGRS or a UK grid reference. The page says how it read it.

  2. Read every format

    Decimal degrees, DMS, DDM, GeoJSON order, UTM, MGRS, British National Grid (inside Great Britain) and Web Mercator, each with a Copy button.

  3. Use the other tabs for grids and lists

    UTM/MGRS, UK grid and x/y convert back to latitude and longitude; List converts many lines at once and downloads a CSV.

Examples

  • 40°42'46.08"N, 74°00'21.60"W40.712800, −74.006000

    DMS to decimal degrees.

  • 40.7128, −74.00618T 583959 E 4507351 N · 18T WL 83959 07350

    UTM and MGRS.

  • 51.5007, −0.1246TQ 30269 79640

    British National Grid, Westminster.

  • −122.4194, 37.774937.774900, −122.419400

    Read as longitude first, because −122 can't be a latitude.

  • x −8238310.24, y 4970071.5840.712800, −74.006000

    Web Mercator to latitude and longitude.

Key features of the Latitude and Longitude Converter

  • One box reads decimal, DMS, DDM, UTM, MGRS and UK grid references, and says how it read them
  • UTM and MGRS both ways, with the Norway and Svalbard zone exceptions and band-letter handling
  • British National Grid eastings, northings and grid references, using Ordnance Survey's Helmert transformation
  • Web Mercator (EPSG:3857) x/y both ways
  • List mode: many positions in, a table and a CSV out
  • Precision card showing what each decimal place means at your latitude
  • Map links and address search that send nothing until you click

Coordinate formats

Latitude and longitude

  • Decimal degrees
  • DMS (40°42'46.08"N)
  • DDM (40°42.768'N)
  • Signed or N/S/E/W
  • GeoJSON [lon, lat]

Grids (WGS 84)

  • UTM zone, band or hemisphere, easting, northing
  • MGRS, 1 m to 100 km
  • Web Mercator x/y (EPSG:3857)

Great Britain

  • OS grid reference (TQ 30080 80960)
  • Easting and northing (OSGB36)

Lists

  • One position per line, mixed formats
  • CSV download

When should you use this?

  • Turning GPS coordinates from a phone, camera or handheld unit into decimal for a map or a spreadsheet.
  • Converting UTM or MGRS from a map, a field form or a search-and-rescue brief to latitude and longitude.
  • Reading an Ordnance Survey grid reference or eastings and northings as GPS coordinates.
  • Cleaning up a column of mixed-format coordinates and downloading it as CSV.
  • Checking that a pair is valid and the right way round before sharing it.

Limitations

  • Latitude and longitude are treated as WGS 84. NAD83, NAD27 and other datum changes are not applied — NOAA's NCAT does US datums.
  • The British grid conversion uses OS's Helmert transformation, with an error up to 3.5 m (95%); OSTN15 is needed for survey accuracy.
  • State plane, Irish grid, UPS (polar) and local site grids are not converted.
  • Addresses are not looked up on this page; the map links open a search on the map site you choose.
  • Decimal commas are not accepted: write 40.7128, not 40,7128.

Troubleshooting

The UTM result is in the wrong hemisphere

Check the letter: as a band, C–M are south and N–X north. Remove the letter from the zone box and choose the hemisphere if you meant N or S as a hemisphere.

Eastings and northings won't convert

UTM eastings lie between about 166,000 and 834,000 m and need a zone; British grid values must be within 0–700,000 E and 0–1,300,000 N. Check they aren't swapped.

My British grid result is a few metres from the OS map

The Helmert transformation has an error up to 3.5 m (95%). OS's OSTN15 gives about 0.1 m.

It says to use at most one hemisphere letter

Put N or S on the latitude only and E or W on the longitude only, or use a minus sign instead of the letter.

Common mistakes to avoid

  • Dropping the minus sign or the W from a western longitude — it moves the point to the other side of the world.
  • Swapping latitude and longitude, especially when copying from GeoJSON or x, y data.
  • Reading a UTM band letter as a hemisphere: band S is north of the equator.
  • Subtracting minutes and seconds from a positive western longitude in a spreadsheet instead of negating the whole value.
  • Reading DDM minutes as seconds: 42.768' is 42 minutes 46.08 seconds.

Pro tips

Tips for better results

  • Sharing

    Latitude first, and name the datum

    Write latitude first, then longitude, and name the datum when you share coordinates.

  • Precision

    Six decimal places is plenty

    Six decimal places is about 11 cm — more adds digits, not accuracy.

  • UTM

    The letter after the zone matters

    Give UTM as zone, band or hemisphere, easting, northing — the letter matters.

  • MGRS

    A reference is a square, not a point

    An MGRS reference is a square; converting it gives the south-west corner.

Three ways to write latitude and longitude

Decimal degrees (DD) write each coordinate as one number: 40.7128, −74.0060. Degrees, minutes and seconds (DMS) split a degree into 60 minutes and a minute into 60 seconds: 40°42'46.08"N. Degrees and decimal minutes (DDM), common on marine charts and handheld GPS units, keep the minutes as a decimal: 40°42.7680'N. All three are the same point. Google’s help pages show its search box accepting each of them — “41.40338, 2.17403”, “41°24'12.2"N 2°10'26.5"E” and “41 24.2028, 2 10.4418”.

Converting between the three
From → toMethodExample
DMS to decimaldegrees + minutes ÷ 60 + seconds ÷ 3,600; negative for S or W40°42'46.08"N = 40 + 0.7 + 0.0128 = 40.7128
Decimal to DMSwhole degrees; the rest × 60 = minutes; that remainder × 60 = seconds−74.006 = 74°00'21.60"W
DDM to decimaldegrees + decimal minutes ÷ 6040°42.768' = 40.7128
Decimal to DDMwhole degrees; the rest × 60 = decimal minutes40.7128 = 40°42.7680'

Rounding has to carry. 40.05° is exactly 40°03'00", but a converter that rounds the seconds on their own can print 40°02'60" — a value that doesn’t exist. This one rounds the whole value in hundredths of a second first, so 59.996" becomes the next minute.

Two slips come up again and again on mapping forums. One is applying a minus sign to the degrees only: in a GIS Stack Exchange question, −122°40'04.08" came out as −121.33, because −122 + 40/60 + 4.08/3600 adds the minutes in the wrong direction. The sign belongs to the whole value — 122.6678, then negative — which this converter does. The other is typing degrees and decimal minutes as if they were decimal degrees. A geocacher on Reddit entered “N 61 06.733 E010 28.004” as 61.06733, 10.28004 and landed “several kilometers off to the West and South”; the right reading is 61.11222, 10.46673. Paste the coordinate as written and the converter works out which format it is.

Signs, hemispheres and which number comes first

Latitude runs from −90 at the South Pole to 90 at the North Pole; longitude from −180 to 180, negative west of Greenwich. A minus sign and a hemisphere letter mean the same thing, so S 33.8688 and −33.8688 are the same latitude — but not both at once, which this page refuses rather than guessing. Dropping the W from a western longitude moves the point to the other side of the world.

Maps and most notations put latitude first; Google’s help says “Enter the latitude coordinate first before the longitude coordinate.” Data formats often do the opposite. GeoJSON (RFC 7946) says the first two elements “are longitude and latitude, or easting and northing, precisely in that order”, and anything written as x, y is longitude first too. If a pasted pair has a first number above 90, it can’t be a latitude, so this converter reads it as longitude, latitude and tells you it did. The confusion is old and common: “Does Y mean latitude and X mean longitude in every GIS software?” is one of the most-viewed questions on GIS Stack Exchange, with over 550,000 views.

How many decimal places do GPS coordinates need?

One degree of latitude is about 111 km, so each decimal place is a tenth of the last. Longitude degrees shrink towards the poles — 1° of longitude is 111.3 km at the equator, 78.8 km at 45° and 55.8 km at 60° on the WGS 84 ellipsoid. The converter’s precision card shows the distances for the latitude you enter.

Decimal places of a degree at the equator
Decimal placesExampleAbout
140.711.1 km
240.711.1 km
340.713111 m
440.712811 m
540.712801.1 m
640.71280011 cm

The GeoJSON standard puts it the same way: “6 decimal places … amounts to about 10 centimeters.” That is already finer than the reading it came from — GPS.gov says “GPS-enabled smartphones are typically accurate to within a 4.9 m (16 ft.) radius under open sky”, and worse near buildings and trees. In DMS, one second of latitude is about 31 m and 0.01" about 30 cm. As one r/gis reply put it, “Whenever you see 16 digits… somebody is using 64-bit floating point” — the digits come from the computer, not the GPS.

UTM to lat long, and back

The Universal Transverse Mercator grid gives a position in metres: a zone, an easting and a northing, such as 18T 583959 E 4507351 N for 40.7128, −74.0060. In the words of the US National Geospatial-Intelligence Agency (NGA), “UTM grid zones extend 3° in longitude in each direction from the central meridian to form 60 UTM grid zones, each 6° wide… Zone 1 extends from 180°W to 174°W.” Each zone puts 500,000 m of easting on its central meridian, so eastings stay positive; northings start at 0 at the equator in the north and at 10,000,000 m at the equator in the south. The scale factor on the central meridian is 0.9996 exactly, and NGA notes that within a zone “the variation from ground distance may be as much as 1 part in 1,000.”

UTM covers 80°S to 84°N; NGA’s standard says the polar caps use the Universal Polar Stereographic (UPS) grid instead. Two areas break the 6° rule: “Zone 32 has been widened to 9° (at the expense of zone 31) between latitudes 56° N and 64° N” for southern Norway, and around Svalbard, between 72°N and 84°N, zones 32, 34 and 36 don’t exist and 31, 33, 35 and 37 are widened. The converter applies both.

The letter after the zone is the trap. Some tools write a hemisphere, 18N or 18S. Others write the latitude band: “twenty latitude bands are lettered C through X, omitting I and O,” each 8° tall except X. Bands C to M are south of the equator and N to X north — so band S, 32°–40°N, is in the northern hemisphere, and “13S” can mean two places on opposite sides of the equator. When someone on r/gis was handed “NAD27 UTM Zone 11S”, the replies were “S designates a band of latitude rather than the hemisphere” and “Ask them for an example coordinate.” Leave the letter off altogether and an easting and northing “could be in 120 different places in the world (60 zones x N/S)”, as another reply noted. In the UTM tab, typing a letter in the zone box means a band; to give a hemisphere, leave the letter off and choose it. A pasted “S” is read as band S when the northing fits 32°–40°N, and the page says so.

The maths here is Karney’s 6th-order series for the transverse Mercator projection, which his 2011 paper shows has errors “less than 5 nm within 3900 km of the central meridian” — far beyond the edge of any UTM zone.

MGRS

The Military Grid Reference System writes a UTM position with letters for the 100 km square: 18T WL 83959 07350 is the same point as above. It reads as zone and band (18T), a two-letter 100 km square (WL), then equal numbers of easting and northing digits — five each for 1 m, four for 10 m, down to one for 10 km. NGA’s rule is that shorter references are made “not by rounding values… but by truncation”, so an MGRS reference names the south-west corner of a square, not its centre; converting one back gives that corner. For zones below 10, NGA says software should accept both 5NAB123123 and 05NAB123123 but write only the second, which this page does. “Converting MGRS to Lat/Lon or UTM” has over 41,000 views on GIS Stack Exchange, and an r/excel user asked how to turn a pasted list of MGRS references into latitude and longitude for Google Earth — which is what the List tab does.

Eastings and northings in Great Britain

Ordnance Survey maps use the British National Grid: an easting and northing in metres from a false origin that OS places “400 km west and 100 km north of the ‘true origin’ on the central meridian at 49N 2W”, or a grid reference with two letters for the 100 km square — TQ 30080 80960 is easting 530080, northing 180960, in central London. The grid sits on a different datum, OSGB36, so changing between it and GPS latitude and longitude needs a datum transformation as well as a projection.

This page uses Ordnance Survey’s published seven-parameter Helmert transformation, and is checked against OS’s own worked example. OS is clear about its limits: “The error is up to 3.5 metres (95%) both horizontally and vertically,” and “Do not use it for points outside Britain.” For survey work, OS calls OSTN15 “the definitive OSGB36/ETRS89 transformation”, good to about 0.1 m. Ireland and Northern Ireland use their own grids (the Irish Grid and Irish Transverse Mercator), which this converter doesn’t cover.

Datums: WGS 84, NAD83 and NAD27

A latitude and longitude only mean something with a datum. GPS uses WGS 84, which NGA defines with a semi-major axis of 6,378,137 m and flattening 1/298.257223563; its current realization, WGS 84 (G2296), has been in NGA’s GPS orbit and clock products since 7 January 2024. Ordnance Survey warns that “different systems of latitude and longitude in common use today can disagree on the coordinates of a point by more than 200 metres.”

  • NAD83, the official datum in the United States, differs from WGS 84 by about two to four metres: NOAA says NAD 83 “is misaligned to the earth’s center by about 2.2 meters.”
  • NAD27, on older US maps, is much further off: an NGS article on its NADCON tool says positions change “between 10-100 meters in the conterminous United States” and more than 200 m in Alaska and Puerto Rico.
  • OSGB36, under the British grid: handled here by the Helmert step above.

This converter treats every latitude and longitude as WGS 84. It changes notation and projection, not US datums; for NAD83 or NAD27 use NOAA’s NCAT tool. NOAA is preparing new reference frames to replace NAD83, but its own pages say the current system “will remain the official NSRS” until a formal vote and transition, and its beta tools are open for testing “until at least March 2027.”

State plane coordinates

The US State Plane Coordinate System splits each state into one or more zones, each with its own Lambert conformal conic or transverse Mercator projection (oblique Mercator in one Alaska zone); NOAA describes SPCS 83 as 125 zones. Coordinates are on NAD83, in metres or feet, and you need the zone to convert them. This page doesn’t convert state plane: NOAA’s NCAT does, between state plane, UTM, US National Grid and latitude/longitude on NAD83 or NAD27, and takes files of points — the answer to a GIS Stack Exchange question, with 45,000 views, from someone with “1000's of data point” in North Central Texas zone 4202 who found “online calculators convert one entry at a time.” In another, Ohio North coordinates converted in code ended up “somewhere in Hudson Bay”: the feet had been taken as metres and x and y swapped. One unit detail matters: NIST and NOAA deprecated the US survey foot after 31 December 2022, but say NGS “will continue to support the U.S. survey foot for components of the NSRS where it is used now” — so check which foot your state plane coordinates use; the two differ by 2 parts per million. The direction trips surveyors up too. A US survey foot (1200/3937 m) is slightly longer than an international foot (0.3048 m), so, as an r/Surveying reply put it, “If your coordinates are in US feet, the numbers will get larger when you convert them to international feet.” At a state plane easting of 2,000,000 ft the change is about 4 ft.

x and y coordinates to lat long

“x, y” only converts if you know the coordinate system. Web maps use Web Mercator (EPSG:3857), the x/y tab here: metres east and north on a sphere the size of the WGS 84 equator, reaching ±20,037,508 m at ±180° and cut off at ±85.05112878° latitude. The EPSG registry calls it “Not a recognised geodetic system” that gives “errors of 0.7 percent in scale” — fine for showing a map, not for measuring. x/y from a CAD drawing, a survey or a GIS file may instead be UTM, state plane, a national grid or a local site grid; look for the EPSG code or projection in the file’s metadata before converting. If there is none, the numbers alone won’t say — “You can’t determine the projection… just from the coordinates,” as a GIS Stack Exchange answer puts it, and the most-voted answer to “Identifying Coordinate System of Shapefile when Unknown” (79,000 views) is to test guesses against data you trust. For a CAD drawing delivered with no coordinate system, the consensus in a 35-comment r/gis thread was to send it back and ask.

Address to lat long

Turning an address into coordinates (geocoding) needs a database of addresses, so it always means sending the address to a service. This page doesn’t do that: its Address tab opens your search on OpenStreetMap or Google Maps only when you click. To copy coordinates from Google Maps on a computer, right-click the place — the latitude and longitude are at the top of the pop-up; on Android, touch and hold an unlabelled spot to drop a pin. For many US addresses at once, the US Census Bureau’s geocoder accepts a batch of up to 10,000, and warns that “Coordinate results are interpolated” along the street, not measured at the door. OpenStreetMap’s free Nominatim service allows “an absolute maximum of 1 request per second” and discourages bulk geocoding. Volume is where people get stuck: an r/excel user reverse-geocoding 800,000 rows found that methods “work for 50 or 100 rows” but freeze beyond 1,000, and an r/gis user was quoted about $60 in credits for 15,000 points on a commercial platform. On phones, posts on r/GoogleMaps from 2024 to 2026 complain that coordinates have become harder to find in the app; the desktop right-click still shows them.

Lat long to decimal in Excel or Google Sheets

For degrees, minutes, seconds and hemisphere in separate cells B2:E2 — with either a minus sign on the degrees or a letter — decimal degrees are:

=(ABS(B2)+C2/60+D2/3600)*IF(OR(B2<0,E2="S",E2="W"),-1,1)

For text such as 40°42'46.08"N or −122°40'4.08" in A2, with straight ' and " marks:

=(ABS(LEFT(A2,FIND("°",A2)-1))+MID(A2,FIND("°",A2)+1,FIND("'",A2)-FIND("°",A2)-1)/60+MID(A2,FIND("'",A2)+1,FIND("""",A2)-FIND("'",A2)-1)/3600)*IF(OR(LEFT(A2)="-",RIGHT(A2)="S",RIGHT(A2)="W"),-1,1)

And decimal longitude in A2 back to DMS, rounding the seconds before splitting so they never show 60 (use "S" and "N" for latitude):

=INT(ROUND(ABS(A2)*3600,2)/3600)&"°"&INT(MOD(ROUND(ABS(A2)*3600,2),3600)/60)&"'"&TEXT(MOD(ROUND(ABS(A2)*3600,2),60),"0.00")&""""&IF(A2<0,"W","E")

We tested all three in LibreOffice Calc (Excel and Google Sheets use the same functions): they give 40.7128, −122.6678 (not −121.33) and 74°0'21.60"W, and 10.99999999 becomes 11°0'0.00" rather than 10°59'60". With zero degrees, a minus sign in a number cell is lost (−0 is 0), so for 0°07'39"W put W in the hemisphere cell; the formula gives −0.1275. Two slips in popular spreadsheet tutorials are subtracting minutes and seconds from a western longitude typed as a positive number (74°00'23"W is −74.0064, not 73.9936) and searching for curly quotes that a typed coordinate doesn’t have. For many rows at once, paste the column into the List tab here and download the CSV.

Privacy

The Latitude and Longitude Converter runs entirely in your browser. What you enter and the result it produces stay on your own device — nothing is sent anywhere, because nothing needs to be.

You can confirm this rather than take our word for it: open your browser’s developer tools, watch the Network tab, and use the tool. No request carries your input. It also keeps working with the connection off.

Details are in the privacy policy.

What next?

When the places you are locating are in different time zones.

Convert time between zones

Latitude and Longitude Converter — questions

How do I convert lat long to decimal?

Decimal = degrees + minutes ÷ 60 + seconds ÷ 3,600, negative for S or W. 40°42'46.08"N is 40 + 42/60 + 46.08/3600 = 40.7128.

How do I convert decimal degrees to DMS?

Keep the whole degrees, multiply the decimal part by 60 for minutes, then multiply the minutes' decimal part by 60 for seconds. −74.006 becomes 74°00'21.60"W.

How do I convert UTM to lat long?

You need the zone (1–60), the hemisphere or band letter, the easting and the northing. Enter them in the UTM tab — 18T 583959 E 4507351 N gives 40.7128, −74.0060 — or paste them into the box on the first tab.

Does the S in a UTM zone like 13S mean southern hemisphere?

Not always. As a latitude band letter, S covers 32°–40°N, in the northern hemisphere; some tools use N and S for hemispheres instead. Bands C–M are south of the equator, N–X north.

How do I convert eastings and northings to lat long?

For the British National Grid, use the UK grid tab with either a grid reference (TQ 30080 80960) or easting and northing in metres (530080, 180960). The result is WGS 84 latitude and longitude, with Ordnance Survey's Helmert transformation (error up to 3.5 m, 95%).

How many decimal places should GPS coordinates have?

Five decimals is about 1.1 m and six about 11 cm. A phone's GPS is typically accurate to about 4.9 m under open sky (GPS.gov), so more than six decimals adds digits, not accuracy.

Is WGS 84 the same as NAD83?

No, though they are close: about two to four metres apart in the US, according to NOAA. NAD27 differs from both by 10 to 100 m in the lower 48 states. This page works in WGS 84; NOAA's NCAT tool converts US datums.

Can I convert state plane coordinates here?

No. State plane needs the zone and its NAD83 projection; NOAA's NCAT tool converts state plane to latitude and longitude. This page covers decimal degrees, DMS, DDM, UTM, MGRS, the British grid and Web Mercator.

How do I get lat long from an address?

Use the Address tab to open the place on OpenStreetMap or Google Maps, then copy the coordinates: on a computer, right-click the place in Google Maps and click the numbers at the top. This page doesn't send the address anywhere itself.

Which order do latitude and longitude go in?

Latitude first in maps and most notations (51.5007, −0.1246). GeoJSON and x, y data put longitude first. If a pasted first number is over 90, the converter reads the pair as longitude, latitude and says so.

Why is my DMS to decimal conversion off by about a degree?

The minus sign was probably applied to the degrees only. −122°40'04.08" is −(122 + 40/60 + 4.08/3600) = −122.6678, not −122 + 0.6678 = −121.33. Apply the sign, or the S/W, to the whole value.

Why do some converters show 60 seconds?

They round the seconds without carrying into the minutes, so 40.05° comes out as 40°02'60" instead of 40°03'00". This converter rounds the whole value first.

Sources

Part of Unit Converters · Browse every tool