What state am I in?

Press Find me and the map shows the state, province or region you are in. US states come with their outline, postal and FIPS codes and the number of counties.

How to use it

  1. Press Find me and allow the browser to use your location.
  2. Read the state, province or region in the first card. US states come with the outline, the postal code, the FIPS code and the number of counties.
  3. Type a place, click the map, or drag the pin to check somewhere else.

5 practical uses

  1. Know which state's traffic laws, speed limits and sales tax apply where you are.
  2. Confirm the state line on a road trip or a hike that crosses one.
  3. Find the state a delivery address or a job site is in from its coordinates.
  4. Get the state FIPS code for a census or a data form.
  5. Check the province or region abroad for a visa, a permit or a weather warning.

The maths behind it

The point is tested against the state outlines with a point-in-polygon test: a ray from the point crosses the outline an odd number of times when the point is inside. A bounding-box check rules out most states first. Outside the US the geocoder does the same on OpenStreetMap boundaries.

How accurate it is

A phone with GPS is accurate to a few metres outdoors; a laptop on Wi-Fi is often within a hundred metres, and a wired desktop may be placed at the nearest exchange, a town away. Near a boundary, drag the pin to check. US state outlines come from the Census Bureau (1:10m); other regions are asked of the geocoder, which knows most of them.

Privacy

The page never stores your position. The link in the address bar carries the coordinates so you can share or bookmark the result; clear it if you would rather not.

Questions and answers

Does it work outside the United States?

Yes. For any country it names the first-level region the geocoder knows: a state, province, land, canton, prefecture or county. Outlines are drawn for US states from the bundled data and for other regions when the geocoder has them.

What is a state FIPS code?

A two-digit code the US Census Bureau gives each state: 06 is California, 48 is Texas. County FIPS codes start with it.

The state is right but the outline is missing. Why?

Outlines for regions outside the US come from a second geocoder request, which can fail when the service is busy. The answer is still correct; reload to try again.

Embed this tool on your website

Paste this code where the tool should appear. It shows the tool alone, without this page's text, and links back here. It is free to use; the map data credit stays on the map.

<iframe src="https://waymorphic.com/tools/what-state-am-i-in?embed=1" width="100%" height="760" style="border:0;border-radius:12px;max-width:100%" loading="lazy" allow="geolocation; fullscreen; clipboard-write" title="What state am I in? – Waymorphic Map"></iframe>

Change height to suit your page. To open the tool with a place already set, add the settings from this page's address bar (the part after #) to the end of the src. The embedded tool asks the visitor's browser for their location only when they press the button, and the allow attribute lets that work inside the frame.