Midpoint Calculator
The midpoint of a plane segment is the average of the endpoints. Type x1, y1, x2, and y2. Distance and slope of the same segment live on other math pages.
Rated 4.7 out of 5 based on 318 reviews
How to find a midpoint
- Enter the first endpoint as x1 and y1. The default first point is the origin.
- Enter the second endpoint as x2 and y2. The default second point is (4, 6).
- Read midpoint x and midpoint y. The default pair averages to (2, 3).
- Use the distance page for the length of the same segment. Use the slope page for rise over run.
Segment midpoint
Average of two plane endpoints
| Formula | ((x1 + x2) / 2, (y1 + y2) / 2) |
|---|---|
| Default example | (0, 0) and (4, 6) give (2, 3) |
| Dimension | 2D Cartesian. No z. |
| Related length | Euclidean distance is a different page |
| Related slope | m = (y2 - y1) / (x2 - x1) is a different page |
| Units | Whatever you typed. The page does not convert units. |
What a midpoint is
The midpoint sits halfway along the straight segment that joins two points. Each coordinate is the arithmetic mean of the matching endpoint coordinates. The default (0, 0) and (4, 6) give (2, 3). A 3D midpoint is not on this form.
How this page computes the midpoint
Midpoint x = (x1 + x2) / 2. Midpoint y = (y1 + y2) / 2. Every field must be a finite number. The page does not require x2 to be larger than x1. Coincident points still return that same point as the midpoint.
Midpoint, distance, and slope
Length of the same segment is Euclidean distance on the distance between two points page. Rise over run of the same two points is the slope calculator. A vertical segment still has a midpoint even when slope is undefined. Great-circle distance between latitudes is a different job on the haversine page.
Use cases
A geometry homework check, the center of a bounding box edge, or a CAD sketch where you already have two corners. Map scale conversion is not this page.
Limits
Plane only. No 3D. No unit conversion. IEEE floating point applies. CZNull does not receive the numbers.