# Midpoint Calculator

Find the midpoint between two points instantly. Calculate the center of a line segment with coordinates and distance. Free online midpoint calculator.

## What this calculates

Find the exact midpoint between two points on a coordinate plane. Enter the coordinates of both endpoints to get the midpoint coordinates and the segment length.

## Inputs

- **Point 1: X**
- **Point 1: Y**
- **Point 2: X**
- **Point 2: Y**

## Outputs

- **Midpoint X** — The x-coordinate of the midpoint.
- **Midpoint Y** — The y-coordinate of the midpoint.
- **Midpoint Coordinates** — formatted as text — The midpoint as an ordered pair (x, y).
- **Segment Length** — The distance between the two points.

## Details

The midpoint of a line segment is the point exactly halfway between its two endpoints. It divides the segment into two equal halves.

Midpoint Formula

M = ((x1 + x2) / 2, (y1 + y2) / 2)

Simply average the x-coordinates and average the y-coordinates.

Example

The midpoint of (2, 4) and (8, 10) is ((2+8)/2, (4+10)/2) = (5, 7).

Applications

Midpoints are used in computer graphics (finding centers of objects), navigation (halfway points), geometry proofs (median and midsegment theorems), and data analysis (centroid calculations). The midpoint formula extends to 3D: M = ((x1+x2)/2, (y1+y2)/2, (z1+z2)/2).

## Frequently Asked Questions

**Q: How do I find the midpoint between two points?**

A: Add the x-coordinates and divide by 2 to get the midpoint's x value. Do the same for y-coordinates. For points (3, 7) and (9, 1): midpoint = ((3+9)/2, (7+1)/2) = (6, 4). This formula works because the midpoint is the average position in each dimension.

**Q: Does the midpoint formula work for negative coordinates?**

A: Yes, the midpoint formula works for any real-number coordinates, positive or negative. For points (-4, 3) and (6, -1): midpoint = ((-4+6)/2, (3+(-1))/2) = (1, 1). Just follow the formula; the arithmetic handles negative numbers naturally.

**Q: How do I find the midpoint in 3D space?**

A: Extend the formula to three dimensions: M = ((x1+x2)/2, (y1+y2)/2, (z1+z2)/2). Average each coordinate independently. For points (1, 2, 3) and (5, 8, 7): midpoint = (3, 5, 5). The concept is the same as in 2D.

**Q: How is the midpoint used in geometry proofs?**

A: The midpoint is central to many geometry theorems. The midsegment theorem states that the segment connecting the midpoints of two sides of a triangle is parallel to the third side and half its length. Medians connect each vertex to the midpoint of the opposite side and always meet at the centroid, which divides each median in a 2:1 ratio.

**Q: Can I find the other endpoint if I know the midpoint and one endpoint?**

A: Yes. If M = (mx, my) is the midpoint and one endpoint is (x1, y1), then the other endpoint is (2mx - x1, 2my - y1). For example, if the midpoint is (5, 3) and one endpoint is (2, 1), the other endpoint is (2x5 - 2, 2x3 - 1) = (8, 5).

---

Source: https://vastcalc.com/calculators/math/midpoint
Category: Math
Last updated: 2026-04-21
