# Why mobile IP location is inaccurate

> A phone's traffic leaves through its carrier's gateway, so a mobile IP's city is often the gateway's. The country is reliable; the city often is not.

Source: https://mosaicbrowser.com/blog/mobile-ip-location-inaccurate

## Mobile IP geolocation can be hundreds of kilometres off

A phone's traffic leaves through its carrier's gateway, so a mobile IP's city is often the gateway's. The country is reliable; the city often is not.

![The city is the gateway’s, the country is yours, beside a screenshot: a proxy provider in Mosaic: one proxy line that gives every profile a separate session](https://mosaicbrowser.com/covers/mobile-ip-location-inaccurate.webp)

Mobile IP location is inaccurate because a phone does not reach the internet from where it is. Its traffic crosses the carrier's own network and leaves through a gateway, and the public address a site sees belongs to that gateway's pool. A phone in one city can look as if it is in another, sometimes hundreds of kilometres away. The country is usually right. The city is a guess about the gateway.

## Where a mobile connection really leaves from

On a home line, the kind of address a [residential proxy](https://mosaicbrowser.com/glossary/residential-proxy) resells, the public address is assigned to your router, and a provider's address blocks tend to map to regions it serves. A mobile connection is built differently. The phone talks to a radio mast, the mast hands traffic into the carrier's core network, and the core sends it out to the internet at a packet gateway. Carriers run a small number of these, in a few data centres, not one per town.

So the address a website sees is attached to the gateway, not to the mast and not to the phone. On IPv4 it is usually shared, because carrier-grade NAT puts many subscribers behind one public address at once ([thousands of phones on one address](https://mosaicbrowser.com/blog/why-mobile-proxies-are-hard-to-block) covers how that works). A subscriber in a small town and one in the capital can leave through the same gateway with addresses from the same pool.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: A new IP for every profile](https://mosaicbrowser.com/features/proxy-providers)

## Why a geolocation database cannot do better

An IP geolocation database never sees a phone. It sees an address and has to infer a place from what is known about it: who the block is registered to, where it is routed, where traceroutes to it end, and whatever corrections people have sent in. For a home broadband block, those clues often point to a real city. For a carrier block that serves a whole region from one data centre, the honest answer is "somewhere this gateway serves", and the database writes down a single city anyway.

That is why two lookup sites can give the same phone two different cities. They used different clues for the same block, and neither had a way to see the phone. Some databases print an accuracy radius beside the coordinates. When that radius is wide, believe it before you believe the city.

It also moves. A carrier can shift address pools between gateways, and a phone that reconnects can come out with an address from a different pool. Mobile proxies make this happen on purpose: a rotating mobile IP re-dials the modem and gets whatever address the carrier hands out next.

## Which part of the answer to trust

The country is the dependable part. A carrier's addresses are registered and routed in the country where it operates, so a German carrier's phone comes out German even when the database's city is wrong. The language a profile should speak follows from the country, which is why a lookup with a bad city still gives you a good `Accept-Language` ([how much a language mismatch weighs](https://mosaicbrowser.com/blog/how-much-a-language-mismatch-weighs) is a separate measurement).

The timezone depends on the country's shape. Germany, France, Italy and the UK each run on one zone on the mainland, so the city cannot change it: any German city gives `Europe/Berlin`. The United States, Canada, Russia, Brazil, Australia and Mexico run on several. There, a gateway in a different zone from the phone changes the timezone the lookup reports, and that is the case worth checking.

## Matching a profile to a mobile IP

A site that compares your timezone with your address does not know where your phone is either. It runs a lookup of the same kind on the same address. So the useful target is not the true position of a modem in a rack somewhere. It is the answer a lookup gives for the IP, because that is the answer the site most likely has.

That is what Mosaic does with any proxy, mobile or not. When it checks a proxy it asks a geolocation service where the IP is, and the profile takes its timezone from that answer, its language from the country, and a geolocation position near that city. The position is offset from the city's centre by up to about 5 km, derived from the profile's own seed, because a database centroid to six decimal places is a value no real device reports and two profiles on one IP would otherwise share it. The comparison tolerates half a degree, so a second check of the same IP changes nothing.

Rotation is where mobile IPs cause trouble. A rotating endpoint can hand out a different address on every connection, and Mosaic's proxy check flags an IP that moves between two probes. One endpoint we measured answered Peru, Brazil and Bahrain on three requests in a row. A profile can only claim one timezone, so for anything that should look like one person in one place, pin a sticky session on the provider. In Mosaic you paste the seller's proxy line once as a [provider](https://mosaicbrowser.com/features/proxy-providers), and each profile gets its own session from it.

If the country has one timezone, a mobile IP's wrong city costs you little: the language and the zone are still right, and the coordinates are as wrong as the site's own lookup. In a country with several zones, look at the zone after every rotation, because that is the one value the gateway's city can change.

## Questions

### Why does my phone's IP address show the wrong city?

Because your data leaves the carrier's network at a gateway, often in a different city, and the public address belongs to that gateway's pool. Geolocation databases can only see the address, so they report where the carrier uses it, not where you are.

### Is mobile IP geolocation accurate to the country?

Usually, yes. A carrier's addresses are registered and routed in the country it operates in, so the country is the most dependable part of the answer. The city is the part that drifts.

### Why do two IP lookup sites give my phone different locations?

Each database builds its answer from its own mix of registration records, routing data and corrections. For carrier ranges that cover a whole region, they often guess different cities from the same evidence.

### What timezone should a profile on a mobile proxy use?

The one the IP's lookup reports, because that is what a site's own lookup will most likely say too. In a country with one timezone the city cannot change it; in a country with several, check the zone after every rotation.

## Related

[Thousands of phones on one address](https://mosaicbrowser.com/blog/why-mobile-proxies-are-hard-to-block): Carriers put many subscribers behind one public IPv4 address, so blocking it blocks real customers. Sites challenge mobile IPs instead of banning them.

[Residential proxy: an IP on a home internet connection](https://mosaicbrowser.com/glossary/residential-proxy): A residential proxy sends your traffic out through an address an ISP assigned to a home connection, so sites see a household rather than a data center.

[How much an Accept-Language mismatch weighs](https://mosaicbrowser.com/blog/how-much-a-language-mismatch-weighs): An Accept-Language that differs from the IP country is something travellers send every day. It counts when the timezone disagrees with the address as well.

[We broke the timezone on purpose and Pixelscan liked it better](https://mosaicbrowser.com/blog/pixelscan-timezone-sweep): We changed only the timezone on one profile behind a Slovak IP. Pixelscan flagged masking on the Vienna row, the correct one, and the controls disagreed.

[Provider accounts: one proxy line, one IP per profile](https://mosaicbrowser.com/features/proxy-providers): Paste your proxy seller's line once and Mosaic makes a separate session for every profile, so each one browses from its own IP address.







[Do prices change with your location? How to test it fairly](https://mosaicbrowser.com/blog/location-price-research): Some do: researchers found location-based prices at Amazon, Steam and Staples, and plenty of noise. A fair test changes one thing and runs more than once.

## Mosaic, on your own computer

The browser this blog is about: its own Chromium, fingerprints from real machines and a proxy IP per profile. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
