📏 Distance Between Two Points Calculator

Distance

Distance Formula

The distance between two points (x₁, y₁) and (x₂, y₂) in a coordinate plane is derived from the Pythagorean theorem.

d = √[(x₂−x₁)² + (y₂−y₁)²]
Example: (1,2) to (4,6): d = √[(4−1)²+(6−2)²] = √(9+16) = √25 = 5

Applications

  • Finding the length of a line segment on a graph
  • Computer graphics and game development
  • Mapping and navigation systems
  • Geometry and coordinate geometry problems

Frequently Asked Questions

What is the distance from (0,0) to (3,4)?
d = √(3²+4²) = √(9+16) = √25 = 5 units. This is a classic 3-4-5 right triangle.
What is the distance formula?
d = √[(x₂−x₁)² + (y₂−y₁)²]. It is derived from the Pythagorean theorem applied to the horizontal and vertical differences.
Can distance be negative?
No. Distance is always a positive value (or zero if the two points are the same). The formula uses a square root which always returns non-negative values.