Math

Distance Calculator

Live

Measure straight-line distance between two points on a coordinate plane.

About Distance Calculator

Measure straight-line distance between two points on a coordinate plane. Enter first point x, first point y, second point x, second point y in a purpose-built geometry workspace with explicit units and relevant controls. The Pythagorean distance formula uses the horizontal and vertical differences between the points. The result panel reports distance, horizontal change, vertical change, squared distance with supporting context. Results depend on the entered assumptions and should be checked against the real terms, measurements, or source data. Processing stays in your browser and entered values are not sent to UtilityPages.

Set up Distance Calculator

Workspace

Structured calculation

Follow the input-to-result path; the fields below remain the source of every value.

Complete the fields to prepare a result.

Enter the first point x used by this tool.

Enter the first point y used by this tool.

Enter the second point x used by this tool.

Enter the second point y used by this tool.

Distance Calculator results

Enter the values above, then calculate to see the result.

Distance Calculator method

The Pythagorean distance formula uses the horizontal and vertical differences between the points.

How it works

The Pythagorean distance formula uses the horizontal and vertical differences between the points. Results depend on the entered assumptions and should be checked against the real terms, measurements, or source data.

Examples

Distance Calculator example

Example input
{
    "x1": 2,
    "y1": 3,
    "x2": 11,
    "y2": 15
}
Expected result
{
    "distance": 15,
    "horizontal_change": 9,
    "vertical_change": 12,
    "squared_distance": 225
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Frequently asked questions

How does the Distance Calculator work?

The Pythagorean distance formula uses the horizontal and vertical differences between the points.

What should I enter in the Distance Calculator?

Enter first point x, first point y, second point x, second point y. Keep units consistent with the labels and use values from the same scenario.

What does the Distance Calculator return?

The result includes distance, horizontal change, vertical change, squared distance. Supporting values are included to make the headline result easier to check.

How exact is the Distance Calculator?

Results depend on the entered assumptions and should be checked against the real terms, measurements, or source data.