Calculate the midpoint between any two x,y coordinate points on a graph. Enter the x and y coordinates of two points and this calculator will determine the midpoint.
Related Calculators
- Segment Ratio Calculator
- Center Of Circle Calculator
- Inverse Slope Calculator
- Average Slope Calculator
- All Math and Numbers Calculators
Midpoint Formula
Midpoint is used in geometry to describe the point along a line that is equidistant from the endpoints of that line. The midpoint formula is typically shown as follows:

- Where X1 and X2 are the x-coordinates of the endpoints
- Y1 and Y2 are the y-coordinates of the endpoints
To calculate a midpoint, add the x-coordinates, then divide by 2. Next, add the y-coordinates, then divide by 2. This gives you the midpoint coordinates (X, Y).
How to calculate a midpoint
Geometrically, the midpoint lies halfway along the segment connecting the two points. You can compute the distance between the points and then move half that distance from one endpoint in the direction of the other point, but the simplest way to get the midpointโs coordinates is to use the midpoint formula: ((x1 + x2)/2, (y1 + y2)/2). If you also need the segment length, you can use a distance between points calculator.
Another approach is to use the equation of the line through the points (using the slope, when the line is not vertical) and evaluate the line at the halfway parameter. In other words, linear interpolation between the two points with parameter t = 0.5 gives the midpoint.
You can also use vectors: if you know one endpoint, the direction of the segment as a unit vector, and the segment length, you can find the other endpoint by adding (length ร unit vector) to the known endpoint. Once both endpoints are known, you can calculate the midpoint using the midpoint formula (this does not require the initial point to be (0,0)).
Midpoint Definition
The midpoint of a line segment is the point on the segment that is equidistant from both endpoints. This is different from a centroid, which usually refers to the โcenter of massโ (average position) of a 2D shape such as a triangle or polygon.
If you know one endpoint and the slope of the segment, plus the x-coordinate (or y-coordinate) of the other endpoint, you can first find the missing coordinate of that other endpoint using the slope, and then apply the midpoint formula.
When looking at a hyperbola (and an ellipse), the center is the midpoint between its vertices (and also the midpoint between its foci). This is different from the x- and y-intercepts, which (when they exist) are found by setting y = 0 or x = 0 in the equation.
Midpoints also appear in economics: the โmidpoint methodโ is used in the midpoint formula for price elasticity of demand.
FAQ
A midpoint is a location between two points that is equal distance from each point.
