ProMathTools
ProMathTools

Perpendicular Line

This calculator helps you find the equation of a line that is perpendicular to another line and passes through a specific point. It's a handy tool for algebra and geometry problems.

Enter the slope of the line you want to be perpendicular to.

Enter the X-coordinate of the point the new line passes through.

Enter the Y-coordinate of the point the new line passes through.

How it works

This calculator helps you find the equation of a line that is perpendicular to another line and passes through a specific point. It's a handy tool for algebra and geometry problems.


The Formula

Given a line with slope 'm' and a point (x₁, y₁):
1. The perpendicular slope (mₚ) is -1/m (if m ≠ 0). 2. Use the point-slope form: y - y₁ = mₚ(x - x₁). 3. Convert to slope-intercept form: y = mₚx + b.

Worked Example

  1. Example: Find the Perpendicular Line

    Let's say you have a line with a slope of 2, and you need to find a line perpendicular to it that passes through the point (3, 5). 1. The given slope (m) is 2. 2. The perpendicular slope (mₚ) is -1/2. 3. Using the point (3, 5) and mₚ = -1/2 in point-slope form: y - 5 = (-1/2)(x - 3) y - 5 = -1/2x + 3/2 y = -1/2x + 3/2 + 5 y = -1/2x + 13/2 So, the equation of the perpendicular line is y = -0.5x + 6.5.


Tips, Assumptions & Limitations

  • Remember that perpendicular lines have slopes that are negative reciprocals of each other.
  • If the given line is horizontal (slope = 0), the perpendicular line will be vertical (equation x = x₁).
  • If the given line is vertical (undefined slope), the perpendicular line will be horizontal (equation y = y₁).
  • Always double-check your calculations, especially with negative signs and fractions.
FAQ

A perpendicular line is a line that intersects another line at a 90-degree (right) angle. In coordinate geometry, their slopes are negative reciprocals of each other, unless one is horizontal and the other is vertical.

If the original line has a slope 'm', the perpendicular line's slope (mₚ) is -1/m. If the original line is horizontal (m=0), the perpendicular line is vertical (undefined slope). If the original line is vertical, the perpendicular line is horizontal (mₚ=0).

Yes, if you enter a slope of 0 for a horizontal line, the calculator will correctly identify the perpendicular line as vertical (x = x₁). If the given line is vertical, you'd typically know its equation (x=C) and infer its slope is undefined, leading to a horizontal perpendicular line (y = y₁).

The point-slope form (y - y₁ = m(x - x₁)) is incredibly useful because it allows you to write the equation of a line directly if you know its slope and any point it passes through. It's often the first step before converting to slope-intercept form (y = mx + b).

Companion article

Perpendicular Line Calculator: Find the Equation

Related Calculators

Browse Category

All Math Calculators

Related Guides


How this calculator works

Finding the equation of a perpendicular line is a fundamental skill in algebra and geometry. Whether you're working on homework, preparing for an exam, or just need a quick check, understanding how to derive this equation is crucial. A perpendicular line simply means it crosses another line at a perfect 90-degree angle. This guide, along with our Perpendicular Line Calculator, will walk you through the process step-by-step.

Explanation

Two lines are perpendicular if their slopes are negative reciprocals of each other. For example, if one line has a slope of 'm', the perpendicular line will have a slope of '-1/m'. There are special cases: if a line is horizontal (slope = 0), its perpendicular line is vertical (undefined slope). Conversely, if a line is vertical, its perpendicular is horizontal (slope = 0). Once you have the perpendicular slope and a point the line passes through, you can use the point-slope form (y - y₁ = m(x - x₁)) to find the equation, then convert it to the more common slope-intercept form (y = mx + b).

Formula

To find the equation of a perpendicular line: 1. **Identify the slope of the given line (m).**
2. **Calculate the perpendicular slope (mₚ):** * If m = 0 (horizontal line), mₚ is undefined (vertical line). * If m is undefined (vertical line), mₚ = 0 (horizontal line). * Otherwise, mₚ = -1/m. 3. **Use the point-slope form:** Given a point (x₁, y₁) that the perpendicular line passes through, the equation is: y - y₁ = mₚ(x - x₁). 4. **Convert to slope-intercept form (y = mx + b):** Simplify the point-slope equation to isolate 'y'.

Worked example

Let's work through an example. Suppose you need to find the equation of a line perpendicular to a line with a slope of -3, and this new line must pass through the point (2, -4). 1. **Given slope (m):** -3 2. **Perpendicular slope (mₚ):** -1/(-3) = 1/3 3. **Using point-slope form with (2, -4) and mₚ = 1/3:** y - (-4) = (1/3)(x - 2) y + 4 = (1/3)x - 2/3 4. **Convert to slope-intercept form:** y = (1/3)x - 2/3 - 4 y = (1/3)x - 2/3 - 12/3 y = (1/3)x - 14/3 So, the equation of the perpendicular line is y = (1/3)x - 14/3.

How to use this tool

Using our Perpendicular Line Calculator is straightforward. Simply input the slope of the line you want to be perpendicular to in the 'Slope of the Given Line (m)' field. Then, enter the X and Y coordinates of the point that your new perpendicular line must pass through into the 'X-coordinate of the Point (x₁)' and 'Y-coordinate of the Point (y₁)' fields. Click 'Calculate', and the tool will instantly provide the perpendicular slope and the full equation of the line in slope-intercept form.

Frequently asked questions

What's the difference between parallel and perpendicular lines?
Parallel lines never intersect and have the exact same slope. Perpendicular lines intersect at a 90-degree angle, and their slopes are negative reciprocals of each other (unless one is vertical and the other horizontal).
Can I use this for any point and slope?
Yes, this calculator is designed to work for any valid numerical slope and any point in the Cartesian coordinate system. It handles both positive and negative slopes, as well as the special case of a zero slope (horizontal line).
Why do slopes of perpendicular lines multiply to -1?
This property arises from geometric proofs involving right triangles and rotations. When one line is rotated 90 degrees to become perpendicular, its slope changes from 'm' to '-1/m', meaning their product is m * (-1/m) = -1.

Read the full guide →

About UsBlogChrome ExtensionFAQsTerms and ConditionsPrivacy PolicySitemap
EmailLinkedInFacebook

© 2025-2026 PromathTools. All rights reserved.

Built by KruskalCode – SaaS & Automation Experts · EverydayDevTools