Plot points on a coordinate grid, calculate distances, midpoints, slopes, areas, and identify quadrants. Includes SVG grid display, pairwise distance table, and presets.
The coordinate grid (Cartesian plane) is the foundation of analytic geometry, connecting algebra and geometry by assigning every point a pair of numbers (x, y). This calculator lets you plot up to four points on an interactive grid and instantly computes distances, midpoints, slopes, quadrant locations, perimeters, and areas.
Enter coordinates for two, three, or four points and watch them appear on a clean SVG grid. For any pair of points, the distance formula √((x₂−x₁)² + (y₂−y₁)²) gives the straight-line distance, while the midpoint formula ((x₁+x₂)/2, (y₁+y₂)/2) finds the center. The slope Δy/Δx reveals the line's steepness and direction.
When you enter three or more points, the calculator treats them as vertices of a polygon. It computes the perimeter by summing consecutive side lengths and the area using the shoelace formula — a powerful technique that works for any simple polygon. The pairwise distance table and visual bars let you compare all side and diagonal lengths at a glance.
Quadrant identification is automatic: Quadrant I (++), II (−+), III (−−), IV (+−), plus axis and origin detection. This is essential for understanding transformations, reflections, and rotations. Whether you're plotting homework problems, verifying geometry constructions, or exploring coordinate patterns, this tool brings the grid to life.
Computing distances, midpoints, slopes, and polygon areas from coordinates involves several formulas applied to multiple point pairs — the arithmetic adds up fast and one wrong sign mangles every downstream result. This calculator plots up to four points on an SVG grid, computes all pairwise distances and midpoints, identifies quadrants, and applies the shoelace formula for area. Geometry students verify homework answers visually, teachers project the interactive grid in class, and anyone sketching shapes on paper can double-check measurements instantly.
Distance: d = √((x₂−x₁)² + (y₂−y₁)²). Midpoint: M = ((x₁+x₂)/2, (y₁+y₂)/2). Slope: m = (y₂−y₁)/(x₂−x₁). Area (Shoelace): A = ½|Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)|.
Result: Distance = 5.831, Midpoint = (0.5, 2.5), Slope = 0.6
d = √((−2−3)² + (1−4)²) = √(25+9) = √34 ≈ 5.831. Midpoint = ((3+(−2))/2, (4+1)/2) = (0.5, 2.5).
The distance formula d = √((x₂−x₁)² + (y₂−y₁)²) is simply the Pythagorean theorem applied to the horizontal and vertical displacements between two points. The horizontal leg is |x₂ − x₁| and the vertical leg is |y₂ − y₁|; the hypotenuse of the resulting right triangle is the straight-line distance. This connection between algebra and geometry — first formalised by René Descartes in 1637 — is the founding idea of analytic geometry and makes every geometric question answerable with arithmetic.
Given vertices (x₁, y₁), (x₂, y₂), …, (xₙ, yₙ) listed in order, the area is A = ½|Σ(xᵢ yᵢ₊₁ − xᵢ₊₁ yᵢ)|, cycling indices so that the last vertex connects back to the first. The name comes from the criss-cross pattern of multiplications, which looks like threading a shoelace. The formula works for any simple (non-self-intersecting) polygon, convex or concave. It is especially handy for irregular shapes where base-times-height methods fail. A result of zero means the points are collinear.
The slope m = (y₂ − y₁)/(x₂ − x₁) measures the steepness and direction of a line. A positive slope rises left to right; a negative slope falls. A slope of zero is a horizontal line; an undefined slope (denominator zero) is vertical. The midpoint M = ((x₁+x₂)/2, (y₁+y₂)/2) finds the exact centre of a segment, useful in construction (centre of a beam), navigation (halfway between two GPS waypoints), and computer graphics (subdivision algorithms). These formulas, together with distance and area, form the toolkit of coordinate geometry that underpins surveying, CAD software, and game-engine physics.
The coordinate grid (Cartesian plane) is a two-dimensional number plane where every point is identified by an ordered pair (x, y). The horizontal axis is x and the vertical axis is y.
It's the Pythagorean theorem applied to coordinates. The horizontal difference and vertical difference form the legs of a right triangle, and the distance is the hypotenuse.
Quadrant I: x>0, y>0. Quadrant II: x<0, y>0. Quadrant III: x<0, y<0. Quadrant IV: x>0, y<0. Points on the axes don't belong to any quadrant.
A formula for computing the area of a polygon given its vertices' coordinates. Sum xᵢyᵢ₊₁ − xᵢ₊₁yᵢ for consecutive vertex pairs, take the absolute value, and divide by 2.
This calculator supports up to 4 points, which covers most educational problems. For more complex polygon analysis, a dedicated polygon tool would be needed.
Manhattan (taxicab) distance is |x₂−x₁| + |y₂−y₁| — the distance if you can only travel along grid lines. It's shown for 2-point mode alongside the Euclidean distance.