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

Perpendicular line passes through:

Enter values on the left and click Calculate

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

  1. Choose whether to define the original line using slope-intercept form (y = mx + b) or by two points.
  2. Enter the required values for the original line.
  3. Enter the coordinates of the point the perpendicular line must pass through.
  4. Click "Calculate" — the tool computes the negative reciprocal of the slope.
  5. The perpendicular line equation is shown in both slope-intercept and standard form.
  6. Edge cases: a horizontal original line produces a vertical perpendicular, and vice versa.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu