Slope Criteria for Parallel & Perpendicular Lines
On the coordinate plane, slope decides everything about how two lines relate. Parallel lines have equal slopes — same steepness, same direction, so they never meet. Perpendicular lines have slopes that are opposite reciprocals: flip the fraction and switch the sign, like and .
There is a quick check built into the perpendicular rule: two lines are perpendicular exactly when the product of their slopes is . Multiply the slopes; if you get , the lines meet at a right angle.
Parallel lines: equal slopes
Two distinct non-vertical lines are parallel if and only if their slopes are equal. In slope-intercept form , that means the same with different values — same tilt, shifted up or down.
The -intercept has no effect on being parallel. The lines and are parallel because both have slope ; the intercepts only decide where each line crosses the -axis.
Perpendicular lines: opposite reciprocal slopes
Two non-vertical lines are perpendicular if and only if their slopes are opposite reciprocals — equivalently, their slopes multiply to . From a slope of , flip to and switch the sign to get . Check: .
A whole-number slope works the same way once you write it as a fraction: , so the perpendicular slope is .
The one exception to the product rule: horizontal lines have slope and vertical lines have no defined slope, yet they are perpendicular to each other. Handle that pair by inspection, not by multiplying.
The two lines below have slopes and — opposite reciprocals whose product is — so they cross at a right angle.
Finding slope from two points
If a line is given by two points instead of an equation, compute its slope first with , then apply the parallel or perpendicular criterion. Comparing slopes is always the last step; getting the slopes is the setup.
Worked examples
Example 1: parallel or not?
Are the lines and parallel?
Answer: Yes — both lines have slope , so they are parallel.
Example 2: find a perpendicular slope
A line has slope . What is the slope of any line perpendicular to it?
Answer:
Example 3: classify by multiplying slopes
Lines and have slopes and . Are the lines parallel, perpendicular, or neither?
Answer: Perpendicular
Try one yourself
Common questions
Do parallel lines need the same -intercept?
No — they need the same slope and different -intercepts. If two lines have the same slope and the same -intercept, they are the same line, not parallel lines.
What is an opposite reciprocal?
Flip the fraction and switch the sign. The opposite reciprocal of is , and the opposite reciprocal of is . A slope and its opposite reciprocal always multiply to .
What about horizontal and vertical lines?
A horizontal line has slope and a vertical line has an undefined slope. They are perpendicular to each other, but the product-equals- test cannot be used on them — classify that pair directly.
How do I find the slope if I only have two points?
Use for each line, then compare: equal slopes mean parallel, slopes whose product is mean perpendicular.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.