# Coordinate Geometry Calculator - Distance, Midpoint, Slope and Line Equations

> Free online coordinate geometry calculator: distance, midpoint, slope, line equations, point-to-line distance with the foot, triangle centres and polar form.

- URL: https://qilingtools.com/en/math/coordinate
- Category: Math Tools (https://qilingtools.com/en/math)
- Tags: [Math](https://qilingtools.com/en/tags/math), [Education](https://qilingtools.com/en/tags/education)
- Last updated: 2026-10-26
- Price: Free, no sign-up
- Privacy: Runs locally in the browser; files are never uploaded

The coordinate geometry you need most often: distance, midpoint, slope, line equations and the perpendicular bisector from two points; distance, foot of the perpendicular and reflection for a point and a line; area, collinearity, centroid and circumcircle for three points; plus conversion between polar and Cartesian coordinates.

## How to use

1. Choose two points, point and line, three points, or polar conversion
2. Enter the coordinates, or the A, B and C of the line
3. Read the results and the formula, and copy what you need

## Features

- Two points: distance, midpoint, slope, inclination, slope-intercept and general forms, perpendicular bisector
- Point and line: distance, foot of the perpendicular, reflection across the line
- Three points: area, collinearity, perimeter, centroid, circumcentre and circumradius
- Two-way polar ↔ Cartesian conversion in degrees and radians
- Vertical lines are flagged rather than given a bogus slope

## FAQ

### What is the distance formula?

d = √[(x₂−x₁)² + (y₂−y₁)²] — Pythagoras in coordinates. The midpoint is the average of each coordinate.

### How do I find the distance from a point to a line?

Write the line as Ax+By+C=0; then d = |Ax₀+By₀+C| / √(A²+B²). The foot of the perpendicular and the reflected point are given too.

### How can I tell whether three points are collinear?

Compute the triangle area — zero means collinear. The tool uses the cross product: S = ½|x₁(y₂−y₃) + x₂(y₃−y₁) + x₃(y₁−y₂)|.

### When is the slope undefined?

When the two points share an x-coordinate the line is vertical and has no slope; the equation is written x = constant and the tool says so explicitly.

## Related tools

- [Graphing Calculator](https://qilingtools.com/en/math/graph): Free online function graphing calculator: type sin(x), x^2 or 1/x and see the curve at once, with several functions, parametric and polar curves, PNG export.
- [Scientific Calculator](https://qilingtools.com/en/math/calculator): Free online scientific calculator: type 2*(3+4)^2, sin(pi/6) or log(8,2) and see the answer as you type, with degrees or radians and a history list.
- [Equation Solver](https://qilingtools.com/en/math/equation): Free online equation solver: enter coefficients for linear, quadratic (with discriminant, vertex and complex roots) and cubic equations, plus 2×2 systems.
- [Fraction Calculator](https://qilingtools.com/en/math/fraction): Free online fraction calculator: add, subtract, multiply and divide fractions with automatic reduction, plus fraction ↔ decimal with repeating digits.
- [Percentage Calculator](https://qilingtools.com/en/math/percentage): Free online percentage calculator: X% of Y, X as a percent of Y, increase and decrease, a value after a percentage change and the original behind it.
- [Prime Factorization](https://qilingtools.com/en/math/prime): Free online prime factorization: factor an integer with exponents, list every divisor and their sum, test primality with neighbouring primes, or list a range.
- [GCD and LCM](https://qilingtools.com/en/math/gcd-lcm): Free online GCD and LCM calculator: works with two or more integers, says whether they are coprime, shows each prime factorization and every Euclidean step.
- [Statistics Calculator](https://qilingtools.com/en/math/statistics): Free online statistics calculator: paste a data set for the mean, median, mode, range, quartiles, variance, standard deviation, standard error and outliers.
