All tools

Coordinate Geometry Calculator

Distance, slope, midpoint, and line equation from two points.

Distance
5
Slope
1.3333

Midpoint: (1.5, 2)

Line equation: y = 1.3333x + 0

Δx: 3, Δy: 4

Slope is undefined when the line is vertical (x₁ = x₂). Distance uses the Pythagorean theorem.

About

Enter two (x, y) points and the tool computes the distance between them, the slope of the line through them, the midpoint, and the equation of the line in slope-intercept form.

How to use

  1. Enter (x₁, y₁) and (x₂, y₂).
  2. Read distance, slope, midpoint, and equation.

FAQ

What if the line is vertical?+

Slope is undefined. The equation becomes x = (constant). The tool handles this case.