Distance From Point to Line Calculator

Find how far a point is from a straight line, and where the closest point on that line is. The line is written as y = slope x + intercept.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the Distance From Point to Line Calculator

  1. Type the slope and the intercept of the line.
  2. Type where the point is, across and up.
  3. Read the distance and the closest point.

Frequently asked questions

What is the slope?

How far the line goes up for each step it goes across. A slope of 2 rises 2 for every 1 across.

Does this work for straight up-and-down lines?

No. A straight up-and-down line has no slope, so this tool cannot find its distance.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.