Skip to content
    Greek Mathematician Mascot - Daskalos
    Mathimatikos

    60% off your first year

    Terms

    Student Pro: €35.60 for the first year instead of €89

    Teacher Pro: €75.60 for the first year instead of €189

    Code LAG60. One use per account. Renews automatically at the regular price. Cancel anytime.

    View plans

    Distance of a point from a line

    Calculate the perpendicular distance of a point from a line in the form ax + by = c.

    Calculate the result

    Perpendicular segment from a point to a lineThe segment from P(3, 4) to the foot Η(0, 0) is perpendicular to line ℓ and has length 5.xyΗPℓd
    Illustrative diagram. The segment from P(3, 4) to the foot Η(0, 0) is perpendicular to line ℓ and has length 5.
    d=∣ax0+by0−c∣a2+b2

    Worked example

    Problem

    Calculate the perpendicular distance of the point Ρ(3, 4) from the line 3x + 4y = 0. Explain why we take absolute value.

    The point P(3, 4) is 5 units away from the line 3x + 4y = 0.

    1. Replace the coordinates

      ∣3⋅3+4⋅4−0∣=25
    2. Divide by the magnitude of the perpendicular vector

      d=2532+42=5
    Ask AI for a step-by-step solution

    Common mistake

    Distance is the length of the perpendicular segment. Absolute value gives a nonnegative result on both sides of the line.