Parallel & Perpendicular Line Calculator with Graph
Parallel lines have the same slope, and perpendicular lines have slopes that multiply to −1, so the perpendicular slope is the negative reciprocal. This calculator takes a line y = mx + c and a point, then finds the parallel and perpendicular lines through that point and graphs all three, including the vertical line case.
How to use the parallel & perpendicular line calculator
- Enter the slope m and intercept c of the given line.
- Enter the point the new lines must pass through.
- Press Calculate to see both equations and the graph.
Formula
Worked example: y = 2x + 1 through (4, −1)
- Slope of the given line (m): 2
- Its y-intercept (c): 1
- Point x₁: 4
- Point y₁: -1
✓ Answer checked
- Parallel slope
- Perpendicular slope
Step-by-step working (3 steps)
Parallel slope
Parallel lines have the same slope.
Perpendicular slope m₁ × m₂ = −1
Take the negative reciprocal: flip the fraction and change the sign.
Use the point
Find each intercept with c = y₁ − m·x₁.
Formulas used
How this was checked
- ✓ Both new lines pass through the point, and the slopes multiply to −1.
Frequently asked questions
What is the perpendicular slope to 2?
−1/2. Flip the fraction and change the sign.
How do I find a parallel line through a point?
Keep the slope and find c from c = y₁ − m x₁.
What is perpendicular to a horizontal line?
A vertical line, x = constant, whose slope is undefined.
People also search for
perpendicular line calculatorparallel line calculatornegative reciprocal slopeparallel & perpendicular line calculator with graphparallel & perpendicular line calculator with stepsfree parallel & perpendicular line calculator online
