Distance Calculator

Straight-line distance between two coordinate points in the plane.

2D distance

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

d5
Guide & resources

What this distance calculator does

This distance calculator finds straight-line length between two points in the plane. Enter (x₁, y₁) and (x₂, y₂); the tool computes Δx, Δy, and d = √(Δx² + Δy²). Reset uses (1, 2) and (4, 6), giving Δx = 3, Δy = 4, and distance 5—a classic 3-4-5 right triangle.

The Pythagorean theorem calculator solves triangle sides directly. Slope calculator uses the same deltas differently. Triangle calculator covers general triangles. Scientific calculator helps with radical simplification. See the math calculator hub for more geometry.

Who should use this page

Geometry and algebra students, tutors demonstrating right triangles or coordinate distance, and anyone checking homework with a consistent default example after Reset.

Distance is always non-negative

Square roots discard sign; swapping point order does not change d. Vertical or horizontal moves are special cases where one delta is zero.

Quick start

  1. Enter both coordinate pairs.
  2. Read Δx, Δy, and distance d.
  3. Try negative coordinates to test signs.
  4. Reset for distance 5 example.
  5. Keep one unit system throughout.

Formula reference

d = √[(x₂ − x₁)² + (y₂ − y₁)²]. This is the Pythagorean theorem applied to a right triangle with legs |Δx| and |Δy|.

Default distance calculation
Item Value Notes
(x₁,y₁) (1, 2) First point
(x₂,y₂) (4, 6) Second point
Δx 3 4 − 1
Δy 4 6 − 2
d 5 √(9+16)

Three worked examples (reset to defaults first)

Example 1

Default distance 5.

Example 2

(0,0) to (3,4) → 5.

Example 3

(0,0) to (1,1) → √2 ≈ 1.414.

Limitations

2D Euclidean distance only. No road-network routing. No unit conversion.

Distance fluency note 1

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 1: keep units consistent before simplifying or comparing.

Distance fluency note 2

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 2: keep units consistent before simplifying or comparing.

Distance fluency note 3

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 3: keep units consistent before simplifying or comparing.

Distance fluency note 4

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 4: keep units consistent before simplifying or comparing.

Distance fluency note 5

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 5: keep units consistent before simplifying or comparing.

Distance fluency note 6

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 6: keep units consistent before simplifying or comparing.

Distance fluency note 7

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 7: keep units consistent before simplifying or comparing.

Distance fluency note 8

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 8: keep units consistent before simplifying or comparing.

Distance fluency note 9

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 9: keep units consistent before simplifying or comparing.

Distance fluency note 10

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 10: keep units consistent before simplifying or comparing.

Distance fluency note 11

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 11: keep units consistent before simplifying or comparing.

Distance fluency note 12

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 12: keep units consistent before simplifying or comparing.

Distance fluency note 13

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 13: keep units consistent before simplifying or comparing.

Distance fluency note 14

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 14: keep units consistent before simplifying or comparing.

Distance fluency note 15

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 15: keep units consistent before simplifying or comparing.

Distance fluency note 16

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 16: keep units consistent before simplifying or comparing.

Distance fluency note 17

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 17: keep units consistent before simplifying or comparing.

Distance fluency note 18

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 18: keep units consistent before simplifying or comparing.

Distance fluency note 19

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 19: keep units consistent before simplifying or comparing.

Distance fluency note 20

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 20: keep units consistent before simplifying or comparing.

Distance fluency note 21

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 21: keep units consistent before simplifying or comparing.

Distance fluency note 22

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 22: keep units consistent before simplifying or comparing.

Distance fluency note 23

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 23: keep units consistent before simplifying or comparing.

Distance fluency note 24

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 24: keep units consistent before simplifying or comparing.

Distance fluency note 25

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 25: keep units consistent before simplifying or comparing.

Distance fluency note 26

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 26: keep units consistent before simplifying or comparing.

Distance fluency note 27

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 27: keep units consistent before simplifying or comparing.

Distance fluency note 28

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 28: keep units consistent before simplifying or comparing.

Distance fluency note 29

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 29: keep units consistent before simplifying or comparing.

Distance fluency note 30

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 30: keep units consistent before simplifying or comparing.

Distance fluency note 31

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 31: keep units consistent before simplifying or comparing.

Distance fluency note 32

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 32: keep units consistent before simplifying or comparing.

Distance fluency note 33

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 33: keep units consistent before simplifying or comparing.

Distance fluency note 34

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 34: keep units consistent before simplifying or comparing.

Distance fluency note 35

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 35: keep units consistent before simplifying or comparing.

Distance fluency note 36

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 36: keep units consistent before simplifying or comparing.

Distance fluency note 37

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 37: keep units consistent before simplifying or comparing.

Distance fluency note 38

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 38: keep units consistent before simplifying or comparing.

Distance fluency note 39

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 39: keep units consistent before simplifying or comparing.

Distance fluency note 40

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 40: keep units consistent before simplifying or comparing.

Distance fluency note 41

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 41: keep units consistent before simplifying or comparing.

Distance fluency note 42

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 42: keep units consistent before simplifying or comparing.

Distance fluency note 43

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 43: keep units consistent before simplifying or comparing.

Distance fluency note 44

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 44: keep units consistent before simplifying or comparing.

Distance fluency note 45

Plane distance combines horizontal and vertical separation with the Pythagorean theorem. Default points one two and four six yield distance five. Pair with the Pythagorean theorem calculator, slope calculator, triangle calculator, scientific calculator, and math calculator hub. Note 45: keep units consistent before simplifying or comparing.

Questions we hear often

Defaults, classroom use, and how this page fits your math stack—summarized below.

Default distance?

From (1, 2) to (4, 6) gives Δx=3, Δy=4, distance 5.

3D distance?

This page is 2D only—add √(Δz)² by hand or extend the formula.

Same as slope?

Slope is rise over run; distance is √(Δx²+Δy²).

Units?

Distance inherits your coordinate units; the tool does not convert.

Pythagorean link?

The distance formula is the Pythagorean theorem on a right triangle.

How we calculate: Math tools evaluate the expressions and formulas you enter using standard arithmetic and JavaScript Math functions (trigonometry, roots, powers). Fraction and percent pages reduce to exact rational steps where possible, then show decimals for convenience. We do not substitute for exam proctors, engineering sign-off, or financial rounding rules your employer requires.

Planar Euclidean distance—not driving directions.

Last updated: 2026-10-06