Bounding Box Calculator
Calculate the bounding box of a GeoJSON FeatureCollection
Upload a GeoJSON file and get the geographic extent of all its features: the smallest box, defined by its minimum and maximum coordinates, that contains them all. The result is returned as GeoJSON and previewed on a map.
Geojson Result
Free GeoJSON bounding box calculator
A bounding box describes the geographic extent of a set of features using its south, west, north and east boundaries. This calculator reads every geometry in your GeoJSON FeatureCollection and finds the smallest box that contains them all.
Use the result to set the initial view of a web map, check the extent of a dataset, or pass a bbox to a spatial API or GIS application. No manual calculation is needed. If you are unsure whether your file is well formed, run it through the GeoJSON validator first.
Frequently asked questions
What is a bounding box?
A bounding box is the smallest rectangle, aligned with latitude and longitude, that contains all of your geographic data. It is described by its south, west, north and east boundaries.
How do I calculate the bounding box of a GeoJSON file?
Upload your .json or .geojson FeatureCollection and press Calculate. The tool reads every geometry and returns the smallest box that contains all of them.
What can I use a bounding box for?
Bounding boxes are used to set the initial view of a map, to filter data to an area, and as the bbox parameter of many mapping and spatial APIs.
Which GeoJSON input is supported?
The calculator accepts a GeoJSON FeatureCollection in a .json or .geojson file.
Can I calculate bounding boxes in my own application?
Yes. Bounding box calculation is available through our API.
More free geospatial tools
Need this data in your own application?
Use the Geospatial Toolbox API
Calculate bounding boxes in your own application: the bounding box endpoint of our geospatial API returns the extent of a GeoJSON FeatureCollection, alongside coordinate conversion, geocoding and GeoJSON validation.