5 units
Distance Calculator
Use this free distance calculator to enter two points and find straight-line distance, delta x, delta y, midpoint, and formula steps.
- Delta x
- 3
- Delta y
- 4
- Midpoint
- (2.5, 4)
Steps
- Find delta x: 4 - 1 = 3.
- Find delta y: 6 - 2 = 4.
- Use the distance formula: d = sqrt((x2-x1)^2 + (y2-y1)^2).
- The distance is 5 cm.
How to use the distance calculator
- Enter the first point as x1 and y1.
- Enter the second point as x2 and y2.
- Press Calculate distance to see distance, delta x, delta y, and midpoint.
- Use examples, recent answers, or copy the result while checking coordinate geometry.
Common uses
Find straight-line distance between two coordinate points.
Calculate midpoint while checking coordinate geometry problems.
Compare distance with slope for the same pair of points.
Copy distance formula steps into notes or homework.
Examples
17 units
10 units
Frequently asked questions
Quick answers about formulas, units, valid measurements, examples, copying, and private in-browser history.
What formula does the Distance Calculator use?
It uses d = sqrt((x2 - x1)^2 + (y2 - y1)^2), the standard distance formula for two points in a plane.
Does it show midpoint?
Yes. It shows midpoint as ((x1 + x2) / 2, (y1 + y2) / 2).
Can I use negative coordinates?
Yes. Negative x and y values are accepted as long as each coordinate is a valid number.
Should I use this or the Slope Calculator?
Use Distance Calculator for length between points. Use Slope Calculator for steepness, rise, run, and line equations.
What units does the answer use?
The answer uses the unit label you enter. If your coordinates are in meters, the distance is in meters.
Is my distance history private?
Yes. Recent distance answers stay only in the current browser tab while you use the page. They are not sent to a server.