MapTools
coordinates refFree · No signup

Coordinates to Country — What Country Are These Coordinates In?

Enter 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.

Or use your location:
On-Device Only
…or just click anywhere on the map below.
These Coordinates Are In
Looking up…

Enter coordinates, use GPS, or click the map.

Decimal Degrees (DD)
48.856600, 2.352200
The same point you entered, at six-decimal precision (about 4 inches / 10 cm).
Degrees, Minutes, Seconds (DMS)
48° 51' 23.76" N, 2° 21' 7.92" E
The same point in the classic chart format used on paper maps and in aviation and sailing.
Loading Google Maps JavaScript Canvas...
Click any location on the map — land or sea — to find out which country it belongs to.

Runs entirely in your browser — your inputs never leave this page.

How this tool works

  1. 1

    Your coordinates are reverse-geocoded through the Nominatim OpenStreetMap geocoder, which reports the country whose mapped boundary contains the point.

  2. 2

    The tool displays the country name with its ISO 3166-1 alpha-2 code from the geocoder result, and builds the flag emoji directly from that two-letter code.

  3. 3

    Your point is also shown in both decimal degrees (DD) and degrees, minutes, seconds (DMS), so you can cross-check it against paper charts and other tools.

Common uses

  • Identifying the country in GPS-tagged travel photos
  • Sanity-checking coordinates from spreadsheets and data feeds
  • Settling map trivia and geography questions with a real lookup

Frequently asked questions

Paste the latitude and longitude above, press Find Country, use your device GPS, or click the spot on the map. The country name, its ISO alpha-2 code, and its flag appear at the top.

More in Coordinate Reference

View all →
Worked example

Checking Logbook Coordinates from Paris to the Middle of the Atlantic

Tomas teaches geography at a secondary school and keeps a class game he calls 'country or ocean?' He projects a pair of coordinates, the class votes, and then they check the answer with the coordinates-to-country tool. This week's list starts easy: 48.8566, 2.3522. A student types it in, and the tool answers with a large French flag, the name France, and the code FR — the coordinates of Paris, confirmed in one step, with the same point also shown in degrees, minutes, and seconds for the students who are learning to read paper charts.

The second point, 39.7392, -104.9903, crosses the Atlantic in the other direction. The flag that comes back is the Stars and Stripes, the name reads United States, and the code is US — downtown Denver, Colorado. Tomas points out where the flag comes from: the tool builds it from the two-letter ISO code in the geocoder's answer, so the flag and the code can never disagree. A student asks about the third format on the page, and he shows how the decimal point and the DMS line describe the identical spot on Earth, just written the way sailors and pilots have written it for centuries.

Then comes the point the game is named for: 30.0000, -40.0000. The class votes confidently — surely it is some island nation? The tool answers honestly: no country; this point is in international waters, in what the coordinates place in the North Atlantic Ocean. There is no flag, because there is nothing to flag. Tomas explains that country boundaries in map data do reach a little way into coastal seas, which is why a point just off a beach usually still returns the coastal country — but eight hundred miles from the nearest land, no boundary reaches, and the correct answer is water.

The last check is one a student suggests: a point a short way off the French coast near Brittany. It returns France, exactly as the class now predicts, and it completes the picture of how the tool behaves. On land, you get the country, its ISO code, and its flag. Just offshore, you usually still get the coastal country, because the mapped boundary extends into the shallows. Far out at sea, you get a straight answer — international waters, with the ocean named — instead of a made-up nearest country. For a classroom, a logbook, or a spreadsheet of mystery coordinates, that honesty is the whole point.

Common mistakes to avoid

  • Expecting the nearest country for an ocean point. A point in the middle of the Atlantic is not 'basically Brazil' or 'closest to Portugal.' It belongs to no country, and a tool that names one anyway is inventing data. The honest answer is international waters, with the ocean named for context.
  • Mixing up the sign of the longitude. Paris is 2.3522 east; type -2.3522 and you have moved the point into the Atlantic off Brittany, where the answer may come back as open water or a different coastal result. East is positive, west is negative — one missing minus sign changes the country completely.
  • Reading the ISO code as a postal or phone code. The two-letter code shown is the ISO 3166-1 alpha-2 country code — FR for France, US for the United States. It is not a dialing code (France is +33) and not a currency code (EUR). Use each code system for its own job.

Pro tips

  • Try one point in each ocean as a calibration check — the tool should answer 'international waters' and name the right ocean every time.
  • Compare the DD and DMS lines for the same point when teaching or learning chart work; they are the same location in two notations.
  • For coastal points, nudge the coordinate a little seaward and landward to see where the mapped country boundary stops answering — it is a quick way to understand territorial data.
Geospatial Engineering Reference & Field Manual

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 Country — What Country Are These Coordinates In? and the everyday mapping tasks around it.

1

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.

2

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 →