JESUS CHRIST IS THE ONLY TRUE GOD
Math calculator

Distance Calculator

Calculate Euclidean distance between two points in a plane.

Your calculationPrivate in your browser
Report a result

Start with a worked example

Open the worked example for Distance. The example starts with x₁ = 0, y₁ = 0, x₂ = 3.

Distance Calculator formula

d = √((x₂−x₁)² + (y₂−y₁)²).

Inputs and units

Inputs and example values for Distance Calculator
InputFormat / rangeExample
x₁Number0
y₁Number0
x₂Number3
y₂Number4

Worked example

The values listed in Inputs and units give 5 for Distance.

Distance
5
Δx
3
Δy
4

Results and assumptions

Change x₁ from 0 to 0.1 and keep the other example inputs fixed. The updated answer is 4.9406477308 (Distance).

Fix an input or unexpected result

x₁ is required. Enter x₁ using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.

See how to check a result or report an issue.