basic

Midpoint of Two Points Calculator

Midpoint of a segment in 2D or 3D.

Compute the midpoint of a line segment between two points in 2D (set z₁ = z₂ = 0) or 3D space — i.e. the component-wise average of the endpoints.

Published Last reviewed 1 min read

Inputs

Results

Enter values and click Calculate to see results.
Was this helpful?

How to use this calculator

  1. Fill in the inputs above using the units you already have.
  2. Values update automatically as you type — no submit button needed.
  3. Hover any result row for the underlying formula and intermediate values.

Formula

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

In depth

Compute the midpoint of a line segment between two points in 2D (set z₁ = z₂ = 0) or 3D space — i.e. the component-wise average of the endpoints.