Perpendicular Line Calculator

Find the equation of a line perpendicular to a known slope and passing through a chosen point.

Find a perpendicular line
Enter the original slope and one point on the new line.

About perpendicular lines

Perpendicular lines intersect at a right angle of 90 degrees. For two nonvertical lines, their slopes are negative reciprocals: if the original slope is m, a perpendicular line has slope -1/m. Multiplying those slopes gives -1. This relationship turns a geometric condition into a direct algebraic calculation. The calculator combines that slope rule with a point on the desired line. After finding the perpendicular slope, it uses point-slope form y - y₁ = m perpendicular × (x - x₁). Rearranging produces slope-intercept form y = mx + b, where b = y₁ - mx₁. For an original slope of 2 and point (4, 3), the perpendicular slope is -0.5 and the intercept is 5, so the resulting equation is y = -0.5x + 5. Signs matter when taking a negative reciprocal. Start by reversing the numerator and denominator, then change the sign. The negative reciprocal of 2, understood as 2/1, is -1/2. The negative reciprocal of -1/4 is positive 4. A quick check is to multiply the original and perpendicular slopes; the product should be -1 whenever both slopes are finite. Horizontal and vertical lines are the special case. A horizontal line has slope zero, and division by zero cannot produce an ordinary numeric perpendicular slope. Its perpendicular is a vertical line through the supplied point, written x = x₁. Conversely, a vertical original line would have undefined slope and its perpendicular would be horizontal. Because this calculator accepts a numeric original slope, use zero to represent a horizontal original line. Perpendicular equations are useful in analytic geometry, construction layouts, normal vectors, shortest-distance problems, coordinate proofs, and tangent-normal analysis. The selected point belongs to the new line; it does not need to lie on the original line unless the problem specifically asks for a perpendicular through an intersection point. Substituting the point into the displayed equation provides a useful verification. Results are shown with decimal values rounded to six places when needed. Fractions can be entered as decimal equivalents. Keep enough precision when a problem requires an exact or highly accurate answer, and convert the displayed decimal back to a fraction if appropriate. The calculator focuses on the line equation and slope relationship, giving you a fast way to verify hand calculations without hiding the underlying negative-reciprocal rule.

Perpendicular line examples

Each example takes a negative reciprocal and fits the new line through a point.

Original slope and pointPerpendicular equationSlope
m = 2, point (4, 3)y = -0.5x + 5New slope is -0.5.
m = -0.25, point (2, 1)y = 4x - 7New slope is 4.
m = 0, point (6, -2)x = 6The perpendicular line is vertical.

How to find a perpendicular line

  1. Enter the slope of the original line.
  2. Enter the x- and y-coordinates of a point on the new line.
  3. Select Find perpendicular line.
  4. Review the equation and verify the negative-reciprocal slope.

Perpendicular line FAQ

How do I find a perpendicular slope?

Take the negative reciprocal of the original slope. Flip its fraction and change its sign so the two slopes multiply to -1.

What is perpendicular to a horizontal line?

A vertical line is perpendicular to a horizontal line. Through point (x₁, y₁), its equation is x = x₁.

Does the point need to be on the original line?

No. The point defines where the new perpendicular line passes. It only needs to be on the original line when the problem explicitly requires an intersection there.

Why use point-slope form?

Point-slope form combines a known slope and point directly. It can then be rearranged into slope-intercept form for easier graphing.

Can I use decimal slopes?

Yes. The calculator accepts finite decimal slopes and rounds long displayed results. An exact fraction may be preferable for symbolic coursework.