Distance and dividing a line
Two formulae find the length of a line segment and the point that splits it in any ratio.
Distance
โ[(x2 โ x1)2 + (y2 โ y1)2]
(1, 2) to (7, 10): โ(36 + 64) = 10
Midpoint
Midpoint of (โ4, 7) and (6, โ1) is (1, 3).
Dividing in a ratio
((nx1 + mx2)(m + n), (ny1 + my2)(m + n))
A(1, 2), B(10, 14), ratio 1 : 2: (2 + 103, 4 + 143) = (4, 6)
Find the distance between (โ3, 4) and (2, โ8).
- Differences: 5 and โ12
- โ(25 + 144) = โ169
Answer: 13
Distance = โ[(x2 โ x1)2 + (y2 โ y1)2]. The point dividing AB in m : n is A + m(m + n) of the way to B.
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
Find the distance between (2, 3) and (5, 7).
Show the answer
Answer: 5
โ(32 + 42) = โ25 = 5.
Find the distance between (โ4, 1) and (2, โ7).
Show the answer
Answer: 10
โ(62 + 82) = โ100 = 10.
Check you have got it
Answer 7 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.