Coordinate Grid Calculator

Our coordinate grid calculator can generate a grid of coordinates in a 2D space in all the possible regular grids.

Clear
Distance5
Midpoint(1.5, 2)
Slope1.33333333
Δx and Δy3 and 4
Manhattan distance7along the grid rather than direct
Angle from the x-axis53.130102°

The formula

d = √((x₂ − x₁)² + (y₂ − y₁)²)

It is Pythagoras

The horizontal and vertical gaps form the legs of a right triangle, and the distance is the hypotenuse. That is the whole derivation, and it extends directly to three dimensions by adding a Δz² term.

Manhattan distance adds the legs instead of taking the hypotenuse — the distance you would actually walk on a street grid, and always at least as large as the straight line.