How GPS Location Accuracy Works in Web Browsers & Smartphones
By Marko Visic · Published · Updated · 6 min read
When you click "Find My Location" in a browser, the device chooses among satellite positioning (GPS, Galileo and other GNSS), Wi-Fi positioning, cell towers and, as a last resort, IP address geolocation. Which one answers explains why accuracy can range from a few meters to many miles. This guide explains each method, what the accuracy number means, what degrades it, and how to get a better fix before relying on a location-based lookup.
1.The Positioning Hierarchy: From Satellites to IP Addresses
When a web page calls navigator.geolocation.getCurrentPosition(), the browser asks the operating system for a position, and the system picks from several sources:
- GNSS satellites (GPS, Galileo, GLONASS, BeiDou): need a view of at least four satellites. Outdoors with an open sky, GPS.gov puts typical smartphone accuracy at about 4.9 m (16 ft); near buildings, bridges and trees it gets worse.
- Wi-Fi positioning: the device scans nearby Wi-Fi access points and compares them with a location database maintained by the platform provider. Accuracy is typically in the tens of meters and works indoors.
- Cell towers: the device estimates position from the towers it can hear. Accuracy ranges from a few hundred meters in cities to several kilometers in rural areas.
- IP geolocation: used when nothing better is available, for example on a desktop connected by Ethernet. The address is looked up in a database of internet provider allocations and is often off by many miles, sometimes pointing to a provider's regional hub in another city.
Phones usually blend these sources, so the same request can return a Wi-Fi estimate first and a sharper satellite fix a few seconds later.
2.Understanding the Accuracy Radius
The Geolocation API returns an accuracy value in meters. The current W3C specification defines it at the 68% confidence level (one standard deviation): an accuracy of 8 meters means there is roughly a two-in-three chance your true position lies within 8 meters of the reported point, and a real chance it lies somewhat farther out. Earlier drafts, and many references that copied them, described it as a 95% radius; the specification has since been changed to 68%. If the errors are roughly normal and the same in every direction, a circle about 1.6 times the reported value holds your true position about 95% of the time; doubling the value is a simple, slightly conservative bound.
A few practical consequences:
- Smaller is better. An accuracy of 5 meters suggests a satellite fix; 30 to 100 meters usually means Wi-Fi; several thousand meters points to cell towers or IP.
- The point is not the truth. The reported coordinate is the center of the estimate. Your real position can be anywhere inside the circle.
- Accuracy is self-reported. It is the device's own estimate. In difficult environments, such as between tall buildings, the true error can exceed it, and with a one-standard-deviation radius that happens on about one fix in three even in normal conditions.
The latitude and longitude finder shows the reported accuracy alongside your coordinates, so you can judge whether the fix is good enough before you copy it. If you are picking a point on a map rather than using your own position, see how to find coordinates on Google Maps; a map click has no satellite error, only the precision of where you click.
3.What Makes Satellite Positioning Worse
Even with a good receiver, several conditions degrade a satellite fix:
- Buildings and terrain. Tall buildings block satellites and reflect signals. Reflected signals travel a longer path, which biases the position. This is called multipath.
- Indoors. Roofs and walls weaken satellite signals, so indoor fixes often come from Wi-Fi instead.
- Tree canopy. Dense, wet foliage attenuates signals.
- Satellite geometry. When the visible satellites are bunched in one part of the sky, small timing errors produce larger position errors. Receivers express this as dilution of precision (DOP); a low DOP means good geometry.
- Cold starts. A receiver that has been off for a while needs time to identify satellites. Assisted GPS shortens this by downloading orbit data over the network.
- Power saving and permissions. Battery savers and approximate-location settings can stop the phone from using satellites at all.
Vertical accuracy is generally worse than horizontal accuracy, because all visible satellites are above you. The satellite signals themselves are very good: the U.S. government commits to a global average user range error of 2.0 m (6.6 ft) or less with 95% probability; most of the error you see comes from the receiver's surroundings. Browsers may return altitude as null; for ground height it is usually better to look up a terrain model with What Is My Elevation.
4.How to Get a Better Location Fix
If an accuracy reading looks too large, try these steps in order:
- Check permissions. Make sure the browser has location permission and, on iOS and Android, that precise location is turned on for the browser.
- Turn on Wi-Fi. Even without connecting to a network, Wi-Fi scanning helps the phone locate itself quickly indoors.
- Move to open sky. Step outside or near a window, away from tall walls.
- Wait a few seconds and retry. The first answer is often a quick, coarse estimate. A second request after the receiver settles is usually sharper, so find your GPS coordinates again and compare the two accuracy values.
- Check the accuracy number. Only rely on the result once the accuracy is comfortably smaller than the distance that matters to you, such as your distance to a county line.
- Fall back to a manual pin. If you are on a desktop or the fix stays poor, place the point yourself on the latitude and longitude map or search for your address instead.
Location access requires a secure (HTTPS) page, and you can revoke it at any time in your browser's site settings.
5.What Accuracy Means for Location Lookups
Any lookup that starts from your position inherits its uncertainty. The table below is a rough guide to what each level of accuracy can support:
| Reported accuracy | Likely source | Reliable for |
|---|---|---|
| Under 10 m | Satellite fix, open sky | Building-level coordinates, most boundary lookups |
| 10 to 50 m | Satellite in town, or Wi-Fi | Street and neighborhood, county away from borders |
| 50 to 1,000 m | Wi-Fi or cell towers | City and ZIP area, rough county |
| Over 1 km | Cell towers or IP | Region or state only |
For example, What County Am I In shows your distance to the nearest county line. If that distance is smaller than your accuracy radius, the answer could go either way. The same test applies at state lines: see which state you are in and how close the state line is before relying on the result for anything state-specific. Likewise, turning coordinates into a street address with coordinates to address returns the nearest address the geocoder knows, which may be a neighbor's when the fix is coarse.
Interactive Tools Referenced in This Post
Instant CalculationTap "Find my coordinates" to see the latitude and longitude (lat long) of where you are, or search any address or click the map. Copy the point in decimal degrees, degrees-minutes-seconds and other formats, with its street address, ground elevation and time zone. You can also paste coordinates to check them. GPS accuracy depends on your device.
Tap "Find my county" to see which US county you are in right now, with its state, FIPS code and how far you are from the county line. You can also search a street address. Louisiana parishes, Alaska boroughs and Virginia independent cities are included.
Tap "Find my elevation" to see how high the ground where you stand is above sea level, in feet and meters. The height comes from a global satellite terrain map (Copernicus, about 90 m detail), so it is ground height, not your phone's altitude reading. To look up a typed address or landmark, the Elevation Finder is quicker.
Interactive world coordinate grid map. Click anywhere on the globe or search locations to read precise decimal degrees (DD), degrees minutes seconds (DMS), and geodesic distances to the Equator and Prime Meridian.
Enter any latitude and longitude pair or click on the map to reverse geocode the location into a structured street address, city, county, postal code, and country.
Frequently Asked Questions
Why does Open Map Lab say my desktop PC is in another city?
Desktop computers without Wi-Fi usually rely on IP geolocation. IP addresses are registered to internet providers and often map to a regional network hub rather than your home. Enter an address or drop a pin manually instead.
Does GPS use internet data?
Satellite positioning itself only receives one-way radio signals. Smartphones use Assisted GPS, downloading satellite orbit data over the network so they can get a fix in seconds instead of minutes, and Wi-Fi and cell positioning need a network lookup.
Why does my location jump around between attempts?
Each request may come from a different source (Wi-Fi first, satellites later) and satellite geometry changes as the satellites move. Small jumps within your accuracy radius are normal.
Why is my phone's map app more accurate than the browser?
Native map apps often keep location running in the background and fuse it with motion sensors. A browser request starts fresh, and it may receive only approximate location if precise location is turned off for the browser.
Does a VPN change my location?
A VPN changes the IP address websites see, so IP-based estimates move to the VPN server. It does not affect satellite or Wi-Fi positioning, which the device computes itself.
What is dilution of precision?
Dilution of precision (DOP) describes how satellite geometry amplifies measurement errors. Satellites spread across the sky give a low DOP and a better fix; satellites clustered together give a high DOP.
Can I use the tools without sharing my location?
Yes. Location access is optional. You can type an address or place name, paste coordinates, or click on a map instead, and you can deny or revoke the browser permission at any time in your site settings.
Why is my altitude missing or very different from the map?
Many browsers do not report altitude at all, and when they do, the value comes from satellites and has a larger error than the horizontal position. A terrain model lookup usually gives a more stable ground elevation than the device altitude.