Midpoint Calculator

Find the midpoint between two points in 2D or 3D. Also calculates distance, slope, equation of line, perpendicular bisector, and parametric point at any t value.

Midpoint X
Midpoint Y
Distance Between Points
Slope
Extended More scenarios, charts & detailed breakdown
Midpoint (x, y)
Distance
Slope
Professional Full parameters & maximum detail

Core Geometry

Midpoint (x, y)
Distance
Slope

Line Equations

Equation of Line
Perpendicular Bisector Eq.

Advanced

Triangle Area (with origin)
Parametric Point at t

How to Use This Calculator

Enter the coordinates of two points (x₁, y₁) and (x₂, y₂). The calculator instantly shows the midpoint, distance, and slope. Use the 3D Midpoint tab for three-dimensional coordinates. Use Divide Segment to find the point that splits a segment in any ratio m:n. The Professional tab adds line equation, perpendicular bisector, triangle area, and parametric point.

Formula

Midpoint: M = ((x₁+x₂)/2, (y₁+y₂)/2) • Distance: d = √((x₂−x₁)² + (y₂−y₁)²) • Slope: m = (y₂−y₁)/(x₂−x₁)

Example

Points (1,2) and (7,8) → Midpoint = (4, 5) → Distance = 8.485 → Slope = 1

Frequently Asked Questions

  • The midpoint M between points (x₁, y₁) and (x₂, y₂) is M = ((x₁+x₂)/2, (y₁+y₂)/2). Each coordinate of the midpoint is the arithmetic mean of the corresponding coordinates.
  • For points (x₁,y₁,z₁) and (x₂,y₂,z₂), the midpoint is ((x₁+x₂)/2, (y₁+y₂)/2, (z₁+z₂)/2). The same averaging principle applies to all three dimensions.
  • The division point is ((m·x₂ + n·x₁)/(m+n), (m·y₂ + n·y₁)/(m+n)). This is called the section formula. When m=n=1 it gives the midpoint.
  • A perpendicular bisector passes through the midpoint of a segment and is perpendicular to it. Its slope is the negative reciprocal of the segment's slope.
  • A parametric point at t represents a fraction of the way along the segment from point 1 to point 2. t=0 is point 1, t=1 is point 2, t=0.25 is 25% of the way from point 1 to point 2.

Related Calculators