Coordinate Geometry Calculator for Distance, Midpoint, Slope and Triangle Measurements

Analyse a line from two points or add a third point to calculate triangle measurements.

Coordinate points

Point A

Point B

Two-point formulas

Distance = √((x₂−x₁)²+(y₂−y₁)²) · Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2) · Slope = (y₂−y₁)/(x₂−x₁)

Vertical and horizontal lines

A vertical line has undefined slope and equation x = constant. A horizontal line has slope zero.

Three-point triangle

Adding point C calculates triangle area by the coordinate determinant, perimeter from three distances and centroid by averaging the coordinates.

Frequently asked questions

What if both points are identical?

The distance is zero and no unique line is determined.

Can coordinates be negative?

Yes. Any finite real coordinates are accepted.