Enter coordinates, use GPS, or click the map.
Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
Your coordinates are reverse-geocoded through the Nominatim OpenStreetMap geocoder, which returns the city, town, or village boundary the point falls inside, along with its county, state, and country.
- 2
The tool then forward-geocodes the city name to find its center point, and measures the straight-line distance and compass bearing from your point to that center with the haversine formula.
- 3
If the point sits in open water or a remote area with no mapped settlement, the tool says so plainly and shows the nearest named place the geocoder returns instead of guessing.
Common uses
- Naming the city in a GPS-tagged photo
- Labeling sensor or delivery points with their city
- Checking which town a hiking or field-work coordinate belongs to
Frequently asked questions
Paste the latitude and longitude above, press Find City, or click the spot on the map. The tool reverse-geocodes the point and shows the city, county, state, and country it belongs to.
More in Coordinate Reference
- Address to CoordinatesBatch convert up to 25 street addresses or city names into latitude and longitude coordinates. Copy results or download CSV.
- Coordinates to AddressConvert latitude and longitude coordinates back into street addresses, city, state, postal code, and country.
- Lat/Long FinderClick anywhere on the interactive map or search any location to instantly retrieve Decimal Degrees (DD), DMS, DMM, Geohash, and Plus Codes.
- Coordinate ConverterConvert between Decimal Degrees (DD), Degrees Minutes Seconds (DMS), Degrees Decimal Minutes (DMM), UTM, and Military Grid Reference System (MGRS).
- UTM <-> Lat/LongConvert Universal Transverse Mercator (UTM) Easting, Northing, Zone and Hemisphere to standard WGS84 Latitude and Longitude.
- Elevation FinderFind elevation above sea level for your live GPS location or any place on Earth. Toggle between feet and meters with topographic contour context.
- Elevation ProfileDraw a path or import a GPX file to generate an interactive elevation cross-section profile. Shows elevation gain, loss, max/min, and steepest grade.
- Time Zone FinderLook up the exact IANA time zone, current local time, UTC offset, and daylight saving status for any coordinate or city.
- Sun Position & TwilightCalculate sunrise, sunset, solar noon, dawn, dusk (civil, nautical, astronomical), current solar azimuth/elevation, and view the global day/night terminator.
- Antipode FinderFind the exact point on the opposite side of the Earth from any location (digging a straight hole through the Earth center).
- Coordinates to StateEnter any latitude and longitude to find the state at that point. US results include the two-letter USPS code; anywhere else you get the province or region name, plus the county when one is mapped.
- Coordinates to CountryEnter any latitude and longitude to find the country at that point, with its ISO 3166-1 alpha-2 code and flag. Points in the open ocean get an honest answer: no country, with the ocean named instead.
Sorting a Weekend of Drone Photos by City in Denver, Colorado
Elena flies a small drone for a Denver real-estate photographer, and by Sunday night she has three memory cards of aerial shots and a spreadsheet that needs a city name for every file. The drone stamps each photo with GPS coordinates, but coordinates alone do not tell the client anything. So Elena works through the list with the coordinates-to-city tool, pasting each pair in and writing down the city it returns, so the finished gallery can be sorted into clean, labeled folders the client can actually browse.
The first photo is tagged 39.7392, -104.9903 — a rooftop shot over downtown. The tool answers Denver, with Denver County, Colorado, and the United States underneath, and it adds that the city center sits almost on top of her point, a few hundred feet away. That tiny distance is the sanity check Elena likes: a downtown photo should come back as Denver with the center close by. The second file, 39.7475, -104.9424, was taken over the museum in City Park. It also returns Denver, but this time the center is about two and a half miles away to the west-southwest — same city, different neighborhood, and the distance line explains exactly why the number changed.
The third file nearly catches her out. It is tagged 39.6655, -105.2057, shot above the red sandstone fins west of the city, and Elena had already typed 'Denver' into the spreadsheet from habit. The tool returns Morrison instead — a small town in Jefferson County — and it is right: the photo was taken over Red Rocks, which sits inside Morrison, not inside Denver's city limits. She fixes the label, grateful the check took ten seconds. City limits are real lines in the map data, and a place everyone casually calls 'Denver' can honestly belong to the next town over.
By the end of the list Elena has one more lesson saved for next time. One test point she tried out of curiosity — 25.0000, -40.0000, in the middle of the Atlantic — came back with no city at all, just an honest note that no city, town, or village is mapped there. That is the behavior she wants from the tool: a real answer when a city exists, the nearest named place as context when it helps, and a plain 'nothing here' when the point is open water or empty country. Her spreadsheet ships with every city verified, and the client never sees a mislabeled photo. She also starts a habit for the next shoot: before trusting any label, she drops the day's first coordinate into the tool and confirms the city matches the town where she actually parked the car. Twice this month that ten-second check has caught a drone still holding the previous site's GPS lock — the kind of quiet error that would have mislabeled an entire afternoon of work.
Common mistakes to avoid
- Assuming the nearest big city is the answer. A point can sit two miles from downtown and still belong to a different town, because city limits are hard boundaries, not vibes. Red Rocks feels like Denver but is in Morrison. Always read the city the point actually falls in, not the famous city nearby.
- Reading the center distance as a driving distance. The distance shown is a straight line from your point to the city center, measured over the Earth's surface. Roads wind, so the drive will be longer. Use the bearing and distance for orientation and labeling, not for planning a route.
- Trusting a city name from a sloppy coordinate. Swapping latitude and longitude, or dropping a minus sign, moves the point to another continent or the ocean — and the tool will faithfully name whatever city is there. If the answer looks wrong, check the coordinate order and signs before blaming the lookup.
Pro tips
- Use the distance-to-center line as a quick sanity check: a downtown photo should return a small distance, a suburb a larger one.
- Test border neighborhoods deliberately — points just inside and just outside a city limit teach you how the boundaries really run.
- For a batch of photos, keep a simple log of coordinate, city, and distance; it makes mislabeled files easy to spot later.
Coordinates, Datums & Field Surveying: Finding Anything on Earth
Latitude and longitude are just the beginning. Learn the datums, grids, and projections behind every coordinate — and why mixing them up can move your point by hundreds of feet. Written for Coordinates to City — What City Are These Coordinates In? and the everyday mapping tasks around it.
Latitude & Longitude: The Global Address
Latitude measures how far north or south you are, from 0 at the equator to 90 at the poles. Longitude measures east or west from Greenwich, England, from 0 to 180. Together they name every spot on Earth with two numbers — the closest thing geography has to a universal address.
Coordinates come in three dialects. Decimal degrees write New York as 40.7128, -74.0060 — the format computers prefer. Degrees-minutes-seconds splits the same point into 40°42'46"N, 74°0'22"W, the traditional navigator's format. Degrees-decimal-minutes sits in between. All three describe the identical point; converters just translate the notation.
Precision has a simple scale. One degree of latitude is about 69 miles everywhere. Each decimal place you add zooms roughly tenfold: two decimals place you within half a mile, four decimals within 30 feet, and six decimals within 4 inches — more precision than consumer GPS can actually deliver.
Watch the signs. In decimal format, southern latitudes and western longitudes are negative. Forgetting the minus sign on a Chicago longitude (-87.6) teleports your point to central China. It is the most common coordinate mistake in existence.
Datums: The Invisible Foundation
Coordinates are meaningless without a datum — the mathematical model of the Earth they refer to. The global standard is WGS84, the datum your phone's GPS uses. But much American mapping still references NAD83, tuned for North America, and the two disagree by a few feet in places.
A few feet sounds trivial until it is not. Property lines, utility trenches, and runway thresholds all live in that margin. Mixing a WGS84 coordinate into a NAD83 dataset shifts every point slightly — usually harmless on a web map, potentially expensive on a construction site.
Older maps add more ghosts. The 1927 North American Datum (NAD27) can differ from modern coordinates by up to 300 feet in some regions. If you are digitizing a decades-old paper map or reading coordinates from a historic document, confirm the datum before trusting the numbers.
Europe went through the same evolution. Many countries mapped on national datums for a century before adopting the European ETRS89 system. Cross-border datasets must declare their datum or inherit silent errors.
This page shows the first two chapters. Read the complete Coordinates & Reference field guide →