Distance & Slope Calculator

Find the distance, slope, and midpoint between any two points on a coordinate plane.

(x1, y1) (x2, y2)
Distance-
Slope-
Midpoint-
Advertisement
Advertisement

What Is a Distance & Slope Calculator?

This calculator finds the straight-line distance, slope, and midpoint between two points on a coordinate plane, using their x and y coordinates.

Formulas

How to Use This Calculator

Worked Example

Point 1 is (1, 2) and Point 2 is (4, 6). Distance = √[(4−1)² + (6−2)²] = √(9 + 16) = √25 = 5. Slope = (6−2)/(4−1) = 4/3 ≈ 1.33. Midpoint = (2.5, 4). Enter these coordinates above to verify.

Common Uses

This is a core tool in coordinate geometry, used in navigation and mapping, computer graphics, physics (displacement calculations), and algebra and geometry coursework.

Frequently Asked Questions

How is distance between two points calculated?

Using the distance formula (derived from the Pythagorean theorem): distance = √((x2−x1)² + (y2−y1)²).

How is slope calculated?

Slope = (y2 − y1) ÷ (x2 − x1), representing the rise over run between two points on a line.

What does a negative slope mean?

It means the line goes downward from left to right — as x increases, y decreases.

Suggest a Calculator

👋 We noticed you might be using an ad blocker. This site is free thanks to ads — consider allowing them here to support us. Thanks!