# Midpoint Calculator

Written by:
PK

On this page is a midpoint calculator, which will return a point which is exactly in the middle of two points. It works for 1 through 6 dimensions, even though it is most common for two and three dimensions.

For dedicated 2D and 3D midpoint calculators, see here:

## What is the Midpoint?

The midpoint is the exact middle point of a line segment. When you calculate a midpoint, usually you are looking at a line segment drawn between two points and finding a middle point between them.

For each axis you're interested in, the midpoint of two points is basically the average of the 2 points along that axis.

## Formula for Midpoint

The formula for midpoint of two points is:

\frac{A+B}{2}

So, for two-dimensions with points (x1, y1), (x2, y2), here's how it looks:

midpoint\ (x_1, y_1), (x_2, y_2)=(\frac{x_1+x_2}{2}, \frac{y_1+y_2}{2})

You can extend that to any arbitrary number of dimensions. And for 1 dimension, which is one line on an axis, you just need the arithmetic average of the two numbers to have the midpoint (e.g. the midpoint of 3 and 9 is 6).

## Using the Midpoint Calculator

To use the midpoint calculator, first select the number of dimensions or axes you'd like to enter your points using in the Dimensions pulldown. If you change the number of dimensions, the two point forms will either expand or contract in size.

After choosing dimensions, enter which every dimensions you need in the First Point and Second Point forms. When happy, merely press the Compute Midpoint button and we'll put the midpoint in the Midpoint box.

Please enjoy our other calculators and tools. ### PK

PK started DQYDJ in 2009 to research and discuss finance and investing and help answer financial questions. He's expanded DQYDJ to build visualizations, calculators, and interactive tools.

PK is in his mid-30s and works and lives in the Bay Area with his wife, two kids, and dog.

### Don't Quit Your Day Job...

DQYDJ may be compensated by our partners if you make purchases through links. See our disclosures page. As an Amazon Associate we earn from qualifying purchases.