Skip to content

Distance Formula Calculator

Math
0.0(0)

Calculates the distance between two points in a Cartesian coordinate system.

How To Use

How to use this calculator

Start with your values, or try a preset.

Step 1

Enter x-coordinate of point 1, y-coordinate of point 1, x-coordinate of point 2, and y-coordinate of point 2 in the units shown.

Step 2

Read Distance between the two points in the results panel. Results update as you change the inputs.

Step 3

Choose a preset to load an example, then adjust the values for your situation.

Worked Examples

Example calculations

See the inputs and their calculated results.

Example 1: (0,0) to (3,4)

x-coordinate of point 1: 0; y-coordinate of point 1: 0; x-coordinate of point 2: 3; y-coordinate of point 2: 4

Distance between the two points: 5

Example 2: (1,1) to (4,5)

x-coordinate of point 1: 1; y-coordinate of point 1: 1; x-coordinate of point 2: 4; y-coordinate of point 2: 5

Distance between the two points: 5

Example 3: (2,3) to (5,7)

x-coordinate of point 1: 2; y-coordinate of point 1: 3; x-coordinate of point 2: 5; y-coordinate of point 2: 7

Distance between the two points: 5

Explore the topic

Explore More Math & Statistics Calculators

Use calculators for algebra, geometry, trigonometry, probability, statistics, averages, z-scores, tests, and graphing tasks.

Explore tools
People Also Calculate

Related Calculators

Continue with another tool on a related topic.