How to find the UTM zone of a Shapefile
- Put the Shapefile parts in one ZIP:
.shp,.shxand.dbf, plus the.prjif you have it. - Drop the ZIP into the box above.
- Read the zone, the hemisphere and the EPSG code. Use Copy to take the EPSG code to your GIS software.
How the detection works
- The tool opens the ZIP in your browser and reads the geometry of every Shapefile in it.
- If a
.prjis present, the coordinates are transformed to latitude and longitude with it. Without a.prjthey are taken as latitude and longitude as they are. - It finds the extent of the data: the northernmost, southernmost, easternmost and westernmost coordinates.
- The centre of that extent decides the zone. The zone number is
floor((longitude + 180) / 6) + 1, and the hemisphere is north when the centre latitude is zero or above. - It then checks whether the extent reaches into another zone or across the equator, and tells you if it does.
The EPSG code shown is the WGS 84 one: 32600 + zone in the north, 32700 + zone in the south. Many countries also have UTM zones on a national datum, for example NAD83 in North America or ETRS89 in Europe. Those have different EPSG codes for the same zone number. If your project specifies a datum, keep the zone and look up the code for that datum.
UTM zones in short
UTM divides the world into 60 zones, each 6 degrees of longitude wide, numbered eastwards from 180° W. Each zone has its own central meridian, where the map distortion is smallest, and each is split into a northern and a southern half. Coordinates are in meters, which makes UTM practical for measuring distance and area.
| City | Longitude | Zone | EPSG (WGS 84) |
|---|---|---|---|
| New York | 74.0° W | 18 North | EPSG:32618 |
| São Paulo | 46.6° W | 23 South | EPSG:32723 |
| London | 0.1° W | 30 North | EPSG:32630 |
| Cape Town | 18.4° E | 34 South | EPSG:32734 |
| Nairobi | 36.8° E | 37 South | EPSG:32737 |
| Tokyo | 139.7° E | 54 North | EPSG:32654 |
| Sydney | 151.2° E | 56 South | EPSG:32756 |
Two areas do not follow the 6 degree rule: south-west Norway is widened into zone 32, and Svalbard uses zones 31, 33, 35 and 37. The detector applies these. UTM itself is defined from 80° S to 84° N.
When the data spans more than one zone
A dataset that crosses a zone boundary can still be stored in one zone. Distortion grows as you move away from the central meridian, so the usual choice is the zone that holds most of the data, which is the one this tool reports. For data that covers several zones, such as a whole country or a long pipeline, a single UTM zone is a poor fit. Keep the data in latitude and longitude, or use a national or continental projection made for that area.
Data that crosses the equator has the same choice between the north and south version of a zone. Both describe the same grid; they differ only in the number added to the northing. Pick one and use it for the whole dataset.
What this tool cannot do
- A projected Shapefile without a .prj. If the coordinates are in meters and the
.prjis missing, the file itself does not say where on Earth the data is, so the zone cannot be read from it. The tool stops and tells you. Ask the source for the.prjor for the name of the coordinate system. - Reprojecting. The detector reports the zone and does not change the file. To move the data into that zone, export or project the layer in QGIS or ArcGIS and choose the EPSG code shown here.
- Other formats. Only zipped Shapefiles are read.
Common problems
The ZIP cannot be read
The ZIP needs at least .shp, .shx and .dbf with the same name, for example roads.shp, roads.shx, roads.dbf. If it still fails, export the layer again from your GIS software.
My layer lands in the wrong place in GIS software
The layer has been given a coordinate system that does not match its numbers, often the wrong zone or the wrong hemisphere. Assigning a coordinate system only changes the label. To change the numbers you have to reproject (in QGIS: export the layer with a new CRS; in ArcGIS: the Project tool).
The file is larger than 3 MB
The detector reads files up to 3 MB. The zone depends only on where the data is, so a small extract of the same layer gives the same answer.
GaleriGIS Toolbox
$15 per month
- No conversion limit on every GaleriGIS online converter
- Several files at once, and larger files
- DWG and DXF in any UTM zone or EPSG code, KML/KMZ, Shapefile, GeoJSON, Excel and coordinates
- Files stay in your browser. Billed monthly, cancel any time
Payments are processed by Creem, our merchant of record. See our refund policy and terms.
Frequently asked questions
Is my file uploaded?
No. The ZIP is opened and read inside your browser. We record that the tool was used, without the file name, its content or the result.
Is there a limit?
No. This tool is free, has no file count and does not ask for your details.
I only have one coordinate, not a Shapefile
Work it out from the longitude: divide (longitude + 180) by 6, round down and add 1. For example, longitude -74 gives zone 18. Positive latitudes are in the northern hemisphere and negative latitudes in the southern.
What can I do with the Shapefile next?
Convert it for Google Earth with the SHP to KML converter, or open it in GaleriGIS Pro, our Windows app, to put it on satellite imagery, style it and print a map layout.
More GaleriGIS tools
- KML to SHP converter
- SHP to KML converter
- KMZ to SHP converter
- SHP to KMZ converter
- KML to Excel converter
- KMZ to Excel converter
- Excel to KML converter
- GeoJSON to SHP converter
- SHP to GeoJSON converter
- DWG to KML converter
- DWG to SHP converter
- DXF to KML converter
- DXF to SHP converter
- KML and KMZ viewer