Midpoint Calculator
Type two points, or drag them on the grid…
Type two points, or drag them on the grid, to get the point exactly halfway between them, plus the distance and the slope.
ExampleMidpoint (M)
(1, 1)
It is 5 from each point.
Type your own points, or drag them.
Drag either point; it snaps to the grid every whole unit.
- Distance between the points
- 10
- Slope
- −3/4
- Line
- y = −(3/4)x + 7/4
How this works: 5 sources,
How this works
Method
The midpoint of a segment is the point exactly halfway along it, and it sits halfway along each axis too. So average the coordinates: M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). Between (2, 7) and (8, −3) that is ((2 + 8) ÷ 2, (7 − 3) ÷ 2) = (5, 2). Full method
Sources
How it’s tested
2 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Privacy
On your device. Nothing you enter or open leaves this browser. About privacy labels
Changes
- First published: 13 shapes drawn to scale with handles, exact answers in π, litres and gallons, and slope, distance, midpoint, arc and polygon pages.
How to find the midpoint
The midpoint of a segment is the point exactly halfway along it, and it sits halfway along each axis too. So average the coordinates: M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). Between (2, 7) and (8, −3) that is ((2 + 8) ÷ 2, (7 − 3) ÷ 2) = (5, 2).
When the coordinates add up to an odd number the midpoint lands on a half: between (1, 4) and (4, 9) it is (5/2, 13/2), or (2.5, 6.5). The midpoint is the same distance from both ends, half the length of the segment, which is a quick check on the answer.
To find a missing endpoint from the midpoint, run the formula backwards: x₂ = 2 × Mx − x₁. If one end is (1, 3) and the midpoint is (4, 5), the other end is (2 × 4 − 1, 2 × 5 − 3) = (7, 7). The midpoint also gives the centre of a circle from the two ends of a diameter.
M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)
- US high school standards ask students to find the point on a segment that divides it in a given ratio; the midpoint is the 1 : 1 case (HSG-GPE.B.6). Source: Common Core State Standards, High School Geometry, Expressing Geometric Properties with Equations (G-GPE).
- The midpoint of a segment is equidistant from its two ends, and the perpendicular bisector passes through it. Source: Wikipedia, Midpoint.
Midpoints of pairs of points
The midpoint of each pair of points, exactly, with half the segment’s length.
| Point 1 | Point 2 | Midpoint | Half the length |
|---|---|---|---|
| (2, 7) | (8, −3) | (5, 2) | 5.831 |
| (−3, 4) | (5, −2) | (1, 1) | 5 |
| (1, 4) | (4, 9) | (5/2, 13/2) | 2.9155 |
| (0, 0) | (10, 6) | (5, 3) | 5.831 |
| (−5, −5) | (5, 5) | (0, 0) | 7.0711 |
| (1.5, 2) | (3.5, −4) | (5/2, −1) | 3.1623 |
| (−2, 9) | (−8, 1) | (−5, 5) | 5 |
| (0, 3) | (7, 0) | (7/2, 3/2) | 3.8079 |
| (100, 40) | (180, 90) | (140, 65) | 47.1699 |
| (−1, −1) | (−1, 6) | (−1, 5/2) | 3.5 |
Show all 11 rowsShow fewer
| (3, −7) | (−4, 2) | (−1/2, −5/2) | 5.7009 |
Common questions
What is the midpoint formula?
Add the two x coordinates and halve them, then the same for the y coordinates: ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). It is the average of the two points.
How do I find a point a third of the way along?
Use weights instead of halves: the point a third of the way from P₁ to P₂ is (⅔x₁ + ⅓x₂, ⅔y₁ + ⅓y₂). The midpoint is the case with ½ and ½.
Can the midpoint have fractions when the points are whole numbers?
Yes, whenever the two x values (or the two y values) add up to an odd number. The calculator keeps it exact, as 5/2, and gives the decimal 2.5.