Distance Between Two Points
Calculate the straight-line distance, midpoint, slope and angle between two points on a 2D coordinate plane.
Hit Calculate to plot the points
Calculate to compare Δx and Δy
Metrics appear after calculation
Your explanation appears here
The Euclidean distance is √((x₂ − x₁)² + (y₂ − y₁)²). No API calls or external computation are used.
Your plan appears after calculation
Move point B without changing point A to see how distance, slope and angle respond.
Calculate your baseline first
It uses the standard Euclidean distance formula: √((x₂ − x₁)² + (y₂ − y₁)²). The same coordinate differences are also used for midpoint, slope and angle.
Yes. If x₂ − x₁ = 0, the line is vertical, so slope is undefined because division by zero would be required.
Yes. You can enter positive, negative or decimal values. All calculations run in your browser and support large coordinate ranges.
Results are generated locally in your browser using standard 2D coordinate geometry formulas. They are for educational and informational purposes only. Check units, coordinate systems and rounding requirements before using results in engineering, surveying, navigation or graded work. VisionVix accepts no liability for decisions based on this output.