Midpoint Calculator

Find the midpoint between two coordinate points using the midpoint formula. Includes distance, slope, and a coordinate plane visualization.

Point 1 (x₁, y₁)

Point 2 (x₂, y₂)

Visualization

(2, 3)(8, 11)M (5, 7)

Midpoint

(5, 7)

Midpoint x5.0000
Midpoint y7.0000
Distance (length)10.0000
Δx (run)6.0000
Δy (rise)8.0000
Slope (m)1.3333
Step-by-step: midpoint = ((x₁+x₂)/2, (y₁+y₂)/2) = ((2+8)/2, (3+11)/2) = (5, 7).

How to Use the Midpoint Calculator

  1. Enter the coordinates of Point 1 (x₁, y₁) — the first endpoint of your line segment.
  2. Enter the coordinates of Point 2 (x₂, y₂) — the second endpoint.
  3. The midpoint appears instantly, along with the distance between the two points, the slope, and the Δx and Δy components.
  4. Use the visualization to see the line segment and where the midpoint sits — useful for double-checking by eye.

The Midpoint Formula

The midpoint formula finds the point exactly halfway between two coordinates by averaging the x-values and the y-values separately.

Midpoint M = ((x₁ + x₂)/2, (y₁ + y₂)/2)

Where:
(x₁, y₁) = coordinates of the first point
(x₂, y₂) = coordinates of the second point

Example: Find the midpoint of (2, 3) and (8, 11).

  • Midpoint x = (2 + 8) / 2 = 5
  • Midpoint y = (3 + 11) / 2 = 7
  • Midpoint = (5, 7)

The midpoint formula works in 3D too — just average the z-coordinates as well:

3D Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2, (z₁+z₂)/2)
Common companion formula — distance: d = √((x₂-x₁)² + (y₂-y₁)²). The midpoint and distance formulas come up together in geometry problems and the Pythagorean theorem.

Where the Midpoint Formula Shows Up Beyond Geometry Class

The midpoint formula is one of the most-used tools in computational geometry, computer graphics, navigation, and data analysis. Three real applications worth knowing:

ApplicationUse of MidpointWhy It Matters
GPS routingFind midway points to optimize multi-stop routesUsed by delivery, ride-share, and meet-up apps
Computer graphicsBresenham's line algorithm and Bezier curvesEvery 2D shape drawn on a screen uses midpoint math
Statistics (median estimation)Midpoint of class intervals in grouped dataHistograms, frequency tables, survey analysis
Navigation (rhumb lines)Midpoint along a constant-bearing courseAir and maritime flight planning
Signal processingSymmetric points around a center frequencyAudio EQ, antenna design, filter design

One nuance for spherical surfaces (like the Earth): the simple Cartesian midpoint formula doesn't give the great-circle midpoint between two latitude/longitude points. For navigation, use the great-circle midpoint formula:

Bx = cos(φ₂) · cos(λ₂ − λ₁)
By = cos(φ₂) · sin(λ₂ − λ₁)
φ_mid = atan2(sin(φ₁) + sin(φ₂), √((cos(φ₁)+Bx)² + By²))
λ_mid = λ₁ + atan2(By, cos(φ₁) + Bx)

For short distances (under ~50 miles), the simple Cartesian midpoint is accurate enough. For trans-continental routes, use the great-circle version.

Frequently Asked Questions

The midpoint formula finds the exact center between two points on a coordinate plane. Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2). Average the two x-coordinates to get the midpoint's x. Average the two y-coordinates to get the midpoint's y. The result is the point exactly halfway along the line segment connecting the two original points.

Related Calculators