Metric Unit Calculator
Math calculator

2D Distance Calculator

Find the straight-line distance between two points in a Cartesian plane.

Distance: -

2D Distance Calculator diagram

The diagram updates with your entries and is illustrative, not necessarily drawn to scale.

How this result was calculated

The formula, your substituted values, and the evaluated result are shown below.

Coordinates must use the same scale and unit. The result is always non-negative.

Products that may help

Recommended

Udemy Education

Udemy is an AI-powered skills acceleration platform transforming how companies and individuals across the world build the capabilities needed to thrive in a rapidly evolving workplace.

View offerAffiliate link — we may earn a commission at no extra cost to you.

How the 2D Distance Calculator works

Find the straight-line distance between two points in a Cartesian plane.

Formula

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

How to use this calculator

  1. Enter every measurement using one consistent length or angle unit.
  2. Select Calculate to evaluate the formula.
  3. Review the substituted values in the calculation explanation.

Interpretation and limitations

Coordinates must use the same scale and unit. The result is always non-negative. Decimal answers are rounded for display; retain additional precision for subsequent calculations.

Geometry collection

This calculator belongs to the Plane Geometry section of the Math calculator library.