Distance, Midpoint & Slope Calculator

Find the distance, midpoint, and slope of the line between two points with formula breakdowns.

Distance, Midpoint & Slope Calculator interactive tool

Enter two points

Point A (x₁, y₁)

Point B (x₂, y₂)

Distance, midpoint & slope
Distance5.0000

Using the distance formula: √((x₂ − x₁)² + (y₂ − y₁)²).

Midpoint(2.0000, 1.5000)

Using the midpoint formula: ((x₁ + x₂) / 2, (y₁ + y₂) / 2).

Slope0.7500

Using the slope formula: (y₂ − y₁) / (x₂ − x₁).

What Is Distance, Midpoint & Slope?

A distance, midpoint & slope calculator is a coordinate-geometry helper that takes two points in the plane and instantly returns three key facts about the line segment connecting them.

Formulas Used by the Calculator

  • Distance: √((x₂ − x₁)² + (y₂ − y₁)²)
  • Midpoint: ((x₁ + x₂) / 2, (y₁ + y₂) / 2)
  • Slope: (y₂ − y₁) / (x₂ − x₁), undefined for vertical lines

This tool is especially useful in algebra and analytic geometry when you need to analyze line segments, check graphing work, or explore relationships between points without repeatedly doing calculator keystrokes by hand.

How To Use the Distance, Midpoint & Slope Calculator

  1. Enter the x₁ and y₁ coordinates for the first point in the left card.
  2. Enter the x₂ and y₂ coordinates for the second point in the right card.
  3. Review the distance between the two points computed using the distance formula in the results card.
  4. Review the midpoint coordinates and the slope of the line connecting the two points, including whether the line is vertical or horizontal.
  5. Use the Example button to load a classic 3-4-5 triangle example, or Reset to clear all coordinate fields.

Distance, Midpoint & Slope Calculator FAQs

Related Tools