StudyDeck

Length of a Line

Exam code: 4024
Written by: Ashika|Reviewed by: Caroline Carroll|Updated 2 July 2026

Length of a Line

Length of a line

How do I calculate the length of a line?

  • The distance between two points with coordinates x1 , y1{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} and x2 , y2{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} can be found using the formula

d=x1-x22+y1-y22{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}

  • This formula uses Pythagoras’ theorem  a2+b2=c2{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

    • It is applied to the difference in the x{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}-coordinates and the difference in the y{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}-coordinates

A right-angled triangle drawn between two point on a straight line, to show how Pythagoras is used to find the length of a line