Distance Between Two Points Calculator

Calculate the Euclidean distance between two points in a 2D plane

Input Parameters

Calculation Results

Distance Result

--

Calculation Formula:
√((x2 - x1)² + (y2 - y1)²)

Where:
- (x1, y1) are the coordinates of the first point
- (x2, y2) are the coordinates of the second point
- The distance is calculated using the Euclidean distance formula

Distance Between Two Points Calculator Usage Guide

Learn how to use the Distance Between Two Points Calculator and its working principles

How to Use the Calculator

  1. Enter the X and Y coordinates for the first point (x1, y1).
  2. Enter the X and Y coordinates for the second point (x2, y2).
  3. Click the "Calculate" button to compute the distance.
  4. The distance result will be displayed in the results area.
  5. Click "Reset" to clear all input fields and start over.

Working Principle

This calculator uses the Euclidean distance formula to calculate the straight-line distance between two points in a 2D plane:

√((x2 - x1)² + (y2 - y1)²)

This formula represents the length of the line segment connecting the two points and is the most common way to measure distance in a Cartesian coordinate system.

Example

For example, if you have two points:

  • Point 1: (3, 4)
  • Point 2: (7, 1)

The distance between them would be calculated as:

√((7 - 3)² + (1 - 4)²) = √(4² + (-3)²) = √(16 + 9) = √25 = 5