<iframe width="100%" height="450" style="border:0; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);" loading="lazy" allowfullscreen referrerpolicy="no-referrer-when-downgrade" src="https://maps.google.com/maps?q=Golden%20Gate%20Bridge%2C%20San%20Francisco%2C%20CA&t=m&z=14&ie=UTF8&iwloc=&output=embed" ></iframe>
Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
Applies the Web Mercator tile projection formula: x = ⌊(lon + 180)/360 · 2^z⌋, y = ⌊(1 − ln(tan(lat·π/180) + sec(lat·π/180))/π) · 2^(z-1)⌋.
- 2
Computes the North, South, East, and West bounding coordinates of the corresponding 256x256 pixel tile.
- 3
Generates standard XYZ and TMS tile server URL templates.
Common uses
- Debugging web mapping vector and raster tile caching systems.
- Downloading specific tile coverage areas for offline mapping apps.
- Building custom tile server architectures and raster pipelines.
Frequently asked questions
In standard XYZ (used by Google and OSM), the Y origin begins at the top (North). In TMS (OSGeo), the Y origin starts at the bottom (South).
More in Developer Tools
- Tile XYZ CalculatorConvert between latitude/longitude, zoom levels, and standard slippy map tile coordinates (X, Y, Z). Calculate geographic bounding boxes and URL patterns.
- QuadKey ConverterConvert between Microsoft Bing Maps QuadKey hierarchical spatial indexing strings and standard XYZ tile numbers or Lat/Lng coordinates.
- API PlaygroundInteractive API console to test serverless geocoding, geodesic distance matrices, elevation profiles, and time zone endpoints with copyable cURL and JSON payloads.
- Map Embed GeneratorGenerate clean, fast-loading, responsive HTML iframe embed snippets for interactive maps to embed in websites and blogs.
- QuadKey ConverterConvert Slippy Map XYZ coordinates to Bing Maps QuadKey hierarchical spatial indices and back with visual quadtree breakdown.
- GeoJSON ValidatorPaste or drop a GeoJSON file to validate it against RFC 7946. Get pinpointed errors, one-click fixes for unclosed rings and winding order, and a clean download.
- US Address GeneratorGenerate random US test addresses with a real city, state and ZIP code pairing. Pick a state, choose how many you need, and copy realistic placeholder addresses for form testing, QA and demos — each with approximate map coordinates.
- UK Address GeneratorGenerate random UK test addresses with a real town, county and postcode district. Choose a town, pick how many you need, and copy correctly formatted placeholder addresses for form testing, QA and demos.
- US Phone GeneratorGenerate random US test phone numbers with real area codes for real cities — but always in the reserved fictional 555-0100 to 555-0199 range, so a generated number can never belong to a real person. Built for form testing, QA and demos.
- Polyline Encoder & DecoderConvert a list of latitude/longitude points into a Google encoded polyline string, and decode any encoded polyline back into coordinates. Choose precision 5 (the Google Maps standard) or 6, see the route drawn on a map, and copy the result — all in your browser.
- Photo GPS EditorSee the GPS location stored inside a JPEG photo, move it to the right place, or strip it out before you share the picture. Everything happens in your browser — your photo is never uploaded.
Finding the Zoom-14 Tile That Contains the Eiffel Tower
A hobby developer in Lyon is building a small offline map app for a weekend in Paris and needs to pre-download the map tiles around the Eiffel Tower. Tiles are addressed by zoom, X, and Y, so he starts with the tower's coordinates, about 48.8584 degrees north and 2.2945 degrees east, and opens the Tile Coordinate Calculator at zoom level 14. He picks that zoom deliberately: at zoom 13 each tile covers too much city to show street detail, and at zoom 16 the same neighborhood would need hundreds of tiles instead of dozens.
The math behind the tool is worth seeing once. At zoom 14 the world is a grid 2 to the 14th power, or 16,384 tiles, in each direction. The X tile comes from longitude alone: add 180, divide by 360, multiply by 16,384. That gives (182.2945 / 360) x 16,384, which is about 8,296.4, so the tower sits in tile X 8,296. The Y tile uses a Mercator formula on the latitude and comes out at 5,637. That pairing, X from longitude alone and Y from a Mercator-stretched latitude, is the entire slippy map system in one sentence.
He also reads the bounding box the tool reports for that tile. Each zoom-14 tile spans about 0.022 degrees of longitude, which at Paris's latitude works out to almost exactly a mile across. Knowing the box tells him his point really does fall inside tile 8296/5637, and it lets him plan a neat 5-by-5 grid of 25 tiles to cover the neighborhood around the tower with room to spare. The box matters for a second reason too: his app draws a highlight at the tower's exact position, and he wants to be certain that point falls inside the downloaded grid rather than one tile beyond its edge.
He downloads those 25 tiles as z/x/y files, a few megabytes in total, and his app works in the Metro with no signal. The same calculation is how he will add tiles for Versailles later: new coordinates, same three numbers, no guesswork about which square of the planet he is looking at. His one regret is skipping this check on his first attempt, when a transposed longitude sent him downloading tiles for a quiet patch of farmland west of the city instead.
Common mistakes to avoid
- Expecting Y to count up from the equator. In the slippy map system, tile Y counts down from the north edge of the world. A bigger latitude gives a smaller Y, which feels backwards until you picture the grid starting at the top, like row numbers on graph paper taped to a wall.
- Quoting a tile without its zoom level. Tile 8,296 / 5,637 exists at every zoom and means a different place at each one. A tile address is always the full triple, zoom, X, and Y together, and file names and URLs should carry all three numbers as a set.
- Rounding coordinates to whole degrees first. Rounding 48.8584, 2.2945 to 49, 2 moves the point miles away and into a different tile. Keep at least four decimal places until after the tile is calculated; four places pin a point to about 36 feet (about 11 meters), which is finer than any tile decision needs.
Pro tips
- Use the reported bounding box as a sanity check: your point's latitude and longitude must fall between the box edges, near an edge means your point sits close to a tile border.
- Remember that each extra zoom level doubles the tile count in both directions, so zoom 15 needs four times the tiles of zoom 14 for the same area, and a storage budget that works at one zoom grows silently at the next.
- Name downloaded tiles in the standard z/x/y folder layout so any map library can read them without renaming, and most libraries accept the same layout straight from disk.
Applied Geospatial: Aviation, Marine, Time & Map APIs
Where mapping meets the real world: how planes navigate the curve of the Earth, how ships measure the sea, how time zones really work, and how developers build on map tiles and APIs. Written for Tile Coordinate Calculator (Slippy Map XYZ) and the everyday mapping tasks around it.
Great-Circle Navigation: Why Planes Arc
The shortest path between two points on a sphere is a great circle — the route you get slicing the planet through its center. On a flat map this looks like a dramatic arc, which is why New York to Tokyo flights swing near Alaska. The map is lying; the plane is flying straight.
Airlines do not fly perfect great circles. Jet streams — rivers of wind at 35,000 feet — can add 100 mph to ground speed or subtract it. Dispatchers nudge routes into favorable winds, trading a few extra miles for much faster trips. The planned track is a great circle bent by the weather.
For flight planning, distances come in flavors. Great-circle miles are the geometric minimum; filed flight plans run 3 to 7 percent longer for airways and maneuvering. Fuel planning adds reserves on top. When a tool reports 5,500 miles for a transatlantic hop, the airline plans for 5,800.
Airports are identified by two code systems. The 3-letter IATA codes (JFK, LHR, CDG) are for travelers; the 4-letter ICAO codes (KJFK, EGLL, LFPG) are for pilots and air traffic control, with the first letter naming the region. Both point to the same runways.
At Sea: Nautical Miles, Knots & Rhumb Lines
A nautical mile is one minute of latitude — about 1.15 land miles or 1.85 kilometers. Because it derives from the Earth's geometry, it is the natural unit for marine navigation: one minute of latitude traveled equals one nautical mile made good, anywhere on the planet.
Speed at sea is measured in knots — nautical miles per hour. The word comes from sailors tossing a knotted rope overboard and counting knots paid out against a sandglass. A container ship at 20 knots covers about 480 nautical miles a day, which is why your overseas order takes weeks.
Sailors historically steered rhumb lines: courses of constant compass bearing. A rhumb line spirals toward the pole and runs longer than the great circle, but it is trivially easy to follow — just hold the heading. Modern ships with GPS follow great circles, but the rhumb line remains the backup every navigator learns.
Ports are the fixed points of maritime geography. Each major harbor publishes exact coordinates for its harbor entrance, and shipping contracts price by port pair. A few miles of error in a port position can misroute a vessel into the wrong traffic lane — precision matters even on the open ocean.
This page shows the first two chapters. Read the complete this category field guide →