Skip to content

Search topics

Practice for free Sign in

Calculator Coordinate proofs

Distance from a point to a line calculator

In one sentence

Distance from a point to a line: d = |Ax₀ + By₀ + C| / √(A² + B²).

Last checked Source: own words Source: own words www.corestandards.org (opens in a new tab)

Key facts

Distance from a point to a line calculator

Formula ref
d = |Ax₀ + By₀ + C| / √(A² + B²)
Topic
Coordinate proofs

Inputs

  • A, B, C of the line Ax + By + C = 0
  • x₀, y₀: the point

Worked input

  • Point (3, 4), line 3x + 4y − 5 = 0: d = 20/5 = 4.
  • Test the point (0, 3) against the line 2x − y + 3 = 0, a point that sits on the line. The numerator evaluates to 2·0 − 3 + 3 = 0, so the distance is 0. Check: a zero distance means the point lies on the line, and indeed y = 2x + 3 gives y = 3 at x = 0.
  • Take the vertical line x − 2 = 0, written with B equal to 0, and the point (7, 5). The denominator is √(1² + 0²) = 1, so the distance is simply |7 − 2| = 5. Check: the shortest path to a vertical line is horizontal, and 7 minus 2 is exactly that horizontal gap, so the formula agrees with the picture.
  • Take the line x + y − 4 = 0 and the point (6, 5), a case where the denominator √(1² + 1²) = √2 is not a whole number. The numerator is |6 + 5 − 4| = 7, so the distance is 7/√2, which rationalises to 7√2/2. Check: 7√2/2 is about 4.95, which is shorter than the straight vertical drop of 7 units from the point to the line, as the perpendicular is always the shortest route.

How to use it

  • Rewrite the line in general form first.
  • Enter A, B, C and the point.
  • The tool evaluates the absolute numerator and divides by the root.
  • Rearranging y = mx + b to mx − y + b = 0 gives A = m, B = −1.

Distance from a point to a line calculator for the Geometry Regents exam, with its source.

See also Slope calculator, Angle of elevation height calculator, Equation of a line through two points calculator and Parallel and perpendicular line calculator.

Study brief

  • Preparing for the geometry regents involves mastering several coordinate plane concepts. One essential skill is using coordinates to establish geometric results. Students must be able to determine if lines are parallel, perpendicular, or neither by analyzing their slopes. Applying the properties of parallel and perpendicular lines is necessary for solving various geometric problems. Furthermore, the use of coordinates allows for computing the areas of triangles and rectangles, as well as the perimeters of polygons. Understanding how to use geometric representations as a modeling tool is considered a valuable skill in mathematics. Other relevant topics include the study of rotations, reflections, and translations. For example, a translation moves every point in a plane by the same distance and direction using a vector. A rotation involves identifying a center point and the specific measure or direction of the angle. Additionally, a line reflection requires knowledge of perpendicular bisectors. These foundational principles, including the relationship between slopes and the properties of segments, support the calculation of distances and other geometric measurements on a coordinate plane.

Practice for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practicing
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction