← How Does Geofencing Work Behind the Scenes

PART 1 OF 4

GPS Wi-Fi and Cell Signals in Geofencing

Geofencing depends on three kinds of location signal: GPS satellites, Wi-Fi networks and cell towers. A phone blends GPS, Wi-Fi and cell data into one position estimate, and the geofence tests only that estimate. The mix in use at a given moment sets how far the result can be trusted.

5 min read · Updated November 2026

Isometric magnetic compass with concentric ring dial and pointed needle, floating above shadow

Geofencing depends on three kinds of location signal: GPS satellites, Wi-Fi networks and cell towers. A phone blends GPS, Wi-Fi and cell data into one position estimate, and the geofence tests only that estimate. The mix in use at a given moment sets how far the result can be trusted.

Which signals a geofence relies on

A geofence relies on three signal types: satellite GPS, Wi-Fi matching and cell-tower data. Phones usually combine all three instead of picking one.

A geofence is a stored boundary around a place, drawn either as a radius from a point or as a fixed outline such as a neighborhood. The boundary is only data. The uncertainty lives in the position estimate that gets tested against it.

Which source matters most depends on where the phone is. GPS carries outdoor positioning, Wi-Fi matching helps inside buildings and in dense cities, and cell-tower data adds a third source.

How a phone blends signals into one position

A phone collects every signal it can detect and merges them into a single estimate. The geofence check then runs against that one estimate. An overview of mobile phone tracking describes the same method families and says modern phones usually combine them.

GPS is positioning from satellites, and it performs strongest outdoors. Phones that use GPS can typically place themselves within 4.9 m (16 ft) when the sky is open. Nearby buildings, bridges and tree cover erode that figure.

Wi-Fi positioning works by lookup. The phone lists the access points it can hear and compares them against a stored record of where each one is thought to sit. A description of Wi-Fi positioning notes that a moved access point leads to a wrong location.

Cell-tower data gives the coarsest fix. Cell ID places a phone using a single tower. Rural areas make it worse, because towers sit far from one another.

GPS, WiFi and cell location compared

The three sources differ in where they work and how far off they can stray. The table sets their typical limits side by side.

Source Where it works Typical accuracy Main weakness
GPS Outdoors Within 4.9 m (16 ft) under open sky Weaker beside buildings, bridges or tree cover
Wi-Fi Indoors and dense cities Typically 20–50 m Wrong if an access point has moved
Cell ID Wherever a tower reaches Coarsest of the three Weakest in rural areas with distant towers

Each figure describes a typical case, not a promise. Accuracy for a specific app or ad vendor depends on its own setup. A business can ask a vendor how it measures location error before relying on a fence.

What the signal mix means for a local business

A local business should judge a geofence by the weakest signal likely at its address, not by GPS in open air. A store inside a building or on a dense downtown block is likely working with Wi-Fi-grade accuracy. A shop on a country road may have much less.

Google recommends a minimum radius of 100–150 meters on Android, since Wi-Fi location is typically accurate to 20–50 m. A fence smaller than that margin can miss real visitors or fire for people who never came close.

Rural sites call for extra caution. With no Wi-Fi around, Android accuracy can drop to several hundred meters or several kilometers. A fence there may catch passing traffic or miss customers who are inside.

The monitoring mode also changes which signals get used. One geofence type uses GPS only while its app runs in the foreground, which uses more battery. The other type works in the background with no GPS, so it cannot deliver real-time notifications.

Radius is one design choice and outline is another, and circle versus polygon geofences get their own comparison in the next part of this series.

Common misconceptions about location signals

Four beliefs about location signals tend to produce weak geofence plans, and each mistakes the ideal case for the typical one.

“Geofencing is pinpoint-accurate.” The typical Wi-Fi figure is 20–50 m, and without Wi-Fi the error can reach kilometers. Only GPS under open sky comes near single-digit meters.

“GPS does all the work.” Indoors and in dense cities, phones lean on Wi-Fi matching. A fence around an indoor site therefore depends on that source more than on satellites.

“An alert arrives the moment a phone crosses the line.” Android alerts typically show up inside about 2 minutes. Stricter background rules from Android 8.0 onward stretch the average to 2–3 minutes. Phones left motionless for a long stretch can see delays near 6 minutes.

“A Wi-Fi match means a correct location.” A match is only as accurate as the database behind it. If an access point has been moved, the phone can be placed in the wrong spot.

Frequently asked questions

Does geofencing work without GPS?

Yes, in one of its two modes. A background geofence skips GPS, though it cannot support real-time notifications. A foreground geofence uses GPS only while its app is open, at a cost in battery.

Why does a phone’s location drift indoors?

Satellite accuracy gets worse near buildings, bridges and trees, so indoor positioning leans on Wi-Fi matching. Wi-Fi is typically accurate to 20–50 m. A moved access point can push the estimate further off.

How far off can location be in the countryside?

On Android, accuracy can drop to several hundred meters or several kilometers when Wi-Fi is missing, as on a rural drive. Cell ID, which relies on one tower, is weakest where towers are far apart. A geofence in such an area needs a generous margin.

Series position and what comes next

This page is the first of four in the series, and it covers only the way a phone works out where it is. Those signals are one stage of how geofencing works, which the parent guide follows from start to finish. Because that estimate is tested against a boundary, the next page turns to how boundaries are shaped.

Sources

See Where You Actually Rank

Run a Free Rank Check