Distance between two points in a plane
Use the inputs below to calculate «Distance between two points in a plane»: First point x, First point y, Second point x, Second point y. Use consistent units and check the assumptions.
Changes number formatting only, not currency, units or country-specific rules.
Compare scenarios
Save up to four scenarios temporarily on this page. Inputs are not stored or sent to the server by this feature. The comparison disappears when you reload or leave the page.
Use the browser print dialog to save the current result and comparisons as PDF if supported. No file is uploaded.
How to use this calculator
Enter the following values:
- First point x
- First point y
- Second point x
- Second point y
The result updates automatically as you change the inputs. Use the example below to check the calculation.
Formula
hypot((x2 − x1), (y2 − y1))Use the units shown; monetary values use the same currency throughout.
Worked example
- First point x
- 0
- First point y
- 0
- Second point x
- 3
- Second point y
- 4
Result: 5
Results are estimates; verify assumptions before making decisions.