PPolySim OS

Spatial Interpolation (IDW)

You have rainfall readings at a dozen gauges — what about everywhere in between? Inverse-distance weighting fills the gaps into a smooth map.

Spatial Interpolation (IDW)Live

Controls

Presets

Given scattered measurements — rainfall gauges, soil samples, air-quality sensors — inverse-distance weighting estimates values everywhere in between. Each sample's influence falls off with distance raised to a power: a low power gives smooth, blended surfaces; a high power makes each sample dominate its neighborhood in sharp bull's-eyes. The workhorse of GIS mapping.

▶ Run in Python

Data Inspector

Samples8
Power p2.0
Characterbalanced

Governing equation

Reading this result: At power 2.0 nearby samples win but distant ones still contribute — a balanced surface between smooth and spiky.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

Inverse-distance weighting estimates a value at any location as a weighted average of nearby samples, with weights falling off as distance to a power. A low power gives smooth, gently blended surfaces; a high power lets each sample dominate its neighborhood, producing bull's-eyes. It is a staple of GIS for mapping rainfall, pollution, elevation, and mineral grades.

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Geospatial simulations

Frequently asked questions

Is this inverse distance weighting interpolation tool really free?
Yes. Spatial Interpolation (IDW) runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.