Free Online Contour Map Generator: XYZ Data to Contour Map
From a list of numbers to a finished map
Every field science eventually produces the same humble file: three columns of x, y, and a value. Elevations from a topo survey, water levels from monitoring wells, formation tops from drilling, grades from sampling. The app above turns that file into a finished contour map in one click. Paste the points or load a CSV, and it grids them with inverse distance weighting, colors the surface, threads labeled contour lines through it with the marching squares algorithm, and overlays your data points. Click anywhere to read the interpolated value. Download the map as a PNG or print a report.

This is the first app in the Maps and Sections Suite, the mapping wing of the site, and it consumes the numbers that many of the calculators here produce: elevation grids from earthworks, water levels from pumping tests, grades from assay compositing.
What the two algorithms do
- Inverse distance weighting estimates each grid cell by asking every survey point for its opinion, trusting near points far more than distant ones; the power setting controls how fast that trust decays, with 2 the standard and higher values honoring local data more tightly.
- Marching squares walks the grid cell by cell and finds exactly where each contour level crosses the cell edges, which is why the lines pass precisely between your points instead of through them.
- The auto interval picks a clean round number giving about ten contours; set your own for survey-standard intervals like 0.5 m water table maps or 5 m topo.
- Grid resolution trades smoothness for speed: 120 cells is crisp for most datasets, and a few hundred points still map instantly.
What to map with it
- Structure contour maps from formation top picks, the geologist's bread and butter.
- Water table and drawdown maps from monitoring well levels, in the blue ramp.
- Grade heat maps from drillhole or soil sampling, in the thermal ramp.
- Site grading and topo from any leveling survey, ready for the earthworks calculator next door.
Honest limits
IDW is the workhorse of quick mapping, but it never extrapolates beyond your data range and it makes bulls-eyes around isolated extreme points; kriging and spline methods in GIS packages smooth those artifacts at the cost of setup time. For a first map, a check on a consultant's figure, or a classroom, this is the same mathematics running instantly and free.
Related Calculators and Reference
- Free Online Earthworks Volume Calculator for turning the same survey into cut and fill.
- Free Online Pumping Test Analysis Tool for the water levels behind a groundwater map.
- Free Online Drillhole Assay Compositing Tool for grades on proper support before mapping.
- External reference: the USGS, maker of the topographic maps this app imitates.
Common Questions
How do I make a contour map from XYZ data?
Paste your points as x, y, value rows or load a CSV into the generator at the top of this page, and it grids them with inverse distance weighting and draws labeled contours instantly. The map downloads as a PNG or prints to PDF.
What interpolation does the contour map generator use?
Inverse distance weighting with an adjustable power, followed by marching squares to thread the contour lines through the grid. Power 2 is the standard; higher values honor local points more tightly.
Is my survey data uploaded anywhere?
No. The gridding and drawing happen entirely in your browser, so the data never leaves your machine.
