Parallel and Perpendicular Line Calculator
Find the parallel and perpendicular lines through a point, with the slope product and the point substitution printed as checks.
Parallel and Perpendicular Line Calculator
Find the parallel and perpendicular lines through a point, with the slope product and the point substitution printed as checks.
How this page computes
The parallel slope is the given slope and its intercept is y − m x at the point. The perpendicular slope is −1/m with the horizontal case reported as vertical.
The two slopes are multiplied as the perpendicularity check, and the point is substituted into the parallel line to confirm it lies on it.
The calculation runs entirely in this browser tab; nothing is uploaded.
A parallel line keeps the slope and a perpendicular one uses the negative reciprocal. For y = 2x + 1 through (4, 3) the parallel line is y = 2x − 5 and the perpendicular is y = −0.5x + 5.
The page verifies both: the two slopes multiply to −1, and the given point satisfies each new equation. A horizontal given line is handled too, where the perpendicular is vertical and the slope field does not exist.
How to use Parallel and Perpendicular Line Calculator
Enter the slope and intercept of the given line, then the point, then press Run.
The output gives both new equations with their slopes and intercepts, the product of the two slopes, and the substitution that shows the point lies on the parallel line.
Why the negative reciprocal is forced
Two lines are perpendicular when their direction vectors have zero dot product. In slope form that condition reduces to m₁ · m₂ = −1, so m₂ = −1/m₁ whenever m₁ is not zero.
A horizontal line has slope 0 and its perpendicular is vertical, which has no slope. The page reports the perpendicular as x = constant rather than dividing by zero and calling the result a slope.
What to Expect
Best for
- The parallel and perpendicular lines through a point
- Checking that two slopes are perpendicular
- The vertical special case
Not ideal for
- A line given by two points rather than a slope and intercept
- Distance from a point to a line, which needs the perpendicular plus an intersection
- Curves, where the perpendicular is defined per point
What this tool keeps
- Every input exactly as typed
What may need cleanup
- Nothing: both lines are determined
Common errors
- A non-numeric slope or point is refused by name
- A horizontal given line reports a vertical perpendicular instead of a slope
Example use cases
- Find both lines through (4, 3) to y = 2x + 1
- Check that slopes 2 and -0.5 are perpendicular
- See the perpendicular to a horizontal line
Sample input
y = 2x + 1 through (4, 3)
Sample output
parallel y = 2x - 5, perpendicular y = -0.5x + 5
Who this is for
- Students meeting perpendicular lines
- Readers constructing an altitude
Frequently asked questions
Why is the perpendicular slope negative?
Because a quarter turn reverses one direction and swaps rise with run, which makes the product of the two slopes −1. The sign flip is what makes the lines cross at a right angle rather than just slope differently.
What if the given line is horizontal?
Its perpendicular is vertical, written x = the point's x. A vertical line has no slope, so the page reports the equation instead of dividing by zero.
Do the new lines pass through the point?
Yes, by construction: each intercept is chosen so the line passes through the point. The page substitutes the point back into the parallel line as the printed check.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.