Converting UTM to Latitude and Longitude (Or Vice Versa)

Steven Dutch, Natural and Applied Sciences, University of Wisconsin - Green Bay
First-time Visitors: Please visit Site Map and Disclaimer. Use "Back" to return here

Information on the UTM system
New! Javascript-Convert Between Geographic and UTM Coordinates
The Spreadsheet For UTM Conversion is no longer available
Help! My Data Doesn't Look Like A UTM Grid!

I get enough inquiries on this subject that I decided to create a page for it.

Caution! Unlike latitude and longitude, there is no physical frame of reference for UTM grids. Latitude is determined by the earth's polar axis. Longitude is determined by the earth's rotation. If you can see the stars and have a sextant and a good clock set to Greenwich time, you can find your latitude and longitude. But there is no way to determine your UTM coordinates except by calculation.

UTM grids, on the other hand, are created by laying a square grid on the earth. This means that different maps will have different grids depending on the datum used (model of the shape of the earth). I saw US military maps of Germany shift their UTM grids by about 300 meters when a more modern datum was used for the maps. Also, old World War II era maps of Europe apparently used a single grid for all of Europe and grids in some areas are wildly tilted with respect to latitude and longitude.

The two basic references for converting UTM and geographic coordinates are U.S. Geological Survey Professional Paper 1395 and U. S. Army Technical Manual TM 5-241-8 (complete citations below). Each has advantages and disadvantages. 

For converting latitude and longitude to UTM, the Army publication is better. Its notation is more consistent and the formulas more clearly laid out, making code easier to debug. In defense of the USGS, their notation is constrained by space, and the need to be consistent with cartographic literature and descriptions of several dozen other map projections in the book.

For converting UTM to latitude and longitude, however, the Army publication has formulas that involve latitude (the quantity to be found) and which require reverse interpolation from tables. Here the USGS publication is the only game in town.

Some extremely tiny terms that will not seriously affect meter-scale accuracy have been omitted.

Converting Between Decimal Degrees, Degrees, Minutes and Seconds, and Radians

(dd + mm/60 +ss/3600) to Decimal degrees (dd.ff)

dd = whole degrees, mm = minutes, ss = seconds

dd.ff = dd + mm/60 + ss/3600

Example: 30 degrees 15 minutes 22 seconds = 30 + 15/60 + 22/3600 = 30.2561

Decimal degrees (dd.ff) to (dd + mm/60 +ss/3600)

For the reverse conversion, we want to convert dd.ff to dd mm ss. Here ff = the fractional part of a decimal degree.

mm = 60*ff

ss = 60*(fractional part of mm)

Use only the whole number part of mm in the final result.

30.2561 degrees = 30 degrees

.2561*60 = 15.366 minutes

.366 minutes = 22 seconds, so the final result is 30 degrees 15 minutes 22 seconds

Decimal degrees (dd.ff) to Radians

Radians = (dd.ff)*pi/180

Radians to Decimal degrees (dd.ff)

(dd.ff) = Radians*180/pi

Degrees, Minutes and Seconds to Distance

A degree of longitude at the equator is 111.2 kilometers. A minute is 1853 meters. A second is 30.9 meters. For other latitudes multiply by cos(lat). Distances for degrees, minutes and seconds in latitude are very similar and differ very slightly with latitude. (Before satellites, observing those differences was a principal method for determining the exact shape of the earth.)

Converting Latitude and Longitude to UTM

Okay, take a deep breath. This will get very complicated, but the math, although tedious, is only algebra and trigonometry. It would sure be nice if someone wrote a spreadsheet (no longer available) to do this. Or better yet, a Javascript page.

P = point under consideration
F = foot of perpendicular from P to the central meridian. The latitude of F is called the footprint latitude.
O = origin (on equator)
OZ = central meridian
LP = parallel of latitude of P
ZP = meridian of P
OL = k0S = meridional arc from equator
LF = ordinate of curvature
OF = N = grid northing
FP = E = grid distance from central meridian
GN = grid north
C = convergence of meridians = angle between true and grid north

Another thing you need to know is the datum being used:

Datum Equatorial Radius, meters (a) Polar Radius, meters (b) Flattening (a-b)/a Use
NAD83/WGS84 6,378,137 6,356,752.3142 1/298.257223563 Global
GRS 80 6,378,137 6,356,752.3141 1/298.257222101 US
WGS72 6,378,135 6,356,750.5 1/298.26 NASA, DOD
Australian 1965 6,378,160 6,356,774.7 1/298.25 Australia
Krasovsky 1940 6,378,245 6,356,863.0 1/298.3 Soviet Union
International (1924) -Hayford (1909) 6,378,388 6,356,911.9 1/297 Global except as listed
Clake 1880 6,378,249.1 6,356,514.9 1/293.46 France, Africa
Clarke 1866 6,378,206.4 6,356,583.8 1/294.98 North America
Airy 1830 6,377,563.4 6,356,256.9 1/299.32 Great Britain
Bessel 1841 6,377,397.2 6,356,079.0 1/299.15 Central Europe, Chile, Indonesia
Everest 1830 6,377,276.3 6,356,075.4 1/300.80 South Asia

Don't interpret the chart to mean there is radical disagreement about the shape of the earth. The earth isn't perfectly round, it isn't even a perfect ellipsoid, and slightly different shapes work better for some regions than for the earth as a whole. The top three are based on worldwide data and are truly global. Also, you are very unlikely to find UTM grids based on any of the earlier projections.

The most modern datums (jars my Latinist sensibilities since the plural of datum in Latin is data, but that has a different meaning to us) are NAD83 and WGS84. These are based in turn on GRS80. Differences between the three systems derive mostly from redetermination of station locations rather than differences in the datum. Unless you are locating a first-order station to sub-millimeter accuracy (in which case you are way beyond the scope of this page) you can probably regard them as essentially identical.

The NAD83 and WGS84 datums

NIMA Technical Report 8350.2 states:

The WGS 84 Ellipsoid is for all practical purposes identical to the GRS 80 ellipsoid. They use the same value for the semi-major axis and have the same orientation with respect to the center of mass and the coordinate system origin. .... The difference between the GRS 80 and WGS 84 values for f creates a difference of 0.1 mm in the derived semi-minor [polar] axes of the two ellipsoids.
Based on these definitions, geodetic positions determined with respect to NAD 83 or WGS 84 have uncertainties of about one meter in each component. For mapping, charting and navigation, the two systems are indistinguishable at scales of 1:5,000 or smaller and with accuracies of about 2 m.

Formulas For Converting Latitude and Longitude to UTM

Note: This section is being updated according to the formulas of Karney (2010). Refer to the Appendix for the Army and USGS formulas.

A = a/( 1 + n ) (1 + (¼) n^2 + (1/64)n^4 + (1/256)n^6 + (25/16384)n^8 + (49/65536)n^10 + ...) 2piA= circumference of meridian.

α1 = (1/2)n − (2/3)n^2 + (5/16)n^3 + (41/180)n^4 - (127/288)n^5 + (7891/37800)n^6 + (72161/387072)n^7 - (18975107/50803200)n^8 + (60193001/290304000)n^9 + (134592031/1026432000)n^10 + ...

α2 = (13/48)n^2 - (3/5)n^3 + (557/1440)n^4 + (281/630)n^5 - (1983433/1935360)n^6 + (13769/28800)n^7 + (148003883/174182400)n^8 - (705286231/465696000)n^9 + (1703267974087/3218890752000)n^10 + ...

α3 = (61/240)n^3 - (103/140)n^4 + (15061/26880)n^5 + (167603/181440)n^6 - (67102379/29030400)n^7 + (79682431/79833600)n^8 + (6304945039/2128896000)n^9 - (6601904925257/1307674368000)n^10 + ...

α4 = (49561/161280)n^4 - (179/168)n^5 + (6601661/7257600)n^6 + (97445/49896)n^7 - (40176129013/7664025600)n^8 + (138471097/66528000)n^9 + (48087451385201/5230697472000)n^10 + ...

α5 = (34729/80640)n^5 - (3418889/1995840)n^6 + (14644087/9123840)n^7 + (2605413599/622702080)n^8 - (31015475399/2583060480)n^9 + (5820486440369/1307674368000)n^10 + ...

α6 = (212378941/319334400)n^6 - (30705481/10378368)n^7 + (175214326799/58118860800)n^8 + (870492877/96096000)n^9 - (1328004581729009/47823519744000)n^10 + ...

α7 = (1522256789/1383782400)n^7 - (16759934899/3113510400)n^8 + (1315149374443/221405184000)n^9 + (71809987837451/3629463552000)n^10 + ...

α8 = (1424729850961/743921418240)n^8 - (256783708069/25204608000)n^9 + (2468749292989891/203249958912000)n^10 + ...

α9 = (21091646195357/6080126976000)n^9 - (67196182138355857/3379030566912000)n^10 + ...

α10 = (77911515623232821/12014330904576000)n^10 + ...(24)/a)n^d/

β1 = (1/2)n^−/2/3)n^2 + (37/96)n^3 - (1/360)n^4 - (81/512)n^5 + (96199/604800)n^6 - (5406467/38707200)n^7 + (7944359/67737600)n^8 - (7378753979/97542144000)n^9 + (25123531261/804722688000)n^10 + ...

β2 = (1/48)n^2 + (1/15)n^3 - (437/1440)n^4 + (46/105)n^5 - (1118711/3870720)n^6 + (51841/1209600)n^7 + (24749483/348364800)n^8 - (115295683/1397088000)n^9 + (5487737251099/51502252032000)n^10 + ...

β3 = (17/480)n^3 - (37/840)n^4 - (209/4480)n^5 + (5569/90720)n^6 + (9261899/58060800)n^7 - (6457463/17740800)n^8 + (2473691167/9289728000)n^9 - (852549456029/20922789888000)n^10 + ...

β4 = (4397/161280)n^4 - (11/504)n^5 - (830251/7257600)n^6 + (466511/2494800)n^7 + (324154477/7664025600)n^8 - (937932223/3891888000)n^9 - (89112264211/5230697472000)n^10 + ...

β5 = (4583/161280)n^5 - (108847/3991680)n^6 - (8005831/63866880)n^7 + (22894433/124540416)n^8 + (112731569449/557941063680)n^9 - (5391039814733/10461394944000)n^10 + ...

β6 = (20648693/638668800)n^6 - (16363163/518918400)n^7 - (2204645983/12915302400)n^8 + (4543317553/18162144000)n^9 + (54894890298749/167382319104000)n^10 + ...

β7 = (219941297/5535129600)n^7 - (497323811/12454041600)n^8 - (79431132943/332107776000)n^9 + (4346429528407/12703122432000)n^10 + ...

β8 = (191773887257/3719607091200)n^8 - (17822319343/336825216000)n^9 - (497155444501631/1422749712384000)n^10 + ...

β9 = (11025641854267/158083301376000)n^9 - (492293158444691/6758061133824000)n^10 + ...

β10 = (7028504530429621/72085985427456000)n^10 + ...


Converting UTM to Latitude and Longitude

Note: This section is being updated according to the formulas of Karney (2010). Refer to the Appendix for the Army and USGS formulas.

In response to innumerable e-mails, you cannot use UTM grid coordinates without knowing your zone. There are sixty points on the earth's surface that have the same numerical UTM coordinates, 120 if you consider that northing is duplicated in both hemispheres.

A Spreadsheet Program (No Longer Available)

Before linking to the program, note (especially the last item):

JavaScript Page to Convert Between Geographic and UTM Coordinates


Yay! Most of these are on-line now.

Snyder, J. P., 1987; Map Projections - A Working Manual. U.S. Geological Survey Professional Paper 1395, 383 p. If you are at all serious about maps you need this book. On-line at

Army, Department of, 1973; Universal Transverse Mercator Grid, U. S. Army Technical Manual TM 5-241-8, 64 p. Superseded by DMATM 8358.2 The Universal Grids: Universal Transverse Mercator (UTM) and Universal Polar Stereographic (UPS).  
On-line at

NIMA Technical Report 8350.2, "Department of Defense World Geodetic System 1984, Its Definition and Relationships with Local Geodetic Systems," Second Edition, 1 September 1991 and its supplements. The report is available from the NIMA Combat Support Center and its stock number is DMATR83502WGS84. Non-DoD requesters may obtain the report as a public sale item from the U.S. Geological Survey, Box 25286, Denver Federal Center, Denver, Colorado 80225 or by phone at 1-800-USA-MAPS. On-line at

Karney, Charles F.F., 2010, Transverse Mercator with an accuracy of a few nanometers, Provides accuracy to within nanometers (a few atoms). Supersedes Snyder and Army, above.


These are the formulas based on the original Army and USGS methods. They are superseded by the formulas given by Karney (2010, above. They are retained here for anyone wanting information on the older Army and USGS formulas.

Formulas For Converting Latitude and Longitude to UTM

These formulas are slightly modified from Army (1973). They are accurate to within less than a meter within a given grid zone. The original formulas include a now obsolete term that can be handled more simply - it merely converts radians to seconds of arc. That term is omitted here but discussed below.


Calculate the Meridional Arc

S is the meridional arc through the point in question (the distance along the earth's surface from the equator). All angles are in radians.

The USGS gives this form, which may be more appealing to some. (They use M where the Army uses S)

This is the hard part. Calculating the arc length of an ellipse involves functions called elliptic integrals, which don't reduce to neat closed formulas. So they have to be represented as series.

Converting Latitude and Longitude to UTM

All angles are in radians.

y = northing = K1 + K2p2 + K3p4, where

x = easting = K4p + K5p3, where

Easting x is relative to the central meridian. For conventional UTM easting add 500,000 meters to x.

What the Formulas Mean

The hard part, allowing for the oblateness of the Earth, is taken care of in calculating S (or M). So K1 is simply the arc length along the central meridian of the zone corrected by the scale factor. Remember, the scale is a hair less than 1 in the middle of the zone, and a hair more on the outside.

All the higher K terms involve nu, the local radius of curvature (roughly equal to the radius of the earth or roughly 6,400,000 m), trig functions, and powers of e'2 ( = .007 ). So basically they are never much larger than nu. Actually the maximum value of K2 is about nu/4 (1,600,000), K3 is about nu/24 (267,000) and K5 is about nu/6 (1,070,000). Expanding the expressions will show that the tangent terms don't affect anything.

If we were just to stop with the K2 term in the northing, we'd have a quadratic in p. In other words, we'd approximate the parallel of latitude as a parabola. The real curve is more complex. It will be more like a hyperbola equatorward of about 45 degrees and an ellipse poleward, at least within the narrow confines of a UTM zone. (At any given latitude we're cutting the cone of latitude vectors with an inclined plane, so the resulting intersection will be a conic section. Since the projection cylinder has a curvature, the exact curve is not a conic but the difference across a six-degree UTM zone is pretty small.)  Hence the need for higher order terms. Now p will never be more than +/-3 degrees = .05 radians, so p2 is always less than .0025 (1/400) and p4 is always less than .00000625 (1/160000). Using a spreadsheet, it's easy to see how the individual terms vary with latitude. K2p2 never exceeds 4400 and K3p4 is at most a bit over 3. That is, the curvature of a parallel of latitude across a UTM zone is at most a little less than 4.5 km and the maximum departure from a parabola is at most a few meters.

K4 is what we'd calculate for easting in a simple-minded way, just by calculating arc distance along the parallel of latutude. But, as we get farther from the central meridian, the meridians curve inward, so our actual easting will be less than K4. That's what K5 does. Since p is never more than +/-3 degrees = .05 radians, p3 is always less than .000125 (1/8000). The maximum value of K5p3 is about 150 meters.

That Weird Sin 1" Term in the Original Army Reference

The Army reference defines p in seconds of arc and includes a sin 1" term in the K formulas. The Sin 1" term is a holdover from the days when this all had to be done on mechanical desk calculators (pre-computer) and terms had to be kept in a range that would  retain sufficient precision at intermediate steps. For that small an angle the difference between sin 1" and 1" in radians is negligible. If p is in seconds of arc, then (psin 1") merely converts it to radians.

The sin 1" term actually included an extra factor of 10,000, which was then corrected by multiplying by large powers of ten afterward.

The logic is a bit baffling. If I were doing this on a desk calculator, I'd factor out as many terms as possible rather than recalculate them for each term. But perhaps in practice the algebraically obvious way created overflows or underflows, since calculators could only handle limited ranges.

In any case, the sin1" term is not needed any more. Calculate p in radians and omit the sin1" terms and the large power of ten multipliers.

Converting UTM to Latitude and Longitude

In response to innumerable e-mails, you cannot use UTM grid coordinates without knowing your zone. There are sixty points on the earth's surface that have the same numerical UTM coordinates, 120 if you consider that northing is duplicated in both hemispheres.

y = northing, x = easting (relative to central meridian; subtract 500,000 from conventional UTM coordinate).

Calculate the Meridional Arc

This is easy: M = y/k0.

Calculate Footprint Latitude

footprint latitude fp = mu + J1sin(2mu) + J2sin(4mu) + J3sin(6mu) + J4sin(8mu), where:

Calculate Latitude and Longitude

lat = fp - Q1(Q2 - Q3 + Q4), where:

long = long0 + (Q5 - Q6 + Q7)/cos(fp), where:

What Do The Formulas Mean?

As the sketch above shows, because of the poleward curve of parallels, the footprint latitude is always greater than the true latitude. Q1 is just a scaling coefficient and is constant for any given fp. The tangent term basically means the closer to the pole you are, the faster the parallels curve. Q2 is a quadratic term in x. Again, as with converting from geographic coordinates to UTM, we approximate the parallel as a parabola and add higher order corrections.

To determine longitude, we make a simple minded approximation that longitude is proportional to easting, but then, since fp is too large, the true longitude is smaller, since it lies on a parallel closer to the the equator. The divisor cos(fp) corrects for the varying length of degrees of longitude as latitude varies.

Return to Professor Dutch's Home Page
Created 12 September 2003, Last Update 04 May 2015
Not an official UW Green Bay site