MATH

Distance between points calculator

Find straight-line distance in a two-dimensional plane.

01 / INPUTS

Your numbers

02 / YOUR RESULT
5
Distance in input units

Default inputs are examples. Change them to match your situation.

How to use this calculator

Find straight-line distance in a two-dimensional plane. Enter x₁, y₁, x₂, y₂. The result updates when you change an input. To compare two sets of inputs, save scenario A, then enter the second set; the result panel shows the difference.

Formula and limits

Distance = √[(x₂ − x₁)² + (y₂ − y₁)²]. Use the same units on both axes.

Worked example

Starting-value example (not a recommended target):

InputExample value
x₁0
y₁0
x₂3
y₂4

Distance in input units: 5

Interpreting your result

Use consistent units when a calculator asks for lengths or areas. Negative inputs are accepted only where the operation supports them. Display rounding does not change the underlying formula.

How scenario comparisons and rounding work

Find the direction of the line

Distance tells you how far apart two points are. Use the slope calculator for two points to find the line’s rise over run from the same coordinates.

Background reading

OpenStax Algebra and Trigonometry. This is a subject reference, not an endorsement or independent review of Calcaven.

Implementation updated September 25, 2026 · How we check calculations