Bounding Box Builder
Build a bounding box from points or a center+radius, in every common ordering.
About this tool
Compute an axis-aligned bounding box (extent) from a list of coordinates or from a single center point plus a radius. It emits the box in the orderings used by GeoJSON, Leaflet, WKT and common APIs, plus the center and physical width and height in kilometres. Handy for setting map viewports, spatial queries and tile requests.
Frequently asked questions
How do I make a bounding box from coordinates?
Paste one 'lat,lon' point per line. The tool finds the min and max latitude and longitude and returns the enclosing box in several orderings.
Can I build a box around a single point?
Yes. Enter 'center: lat,lon' on the first line and set radius_km= in the options. The box is expanded using ~111.32 km per latitude degree and 111.32*cos(lat) km per longitude degree.
What output formats are produced?
GeoJSON bbox [minLon,minLat,maxLon,maxLat], the swapped lat/lon ordering, an S,W,N,E string, a WKT POLYGON, the center point and the box width and height in kilometres.