Mobile Internet & 5G

How Phone Location Works: GPS, Towers and Wi-Fi

See how satellites, cell towers, Wi-Fi and sensors combine to place your phone on a map, and how to control who sees it.

Key takeaways

  • Satellite navigation receivers only listen, and they compute position from the arrival times of signals from several satellites.
  • Wi-Fi and cell based location compare what your phone hears with databases of where transmitters are.
  • Assistance data sent over the internet helps the phone get a satellite fix much faster.
  • Your mobile carrier can estimate your whereabouts from the network itself, whatever your app settings say.
  • Per-app permissions, including approximate location, are the most useful control you have.

Your phone finds itself by blending several sources. Satellite navigation gives accurate positions outdoors. Nearby Wi-Fi networks and cell towers give faster, rougher estimates and work indoors. Motion sensors fill short gaps. The operating system combines these and hands apps a single position with an estimate of how uncertain it is.

Knowing which source is doing the work explains why the blue dot jumps across the street downtown, why a first fix can take a while and which settings actually limit who learns where you are.

Satellite navigation

GPS is the United States system, and the best known member of a family called global navigation satellite systems (GNSS). Others include Europe's Galileo, Russia's GLONASS and China's BeiDou. Most modern phones listen to several at once, which means more satellites in view.

Each satellite broadcasts its position and a very precise time. Your phone measures when each signal arrives. Since radio travels at a known speed, differences in arrival time translate into distances. With distances to at least four satellites, the receiver can solve for latitude, longitude, altitude and the error in its own inexpensive clock.

The phone sends nothing to the satellites. A GNSS receiver is passive, so the satellites do not know you exist. Position leaves your phone only when software on it sends it somewhere.

Satellite signals are very weak when they arrive. Roofs, dense foliage and your own body reduce them. Among tall buildings, signals bounce off walls and arrive by a longer path, called multipath, which pushes the estimate sideways. Some phones receive a second frequency from satellites that helps reject these errors.

Why the first fix can be slow, and assisted GPS

To use a satellite, the receiver needs its orbit details. Downloading them from the satellites themselves is slow, and worse with a weak signal.

Assisted GNSS solves this by fetching orbit data, approximate time and a rough starting position over mobile data or Wi-Fi. A fix then takes seconds. Without a data connection, satellite positioning still works, but the first fix after a long break or a long journey may take noticeably longer.

Cell towers

Your phone always has some relationship with nearby cells, so the network knows at least which cell is serving it. That alone gives a rough area, which may be a few city blocks or many kilometers across in the countryside.

Estimates improve with more information:

  • Which sector of a tower you are using narrows the direction.
  • Timing measurements indicate roughly how far you are from the site.
  • Signals from several towers allow the position to be triangulated or, more precisely, multilaterated from distances or time differences.

Newer standards add dedicated positioning features, and dense urban 5G sites can do better than older networks. How accurate it is in practice depends on the equipment and the surroundings. How towers hand off your phone shows why the network must keep track of you at all.

Wi-Fi and Bluetooth

Wi-Fi access points continually announce a hardware identifier called a BSSID. Companies that run location services keep large databases pairing these identifiers with places, built from observations by phones and survey vehicles.

Your phone lists the access points it can hear and their signal strengths, and asks a location service where such a combination occurs. It does not need to join any of them or know their passwords. This works well indoors in built-up areas and poorly where there are few networks.

Because the database remembers old places, a router that moves house can briefly fool the system until the records update. Some location services let owners opt their access point out, for example by adding a specific suffix to the network name. Check the provider's help pages.

Bluetooth beacons and ultra-wideband radios can place a device within a room or closer, for example in museums, shops or when finding a tagged item.

Sources your phone blends into one position
Location service Weighs and combines inputs Motion sensors Bridge short gaps Bluetooth Very short range Satellites Accurate with open sky Cell sites Wide coverage, coarse Wi-Fi Useful indoors in towns Location service Weighs and combines inputs Satellites Accurate with open sky Cell sites Wide coverage, coarse Wi-Fi Useful indoors in towns Bluetooth Very short range Motion sensors Bridge short gaps

Sensors that fill the gaps

Accelerometers, gyroscopes and the compass let a phone estimate how it has moved since the last good fix. This dead reckoning keeps navigation going through a tunnel, though errors grow with time. A barometer measures air pressure and can help estimate which floor you are on, particularly when compared against nearby reference readings.

Maps software also snaps your position to roads. That is why a navigation app may show you confidently on a street while the raw estimate is wandering.

How accuracy is expressed

The shaded circle around your dot is an estimate of uncertainty. A small circle means the sources agree and conditions are good. A large one means the phone is guessing from coarse information. The true position is likely, though not guaranteed, to lie inside it.

Altitude is usually less precise than horizontal position, because all the satellites a phone can see are above it, which gives weaker geometry in the vertical direction. Geometry matters sideways too: satellites spread widely across the sky give a better solution than satellites bunched in one patch, as happens in a street lined with tall buildings.

Speed and heading come from movement over time and from frequency shifts in the satellite signals, so a navigation app often knows your speed well while you drive but cannot tell which way you face when you stand still.

Geofences and battery

A geofence is a virtual boundary that triggers something when you enter or leave it, such as a reminder at the shop or a notice that a child arrived at school. Continuous satellite tracking would drain the battery, so operating systems usually watch cheaper signals first, like changes in cell or Wi-Fi surroundings, and switch on the satellite receiver only near the boundary. That saves power but means a trigger can arrive a little late.

Comparing the sources

Strengths and limits of the main sources
Satellite Often accurate to a few meters outdoors Weak indoors Listening only Uses noticeable power when continuous Wi-Fi Good in dense areas and indoors Depends on a database Quick Poor in empty countryside Cell network Works almost anywhere with signal Accuracy ranges widely Known to the carrier Low extra power Satellite Often accurate to a few meters outdoors Weak indoors Listening only Uses noticeable power when continuous Wi-Fi Good in dense areas and indoors Depends on a database Quick Poor in empty countryside Cell network Works almost anywhere with signal Accuracy ranges widely Known to the carrier Low extra power

Emergency calls

When you call an emergency number, location matters urgently. In many countries, phones can send their best estimate to emergency services automatically, using technologies such as Advanced Mobile Location in a number of countries and Android's Emergency Location Service. The network also provides its own estimate. Availability and accuracy vary by country, device and call center.

Always say where you are if you can. Landmarks, floor and apartment numbers help more than any automatic dot. If you carry a newer phone, satellite emergency features may work outside coverage, as explained in emergency SOS by satellite.

Who can learn your location

Your carrier knows which cells your phone uses whenever it is connected. Turning off app location services does not change that. Airplane mode or powering off stops the cellular link.

Apps you permit receive positions according to their permission. Many include software from advertisers or analytics firms, which may receive it too.

Platform providers may use your phone's observations to improve location databases, depending on your settings.

People you share with see you through family sharing or messaging features until you stop sharing.

Websites can ask through the browser, which prompts you first. Separately, they can guess your area from your IP address, which is far rougher and often wrong, as IP geolocation explains.

Photos can also carry coordinates in their hidden metadata. Strip it before posting publicly with a photo metadata remover.

Controls worth using

  1. Review which apps have location access, and remove ones that do not need it.
  2. Prefer "only while using the app" over "always".
  3. Offer approximate location to apps that only need your city, such as weather.
  4. Check the system's location history or timeline settings and delete what you do not want kept.
  5. Look at who you are sharing your location with, and end old shares.
  6. Learn how your phone warns you about unknown tracking tags traveling with you.

Menu names differ between phone versions. If you suspect someone is tracking you without consent, be careful: removing software or a tag may alert them. A victim support organization or the police can help you plan. Spyware and stalkerware warning signs describes what to look for.

When location is wrong

  • Dot jumps around indoors. Turn Wi-Fi on, even if you do not connect, so the phone can use nearby networks.
  • Accuracy circle is huge. Check that precise location is enabled for that app.
  • Slow first fix. Make sure mobile data or Wi-Fi is available for assistance data, and step into the open.
  • Compass points the wrong way. Move away from magnets or metal, including magnetic cases, and recalibrate.
  • Always shows another town. A recently moved router or a VPN may be responsible. A VPN affects IP-based guesses, not satellite positioning.
  • Battery drains fast. Look for apps with continuous background access.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Mobile Internet & 5G →

Latest news on this topic