Where a place appears on your screen is the output of a fixed coordinate chain: latitude and longitude get projected onto a flat map, that map is cropped and scaled to your viewport, and the resulting world coordinates are converted to pixels. Change any link in that chain, such as zoom level, map projection, or screen resolution, and the same place lands on a different pixel even though its geographic coordinates never moved. Understanding each conversion step explains why a location can appear in two different spots on two devices, and why "just look at the map" is not a measurement.

The projection step: turning a sphere into x and y

Every screen map starts by flattening a curved Earth. Most consumer mapping services, including Google Maps, Apple Maps, and OpenStreetMap's default tiles, use the Web Mercator projection. It converts longitude linearly into horizontal position and latitude into a nonlinear vertical position using the Mercator formula. Longitude maps directly: -180° to +180° becomes the full width. Latitude does not map linearly, because Mercator stretches the poles to keep local angles and shapes intact.

The practical consequence is that the vertical pixel position of a place is not proportional to its latitude. At the equator, one degree of latitude occupies roughly the same pixel count as one degree of longitude at that zoom. Near 60° north, the same degree of latitude occupies about twice as many pixels vertically. This is why Greenland looks enormous on a web map and why two cities at the same latitude difference can sit different pixel distances apart depending on where they are. Web Mercator also truncates latitude at about ±85.05°, because the projection stretches toward infinity at the poles; mapping libraries clamp to that limit rather than render an infinite canvas.

The projection formula, in plain terms, converts latitude φ to a vertical value using the natural logarithm of the tangent of (45° + φ/2). You do not need the logarithm to reason about placement. You need to know that the transform is monotonic and nonlinear: higher latitude always maps higher on the canvas, but the pixel spacing between latitudes grows as you move away from the equator.

Zoom, tiles, and the pixel math

Screen maps are usually assembled from square image tiles, typically 256 pixels on a side. At zoom level z, the world is divided into 2^z tiles per axis, so the full world width in pixels is 256 × 2^z. At zoom 0, the whole world is 256 pixels wide. At zoom 10, it is 262,144 pixels wide. At zoom 20, it is about 268 million pixels wide, far beyond any physical display, which is why only a small window is rendered at once.

Given a projected world coordinate, the pixel position on screen is:

screen_x = (world_x × 256 × 2^z) − viewport_left screen_y = (world_y × 256 × 2^z) − viewport_top

where world_x and world_y are normalized values between 0 and 1 from the projection step, and viewport_left and viewport_top define the visible window. This is the exact conversion that answers "where is this place on my screen." Each term matters. Doubling the zoom doubles the pixel scale, so a place's on-screen position moves away from the viewport origin unless the map is recentered. Panning changes the viewport offsets and slides every feature by the same number of pixels.

A counterintuitive detail: at any fixed zoom, the number of screen pixels between two nearby places is not constant across the map. Because Mercator stretches latitude, a 1-kilometer north-south separation near the equator covers fewer vertical pixels than the same separation near 60° latitude at the same zoom. Distance on screen is a function of both zoom and latitude, not just geographic distance.

Quantified context: resolution, scale, and device pixels

A place's pixel position also depends on how many physical pixels the browser or app allocates per CSS pixel. Modern displays often use a device pixel ratio of 2 or 3, meaning one logical layout pixel is drawn with 2×2 or 3×3 hardware pixels. A map that reports a place at CSS coordinate (640, 360) on a 1280×720 layout viewport will land at hardware pixel (1280, 720) on a 2× display. The geographic position is identical; only the reporting unit changed.

Screen resolution sets the ceiling on detail. A 1920×1080 display at zoom 15 shows a window roughly 1920 CSS pixels wide. At that zoom, the world is 256 × 2^15 = 8,388,608 pixels wide, so the visible window covers a tiny fraction of the globe. At zoom 3, the world is 2,048 pixels wide and fits almost entirely on a 1920-pixel screen. That is the threshold where the whole world can coexist with the viewport: below roughly zoom 3, a standard monitor can show nearly the entire map width at once.

Scale bars give a cross-check. At zoom 15 near the equator, one CSS pixel typically represents on the order of a few meters; at zoom 10, roughly a hundred meters; at zoom 5, several kilometers. Exact values vary with latitude and tile scheme, so treat a scale bar as a local estimate, not a constant.

Comparison table: coordinate systems you may be reading

System Unit of position Origin Typical use Pixel-friendly?
Geographic (lat/long) degrees Equator, prime meridian GPS, databases No, needs projection
Web Mercator world normalized 0-1 x/y Top-left of world at 85.05°N, 180°W Tile maps, web maps Yes, after scaling
Screen/CSS pixels layout pixels Viewport top-left Browser layout, clicks Direct
Device pixels hardware pixels Physical panel top-left Rendering, screenshots Multiply by pixel ratio
Tile index (z/x/y) integer tile numbers Zoom-dependent grid Tile servers, caching Indirect, via tile math

Reading the wrong row is the most common source of misplaced markers. A latitude in degrees fed into a function expecting normalized world coordinates will land near the top-left corner of the map, not at the intended place. The unit mismatch, not the projection, produces the error.

Timeline table: what happens when you search a place

Step What the system does Typical latency Failure mode
Geocode Converts place name to lat/long 100-500 ms Ambiguous name resolves to wrong region
Project Applies Mercator to lat/long Under 1 ms Wrong formula or latitude clamp
Tile selection Chooses z/x/y tiles covering viewport 50-300 ms Stale or missing tiles
Layout Maps world coordinates to CSS pixels Under 1 ms Viewport offset or pixel ratio wrong
Render Draws tiles and overlays to device pixels 5-16 ms per frame Marker drawn at wrong layer or DPR
Recenter Adjusts viewport after load Variable Marker jumps after resize

The last row is the professional caveat. Many "wrong location" reports are not projection errors at all. They are timing errors: the marker is drawn before the viewport finishes resizing, or the device pixel ratio changes when a laptop docks to an external monitor, and the overlay is not recomputed. The geographic answer was correct the whole time; the render pipeline used stale pixel offsets.

Edge cases and misconceptions

Higher latitude distorts vertical pixel spacing, as covered, but there is a second latitude effect near the clamp. Above about 85° latitude, Web Mercator cannot represent position, so mapping libraries clamp input and features at the polar limit. A research station at 87° north will render at the clamped edge, not its true relative position. The same clamp applies near the south pole.

Longitude wrapping is another edge case. Longitude -180° and +180° are the same meridian, but naive pixel math can place a feature on the far left of one map and the far right of another. Systems handle this with modular arithmetic, and a marker near the antimeridian may appear at either viewport edge depending on the panning offset.

A common misconception is that screen position reflects geographic accuracy. It does not. Screen position reflects projection, zoom, pan, and pixel ratio. A geocoder can return a point 2 kilometers from the true building, and the marker will still sit at the mathematically correct pixel for the wrong coordinate. The map is faithfully displaying a flawed input.

Another misconception is that "the center of the screen" is the searched place. After a search, many maps center the result, so the place appears at the viewport midpoint. If the user then pans, the place moves away from center while staying at the same geographic coordinate. Center alignment is an interface convention, not a property of the location.

Red flags that indicate a coordinate or unit problem rather than a real map feature: The marker sits in the ocean near 0° latitude and 0° longitude, the "null island" default when geocoding fails. The marker appears at the exact top-left or top-right corner of the map, suggesting clamped or unprojected coordinates. The marker shifts by exactly the pixel ratio (2× or 3×) when crossing monitors, indicating a device-pixel-ratio bug. The marker moves in a straight line during panning but not during zooming, suggesting a projection mismatch in the zoom handler. Two devices show the place at different pixels but the same lat/long readout, which points to viewport or DPR differences.

Practical actions: locating and verifying a place on screen

To find where a place sits on your screen and confirm it, work in this order.

Get the coordinates first. Use a geocoding tool or a map's "copy coordinates" function and record latitude and longitude to at least five decimal places. Do not rely on the visible marker alone. Read the map state. Note the zoom level, the viewport size in CSS pixels, and the device pixel ratio (in browsers, a devicePixelRatio of 2 or 3 is common on high-density displays). Reproduce the conversion. Multiply the projected world coordinate by 256 × 2^zoom, then subtract the viewport offset. Compare the result with the on-screen position; a mismatch larger than a few pixels signals a unit or projection error. Cross-check the scale. Compare the map's scale bar with the pixel distance you measured. If one pixel represents a few meters at your zoom, a marker a thousand pixels away is kilometers distant, not a rendering glitch. Test at two zoom levels. A place that stays fixed relative to neighboring streets is correctly projected. A place that drifts relative to the same street across zooms indicates a projection or anchor problem. Recheck after any display change. Docking a laptop, changing browser zoom, or rotating a phone alters the pixel ratio and viewport; re-query position rather than trusting the pre-change render.

For developers, the safest pattern is to store geographic coordinates, project only at render time, and recompute pixel positions on every resize, zoom, and device-pixel-ratio change event. Never store pixel coordinates as durable location data.

Limitations and what the answer cannot tell you

The coordinate chain answers where a place lands on a given screen at a given moment. It does not tell you whether the place itself is correct. Geocoding databases contain errors, rooftop points may differ from parcel centroids, and addresses can resolve to a street segment rather than a building. The screen position is trustworthy only to the accuracy of the coordinate fed into it.

Results also differ by map provider. Tile schemes, latitude clamps, and marker anchoring conventions vary, so the same place can sit a few pixels apart across services even when both are internally correct. Treat any single screen position as one rendering of one coordinate, not as ground truth.

[END OF ARTICLE]