Distance Formula
📍

Distance Formula

GeometryNew

Calculate the straight-line distance between any two points in 2D space.

Distance Formula: d = √[(x₂-x₁)² + (y₂-y₁)²]

Calculate distance between two points

Distance Result

📍
Enter coordinates and press Calculate

About Distance Formula Calculator

Calculate the straight-line distance between any two points in 2D space. Also find midpoint, slope, and change in x and y coordinates. Perfect for geometry and coordinate math.

Distance Formula

d = √[(x₂ - x₁)² + (y₂ - y₁)²]

Also finds: Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2)

Slope = (y₂ - y₁) / (x₂ - x₁)

Step-by-Step Example

Find distance between (1,2) and (4,6):

1. Δx = 4 - 1 = 3

2. Δy = 6 - 2 = 4

3. Δx² = 9, Δy² = 16

4. Sum = 9 + 16 = 25

5. d = √25 = 5 units

Quick Examples

Frequently Asked Questions

The distance formula calculates the straight-line distance between two points: d = √[(x₂ - x₁)² + (y₂ - y₁)²]. Derived from the Pythagorean theorem.

The distance formula calculates the straight-line distance between two points: d = √[(x₂ - x₁)² + (y₂ - y₁)²]. Derived from the Pythagorean theorem.

Subtract x coordinates (Δx), subtract y coordinates (Δy), square both, add them, then take square root. Example: (1,2) and (4,6) → Δx=3, Δy=4 → d = √(9+16) = √25 = 5.

Subtract x coordinates (Δx), subtract y coordinates (Δy), square both, add them, then take square root. Example: (1,2) and (4,6) → Δx=3, Δy=4 → d = √(9+16) = √25 = 5.

Distance is the total path length (scalar). Displacement is straight-line distance from start to end (vector). The distance formula gives displacement, not total path length.

Distance is the total path length (scalar). Displacement is straight-line distance from start to end (vector). The distance formula gives displacement, not total path length.

No, distance is always positive because we square the differences before adding them. The formula uses absolute differences.

No, distance is always positive because we square the differences before adding them. The formula uses absolute differences.

About the Distance Formula

Calculate the straight-line distance between any two points in 2D space.

Formula

d = √[(x₂ - x₁)² + (y₂ - y₁)²]

Reference Table

CategoryValue
(0,0) and (3,4)5
(1,1) and (4,5)5
(0,0) and (0,5)5
Related Tools

Other Calculators