Math Last updated: 2026-07-25

Perpendicular Line Calculator

Free online **perpendicular line calculator** — **find the equation of a perpendicular line** passing through a specific point instantly with step-by-step results. Our **perpendicular line calculator** uses the **negative reciprocal slope** to determine the equation of a line at a **90-degree angle** to any given line. Whether you need to **find a perpendicular line equation** for geometry homework, construction, or coordinate geometry problems, this tool provides accurate results with detailed explanations.

How to Use the Perpendicular Line Calculator

Interactive calculator available after JavaScript loads.

Loading calculator...

Written by Calculator Archive Team

Mathematics Content Editor — Mathematics education and coordinate geometry

Looking for a deeper explanation?

Read our comprehensive, peer-reviewed educational article in our Blog to learn the underlying math, formulas, and step-by-step examples.

Read Blog Guide ›

Mathematical Formula & Logic

m_perp = -1 / m
Variable Glossary
m Slope of the original line
m_perp Perpendicular slope (negative reciprocal of original)
(x1, y1) Coordinate point the perpendicular line must pass through
y − y₁ = m_perp(x − x₁) Point-slope form used to derive the perpendicular line equation

Step-by-Step Worked Calculation

Scenario: Orthogonal Structural Line

Find a line perpendicular to y = 2x + 1 that passes through the point (4, 6).

1

Step 1: Identify the original slope m = 2 from y = 2x + 1.

2

Step 2: Calculate the perpendicular slope: m_perp = −1 / 2 = −0.5.

3

Step 3: Apply point-slope form with the given point (4, 6): y − 6 = −0.5(x − 4).

4

Step 4: Expand and simplify: y − 6 = −0.5x + 2.

5

Step 5: Solve for y to get slope-intercept form: y = −0.5x + 8.

How to Use the Perpendicular Line Calculator

  1. 1. Enter the slope (m) or equation of the original line in the first field.
  2. 2. Enter the coordinates of the target point (x₁, y₁) that the perpendicular line must pass through.
  3. 3. Click "Calculate Perpendicular Line" to see the formula and results.
  4. 4. Observe how the slope is transformed into its negative reciprocal and the new equation is derived.
  5. 5. Copy the detailed perpendicular line report.

What Is a Perpendicular Line Calculator?

A perpendicular line is a line that intersects another line at a 90-degree (right) angle. Mathematically, two lines are perpendicular when the product of their slopes equals −1. The perpendicular slope is the negative reciprocal of the original slope.

Why This Calculation Matters

Perpendicular lines are fundamental in geometry, engineering, architecture, and physics. They are used in constructing right angles for buildings, designing structural supports, analyzing forces in physics, and solving coordinate geometry problems.

Historical Background

The concept of perpendicularity dates to ancient Euclidean geometry (circa 300 BCE). Euclid defined it in his Elements as two lines meeting to form equal adjacent angles. The coordinate geometry formulation using negative reciprocal slopes was developed after Descartes introduced the coordinate system in the 17th century.

Common Mistakes to Avoid

  • Forgetting to take the negative of the reciprocal (only flipping the fraction)
  • Confusing perpendicular slopes with parallel slopes (parallel slopes are equal, not reciprocal)
  • Attempting to calculate the negative reciprocal of an undefined slope (vertical line)
  • Assuming perpendicular lines must intersect (in 3D, they can be skew)
  • Confusing the perpendicular slope with the negative of the original slope

E-E-A-T Authority & Trust Statement

This calculator is for educational and informational purposes. Results should be verified for critical applications such as structural engineering or architectural design.

Reviewed By: Dr. Sarah Mitchell, PhD Applied Mathematics, MIT

Frequently Asked Questions

Complete indexable directory of answers (28 questions)

What is a perpendicular line calculator?

A perpendicular line calculator finds the equation of a line that intersects another line at a 90-degree angle and passes through a given point. It uses the negative reciprocal slope formula: m_perp = −1/m.

How do I find a perpendicular line equation?

To find a perpendicular line equation: (1) identify the original slope m, (2) calculate the negative reciprocal m_perp = −1/m, (3) use point-slope form y − y₁ = m_perp(x − x₁) with the given point, and (4) simplify to slope-intercept form.

What is a negative reciprocal slope?

A negative reciprocal is the negative value of 1 divided by the original slope. For example, if the slope is 3/4, the perpendicular slope is −4/3. If the slope is 5, the perpendicular slope is −1/5.

What is the perpendicular slope of a horizontal line?

A horizontal line has slope m = 0. Its perpendicular line is vertical, which has an undefined slope (represented as x = k). You cannot calculate −1/0, so vertical lines are a special case.

What is the product of perpendicular slopes?

Multiplying two perpendicular slopes (neither vertical/horizontal) always equals exactly −1: m × m_perp = −1. This is the mathematical definition of perpendicular lines.

Is this perpendicular line calculator free?

Yes, this free perpendicular line calculator is 100% free with no signup required. Find perpendicular line equations online with step-by-step results instantly.

What is the difference between perpendicular and parallel lines?

Parallel lines have the same slope and never intersect. Perpendicular lines have slopes that are negative reciprocals of each other and intersect at a 90-degree angle.

Can a perpendicular line be vertical?

Yes. If the original line is horizontal (slope = 0), the perpendicular line is vertical (x = k). If the original line is vertical (undefined slope), the perpendicular line is horizontal (y = k).

How do I find a perpendicular line from a point to a line?

This calculator finds the equation of the perpendicular line through the point. To find the actual distance from the point to the line, use a separate distance formula calculator.

What is the perpendicular bisector?

A perpendicular bisector is a line that is perpendicular to a segment and passes through its midpoint. It divides the segment into two equal halves at a 90-degree angle.

How do you find a perpendicular line from standard form?

Convert the standard form Ax + By = C to slope-intercept form y = −(A/B)x + C/B. The original slope is −A/B, so the perpendicular slope is B/A.

What if the original slope is a fraction?

If the slope is a/b, the perpendicular slope is −b/a. Simply flip the fraction and change the sign. For example, slope 2/3 gives perpendicular slope −3/2.

Can perpendicular lines exist in 3D?

In 3D, lines can be perpendicular (orthogonal) without intersecting if they are skew lines. True perpendicularity in 3D requires both lines to lie in the same plane.

What is the perpendicular distance formula?

The perpendicular distance from point (x₀, y₀) to line Ax + By + C = 0 is |Ax₀ + By₀ + C| / √(A² + B²). This measures the shortest distance from the point to the line.

How does perpendicularity relate to dot products?

Two vectors are perpendicular (orthogonal) when their dot product equals zero. For direction vectors (a, b) and (c, d), perpendicularity means ac + bd = 0.

What is the perpendicular slope of y = 3x − 4?

The slope is 3, so the perpendicular slope is −1/3 ≈ −0.333. Any line with slope −1/3 is perpendicular to y = 3x − 4.

What is the perpendicular slope of y = −2x + 7?

The slope is −2, so the perpendicular slope is 1/2 = 0.5. The negative reciprocal of −2 is −(−1/2) = 1/2.

How do I verify two lines are perpendicular?

Multiply their slopes together. If the product equals −1, the lines are perpendicular. For example, slopes 3 and −1/3: 3 × (−1/3) = −1 ✓.

What is the perpendicular line to the x-axis?

The x-axis is horizontal (y = 0). Any line perpendicular to it is vertical (x = k for some constant k). These are the y-axis (x = 0) and lines parallel to it.

What is the perpendicular line to the y-axis?

The y-axis is vertical (x = 0). Any line perpendicular to it is horizontal (y = k for some constant k). These are the x-axis (y = 0) and lines parallel to it.

What is a right angle bisector?

A right angle bisector splits a 90-degree angle into two 45-degree angles. It is perpendicular to the angle bisector of the supplementary angle.

How do perpendicular lines relate to coordinate geometry?

Perpendicular lines are fundamental in coordinate geometry for constructing right angles, finding distances, building coordinate systems, and solving geometric construction problems.

What is the perpendicular line to y = x?

The slope of y = x is 1. The perpendicular slope is −1/1 = −1. So any line of the form y = −x + b is perpendicular to y = x.

What is the perpendicular line to y = −x?

The slope is −1. The perpendicular slope is −1/(−1) = 1. So any line of the form y = x + b is perpendicular to y = −x.

How does this calculator handle zero slope?

When the input slope is 0 (horizontal line), the calculator correctly identifies that the perpendicular line is vertical and displays the result as x = k.

What mathematical formula does the Perpendicular Line Calculator use?

The Perpendicular Line Calculator uses standard mathematical formulas validated against authoritative references. The specific formula is displayed in the calculator interface with a detailed explanation of each variable.

How can I verify the Perpendicular Line Calculator results manually?

Each calculator includes a step-by-step worked example showing exactly how the formula is applied. You can follow these steps with pen and paper to verify any result.

What types of inputs does the Perpendicular Line Calculator accept?

The Perpendicular Line Calculator accepts numeric inputs including integers and decimals. Invalid inputs (letters, special characters) are rejected with clear error messages.