Skip to content

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.

Point 1
Point 2

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

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.

Every change on What’s new

How we make toolsReport a mistake

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)

Midpoints of pairs of points

The midpoint of each pair of points, exactly, with half the segment’s length.

The midpoint of each pair of points, exactly, with half the segment’s length.
Point 1Point 2MidpointHalf 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 rows
(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.