Perpendicular Line Calculator
Find the equation of a line perpendicular to a given line that passes through a specified point.
This free online perpendicular line calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
Slope of the line to be perpendicular to
x coordinate of the point the new line passes through
y coordinate of the point the new line passes through
Results
Perpendicular Slope
-0.5
y-Intercept (b)
2.5
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Perpendicular Line Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Perpendicular Line Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
When to Use This Calculator
- •Use the Perpendicular Line Calculator when you need a quick mathematical result without writing out all the steps manually, saving time on repetitive calculations.
- •Use it to verify hand calculations on tests or assignments and catch arithmetic mistakes.
- •Use it when teaching or explaining mathematical concepts to others, demonstrating how changing inputs affects the result.
- •Use it to explore the behavior of mathematical functions across a range of inputs.
Related Calculators
Parallel Line Calculator
Find the equation of a line parallel to a given line that passes through a specified point.
Line Equation from Two Points Calculator
Find the equation of the line passing through two given points in slope-intercept form.
Point-Slope Form Calculator
Write the equation of a line in point-slope form given a point and the slope, then convert to slope-intercept form.
Circumscribed Circle (Circumradius) Calculator
Calculate the circumradius (radius of the circumscribed circle) of a triangle given its three sides using R = abc/(4*Area). The circumscribed circle passes through all three vertices. Used in geometry, trigonometry, navigation, and satellite positioning.
Rotation Calculator
Rotate a point around the origin by a specified angle in the coordinate plane.
Slope Calculator
Calculate the slope of a line passing through two points as rise over run (change in y divided by change in x).
About Perpendicular Line Calculator
Perpendicular lines meet at right angles (90 degrees). In coordinate geometry, if a line has slope m, any line perpendicular to it has slope -1/m — the negative reciprocal. This relationship is central to many geometric constructions: finding the shortest distance from a point to a line, constructing altitudes of triangles, creating perpendicular bisectors, and designing orthogonal grids. Perpendicularity appears throughout engineering and design — structural supports meet at right angles for maximum stability, coordinate axes are perpendicular by definition, and the normal to a surface is perpendicular to the tangent plane. In navigation, a perpendicular course represents a 90-degree turn. This calculator takes the slope of an existing line and a point, then produces the equation of the perpendicular line through that point. The mathematical condition m₁ × m₂ = -1 for perpendicular lines is a direct consequence of the dot product of their direction vectors being zero, connecting slope geometry to vector algebra.
The Math Behind It
Formula Reference
Perpendicular Slope
m_perp = -1/m
Variables: m = slope of original line; m_perp = slope of perpendicular line
Perpendicular Line Equation
y - y₁ = (-1/m)(x - x₁)
Variables: (x₁, y₁) = point on new line; m = original slope
Worked Examples
Example 1: Perpendicular to y = 2x + 5 through (3, 1)
Find the line perpendicular to y = 2x + 5 that passes through (3, 1).
The perpendicular line is y = -0.5x + 2.5.
Example 2: Perpendicular to a line with slope -3
Find the line perpendicular to a line with slope -3 passing through (0, 4).
The perpendicular line is y = (1/3)x + 4.
Common Mistakes & Tips
- !Using the same slope (that gives a parallel line, not perpendicular).
- !Taking the reciprocal without negating it — the perpendicular slope must be the negative reciprocal.
- !Not handling the case where m = 0 — a line perpendicular to a horizontal line is vertical (undefined slope).
- !Forgetting that perpendicularity is symmetric: if L₁ ⊥ L₂, then L₂ ⊥ L₁.
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
What is the perpendicular to a horizontal line?
A horizontal line has slope 0, and -1/0 is undefined. The perpendicular to a horizontal line is a vertical line, written as x = constant. This calculator requires a nonzero slope.
How do I find the perpendicular bisector of a segment?
First find the midpoint of the segment: ((x₁+x₂)/2, (y₁+y₂)/2). Then find the slope of the segment and take the negative reciprocal. Use this calculator with the perpendicular slope and the midpoint.
Can two perpendicular lines both have positive slopes?
No. Since perpendicular slopes multiply to -1, one must be positive and the other negative (unless one is horizontal and the other vertical).
Embed this calculator on your site
Paste this snippet into your blog, course page, or documentation to drop a live, interactive Perpendicular Line Calculator into your page.
Free to embed — includes a link back to MegaCalc.