MapTools
locationFree · No signup

What Country Am I In?

Determine your sovereign nation, ISO codes, capital, flag, and territorial waters status anywhere on Earth.

On-Device Only
You Are Located In
United States

1600 Pennsylvania Ave NW, Washington, DC 20500, USA

County
District of Columbia
FIPS: 11001
Municipal City
Washington
Inside City Limits
State / Province
District of Columbia
Abbr: DC
ZIP / Postal Code
20500
Country: US
Loading Google Maps JavaScript Canvas...
Click any location on the map above to inspect its boundary jurisdiction.
Zero-Logging Privacy: Location data and GPS coordinates are evaluated in real time solely within your browser session. No tracking cookies, user accounts, or server databases store your coordinates.

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

How this tool works

  1. 1

    Evaluates coordinates against Natural Earth 1:50m public domain sovereign boundary polygons.

Common uses

  • International flights, sailing, or border crossings
  • Roaming data coverage confirmation
  • Maritime EEZ checks

Frequently asked questions

The tool detects if your coordinates lie beyond 12 nautical miles from sovereign baselines.

More in Location & Boundaries

View all →
Worked example

Coffee in Belgium, Car in the Netherlands: The Split Border Town of Baarle

A traveler stops for coffee in Baarle, a small town on the border between Belgium and the Netherlands, at about 51.44 N, 4.93 E. Baarle is a genuine patchwork: the Dutch town of Baarle-Nassau wraps around a cluster of Belgian enclaves belonging to Baarle-Hertog, and the patchwork even folds back on itself, with small Dutch parcels sitting inside some of the Belgian ones. Individual lots can be no bigger than a single building, and in the oldest houses the front door can stand in one country while the back garden rests in the other. The lines were drawn centuries ago and tidied up by treaty, and the town has simply learned to live with a map that looks like a jigsaw puzzle spilled across its streets.

At her cafe table she opens the tool. Her point falls inside a Belgian enclave, so the result reads Belgium, ISO code BE, capital Brussels, with the Belgian flag. She then taps a spot one street over, and the answer changes completely: the Netherlands, ISO code NL, capital Amsterdam. Same town, same afternoon, same cup of coffee gone cold, yet two sovereign countries separated by a line she can step across in seconds. Her phone's own location tag, she notices, had simply said Baarle, which is no answer at all. The country result also settles the practical basics she might need next, such as the ISO code for forms and the capital city, without her having to guess from the shop signs, which in this town read Dutch on both sides of the line.

The check is not just a traveler's game. Municipal rules, local taxes, shop regulations, and which police force responds to a call all follow the patch of ground, not the town name, and landlords in Baarle genuinely have to know which country's rules govern a house whose rooms straddle the line. The tool works from boundary data rather than place labels, and it handles the wet version of the same question too: on the water, a country's territory generally extends 12 nautical miles from shore, which is 12 times 1.15, or about 13.8 statute miles. Sailors, ferry passengers, and coastal pilots live by the same kind of invisible line; theirs just happens to float, and it moves with the tide of law rather than the tide of water.

She screenshots the result before driving to her rental house, which the map shows sitting just inside the Netherlands, so she knows which country's parking and registration rules apply to the stay. In most of Europe a border is a single surveyed line and this tool gives a boring answer in a second. In enclave towns and along complicated coasts, testing your exact point against the boundary is the only honest way to answer the question.

Common mistakes to avoid

  • Assuming the town name decides the country. Enclaves and border towns can split countries street by street and even room by room, as Baarle proves. Only the boundary under your feet decides which country you are in, never the name on the town sign.
  • Forgetting that the sea has borders too. On a boat, your country depends on territorial waters, roughly 12 nautical miles from shore, not on the nearest land you can see or the port you sailed from. Trips near coasts cross legal lines long before they cross visible ones.
  • Trusting a photo's location tag near a border. Phone GPS tags can drift across a line and stamp the wrong country onto your pictures, check-ins, and logs. Verify with the boundary view before using a location for insurance, work records, or anything official.

Pro tips

  • In border regions, check your country before relying on local rules, taxes, or emergency procedures, because they follow the ground.
  • On ferries and coastal trips, re-check your position after crossing the 12-nautical-mile limit, about 13.8 miles out from shore.
  • Screenshot the result in enclave towns, because the correct answer can change on the very next street, or even across one house.
Geospatial Engineering Reference & Field Manual

Location Intelligence: GPS, Boundaries & Administrative Geography

How your phone finds you, how coordinates turn into place names, and how the invisible lines of counties, cities, and ZIP codes shape taxes, voting, and emergency response. Written for What Country Am I In? and the everyday mapping tasks around it.

1

How Your Phone Actually Finds You

Your phone does not know where it is by magic. It listens to radio signals from satellites orbiting 12,500 miles overhead and measures how long each signal took to arrive. Three satellites narrow you to two possible points; a fourth resolves the tie and corrects your clock. This is trilateration, and it happens in under a second.

Four satellite systems do this work today: American GPS, European Galileo, Russian GLONASS, and Chinese BeiDou. A modern phone listens to several at once, often tracking 20 or more satellites simultaneously. More satellites mean a tighter fix, especially in cities where buildings block half the sky.

In the open, expect accuracy of 10 to 16 feet. Downtown, signals bounce off glass towers before reaching you — engineers call this multipath — and accuracy can slip to 50 feet or worse. Indoors, satellite signals barely penetrate, so your phone falls back to Wi-Fi networks and cell towers, which place you within a block or two at best.

Practical tip: when a boundary lookup gives a surprising answer near a county or city line, step outside, wait 30 seconds for a fresh satellite fix, and try again. Most wrong answers come from stale or Wi-Fi-based positions, not from bad boundary data. If you regularly work near a tricky border, save the correct boundary map offline so you can double-check even without a signal.

2

From Coordinates to Place Names: Reverse Geocoding

A pair of numbers like 40.7128, -74.0060 means nothing to most people. Reverse geocoding translates it into "New York, NY" by checking which mapped features contain or sit nearest to that point. It is the same engine that labels your photo locations and names the town in a weather app.

Good reverse geocoders work in layers. First they test administrative polygons: country, state, county, city. Then they look for the nearest road and interpolate a house number along it. In rural areas with no nearby roads, they fall back to the nearest named place, which may be a small town several miles away.

This layering explains odd results. A cabin in the woods might reverse-geocode to a town you have never heard of, simply because that town's post office serves the area. The coordinates are right; the label is the closest available approximation.

Speed matters as much as accuracy for interactive tools. The boundary checks on this site run against preprocessed polygon data, so a "what city am I in" lookup answers in milliseconds rather than seconds. That responsiveness is what makes live GPS tracking feel magical instead of sluggish.

This page shows the first two chapters. Read the complete Location & Boundaries field guide →