Skip to content
One hour with George, then a written plan the next working day. Book yours.

The slope of a perpendicular line

Two lines that cross at a right angle have slopes whose product is -1, as long as neither line is vertical. Put another way, flip the fraction and change the sign: the slope you want is the negative reciprocal. A slope of 3/4 becomes -4/3, and a slope of -5 becomes 1/5.

For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.

Book your first session
Slope of a perpendicular line for several starting slopes
Given slopeFlipChange signPerpendicular slopeProduct
3/44/3-4/3-4/3-1
-5-1/51/51/5-1
2/77/2-7/2-7/2-1
0.4 (2/5)5/2-5/2-5/2-1
0 (horizontal)nonenonevertical, undefinednot applicable

Horizontal and vertical lines are the exception: they are perpendicular, but a vertical slope is undefined, so the product rule does not apply.

Worked by hand; each pair multiplied to confirm a product of -1

Why the negative reciprocal?

Take a line with slope m, so its direction is 1 unit across and m units up. Turn that direction a quarter turn and the across and up amounts swap, with one of them changing sign: the new direction is m units back and 1 unit up, which gives slope 1 / (-m) = -1/m. A line climbing steeply turns into one falling gently. That is why a positive slope always meets a negative slope at a right angle, and why the reciprocal flips steep to shallow.

How do you find the slope first?

Read it from the equation when the line is written as y = mx + b, as in y = (3/4)x + 2, where m = 3/4. For two points, use rise over run. The points (2, 3.5) and (-5, -1.75) give (3.5 - (-1.75)) / (2 - (-5)) = 5.25 / 7 = 3/4. For a line in standard form, 3x + 4y = 12, solve for y: y = -(3/4)x + 3, so the slope is -3/4 and the perpendicular slope is 4/3.

How do you write the perpendicular line through a point?

Worked example. Write the line through (6, 1) that is perpendicular to y = 2x - 3.

  1. The given slope is 2, so the perpendicular slope is -1/2.
  2. Use point-slope form: y - 1 = -1/2 (x - 6).
  3. Expand: y = -x/2 + 3 + 1, so y = -x/2 + 4.

Answer: y = -x/2 + 4. Check: at x = 6, y = -3 + 4 = 1, so the line passes through (6, 1), and 2 times -1/2 is -1.

The two lines meet where 2x - 3 = -x/2 + 4, so 2.5x = 7, x = 2.8, and y = 2.6.

How do you test whether two lines are perpendicular?

Multiply their slopes. If the product is exactly -1, the lines are perpendicular. The lines y = 5x + 1 and y = -x/5 + 7 are perpendicular, while y = 5x + 1 and y = -5x + 7 are not, because 5 times -5 is -25. A common slip is to negate the slope and forget to flip it, and the product test catches that.

Where it appears

Perpendicular slopes show up in coordinate geometry questions on the SAT® math and ACT® math sections, such as finding a right triangle or an altitude. See the math tutoring page, or book a first session.

What are the special cases?

A horizontal line has slope 0 and a vertical line has no slope, so the product rule does not apply. Any line perpendicular to a horizontal one is vertical, and the reverse. Slopes that are equal belong to parallel lines, not perpendicular ones.

How does it show up in geometry problems?

Perpendicular slopes help you test for right angles, find altitudes and write the line of a tangent.

Worked example. Is the triangle with corners A(0, 0), B(4, 2) and C(-1, 2) a right triangle?

  1. Slope of AB: 2 / 4 = 1/2.
  2. Slope of AC: 2 / (-1) = -2.
  3. Product: 1/2 times -2 = -1.

Answer: yes, the angle at A is a right angle, because AB and AC are perpendicular.

Common questions

How steep is a line at a right angle to a horizontal one?

The perpendicular line is vertical, and its slope is undefined.

Do parallel lines have the same slope?

Yes. Parallel lines share a slope and differ in their intercepts.

How do I check my answer quickly?

Multiply the two slopes. A product of -1 confirms a right angle.

Sources