Perpendicular Line Calculator
Enter a line (y = mx + b or two points) and a point — get the equation of the perpendicular line through that point instantly.
Original Line Input
Define the original line using two points:
Perpendicular line passes through:
Enter values on the left and click Calculate
Result
Original line
Original Slope
Perpendicular Slope
Slope-Intercept Form
Standard Form (Ax + By + C = 0)
Step-by-Step
Copied!
Summary
Enter a line (y = mx + b or two points) and a point — get the equation of the perpendicular line through that point instantly.
How it works
- Choose whether to define the original line using slope-intercept form (y = mx + b) or by two points.
- Enter the required values for the original line.
- Enter the coordinates of the point the perpendicular line must pass through.
- Click "Calculate" — the tool computes the negative reciprocal of the slope.
- The perpendicular line equation is shown in both slope-intercept and standard form.
- Edge cases: a horizontal original line produces a vertical perpendicular, and vice versa.
Use cases
- Geometry homework — find the line perpendicular to a given line at a specific point.
- Verify textbook answers for perpendicular line problems.
- Computer graphics — calculate normals to line segments.
- Engineering drawings that require right-angle constructions.
- Analytic geometry — check if two lines are perpendicular (slopes are negative reciprocals).
- Build altitude lines in triangle geometry problems.
Frequently Asked Questions
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu