The Midpoint Formula and How to Find the Midpoint of an Interval

Three students working in a Matrix classroom, framed by three small diagrams showing midpoints and equal halves on horizontal and diagonal line segments.

Try Matrix risk free.

Try Matrix risk free.

Join 8000+ students each term who already have a head start on their school academic journey.

The midpoint of an interval is the point exactly halfway between its two endpoints. To find it, you average the x-coordinates and average the y-coordinates.

This guide shows you how to use the midpoint formula, works through three examples and explains how it differs from the distance and gradient formulas.

What is the midpoint formula?

For two points (x₁, y₁) and (x₂, y₂), the midpoint M is

M = ((x₁ + x₂)/2, (y₁ + y₂)/2)

Add the two x-coordinates and halve the result. Then add the two y-coordinates and halve that result. These two numbers are the coordinates of the midpoint.

Think of the formula as finding an average twice. To find the number halfway between 4 and 10, you add them and halve the total, which gives 7. The midpoint formula does the same thing once for the x-coordinates and once for the y-coordinates. If you remember it as an average, you’re less likely to mix it up with the distance formula.

How do you use the midpoint formula?

  1. Label the points. Write (x₁, y₁) above the first point and (x₂, y₂) above the second. It doesn’t matter which point you call the first, but labelling them helps you keep the coordinates in the right place.
  2. Average the x-coordinates. Add them and divide by 2. This gives the x-coordinate of the midpoint.
  3. Average the y-coordinates. Add them and divide by 2. This gives the y-coordinate of the midpoint.
  4. Write the answer as a point. Put both coordinates in brackets. A midpoint is a location, not a single number.
  5. Check your answer with a sketch. The midpoint must lie between the two points on both axes. If it doesn’t, check your working for a sign error.

Worked example 1. Positive coordinates

Find the midpoint of the interval joining A(2, 3) and B(8, 11).

x-coordinate = (2 + 8) ÷ 2 = 10 ÷ 2 = 5

y-coordinate = (3 + 11) ÷ 2 = 14 ÷ 2 = 7

M = (5, 7)

Check. 5 lies between 2 and 8, and 7 lies between 3 and 11.

Worked example 2. Negative coordinates

Find the midpoint of the interval joining A(−2, 1) and B(4, 4).

x-coordinate = (−2 + 4) ÷ 2 = 2 ÷ 2 = 1

y-coordinate = (1 + 4) ÷ 2 = 5 ÷ 2 = 2.5

M = (1, 2.5)

A midpoint can have a decimal or fraction coordinate. That’s normal and doesn’t mean you’ve made a mistake.

Worked example 3. Finding an endpoint

The midpoint of AB is M(3, 5). Point A is (1, 2). Find point B.

Set up an equation for each coordinate and solve it.

x-coordinate. (1 + x₂) ÷ 2 = 3, so 1 + x₂ = 6, so x₂ = 5

y-coordinate. (2 + y₂) ÷ 2 = 5, so 2 + y₂ = 10, so y₂ = 8

B = (5, 8)

You can check this answer another way. To move from A(1, 2) to M(3, 5), you add 2 to x and 3 to y. B is the same distance past M, so add 2 and 3 again. This gives B(5, 8). Use the equation method in tests, then use this quick method to check your answer.

Questions where you work backwards from the midpoint come up often in Year 9 and Year 10 tests.

How is the midpoint formula different from the distance and gradient formulas?

All three formulas use the same two points, so students often mix them up. This table shows the differences.

MidpointDistanceGradient
Formula((x₁ + x₂)/2, (y₁ + y₂)/2)√((x₂ − x₁)² + (y₂ − y₁)²)(y₂ − y₁)/(x₂ − x₁)
Main operationAddsSubtractsSubtracts
The answer isA pointA lengthA number
Words in the question“halfway”, “centre”, “bisects”“how far”, “length of”“slope”, “steepness”, “parallel”

The midpoint formula is the only one of the three that adds the coordinates. The distance and gradient formulas measure a change between two points, so they subtract. The midpoint gives a position between two points, so it averages.

The order of the points doesn’t change the midpoint, because addition gives the same result in either order. The gradient also stays the same if you swap the points, because the signs of the top and bottom both change. Just use the same order on the top and the bottom.

Where do you use the midpoint formula?

  • Perpendicular bisectors. A perpendicular bisector passes through the midpoint of an interval at right angles. To find its equation, start with the midpoint, then use the negative reciprocal of the gradient.
  • Properties of shapes. To show that a quadrilateral is a parallelogram, you can show that its diagonals bisect each other. This means showing that both diagonals have the same midpoint.
  • The centre of a circle. The centre of a circle is the midpoint of any diameter. If you know the two endpoints of a diameter, the midpoint formula gives you the centre.
  • Three dimensions. For points in 3D, average the z-coordinates as well. The midpoint of (x₁, y₁, z₁) and (x₂, y₂, z₂) is ((x₁ + x₂)/2, (y₁ + y₂)/2, (z₁ + z₂)/2).

Common mistakes

The mistakeWhy it happensHow to fix it
Subtracting the coordinatesMixing it up with the distance or gradient formulaRemember that the midpoint formula adds
Mixing coordinates between pointsPairing x₁ with y₂Label both points before you substitute
Giving one number as the answerForgetting that a midpoint is a locationWrite the answer as a point in brackets
Halving only one coordinateRushing the workingAverage both coordinates
Sign errors with negative numbersWorking −2 + 4 out as −6Write out each addition before you work it out

When do students learn the midpoint formula?

In Victoria, students learn the midpoint formula in Year 9. The Victorian Curriculum Mathematics (Level 9) includes finding the gradient of a line segment, the midpoint of a line interval and the distance between two points on the Cartesian plane.

In later years, the midpoint formula is usually one step in a longer question. For example, you may need to find a midpoint, then a gradient, then the equation of a perpendicular bisector. That’s why it helps to be able to work backwards from a midpoint, as in worked example 3.

Year 9 Maths at Matrix

Our Year 9 Maths Term Course covers the distance formula, the midpoint formula and gradients in Matrix Term 3 (April to June 2027), as part of Linear Relationships. You learn from experienced teachers in nine weekly 1.5-hour lessons, with a printed Theory Book and small classes of up to 15 students. Classes run at our Box Hill campus, and the course costs $567 per term.

View course

Frequently asked questions

What is the midpoint formula?

The midpoint formula gives you the point halfway between two points. For (x₁, y₁) and (x₂, y₂), the midpoint is ((x₁ + x₂)/2, (y₁ + y₂)/2). It averages the x-coordinates and averages the y-coordinates.

How do you find the midpoint of two points?

Add the two x-coordinates and halve the result. Then add the two y-coordinates and halve that result. For A(2, 3) and B(8, 11), the midpoint is (5, 7).

Does the order of the points matter?

No. The formula adds the coordinates, and addition gives the same result in either order. You get the same midpoint whichever point you call the first.

How do you find an endpoint if you know the midpoint?

Write an equation for each coordinate and solve it. If the midpoint is (3, 5) and one endpoint is (1, 2), then (1 + x₂) ÷ 2 = 3 gives x₂ = 5, and (2 + y₂) ÷ 2 = 5 gives y₂ = 8. The other endpoint is (5, 8).

What is the difference between the midpoint and distance formulas?

The midpoint formula adds the coordinates and halves them, which gives a point. The distance formula subtracts the coordinates, squares the differences, adds them and takes the square root, which gives a length.

Book a free trial

In a free trial lesson, your child joins a Matrix Year 9 Maths class and learns from one of our experienced teachers. Trial lessons run at our Box Hill campus. Free trials don’t include holiday courses or Matrix+.

Book a free trial

Written by Matrix Education

Matrix is Sydney's No.1 High School Tuition provider. Come read our blog regularly for study hacks, subject breakdowns, and all the other academic insights you need.

© Matrix Education and www.matrix.edu.au, 2025. Unauthorised use and/or duplication of this material without express and written permission from this site’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Matrix Education and www.matrix.edu.au with appropriate and specific direction to the original content.

Related courses

Related articles

Loading