Education
Midpoint Formula Calculator
Last updated: June 19, 2026
A midpoint formula calculator determines the exact coordinates of the point located halfway between two distinct endpoints on a Cartesian coordinate plane. By applying the midpoint formula—which averages the x-coordinates and the y-coordinates of the two points—the calculator computes the coordinates of the midpoint. It supports integer, decimal, and negative coordinate inputs, delivering the result as a simplified ordered pair. Students, geologists, and graphic designers use this tool to find geometric centers and verify coordinate algebra.
Enter the coordinates of two points and we compute the point exactly halfway between them. The result shows the midpoint as an ordered pair, the x and y components separately, and a step-by-step breakdown using your numbers.
Quick Answer
Find the midpoint between two coordinate points. Enter the x and y values for both points to calculate the halfway coordinate.
Coordinates
Enter two points (x₁, y₁) and (x₂, y₂).
e.g. 2
e.g. 4
e.g. 8
e.g. 10
Step by step
- 1. Identify the coordinates. x₁ = 2, y₁ = 4, x₂ = 8, y₂ = 10.
- 2. Add the x coordinates. 2 + 8 = 10.
- 3. Divide by 2 for the x of the midpoint. 10 / 2 = 5.
- 4. Add the y coordinates. 4 + 10 = 14.
- 5. Divide by 2 for the y of the midpoint. 14 / 2 = 7.
- 6. Write the midpoint as an ordered pair. M = (5, 7).
M =
(5, 7)
Halfway between (2, 4) and (8, 10)
The midpoint formula M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2) averages the x-coordinates and the y-coordinates separately. The result is the point that lies exactly halfway along the straight line between the two inputs.
Examples
(2, 4) and (8, 10)
M = (5, 7)
(0, 0) and (10, 10)
M = (5, 5)
(−4, 6) and (2, −2)
M = (−1, 2)
(1.5, 2.5) and (4.5, 6.5)
M = (3, 4.5)
How it works
For any two points (x₁, y₁) and (x₂, y₂) on a coordinate plane, the midpoint between them is:
Midpoint · M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)
The midpoint is the average of the two x-coordinates paired with the average of the two y-coordinates. It lies exactly halfway along the straight line connecting the two points. For the length of that line (rather than its center), see the distance formula calculator.
Related Calculators
More tools from Education
Frequently asked questions
The midpoint formula is M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2). It returns the point exactly halfway between two given points (x₁, y₁) and (x₂, y₂) on a 2D coordinate plane. The midpoint is the average of the two x-coordinates paired with the average of the two y-coordinates.
Add the two x-coordinates and divide by 2. That gives you the x-coordinate of the midpoint. Add the two y-coordinates and divide by 2. That gives you the y-coordinate. Write the result as an ordered pair (x, y).
The midpoint is the single point that lies exactly halfway along the straight line connecting the two original points. It is the geometric center of the segment. Both points are the same distance from the midpoint, in opposite directions.
Yes. If the two coordinates do not add up to even numbers, the midpoint coordinates will include decimals. For example, the midpoint of (1, 2) and (4, 5) is (2.5, 3.5). That is fine and expected.
Yes. Negative coordinates are fine on either or both points. The formula adds the two coordinates regardless of sign and divides by 2. For example, the midpoint of (−4, 6) and (2, −2) is (−1, 2).
No. They answer different questions. The midpoint is the point halfway between two points (a coordinate pair). The distance is how far apart the two points are (a single number, the length of the line segment). The distance formula calculator handles distance directly.
Yes. The four coordinate fields accept decimals and negative numbers. The result is computed in full floating-point precision and the displayed midpoint coordinates are rounded for readability.
Related calculators
Education
Distance Formula Calculator
Find the distance between two points (x₁, y₁) and (x₂, y₂) using the distance formula. Decimal, negative, and exact-radical results all supported.
Education
Quadratic Formula Calculator
Solve any quadratic equation ax² + bx + c = 0. Compute the discriminant and find real or complex roots with a step-by-step breakdown.
Education
Slope Calculator
Find the slope of the line through two points using m = (y₂ − y₁) / (x₂ − x₁). Handles positive, negative, zero, and undefined (vertical) slopes.