Coordinate Grid Calculator

The Coordinate Grid Calculator finds the distance, midpoint, and slope between two points on the coordinate plane. Enter the coordinates of both points.

Formula

Distance = √((x₂−x₁)² + (y₂−y₁)²); Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2); Slope = (y₂−y₁)/(x₂−x₁)
  • Distance uses the Pythagorean theorem on the coordinate differences.
  • A vertical line (equal x-values) has an undefined slope.

(1,2) to (4,6)

Inputs
  • x₁: 1
  • y₁: 2
  • x₂: 4
  • y₂: 6

Distance = √(9+16) = 5, midpoint (2.5, 4), slope 4/3 ≈ 1.33.

Frequently asked questions

How do you find the distance between two points?
Take the square root of the sum of the squared differences in x and y: √((x₂−x₁)² + (y₂−y₁)²).